@ada-support/embed2 1.1.37 → 1.1.38
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.38-864fd65",
|
|
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, "864fd65", "/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()("864fd65").call("864fd65", 0, 7),
|
|
11749
11749
|
greeting: greeting,
|
|
11750
11750
|
language: language,
|
|
11751
11751
|
skipGreeting: skipGreeting,
|
|
@@ -14392,7 +14392,7 @@ var Embed = /*#__PURE__*/function () {
|
|
|
14392
14392
|
* Bind to the window object so it can be used by the entry file.
|
|
14393
14393
|
*/
|
|
14394
14394
|
|
|
14395
|
-
(0,defineProperty/* default */.Z)(Embed, "embed2Version", "
|
|
14395
|
+
(0,defineProperty/* default */.Z)(Embed, "embed2Version", "864fd65");
|
|
14396
14396
|
|
|
14397
14397
|
window.__AdaEmbedConstructor = Embed;
|
|
14398
14398
|
|
|
@@ -14752,9 +14752,9 @@ function _log() {
|
|
|
14752
14752
|
service: "embed",
|
|
14753
14753
|
env: "production",
|
|
14754
14754
|
embedVersion: 2,
|
|
14755
|
-
version: "1.1.
|
|
14755
|
+
version: "1.1.38",
|
|
14756
14756
|
isNpm: true,
|
|
14757
|
-
commitHash: "
|
|
14757
|
+
commitHash: "864fd65"
|
|
14758
14758
|
}))
|
|
14759
14759
|
});
|
|
14760
14760
|
|
|
@@ -25695,7 +25695,7 @@ function _loadClientChunk() {
|
|
|
25695
25695
|
polyfillVersionString = "legacy";
|
|
25696
25696
|
}
|
|
25697
25697
|
|
|
25698
|
-
clientScriptSource = concat_default()(_context17 = concat_default()(_context18 = "".concat(host, "/embed/")).call(_context18, polyfillVersionString, "/client/")).call(_context17, "
|
|
25698
|
+
clientScriptSource = concat_default()(_context17 = concat_default()(_context18 = "".concat(host, "/embed/")).call(_context18, polyfillVersionString, "/client/")).call(_context17, "864fd65", "/index.js");
|
|
25699
25699
|
} // `window.__AdaEmbedConstructor` gets created in the "client" bundle
|
|
25700
25700
|
|
|
25701
25701
|
|
|
@@ -25808,7 +25808,7 @@ function createEmbedObject() {
|
|
|
25808
25808
|
throw new Error("`window.__AdaEmbedConstructor` is not defined");
|
|
25809
25809
|
|
|
25810
25810
|
case 7:
|
|
25811
|
-
if (!(adaSettings.customDomains && window.__AdaEmbedConstructor.embed2Version !== "
|
|
25811
|
+
if (!(adaSettings.customDomains && window.__AdaEmbedConstructor.embed2Version !== "864fd65")) {
|
|
25812
25812
|
_context2.next = 9;
|
|
25813
25813
|
break;
|
|
25814
25814
|
}
|