@ada-support/embed2 1.6.32 → 1.6.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -6
- package/dist/npm-entry/index.js +5 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Embed 2
|
|
2
2
|
|
|
3
|
-
Embed 2 allows clients to setup Ada Web Chat in their web application. For further information on how to use Embed, check out our [
|
|
3
|
+
Embed 2 allows clients to setup Ada Web Chat in their web application. For further information on how to use Embed, check out our [documentation](https://developers.ada.cx/reference/add-chat-to-website).
|
|
4
4
|
|
|
5
5
|
## 1. Installation
|
|
6
6
|
|
|
@@ -34,8 +34,4 @@ adaEmbed.start({
|
|
|
34
34
|
});
|
|
35
35
|
```
|
|
36
36
|
|
|
37
|
-
In the example above the `handle` key is a part of `AdaSettings`. To learn more about other settings, consult the [API reference](https://
|
|
38
|
-
|
|
39
|
-
## 3. Deploying changes
|
|
40
|
-
Embed2 uses a [canary release process](https://martinfowler.com/bliki/CanaryRelease.html) for production deployments through CircleCI. You can view the runbook [here](https://www.notion.so/adasupport/Embed-deployment-runbook-fb81e8a28cb14ef1a607059914fb875a#cda45a8326294278a49af6c960d5ad5d) to assist with your deployments. Feel free to reach out to #t-chat-experience on Slack with any questions or feedback.
|
|
41
|
-
Note you do not need to release your changes for non-application code changes ie CODEOWNERS, PULL_REQUEST_TEMPLATE and most infra code changes
|
|
37
|
+
In the example above the `handle` key is a part of `AdaSettings`. To learn more about other settings, consult the [API reference](https://developers.ada.cx/reference/embed2-reference).
|
package/dist/npm-entry/index.js
CHANGED
|
@@ -13260,7 +13260,7 @@ const client = new error_tracker_BrowserClient({
|
|
|
13260
13260
|
return event;
|
|
13261
13261
|
},
|
|
13262
13262
|
environment: "production",
|
|
13263
|
-
release: "1.6.
|
|
13263
|
+
release: "1.6.34-59e32c8",
|
|
13264
13264
|
sampleRate: 0.25,
|
|
13265
13265
|
autoSessionTracking: false,
|
|
13266
13266
|
// Integrations don't seem to work with Sentry: https://github.com/getsentry/sentry-javascript/issues/2541
|
|
@@ -13832,7 +13832,7 @@ function getEmbedURL(_ref) {
|
|
|
13832
13832
|
} else {
|
|
13833
13833
|
host = `http://${window.location.hostname}:9001`;
|
|
13834
13834
|
}
|
|
13835
|
-
return `${host}/embed/${frameName}/${"
|
|
13835
|
+
return `${host}/embed/${frameName}/${"59e32c8"}/index.html`;
|
|
13836
13836
|
}
|
|
13837
13837
|
function constructQueryString(query) {
|
|
13838
13838
|
return Object.keys(query).map(key => {
|
|
@@ -15296,9 +15296,9 @@ async function log(message, extra, options) {
|
|
|
15296
15296
|
service: "embed",
|
|
15297
15297
|
env: "production",
|
|
15298
15298
|
embedVersion: 2,
|
|
15299
|
-
version: "1.6.
|
|
15299
|
+
version: "1.6.34",
|
|
15300
15300
|
isNpm: true,
|
|
15301
|
-
commitHash: "
|
|
15301
|
+
commitHash: "59e32c8"
|
|
15302
15302
|
}))
|
|
15303
15303
|
});
|
|
15304
15304
|
}
|
|
@@ -15827,7 +15827,7 @@ class ChatFrame extends d {
|
|
|
15827
15827
|
const hostPageUrlParams = new URL(window.location.href).searchParams;
|
|
15828
15828
|
const smsToken = hostPageUrlParams.get("adaSMSToken");
|
|
15829
15829
|
const queryParams = {
|
|
15830
|
-
embedVersion: "
|
|
15830
|
+
embedVersion: "59e32c8".slice(0, 7),
|
|
15831
15831
|
greeting,
|
|
15832
15832
|
language,
|
|
15833
15833
|
skipGreeting,
|