@ada-support/embed2 1.0.67 → 1.0.68
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 +12 -6
- package/package.json +1 -1
package/dist/npm-entry/index.js
CHANGED
|
@@ -8788,7 +8788,7 @@ var client = new error_tracker_BrowserClient({
|
|
|
8788
8788
|
return event;
|
|
8789
8789
|
},
|
|
8790
8790
|
environment: "production",
|
|
8791
|
-
release: "1.0.
|
|
8791
|
+
release: "1.0.68-063c7f1",
|
|
8792
8792
|
sampleRate: 0.25,
|
|
8793
8793
|
autoSessionTracking: false,
|
|
8794
8794
|
// Integrations don't seem to work with Sentry: https://github.com/getsentry/sentry-javascript/issues/2541
|
|
@@ -9490,7 +9490,7 @@ function getEmbedURL(_ref) {
|
|
|
9490
9490
|
polyfillVersionString = "legacy";
|
|
9491
9491
|
}
|
|
9492
9492
|
|
|
9493
|
-
return concat_default()(_context5 = concat_default()(_context6 = concat_default()(_context7 = "".concat(host, "/embed/")).call(_context7, polyfillVersionString, "/")).call(_context6, frameName, "/")).call(_context5, "
|
|
9493
|
+
return concat_default()(_context5 = concat_default()(_context6 = concat_default()(_context7 = "".concat(host, "/embed/")).call(_context7, polyfillVersionString, "/")).call(_context6, frameName, "/")).call(_context5, "063c7f1", "/index.html");
|
|
9494
9494
|
}
|
|
9495
9495
|
/**
|
|
9496
9496
|
* Generate the Chat / API URL
|
|
@@ -12776,6 +12776,8 @@ var Container = /*#__PURE__*/function (_Component) {
|
|
|
12776
12776
|
(0,services_logger/* log */.cM)("SEND_GREETING Init", {
|
|
12777
12777
|
clientHandle: client === null || client === void 0 ? void 0 : client.handle,
|
|
12778
12778
|
wasCampaignShownButNowClosed: wasCampaignShownButNowClosed
|
|
12779
|
+
}, {
|
|
12780
|
+
sampleRate: 1
|
|
12779
12781
|
});
|
|
12780
12782
|
|
|
12781
12783
|
if ((client === null || client === void 0 ? void 0 : (_client$ui_settings = client.ui_settings) === null || _client$ui_settings === void 0 ? void 0 : (_client$ui_settings$e = _client$ui_settings.embed) === null || _client$ui_settings$e === void 0 ? void 0 : _client$ui_settings$e.style) === "text") {
|
|
@@ -12843,6 +12845,8 @@ var Container = /*#__PURE__*/function (_Component) {
|
|
|
12843
12845
|
chatChannel: chatChannel,
|
|
12844
12846
|
followUpResponseId: followUpResponseId,
|
|
12845
12847
|
wasCampaignShownButNowClosed: wasCampaignShownButNowClosed
|
|
12848
|
+
}, {
|
|
12849
|
+
sampleRate: 1
|
|
12846
12850
|
});
|
|
12847
12851
|
|
|
12848
12852
|
if (chatChannel) {
|
|
@@ -13026,6 +13030,8 @@ var Container = /*#__PURE__*/function (_Component) {
|
|
|
13026
13030
|
(0,services_logger/* log */.cM)("followUpResponseId initialized", {
|
|
13027
13031
|
clientHandle: client === null || client === void 0 ? void 0 : client.handle,
|
|
13028
13032
|
followUpResponseId: followUpResponseId
|
|
13033
|
+
}, {
|
|
13034
|
+
sampleRate: 1
|
|
13029
13035
|
});
|
|
13030
13036
|
setState({
|
|
13031
13037
|
latestCampaignKey: campaignKey,
|
|
@@ -14362,7 +14368,7 @@ window.__AdaEmbedConstructor = Embed;
|
|
|
14362
14368
|
/* harmony export */ });
|
|
14363
14369
|
var isModern = new RegExp("((CPU[ +]OS|iPhone[ +]OS|CPU[ +]iPhone|CPU IPhone OS)[ +]+(15|(1[6-9]|[2-9]\\d|\\d{3,}))[_.]\\d+(?:[_.]\\d+)?)|((Chromium|Chrome)\\/(97|(9[8-9]|\\d{3,}))\\.\\d+(?:\\.\\d+)?)|(Version\\/(15|(1[6-9]|[2-9]\\d|\\d{3,}))\\.\\d+(?:\\.\\d+)? Safari\\/)|(Firefox\\/(96|(9[7-9]|\\d{3,}))\\.\\d+\\.\\d+)|(Firefox\\/(96|(9[7-9]|\\d{3,}))\\.\\d+(pre|[ab]\\d+[a-z]*)?)").test(navigator.userAgent);
|
|
14364
14370
|
var isProduction = "production" === "production";
|
|
14365
|
-
var embed2Version = "
|
|
14371
|
+
var embed2Version = "063c7f1";
|
|
14366
14372
|
|
|
14367
14373
|
/***/ }),
|
|
14368
14374
|
|
|
@@ -14708,9 +14714,9 @@ function _log() {
|
|
|
14708
14714
|
service: "embed",
|
|
14709
14715
|
env: "production",
|
|
14710
14716
|
embedVersion: 2,
|
|
14711
|
-
version: "1.0.
|
|
14717
|
+
version: "1.0.68",
|
|
14712
14718
|
isNpm: true,
|
|
14713
|
-
commitHash: "
|
|
14719
|
+
commitHash: "063c7f1"
|
|
14714
14720
|
}))
|
|
14715
14721
|
});
|
|
14716
14722
|
|
|
@@ -25651,7 +25657,7 @@ function _loadEmbed() {
|
|
|
25651
25657
|
polyfillVersionString = "legacy";
|
|
25652
25658
|
}
|
|
25653
25659
|
|
|
25654
|
-
embedScriptSource = concat_default()(_context17 = concat_default()(_context18 = "".concat(host, "/embed/")).call(_context18, polyfillVersionString, "/client/")).call(_context17, "
|
|
25660
|
+
embedScriptSource = concat_default()(_context17 = concat_default()(_context18 = "".concat(host, "/embed/")).call(_context18, polyfillVersionString, "/client/")).call(_context17, "063c7f1", "/index.js");
|
|
25655
25661
|
}
|
|
25656
25662
|
|
|
25657
25663
|
clientScriptExists = Boolean( true || // The client script is bundled with npm module
|