@ada-support/embed2 1.4.12 → 1.4.13
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 +9 -7
- package/package.json +1 -1
package/dist/npm-entry/index.js
CHANGED
|
@@ -15811,7 +15811,7 @@ const client = new error_tracker_BrowserClient({
|
|
|
15811
15811
|
},
|
|
15812
15812
|
|
|
15813
15813
|
environment: "production",
|
|
15814
|
-
release: "1.4.
|
|
15814
|
+
release: "1.4.13-3a3e7fe",
|
|
15815
15815
|
sampleRate: 0.25,
|
|
15816
15816
|
autoSessionTracking: false,
|
|
15817
15817
|
// Integrations don't seem to work with Sentry: https://github.com/getsentry/sentry-javascript/issues/2541
|
|
@@ -16432,7 +16432,7 @@ function getEmbedURL(_ref) {
|
|
|
16432
16432
|
host = "http://".concat(window.location.hostname, ":9001");
|
|
16433
16433
|
}
|
|
16434
16434
|
|
|
16435
|
-
return "".concat(host, "/embed/").concat(frameName, "/").concat("
|
|
16435
|
+
return "".concat(host, "/embed/").concat(frameName, "/").concat("3a3e7fe", "/index.html");
|
|
16436
16436
|
}
|
|
16437
16437
|
|
|
16438
16438
|
function constructQueryString(query) {
|
|
@@ -18186,9 +18186,9 @@ async function log(message, extra, options) {
|
|
|
18186
18186
|
service: "embed",
|
|
18187
18187
|
env: "production",
|
|
18188
18188
|
embedVersion: 2,
|
|
18189
|
-
version: "1.4.
|
|
18189
|
+
version: "1.4.13",
|
|
18190
18190
|
isNpm: true,
|
|
18191
|
-
commitHash: "
|
|
18191
|
+
commitHash: "3a3e7fe"
|
|
18192
18192
|
}))
|
|
18193
18193
|
});
|
|
18194
18194
|
}
|
|
@@ -18203,7 +18203,9 @@ const loadChatManifest = async () => {
|
|
|
18203
18203
|
} catch (e) {
|
|
18204
18204
|
// handling cases where r is undefined / other fetch errors
|
|
18205
18205
|
// by returning undefined, we tell the server to load the unversioned index.html file for chat
|
|
18206
|
-
log("Failed to load chat manifest"
|
|
18206
|
+
log("Failed to load chat manifest", {
|
|
18207
|
+
hostPage: window.location.href
|
|
18208
|
+
});
|
|
18207
18209
|
return undefined;
|
|
18208
18210
|
}
|
|
18209
18211
|
}; // Use one message for different errors to reduce the bundle size
|
|
@@ -18764,7 +18766,7 @@ class ChatFrame extends d {
|
|
|
18764
18766
|
const hostPageUrlParams = new (url_default())(window.location.href).searchParams;
|
|
18765
18767
|
const smsToken = hostPageUrlParams.get("adaSMSToken");
|
|
18766
18768
|
const queryParams = {
|
|
18767
|
-
embedVersion: "
|
|
18769
|
+
embedVersion: "3a3e7fe".slice(0, 7),
|
|
18768
18770
|
greeting,
|
|
18769
18771
|
language,
|
|
18770
18772
|
skipGreeting,
|
|
@@ -20939,7 +20941,7 @@ class Embed {
|
|
|
20939
20941
|
|
|
20940
20942
|
}
|
|
20941
20943
|
|
|
20942
|
-
_defineProperty(Embed, "embed2Version", "
|
|
20944
|
+
_defineProperty(Embed, "embed2Version", "3a3e7fe");
|
|
20943
20945
|
;// CONCATENATED MODULE: ./src/common/helpers/startup.ts
|
|
20944
20946
|
|
|
20945
20947
|
|