@ada-support/embed2 1.8.6 → 1.8.8
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 +2 -2
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.8-b6ee595",
|
|
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
|
|
@@ -14526,7 +14526,7 @@ function getEmbedURL(_ref) {
|
|
|
14526
14526
|
} else {
|
|
14527
14527
|
host = `http://${handle}.localhost:9001`;
|
|
14528
14528
|
}
|
|
14529
|
-
return `${host}/embed/${frameName}/${"
|
|
14529
|
+
return `${host}/embed/${frameName}/${"b6ee595"}/index.html`;
|
|
14530
14530
|
}
|
|
14531
14531
|
function constructQueryString(query) {
|
|
14532
14532
|
return Object.keys(query).map(key => {
|
|
@@ -15721,9 +15721,9 @@ async function log(message, extra, options) {
|
|
|
15721
15721
|
service: "embed",
|
|
15722
15722
|
env: "production",
|
|
15723
15723
|
embedVersion: 2,
|
|
15724
|
-
version: "1.8.
|
|
15724
|
+
version: "1.8.8",
|
|
15725
15725
|
isNpm: true,
|
|
15726
|
-
commitHash: "
|
|
15726
|
+
commitHash: "b6ee595"
|
|
15727
15727
|
}))
|
|
15728
15728
|
});
|
|
15729
15729
|
}
|
|
@@ -16899,7 +16899,7 @@ class ChatFrame extends d {
|
|
|
16899
16899
|
const hostPageUrlParams = new URL(window.location.href).searchParams;
|
|
16900
16900
|
const smsToken = hostPageUrlParams.get("adaSMSToken");
|
|
16901
16901
|
const queryParams = {
|
|
16902
|
-
embedVersion: "
|
|
16902
|
+
embedVersion: "b6ee595".slice(0, 7),
|
|
16903
16903
|
greeting,
|
|
16904
16904
|
language,
|
|
16905
16905
|
skipGreeting,
|
|
@@ -17958,7 +17958,7 @@ class Container extends d {
|
|
|
17958
17958
|
// This can be used by the AI manager to customize the greeting
|
|
17959
17959
|
setGlobalState({
|
|
17960
17960
|
metaFields: {
|
|
17961
|
-
proactive_conversation:
|
|
17961
|
+
proactive_conversation: recentProactiveConversationConfig.key
|
|
17962
17962
|
}
|
|
17963
17963
|
});
|
|
17964
17964
|
chatChannel.postMessage(INJECT_PROACTIVE_CONVERSATION, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ada-support/embed2",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.8",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/npm-entry",
|
|
6
6
|
"typings": "dist/npm-entry/index-npm.d.ts",
|
|
@@ -77,8 +77,8 @@
|
|
|
77
77
|
"eslint-plugin-compat": "^4.0.2",
|
|
78
78
|
"eslint-plugin-cypress": "^2.12.1",
|
|
79
79
|
"eslint-plugin-sonarjs": "^0.11.0",
|
|
80
|
-
"husky": "^7.0.0",
|
|
81
80
|
"html-webpack-plugin": "^5.5.0",
|
|
81
|
+
"husky": "^7.0.0",
|
|
82
82
|
"jest": "^27.5.1",
|
|
83
83
|
"jest-localstorage-mock": "^2.4.0",
|
|
84
84
|
"lint-staged": "^11.2.3",
|