@ada-support/embed2 1.8.17 → 1.9.0
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/dist/npm-entry/index.js +5 -5
- package/package.json +2 -2
package/dist/npm-entry/index.js
CHANGED
|
@@ -13949,7 +13949,7 @@ const client = new BrowserClient({
|
|
|
13949
13949
|
return event;
|
|
13950
13950
|
},
|
|
13951
13951
|
environment: "production",
|
|
13952
|
-
release: "1.
|
|
13952
|
+
release: "1.9.0-2d26b66",
|
|
13953
13953
|
sampleRate: 0.25,
|
|
13954
13954
|
autoSessionTracking: false,
|
|
13955
13955
|
// Integrations don't seem to work with Sentry: https://github.com/getsentry/sentry-javascript/issues/2541
|
|
@@ -14526,7 +14526,7 @@ function getEmbedURL(_ref) {
|
|
|
14526
14526
|
} else {
|
|
14527
14527
|
host = `http://${handle}.localhost:9001`;
|
|
14528
14528
|
}
|
|
14529
|
-
return `${host}/embed/${frameName}/${"
|
|
14529
|
+
return `${host}/embed/${frameName}/${"2d26b66"}/index.html`;
|
|
14530
14530
|
}
|
|
14531
14531
|
function constructQueryString(query) {
|
|
14532
14532
|
return Object.keys(query).map(key => {
|
|
@@ -15721,9 +15721,9 @@ async function log(message, extra, options) {
|
|
|
15721
15721
|
service: "embed",
|
|
15722
15722
|
env: "production",
|
|
15723
15723
|
embedVersion: 2,
|
|
15724
|
-
version: "1.
|
|
15724
|
+
version: "1.9.0",
|
|
15725
15725
|
isNpm: true,
|
|
15726
|
-
commitHash: "
|
|
15726
|
+
commitHash: "2d26b66"
|
|
15727
15727
|
}))
|
|
15728
15728
|
});
|
|
15729
15729
|
}
|
|
@@ -16900,7 +16900,7 @@ class ChatFrame extends d {
|
|
|
16900
16900
|
const hostPageUrlParams = new URL(window.location.href).searchParams;
|
|
16901
16901
|
const smsToken = hostPageUrlParams.get("adaSMSToken");
|
|
16902
16902
|
const queryParams = {
|
|
16903
|
-
embedVersion: "
|
|
16903
|
+
embedVersion: "2d26b66".slice(0, 7),
|
|
16904
16904
|
greeting,
|
|
16905
16905
|
language,
|
|
16906
16906
|
skipGreeting,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ada-support/embed2",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.9.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/npm-entry",
|
|
6
6
|
"typings": "dist/npm-entry/index-npm.d.ts",
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
"webpack-merge": "^5.8.0"
|
|
97
97
|
},
|
|
98
98
|
"dependencies": {
|
|
99
|
-
"@ada-support/embed-types": "^1.
|
|
99
|
+
"@ada-support/embed-types": "^1.9.1",
|
|
100
100
|
"@ada-support/web-storage": "^1.2.9",
|
|
101
101
|
"@babel/runtime-corejs3": "^7.15.4",
|
|
102
102
|
"@sentry/browser": "^8.33.0",
|