@ada-support/embed2 1.8.3 → 1.8.4
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
|
@@ -13949,7 +13949,7 @@ const client = new BrowserClient({
|
|
|
13949
13949
|
return event;
|
|
13950
13950
|
},
|
|
13951
13951
|
environment: "production",
|
|
13952
|
-
release: "1.8.
|
|
13952
|
+
release: "1.8.4-20e63ea",
|
|
13953
13953
|
sampleRate: 0.25,
|
|
13954
13954
|
autoSessionTracking: false,
|
|
13955
13955
|
// Integrations don't seem to work with Sentry: https://github.com/getsentry/sentry-javascript/issues/2541
|
|
@@ -14524,7 +14524,7 @@ function getEmbedURL(_ref) {
|
|
|
14524
14524
|
} else {
|
|
14525
14525
|
host = `http://${handle}.localhost:9001`;
|
|
14526
14526
|
}
|
|
14527
|
-
return `${host}/embed/${frameName}/${"
|
|
14527
|
+
return `${host}/embed/${frameName}/${"20e63ea"}/index.html`;
|
|
14528
14528
|
}
|
|
14529
14529
|
function constructQueryString(query) {
|
|
14530
14530
|
return Object.keys(query).map(key => {
|
|
@@ -15702,9 +15702,9 @@ async function log(message, extra, options) {
|
|
|
15702
15702
|
service: "embed",
|
|
15703
15703
|
env: "production",
|
|
15704
15704
|
embedVersion: 2,
|
|
15705
|
-
version: "1.8.
|
|
15705
|
+
version: "1.8.4",
|
|
15706
15706
|
isNpm: true,
|
|
15707
|
-
commitHash: "
|
|
15707
|
+
commitHash: "20e63ea"
|
|
15708
15708
|
}))
|
|
15709
15709
|
});
|
|
15710
15710
|
}
|
|
@@ -16853,7 +16853,7 @@ class ChatFrame extends d {
|
|
|
16853
16853
|
const hostPageUrlParams = new URL(window.location.href).searchParams;
|
|
16854
16854
|
const smsToken = hostPageUrlParams.get("adaSMSToken");
|
|
16855
16855
|
const queryParams = {
|
|
16856
|
-
embedVersion: "
|
|
16856
|
+
embedVersion: "20e63ea".slice(0, 7),
|
|
16857
16857
|
greeting,
|
|
16858
16858
|
language,
|
|
16859
16859
|
skipGreeting,
|