@ada-support/embed2 1.14.21 → 1.14.22
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
|
@@ -16119,7 +16119,7 @@ const client = new BrowserClient({
|
|
|
16119
16119
|
return event;
|
|
16120
16120
|
},
|
|
16121
16121
|
environment: "production",
|
|
16122
|
-
release: "1.14.
|
|
16122
|
+
release: "1.14.22-53dee13",
|
|
16123
16123
|
sampleRate: 0.25,
|
|
16124
16124
|
autoSessionTracking: false,
|
|
16125
16125
|
// Integrations don't seem to work with Sentry: https://github.com/getsentry/sentry-javascript/issues/2541
|
|
@@ -16750,7 +16750,7 @@ function getEmbedURL(_ref) {
|
|
|
16750
16750
|
} else {
|
|
16751
16751
|
host = `http://${handle}.localhost:${ports.localhost.default}`;
|
|
16752
16752
|
}
|
|
16753
|
-
return `${host}/embed/${frameName}/${"
|
|
16753
|
+
return `${host}/embed/${frameName}/${"53dee13"}/index.html`;
|
|
16754
16754
|
}
|
|
16755
16755
|
function constructQueryString(query) {
|
|
16756
16756
|
return Object.keys(query).map(key => {
|
|
@@ -17586,9 +17586,9 @@ async function log(message, extra, options) {
|
|
|
17586
17586
|
service: "embed",
|
|
17587
17587
|
env: "production",
|
|
17588
17588
|
embedVersion: 2,
|
|
17589
|
-
version: "1.14.
|
|
17589
|
+
version: "1.14.22",
|
|
17590
17590
|
isNpm: true,
|
|
17591
|
-
commitHash: "
|
|
17591
|
+
commitHash: "53dee13"
|
|
17592
17592
|
}))
|
|
17593
17593
|
});
|
|
17594
17594
|
}
|
|
@@ -20394,7 +20394,7 @@ class ChatFrame extends d {
|
|
|
20394
20394
|
log("Chat frame mount", {
|
|
20395
20395
|
handle,
|
|
20396
20396
|
chatUrl: this.url,
|
|
20397
|
-
embedVersion: "
|
|
20397
|
+
embedVersion: "53dee13".slice(0, 7),
|
|
20398
20398
|
embedSettings: adaSettings
|
|
20399
20399
|
});
|
|
20400
20400
|
|
|
@@ -20482,7 +20482,7 @@ class ChatFrame extends d {
|
|
|
20482
20482
|
const hostPageUrlParams = new URL(window.location.href).searchParams;
|
|
20483
20483
|
const smsToken = hostPageUrlParams.get("adaSMSToken");
|
|
20484
20484
|
const queryParams = {
|
|
20485
|
-
embedVersion: "
|
|
20485
|
+
embedVersion: "53dee13".slice(0, 7),
|
|
20486
20486
|
greeting,
|
|
20487
20487
|
language,
|
|
20488
20488
|
skipGreeting,
|