@ada-support/embed2 1.7.18 → 1.7.19
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 +5 -5
- package/package.json +1 -1
package/dist/npm-entry/index.js
CHANGED
|
@@ -13260,7 +13260,7 @@ const client = new error_tracker_BrowserClient({
|
|
|
13260
13260
|
return event;
|
|
13261
13261
|
},
|
|
13262
13262
|
environment: "production",
|
|
13263
|
-
release: "1.7.
|
|
13263
|
+
release: "1.7.19-581599e",
|
|
13264
13264
|
sampleRate: 0.25,
|
|
13265
13265
|
autoSessionTracking: false,
|
|
13266
13266
|
// Integrations don't seem to work with Sentry: https://github.com/getsentry/sentry-javascript/issues/2541
|
|
@@ -13832,7 +13832,7 @@ function getEmbedURL(_ref) {
|
|
|
13832
13832
|
} else {
|
|
13833
13833
|
host = `http://${handle}.localhost:9001`;
|
|
13834
13834
|
}
|
|
13835
|
-
return `${host}/embed/${frameName}/${"
|
|
13835
|
+
return `${host}/embed/${frameName}/${"581599e"}/index.html`;
|
|
13836
13836
|
}
|
|
13837
13837
|
function constructQueryString(query) {
|
|
13838
13838
|
return Object.keys(query).map(key => {
|
|
@@ -15010,9 +15010,9 @@ async function log(message, extra, options) {
|
|
|
15010
15010
|
service: "embed",
|
|
15011
15011
|
env: "production",
|
|
15012
15012
|
embedVersion: 2,
|
|
15013
|
-
version: "1.7.
|
|
15013
|
+
version: "1.7.19",
|
|
15014
15014
|
isNpm: true,
|
|
15015
|
-
commitHash: "
|
|
15015
|
+
commitHash: "581599e"
|
|
15016
15016
|
}))
|
|
15017
15017
|
});
|
|
15018
15018
|
}
|
|
@@ -16055,7 +16055,7 @@ class ChatFrame extends d {
|
|
|
16055
16055
|
const hostPageUrlParams = new URL(window.location.href).searchParams;
|
|
16056
16056
|
const smsToken = hostPageUrlParams.get("adaSMSToken");
|
|
16057
16057
|
const queryParams = {
|
|
16058
|
-
embedVersion: "
|
|
16058
|
+
embedVersion: "581599e".slice(0, 7),
|
|
16059
16059
|
greeting,
|
|
16060
16060
|
language,
|
|
16061
16061
|
skipGreeting,
|