Skip to content

Commit

Permalink
Release 5.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
smooch-ci-web committed Jul 5, 2024
1 parent a1da613 commit 27b986f
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 3 deletions.
45 changes: 45 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,51 @@ Web Messenger supports all popular browsers.

Web Messenger is likely compatible with other and older browsers but we only test against the versions above.

## Region configuration

Web messenger is supported in the following [regions](https://docs.smooch.io/guide/regions/):

| Region | Region identifier |
| -------------- | ------------------- |
| United States | _Leave unspecified_ |
| European Union | `eu-1` |

To target the EU region, the region identifier is passed to `Smooch.init()`:

```javascript
<script>
Smooch.init({
integrationId: '<integration-id>',
region: 'eu-1'
}).then(
function() {
// Your code after init is complete
},
function(err) {
// Something went wrong during initialization
}
);
</script>
```

If you are a licensed Zendesk customer, use `configBaseUrl` instead of `region`. `configBaseUrl` specifies the URL where the config request is sent. For example:

```javascript
<script>
Smooch.init({
integrationId: '<integration-id>',
configBaseUrl: 'https://<subdomain>.zendesk.com/sc/'
}).then(
function() {
// Your code after init is complete
},
function(err) {
// Something went wrong during initialization
}
);
</script>
```

## API

### Individual functions
Expand Down
3 changes: 0 additions & 3 deletions smooch.5.6.0.min.js

This file was deleted.

3 changes: 3 additions & 0 deletions smooch.5.6.2.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 27b986f

Please sign in to comment.