@ada-support/embed2 1.14.14 → 1.14.15
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 +6 -6
- package/package.json +1 -1
package/dist/npm-entry/index.js
CHANGED
|
@@ -16125,7 +16125,7 @@ const client = new BrowserClient({
|
|
|
16125
16125
|
return event;
|
|
16126
16126
|
},
|
|
16127
16127
|
environment: "production",
|
|
16128
|
-
release: "1.14.
|
|
16128
|
+
release: "1.14.15-6ec6245",
|
|
16129
16129
|
sampleRate: 0.25,
|
|
16130
16130
|
autoSessionTracking: false,
|
|
16131
16131
|
// Integrations don't seem to work with Sentry: https://github.com/getsentry/sentry-javascript/issues/2541
|
|
@@ -16751,7 +16751,7 @@ function getEmbedURL(_ref) {
|
|
|
16751
16751
|
} else {
|
|
16752
16752
|
host = `http://${handle}.localhost:${ports.localhost.default}`;
|
|
16753
16753
|
}
|
|
16754
|
-
return `${host}/embed/${frameName}/${"
|
|
16754
|
+
return `${host}/embed/${frameName}/${"6ec6245"}/index.html`;
|
|
16755
16755
|
}
|
|
16756
16756
|
function constructQueryString(query) {
|
|
16757
16757
|
return Object.keys(query).map(key => {
|
|
@@ -17539,9 +17539,9 @@ async function log(message, extra, options) {
|
|
|
17539
17539
|
service: "embed",
|
|
17540
17540
|
env: "production",
|
|
17541
17541
|
embedVersion: 2,
|
|
17542
|
-
version: "1.14.
|
|
17542
|
+
version: "1.14.15",
|
|
17543
17543
|
isNpm: true,
|
|
17544
|
-
commitHash: "
|
|
17544
|
+
commitHash: "6ec6245"
|
|
17545
17545
|
}))
|
|
17546
17546
|
});
|
|
17547
17547
|
}
|
|
@@ -20350,7 +20350,7 @@ class ChatFrame extends d {
|
|
|
20350
20350
|
log("Chat frame mount", {
|
|
20351
20351
|
handle,
|
|
20352
20352
|
chatUrl: this.url,
|
|
20353
|
-
embedVersion: "
|
|
20353
|
+
embedVersion: "6ec6245".slice(0, 7),
|
|
20354
20354
|
embedSettings: adaSettings
|
|
20355
20355
|
});
|
|
20356
20356
|
|
|
@@ -20438,7 +20438,7 @@ class ChatFrame extends d {
|
|
|
20438
20438
|
const hostPageUrlParams = new URL(window.location.href).searchParams;
|
|
20439
20439
|
const smsToken = hostPageUrlParams.get("adaSMSToken");
|
|
20440
20440
|
const queryParams = {
|
|
20441
|
-
embedVersion: "
|
|
20441
|
+
embedVersion: "6ec6245".slice(0, 7),
|
|
20442
20442
|
greeting,
|
|
20443
20443
|
language,
|
|
20444
20444
|
skipGreeting,
|