@ada-support/embed2 1.2.12 → 1.2.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 +6 -6
- 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.2.
|
|
15814
|
+
release: "1.2.13-9f1e1a1",
|
|
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
|
|
@@ -16426,7 +16426,7 @@ function getEmbedURL(_ref) {
|
|
|
16426
16426
|
host = "http://".concat(window.location.hostname, ":9001");
|
|
16427
16427
|
}
|
|
16428
16428
|
|
|
16429
|
-
return "".concat(host, "/embed/").concat(frameName, "/").concat("
|
|
16429
|
+
return "".concat(host, "/embed/").concat(frameName, "/").concat("9f1e1a1", "/index.html");
|
|
16430
16430
|
}
|
|
16431
16431
|
/**
|
|
16432
16432
|
* Generate the Chat / API URL
|
|
@@ -18002,9 +18002,9 @@ async function log(message, extra, options) {
|
|
|
18002
18002
|
service: "embed",
|
|
18003
18003
|
env: "production",
|
|
18004
18004
|
embedVersion: 2,
|
|
18005
|
-
version: "1.2.
|
|
18005
|
+
version: "1.2.13",
|
|
18006
18006
|
isNpm: true,
|
|
18007
|
-
commitHash: "
|
|
18007
|
+
commitHash: "9f1e1a1"
|
|
18008
18008
|
}))
|
|
18009
18009
|
});
|
|
18010
18010
|
}
|
|
@@ -18431,7 +18431,7 @@ class ChatFrame extends d {
|
|
|
18431
18431
|
const hostPageUrlParams = new (url_default())(window.location.href).searchParams;
|
|
18432
18432
|
const smsToken = hostPageUrlParams.get("adaSMSToken");
|
|
18433
18433
|
const queryParams = {
|
|
18434
|
-
embedVersion: "
|
|
18434
|
+
embedVersion: "9f1e1a1".slice(0, 7),
|
|
18435
18435
|
greeting,
|
|
18436
18436
|
language,
|
|
18437
18437
|
skipGreeting,
|
|
@@ -20575,7 +20575,7 @@ class Embed {
|
|
|
20575
20575
|
|
|
20576
20576
|
}
|
|
20577
20577
|
|
|
20578
|
-
_defineProperty(Embed, "embed2Version", "
|
|
20578
|
+
_defineProperty(Embed, "embed2Version", "9f1e1a1");
|
|
20579
20579
|
;// CONCATENATED MODULE: ./src/common/helpers/startup.ts
|
|
20580
20580
|
|
|
20581
20581
|
|