@ada-support/embed2 1.1.35 → 1.1.36
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 +8 -8
- package/package.json +1 -1
package/dist/npm-entry/index.js
CHANGED
|
@@ -8798,7 +8798,7 @@ var client = new error_tracker_BrowserClient({
|
|
|
8798
8798
|
return event;
|
|
8799
8799
|
},
|
|
8800
8800
|
environment: "production",
|
|
8801
|
-
release: "1.1.
|
|
8801
|
+
release: "1.1.36-510d827",
|
|
8802
8802
|
sampleRate: 0.25,
|
|
8803
8803
|
autoSessionTracking: false,
|
|
8804
8804
|
// Integrations don't seem to work with Sentry: https://github.com/getsentry/sentry-javascript/issues/2541
|
|
@@ -9500,7 +9500,7 @@ function getEmbedURL(_ref) {
|
|
|
9500
9500
|
polyfillVersionString = "legacy";
|
|
9501
9501
|
}
|
|
9502
9502
|
|
|
9503
|
-
return concat_default()(_context5 = concat_default()(_context6 = concat_default()(_context7 = "".concat(host, "/embed/")).call(_context7, polyfillVersionString, "/")).call(_context6, frameName, "/")).call(_context5, "
|
|
9503
|
+
return concat_default()(_context5 = concat_default()(_context6 = concat_default()(_context7 = "".concat(host, "/embed/")).call(_context7, polyfillVersionString, "/")).call(_context6, frameName, "/")).call(_context5, "510d827", "/index.html");
|
|
9504
9504
|
}
|
|
9505
9505
|
/**
|
|
9506
9506
|
* Generate the Chat / API URL
|
|
@@ -11745,7 +11745,7 @@ var ChatFrame = /*#__PURE__*/function (_Component) {
|
|
|
11745
11745
|
cluster: cluster,
|
|
11746
11746
|
domain: domain,
|
|
11747
11747
|
qp: {
|
|
11748
|
-
embedVersion: slice_default()("
|
|
11748
|
+
embedVersion: slice_default()("510d827").call("510d827", 0, 7),
|
|
11749
11749
|
greeting: greeting,
|
|
11750
11750
|
language: language,
|
|
11751
11751
|
skipGreeting: skipGreeting,
|
|
@@ -14401,7 +14401,7 @@ var Embed = /*#__PURE__*/function () {
|
|
|
14401
14401
|
* Bind to the window object so it can be used by the entry file.
|
|
14402
14402
|
*/
|
|
14403
14403
|
|
|
14404
|
-
(0,defineProperty/* default */.Z)(Embed, "embed2Version", "
|
|
14404
|
+
(0,defineProperty/* default */.Z)(Embed, "embed2Version", "510d827");
|
|
14405
14405
|
|
|
14406
14406
|
window.__AdaEmbedConstructor = Embed;
|
|
14407
14407
|
|
|
@@ -14761,9 +14761,9 @@ function _log() {
|
|
|
14761
14761
|
service: "embed",
|
|
14762
14762
|
env: "production",
|
|
14763
14763
|
embedVersion: 2,
|
|
14764
|
-
version: "1.1.
|
|
14764
|
+
version: "1.1.36",
|
|
14765
14765
|
isNpm: true,
|
|
14766
|
-
commitHash: "
|
|
14766
|
+
commitHash: "510d827"
|
|
14767
14767
|
}))
|
|
14768
14768
|
});
|
|
14769
14769
|
|
|
@@ -25704,7 +25704,7 @@ function _loadClientChunk() {
|
|
|
25704
25704
|
polyfillVersionString = "legacy";
|
|
25705
25705
|
}
|
|
25706
25706
|
|
|
25707
|
-
clientScriptSource = concat_default()(_context17 = concat_default()(_context18 = "".concat(host, "/embed/")).call(_context18, polyfillVersionString, "/client/")).call(_context17, "
|
|
25707
|
+
clientScriptSource = concat_default()(_context17 = concat_default()(_context18 = "".concat(host, "/embed/")).call(_context18, polyfillVersionString, "/client/")).call(_context17, "510d827", "/index.js");
|
|
25708
25708
|
} // `window.__AdaEmbedConstructor` gets created in the "client" bundle
|
|
25709
25709
|
|
|
25710
25710
|
|
|
@@ -25817,7 +25817,7 @@ function createEmbedObject() {
|
|
|
25817
25817
|
throw new Error("`window.__AdaEmbedConstructor` is not defined");
|
|
25818
25818
|
|
|
25819
25819
|
case 7:
|
|
25820
|
-
if (!(adaSettings.customDomains && window.__AdaEmbedConstructor.embed2Version !== "
|
|
25820
|
+
if (!(adaSettings.customDomains && window.__AdaEmbedConstructor.embed2Version !== "510d827")) {
|
|
25821
25821
|
_context2.next = 9;
|
|
25822
25822
|
break;
|
|
25823
25823
|
}
|