@ada-support/embed2 1.12.0 → 1.12.2
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.12.
|
|
15922
|
+
release: "1.12.2-0066177",
|
|
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
|
|
@@ -16502,7 +16502,7 @@ function getEmbedURL(_ref) {
|
|
|
16502
16502
|
} else {
|
|
16503
16503
|
host = `http://${handle}.localhost:9001`;
|
|
16504
16504
|
}
|
|
16505
|
-
return `${host}/embed/${frameName}/${"
|
|
16505
|
+
return `${host}/embed/${frameName}/${"0066177"}/index.html`;
|
|
16506
16506
|
}
|
|
16507
16507
|
function constructQueryString(query) {
|
|
16508
16508
|
return Object.keys(query).map(key => {
|
|
@@ -17683,9 +17683,9 @@ async function log(message, extra, options) {
|
|
|
17683
17683
|
service: "embed",
|
|
17684
17684
|
env: "production",
|
|
17685
17685
|
embedVersion: 2,
|
|
17686
|
-
version: "1.12.
|
|
17686
|
+
version: "1.12.2",
|
|
17687
17687
|
isNpm: true,
|
|
17688
|
-
commitHash: "
|
|
17688
|
+
commitHash: "0066177"
|
|
17689
17689
|
}))
|
|
17690
17690
|
});
|
|
17691
17691
|
}
|
|
@@ -19292,7 +19292,7 @@ class ChatFrame extends preact_module_d {
|
|
|
19292
19292
|
log("Chat frame mount", {
|
|
19293
19293
|
handle,
|
|
19294
19294
|
chatUrl: this.url,
|
|
19295
|
-
embedVersion: "
|
|
19295
|
+
embedVersion: "0066177".slice(0, 7),
|
|
19296
19296
|
embedSettings: adaSettings
|
|
19297
19297
|
});
|
|
19298
19298
|
|
|
@@ -19380,7 +19380,7 @@ class ChatFrame extends preact_module_d {
|
|
|
19380
19380
|
const hostPageUrlParams = new URL(window.location.href).searchParams;
|
|
19381
19381
|
const smsToken = hostPageUrlParams.get("adaSMSToken");
|
|
19382
19382
|
const queryParams = {
|
|
19383
|
-
embedVersion: "
|
|
19383
|
+
embedVersion: "0066177".slice(0, 7),
|
|
19384
19384
|
greeting,
|
|
19385
19385
|
language,
|
|
19386
19386
|
skipGreeting,
|