@ada-support/embed2 1.6.27 → 1.6.28
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
|
@@ -15877,7 +15877,7 @@ const client = new error_tracker_BrowserClient({
|
|
|
15877
15877
|
},
|
|
15878
15878
|
|
|
15879
15879
|
environment: "production",
|
|
15880
|
-
release: "1.6.
|
|
15880
|
+
release: "1.6.28-0cbed86",
|
|
15881
15881
|
sampleRate: 0.25,
|
|
15882
15882
|
autoSessionTracking: false,
|
|
15883
15883
|
// Integrations don't seem to work with Sentry: https://github.com/getsentry/sentry-javascript/issues/2541
|
|
@@ -16538,7 +16538,7 @@ function getEmbedURL(_ref) {
|
|
|
16538
16538
|
host = "http://".concat(window.location.hostname, ":9001");
|
|
16539
16539
|
}
|
|
16540
16540
|
|
|
16541
|
-
return "".concat(host, "/embed/").concat(frameName, "/").concat("
|
|
16541
|
+
return "".concat(host, "/embed/").concat(frameName, "/").concat("0cbed86", "/index.html");
|
|
16542
16542
|
}
|
|
16543
16543
|
|
|
16544
16544
|
function constructQueryString(query) {
|
|
@@ -18190,9 +18190,9 @@ async function log(message, extra, options) {
|
|
|
18190
18190
|
service: "embed",
|
|
18191
18191
|
env: "production",
|
|
18192
18192
|
embedVersion: 2,
|
|
18193
|
-
version: "1.6.
|
|
18193
|
+
version: "1.6.28",
|
|
18194
18194
|
isNpm: true,
|
|
18195
|
-
commitHash: "
|
|
18195
|
+
commitHash: "0cbed86"
|
|
18196
18196
|
}))
|
|
18197
18197
|
});
|
|
18198
18198
|
}
|
|
@@ -18762,7 +18762,7 @@ class ChatFrame extends d {
|
|
|
18762
18762
|
const hostPageUrlParams = new (url_default())(window.location.href).searchParams;
|
|
18763
18763
|
const smsToken = hostPageUrlParams.get("adaSMSToken");
|
|
18764
18764
|
const queryParams = {
|
|
18765
|
-
embedVersion: "
|
|
18765
|
+
embedVersion: "0cbed86".slice(0, 7),
|
|
18766
18766
|
greeting,
|
|
18767
18767
|
language,
|
|
18768
18768
|
skipGreeting,
|