@ada-support/embed2 1.0.43 → 1.0.44
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: "b4c1ab7de28e3f1320658bfad5883ada73141b44",
|
|
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
|
|
@@ -9187,7 +9187,7 @@ function getEmbedURL(_ref) {
|
|
|
9187
9187
|
polyfillVersionString = "legacy";
|
|
9188
9188
|
}
|
|
9189
9189
|
|
|
9190
|
-
return concat_default()(_context5 = concat_default()(_context6 = concat_default()(_context7 = "".concat(host, "/embed/")).call(_context7, polyfillVersionString, "/")).call(_context6, frameName, "/")).call(_context5, "
|
|
9190
|
+
return concat_default()(_context5 = concat_default()(_context6 = concat_default()(_context7 = "".concat(host, "/embed/")).call(_context7, polyfillVersionString, "/")).call(_context6, frameName, "/")).call(_context5, "b4c1ab7", "/index.html");
|
|
9191
9191
|
}
|
|
9192
9192
|
/**
|
|
9193
9193
|
* Generate the Chat / API URL
|
|
@@ -13887,7 +13887,7 @@ window.__AdaEmbedConstructor = Embed;
|
|
|
13887
13887
|
/* harmony export */ });
|
|
13888
13888
|
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);
|
|
13889
13889
|
var isProduction = "production" === "production";
|
|
13890
|
-
var embed2Version = "
|
|
13890
|
+
var embed2Version = "b4c1ab7";
|
|
13891
13891
|
|
|
13892
13892
|
/***/ }),
|
|
13893
13893
|
|
|
@@ -23671,7 +23671,7 @@ function _loadEmbed() {
|
|
|
23671
23671
|
polyfillVersionString = "legacy";
|
|
23672
23672
|
}
|
|
23673
23673
|
|
|
23674
|
-
embedScriptSource = concat_default()(_context16 = concat_default()(_context17 = "".concat(host, "/embed/")).call(_context17, polyfillVersionString, "/client/")).call(_context16, "
|
|
23674
|
+
embedScriptSource = concat_default()(_context16 = concat_default()(_context17 = "".concat(host, "/embed/")).call(_context17, polyfillVersionString, "/client/")).call(_context16, "b4c1ab7", "/index.js");
|
|
23675
23675
|
}
|
|
23676
23676
|
|
|
23677
23677
|
clientScriptExists = Boolean( true || // The client script is bundled with npm module
|
|
@@ -23798,10 +23798,10 @@ function createEmbedObject() {
|
|
|
23798
23798
|
handle: adaSettings.handle,
|
|
23799
23799
|
embedVersion: 2,
|
|
23800
23800
|
embedSettings: adaSettings,
|
|
23801
|
-
version: "1.0.
|
|
23801
|
+
version: "1.0.44",
|
|
23802
23802
|
isNpm: true,
|
|
23803
23803
|
hostPage: window.location.href,
|
|
23804
|
-
commitHash: "
|
|
23804
|
+
commitHash: "b4c1ab7"
|
|
23805
23805
|
}, {
|
|
23806
23806
|
sampleRate: 0.01 // 1% of logs will go through
|
|
23807
23807
|
|