@ada-support/embed2 1.0.41 → 1.0.42
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
|
@@ -8500,7 +8500,7 @@ var client = new error_tracker_BrowserClient({
|
|
|
8500
8500
|
return event;
|
|
8501
8501
|
},
|
|
8502
8502
|
environment: "production",
|
|
8503
|
-
release: "
|
|
8503
|
+
release: "42a0dad879a0093ea3dae3ce4fbc48176784fa90",
|
|
8504
8504
|
sampleRate: 0.25,
|
|
8505
8505
|
autoSessionTracking: false,
|
|
8506
8506
|
// Integrations don't seem to work with Sentry: https://github.com/getsentry/sentry-javascript/issues/2541
|
|
@@ -9192,7 +9192,7 @@ function getEmbedURL(_ref) {
|
|
|
9192
9192
|
polyfillVersionString = "legacy";
|
|
9193
9193
|
}
|
|
9194
9194
|
|
|
9195
|
-
return concat_default()(_context5 = concat_default()(_context6 = concat_default()(_context7 = "".concat(host, "/embed/")).call(_context7, polyfillVersionString, "/")).call(_context6, frameName, "/")).call(_context5, "
|
|
9195
|
+
return concat_default()(_context5 = concat_default()(_context6 = concat_default()(_context7 = "".concat(host, "/embed/")).call(_context7, polyfillVersionString, "/")).call(_context6, frameName, "/")).call(_context5, "42a0dad", "/index.html");
|
|
9196
9196
|
}
|
|
9197
9197
|
/**
|
|
9198
9198
|
* Generate the Chat / API URL
|
|
@@ -13892,7 +13892,7 @@ window.__AdaEmbedConstructor = Embed;
|
|
|
13892
13892
|
/* harmony export */ });
|
|
13893
13893
|
var isModern = new RegExp("((CPU[ +]OS|iPhone[ +]OS|CPU[ +]iPhone|CPU IPhone OS)[ +]+(14|(1[5-9]|[2-9]\\d|\\d{3,}))[_.]\\d+(?:[_.]\\d+)?)|((Chromium|Chrome)\\/(92|(9[3-9]|\\d{3,}))\\.\\d+(?:\\.\\d+)?)|(Version\\/(14|(1[5-9]|[2-9]\\d|\\d{3,}))\\.\\d+(?:\\.\\d+)? Safari\\/)|(Firefox\\/(91|(9[2-9]|\\d{3,}))\\.\\d+\\.\\d+)|(Firefox\\/(91|(9[2-9]|\\d{3,}))\\.\\d+(pre|[ab]\\d+[a-z]*)?)").test(navigator.userAgent);
|
|
13894
13894
|
var isProduction = "production" === "production";
|
|
13895
|
-
var embed2Version = "
|
|
13895
|
+
var embed2Version = "42a0dad";
|
|
13896
13896
|
|
|
13897
13897
|
/***/ }),
|
|
13898
13898
|
|
|
@@ -23676,7 +23676,7 @@ function _loadEmbed() {
|
|
|
23676
23676
|
polyfillVersionString = "legacy";
|
|
23677
23677
|
}
|
|
23678
23678
|
|
|
23679
|
-
embedScriptSource = concat_default()(_context16 = concat_default()(_context17 = "".concat(host, "/embed/")).call(_context17, polyfillVersionString, "/client/")).call(_context16, "
|
|
23679
|
+
embedScriptSource = concat_default()(_context16 = concat_default()(_context17 = "".concat(host, "/embed/")).call(_context17, polyfillVersionString, "/client/")).call(_context16, "42a0dad", "/index.js");
|
|
23680
23680
|
}
|
|
23681
23681
|
|
|
23682
23682
|
clientScriptExists = Boolean( true || // The client script is bundled with npm module
|
|
@@ -23803,10 +23803,10 @@ function createEmbedObject() {
|
|
|
23803
23803
|
handle: adaSettings.handle,
|
|
23804
23804
|
embedVersion: 2,
|
|
23805
23805
|
embedSettings: adaSettings,
|
|
23806
|
-
version: "1.0.
|
|
23806
|
+
version: "1.0.42",
|
|
23807
23807
|
isNpm: true,
|
|
23808
23808
|
hostPage: window.location.href,
|
|
23809
|
-
commitHash: "
|
|
23809
|
+
commitHash: "42a0dad"
|
|
23810
23810
|
}, {
|
|
23811
23811
|
sampleRate: 0.01 // 1% of logs will go through
|
|
23812
23812
|
|