@ada-support/embed2 1.7.35 → 1.7.37
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
|
@@ -13949,7 +13949,7 @@ const client = new BrowserClient({
|
|
|
13949
13949
|
return event;
|
|
13950
13950
|
},
|
|
13951
13951
|
environment: "production",
|
|
13952
|
-
release: "1.7.
|
|
13952
|
+
release: "1.7.37-29ccb35",
|
|
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
|
|
@@ -14523,7 +14523,7 @@ function getEmbedURL(_ref) {
|
|
|
14523
14523
|
} else {
|
|
14524
14524
|
host = `http://${handle}.localhost:9001`;
|
|
14525
14525
|
}
|
|
14526
|
-
return `${host}/embed/${frameName}/${"
|
|
14526
|
+
return `${host}/embed/${frameName}/${"29ccb35"}/index.html`;
|
|
14527
14527
|
}
|
|
14528
14528
|
function constructQueryString(query) {
|
|
14529
14529
|
return Object.keys(query).map(key => {
|
|
@@ -15701,9 +15701,9 @@ async function log(message, extra, options) {
|
|
|
15701
15701
|
service: "embed",
|
|
15702
15702
|
env: "production",
|
|
15703
15703
|
embedVersion: 2,
|
|
15704
|
-
version: "1.7.
|
|
15704
|
+
version: "1.7.37",
|
|
15705
15705
|
isNpm: true,
|
|
15706
|
-
commitHash: "
|
|
15706
|
+
commitHash: "29ccb35"
|
|
15707
15707
|
}))
|
|
15708
15708
|
});
|
|
15709
15709
|
}
|
|
@@ -16846,7 +16846,7 @@ class ChatFrame extends d {
|
|
|
16846
16846
|
const hostPageUrlParams = new URL(window.location.href).searchParams;
|
|
16847
16847
|
const smsToken = hostPageUrlParams.get("adaSMSToken");
|
|
16848
16848
|
const queryParams = {
|
|
16849
|
-
embedVersion: "
|
|
16849
|
+
embedVersion: "29ccb35".slice(0, 7),
|
|
16850
16850
|
greeting,
|
|
16851
16851
|
language,
|
|
16852
16852
|
skipGreeting,
|
|
@@ -17422,7 +17422,7 @@ class ChatFrame extends d {
|
|
|
17422
17422
|
isDrawerOpen
|
|
17423
17423
|
} = this.props;
|
|
17424
17424
|
const iFrameName = `ada-chat-frame`;
|
|
17425
|
-
const sandboxParams = "allow-downloads allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts allow-top-navigation";
|
|
17425
|
+
const sandboxParams = "allow-downloads allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts allow-top-navigation allow-forms";
|
|
17426
17426
|
const roleDescription = () => {
|
|
17427
17427
|
if (!(client !== null && client !== void 0 && client.handle)) {
|
|
17428
17428
|
return "Chat Window";
|