@ada-support/embed2 1.6.47 → 1.6.48
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
|
@@ -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.48-78b5c6b",
|
|
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}/${"78b5c6b"}/index.html`;
|
|
13836
13836
|
}
|
|
13837
13837
|
function constructQueryString(query) {
|
|
13838
13838
|
return Object.keys(query).map(key => {
|
|
@@ -15303,9 +15303,9 @@ async function log(message, extra, options) {
|
|
|
15303
15303
|
service: "embed",
|
|
15304
15304
|
env: "production",
|
|
15305
15305
|
embedVersion: 2,
|
|
15306
|
-
version: "1.6.
|
|
15306
|
+
version: "1.6.48",
|
|
15307
15307
|
isNpm: true,
|
|
15308
|
-
commitHash: "
|
|
15308
|
+
commitHash: "78b5c6b"
|
|
15309
15309
|
}))
|
|
15310
15310
|
});
|
|
15311
15311
|
}
|
|
@@ -15829,7 +15829,7 @@ class ChatFrame extends d {
|
|
|
15829
15829
|
const hostPageUrlParams = new URL(window.location.href).searchParams;
|
|
15830
15830
|
const smsToken = hostPageUrlParams.get("adaSMSToken");
|
|
15831
15831
|
const queryParams = {
|
|
15832
|
-
embedVersion: "
|
|
15832
|
+
embedVersion: "78b5c6b".slice(0, 7),
|
|
15833
15833
|
greeting,
|
|
15834
15834
|
language,
|
|
15835
15835
|
skipGreeting,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ada-support/embed2",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.48",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/npm-entry",
|
|
6
6
|
"typings": "dist/npm-entry/index-npm.d.ts",
|
|
@@ -127,4 +127,4 @@
|
|
|
127
127
|
"publishConfig": {
|
|
128
128
|
"access": "public"
|
|
129
129
|
}
|
|
130
|
-
}
|
|
130
|
+
}
|