@ada-support/embed2 1.14.11 → 1.14.12
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.12-ab0ec43",
|
|
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}/${"ab0ec43"}/index.html`;
|
|
16755
16755
|
}
|
|
16756
16756
|
function constructQueryString(query) {
|
|
16757
16757
|
return Object.keys(query).map(key => {
|
|
@@ -17538,9 +17538,9 @@ async function log(message, extra, options) {
|
|
|
17538
17538
|
service: "embed",
|
|
17539
17539
|
env: "production",
|
|
17540
17540
|
embedVersion: 2,
|
|
17541
|
-
version: "1.14.
|
|
17541
|
+
version: "1.14.12",
|
|
17542
17542
|
isNpm: true,
|
|
17543
|
-
commitHash: "
|
|
17543
|
+
commitHash: "ab0ec43"
|
|
17544
17544
|
}))
|
|
17545
17545
|
});
|
|
17546
17546
|
}
|
|
@@ -20330,7 +20330,7 @@ class ChatFrame extends d {
|
|
|
20330
20330
|
log("Chat frame mount", {
|
|
20331
20331
|
handle,
|
|
20332
20332
|
chatUrl: this.url,
|
|
20333
|
-
embedVersion: "
|
|
20333
|
+
embedVersion: "ab0ec43".slice(0, 7),
|
|
20334
20334
|
embedSettings: adaSettings
|
|
20335
20335
|
});
|
|
20336
20336
|
|
|
@@ -20418,7 +20418,7 @@ class ChatFrame extends d {
|
|
|
20418
20418
|
const hostPageUrlParams = new URL(window.location.href).searchParams;
|
|
20419
20419
|
const smsToken = hostPageUrlParams.get("adaSMSToken");
|
|
20420
20420
|
const queryParams = {
|
|
20421
|
-
embedVersion: "
|
|
20421
|
+
embedVersion: "ab0ec43".slice(0, 7),
|
|
20422
20422
|
greeting,
|
|
20423
20423
|
language,
|
|
20424
20424
|
skipGreeting,
|