@ada-support/embed2 1.6.21 → 1.6.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
CHANGED
|
@@ -15917,7 +15917,7 @@ const client = new error_tracker_BrowserClient({
|
|
|
15917
15917
|
},
|
|
15918
15918
|
|
|
15919
15919
|
environment: "production",
|
|
15920
|
-
release: "1.6.
|
|
15920
|
+
release: "1.6.22-b080dd7",
|
|
15921
15921
|
sampleRate: 0.25,
|
|
15922
15922
|
autoSessionTracking: false,
|
|
15923
15923
|
// Integrations don't seem to work with Sentry: https://github.com/getsentry/sentry-javascript/issues/2541
|
|
@@ -16547,7 +16547,7 @@ function getEmbedURL(_ref) {
|
|
|
16547
16547
|
host = "http://".concat(window.location.hostname, ":9001");
|
|
16548
16548
|
}
|
|
16549
16549
|
|
|
16550
|
-
return "".concat(host, "/embed/").concat(frameName, "/").concat("
|
|
16550
|
+
return "".concat(host, "/embed/").concat(frameName, "/").concat("b080dd7", "/index.html");
|
|
16551
16551
|
}
|
|
16552
16552
|
|
|
16553
16553
|
function constructQueryString(query) {
|
|
@@ -18199,9 +18199,9 @@ async function log(message, extra, options) {
|
|
|
18199
18199
|
service: "embed",
|
|
18200
18200
|
env: "production",
|
|
18201
18201
|
embedVersion: 2,
|
|
18202
|
-
version: "1.6.
|
|
18202
|
+
version: "1.6.22",
|
|
18203
18203
|
isNpm: true,
|
|
18204
|
-
commitHash: "
|
|
18204
|
+
commitHash: "b080dd7"
|
|
18205
18205
|
}))
|
|
18206
18206
|
});
|
|
18207
18207
|
}
|
|
@@ -18771,7 +18771,7 @@ class ChatFrame extends d {
|
|
|
18771
18771
|
const hostPageUrlParams = new (url_default())(window.location.href).searchParams;
|
|
18772
18772
|
const smsToken = hostPageUrlParams.get("adaSMSToken");
|
|
18773
18773
|
const queryParams = {
|
|
18774
|
-
embedVersion: "
|
|
18774
|
+
embedVersion: "b080dd7".slice(0, 7),
|
|
18775
18775
|
greeting,
|
|
18776
18776
|
language,
|
|
18777
18777
|
skipGreeting,
|
|
@@ -20989,8 +20989,8 @@ class Embed {
|
|
|
20989
20989
|
|
|
20990
20990
|
}
|
|
20991
20991
|
|
|
20992
|
-
_defineProperty(Embed, "embed2Version", "
|
|
20993
|
-
;// CONCATENATED MODULE: ./src/
|
|
20992
|
+
_defineProperty(Embed, "embed2Version", "b080dd7");
|
|
20993
|
+
;// CONCATENATED MODULE: ./src/interface.ts
|
|
20994
20994
|
|
|
20995
20995
|
|
|
20996
20996
|
|
|
@@ -20998,7 +20998,7 @@ _defineProperty(Embed, "embed2Version", "1e6219d");
|
|
|
20998
20998
|
* Returns the public Embed methods to be bound to the window object.
|
|
20999
20999
|
*/
|
|
21000
21000
|
|
|
21001
|
-
function
|
|
21001
|
+
function createEmbedInterface() {
|
|
21002
21002
|
let embed = null;
|
|
21003
21003
|
let startEmbedResolve;
|
|
21004
21004
|
let startEmbed = null;
|
|
@@ -21187,7 +21187,7 @@ function createEmbedObject() {
|
|
|
21187
21187
|
// We need "export default" for NPM module to be used as `import adaEmbed from "@ada-support/embed2";`
|
|
21188
21188
|
// eslint-disable-next-line import/no-default-export
|
|
21189
21189
|
|
|
21190
|
-
/* harmony default export */ var index_npm = (
|
|
21190
|
+
/* harmony default export */ var index_npm = (createEmbedInterface());
|
|
21191
21191
|
}();
|
|
21192
21192
|
module.exports = __webpack_exports__;
|
|
21193
21193
|
/******/ })()
|