@ada-support/embed2 1.13.5 → 1.13.6
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
|
@@ -15919,7 +15919,7 @@ const client = new BrowserClient({
|
|
|
15919
15919
|
return event;
|
|
15920
15920
|
},
|
|
15921
15921
|
environment: "production",
|
|
15922
|
-
release: "1.13.
|
|
15922
|
+
release: "1.13.6-406ab08",
|
|
15923
15923
|
sampleRate: 0.25,
|
|
15924
15924
|
autoSessionTracking: false,
|
|
15925
15925
|
// Integrations don't seem to work with Sentry: https://github.com/getsentry/sentry-javascript/issues/2541
|
|
@@ -16509,7 +16509,7 @@ function getEmbedURL(_ref) {
|
|
|
16509
16509
|
} else {
|
|
16510
16510
|
host = `http://${handle}.localhost:${ports.localhost.default}`;
|
|
16511
16511
|
}
|
|
16512
|
-
return `${host}/embed/${frameName}/${"
|
|
16512
|
+
return `${host}/embed/${frameName}/${"406ab08"}/index.html`;
|
|
16513
16513
|
}
|
|
16514
16514
|
function constructQueryString(query) {
|
|
16515
16515
|
return Object.keys(query).map(key => {
|
|
@@ -17697,9 +17697,9 @@ async function log(message, extra, options) {
|
|
|
17697
17697
|
service: "embed",
|
|
17698
17698
|
env: "production",
|
|
17699
17699
|
embedVersion: 2,
|
|
17700
|
-
version: "1.13.
|
|
17700
|
+
version: "1.13.6",
|
|
17701
17701
|
isNpm: true,
|
|
17702
|
-
commitHash: "
|
|
17702
|
+
commitHash: "406ab08"
|
|
17703
17703
|
}))
|
|
17704
17704
|
});
|
|
17705
17705
|
}
|
|
@@ -19597,7 +19597,7 @@ class ChatFrame extends preact_module_d {
|
|
|
19597
19597
|
log("Chat frame mount", {
|
|
19598
19598
|
handle,
|
|
19599
19599
|
chatUrl: this.url,
|
|
19600
|
-
embedVersion: "
|
|
19600
|
+
embedVersion: "406ab08".slice(0, 7),
|
|
19601
19601
|
embedSettings: adaSettings
|
|
19602
19602
|
});
|
|
19603
19603
|
|
|
@@ -19685,7 +19685,7 @@ class ChatFrame extends preact_module_d {
|
|
|
19685
19685
|
const hostPageUrlParams = new URL(window.location.href).searchParams;
|
|
19686
19686
|
const smsToken = hostPageUrlParams.get("adaSMSToken");
|
|
19687
19687
|
const queryParams = {
|
|
19688
|
-
embedVersion: "
|
|
19688
|
+
embedVersion: "406ab08".slice(0, 7),
|
|
19689
19689
|
greeting,
|
|
19690
19690
|
language,
|
|
19691
19691
|
skipGreeting,
|