@ada-support/embed2 1.7.21 → 1.7.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 +5 -5
- package/package.json +1 -1
package/dist/npm-entry/index.js
CHANGED
|
@@ -12957,7 +12957,7 @@ const client = new error_tracker_BrowserClient({
|
|
|
12957
12957
|
return event;
|
|
12958
12958
|
},
|
|
12959
12959
|
environment: "production",
|
|
12960
|
-
release: "1.7.
|
|
12960
|
+
release: "1.7.22-69d2a1d",
|
|
12961
12961
|
sampleRate: 0.25,
|
|
12962
12962
|
autoSessionTracking: false,
|
|
12963
12963
|
// Integrations don't seem to work with Sentry: https://github.com/getsentry/sentry-javascript/issues/2541
|
|
@@ -13529,7 +13529,7 @@ function getEmbedURL(_ref) {
|
|
|
13529
13529
|
} else {
|
|
13530
13530
|
host = `http://${handle}.localhost:9001`;
|
|
13531
13531
|
}
|
|
13532
|
-
return `${host}/embed/${frameName}/${"
|
|
13532
|
+
return `${host}/embed/${frameName}/${"69d2a1d"}/index.html`;
|
|
13533
13533
|
}
|
|
13534
13534
|
function constructQueryString(query) {
|
|
13535
13535
|
return Object.keys(query).map(key => {
|
|
@@ -14707,9 +14707,9 @@ async function log(message, extra, options) {
|
|
|
14707
14707
|
service: "embed",
|
|
14708
14708
|
env: "production",
|
|
14709
14709
|
embedVersion: 2,
|
|
14710
|
-
version: "1.7.
|
|
14710
|
+
version: "1.7.22",
|
|
14711
14711
|
isNpm: true,
|
|
14712
|
-
commitHash: "
|
|
14712
|
+
commitHash: "69d2a1d"
|
|
14713
14713
|
}))
|
|
14714
14714
|
});
|
|
14715
14715
|
}
|
|
@@ -15752,7 +15752,7 @@ class ChatFrame extends d {
|
|
|
15752
15752
|
const hostPageUrlParams = new URL(window.location.href).searchParams;
|
|
15753
15753
|
const smsToken = hostPageUrlParams.get("adaSMSToken");
|
|
15754
15754
|
const queryParams = {
|
|
15755
|
-
embedVersion: "
|
|
15755
|
+
embedVersion: "69d2a1d".slice(0, 7),
|
|
15756
15756
|
greeting,
|
|
15757
15757
|
language,
|
|
15758
15758
|
skipGreeting,
|