@ada-support/embed2 1.6.4 → 1.6.5
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
|
@@ -15806,7 +15806,7 @@ const client = new error_tracker_BrowserClient({
|
|
|
15806
15806
|
},
|
|
15807
15807
|
|
|
15808
15808
|
environment: "production",
|
|
15809
|
-
release: "1.6.
|
|
15809
|
+
release: "1.6.5-7ad1229",
|
|
15810
15810
|
sampleRate: 0.25,
|
|
15811
15811
|
autoSessionTracking: false,
|
|
15812
15812
|
// Integrations don't seem to work with Sentry: https://github.com/getsentry/sentry-javascript/issues/2541
|
|
@@ -16436,7 +16436,7 @@ function getEmbedURL(_ref) {
|
|
|
16436
16436
|
host = "http://".concat(window.location.hostname, ":9001");
|
|
16437
16437
|
}
|
|
16438
16438
|
|
|
16439
|
-
return "".concat(host, "/embed/").concat(frameName, "/").concat("
|
|
16439
|
+
return "".concat(host, "/embed/").concat(frameName, "/").concat("7ad1229", "/index.html");
|
|
16440
16440
|
}
|
|
16441
16441
|
|
|
16442
16442
|
function constructQueryString(query) {
|
|
@@ -18192,9 +18192,9 @@ async function log(message, extra, options) {
|
|
|
18192
18192
|
service: "embed",
|
|
18193
18193
|
env: "production",
|
|
18194
18194
|
embedVersion: 2,
|
|
18195
|
-
version: "1.6.
|
|
18195
|
+
version: "1.6.5",
|
|
18196
18196
|
isNpm: true,
|
|
18197
|
-
commitHash: "
|
|
18197
|
+
commitHash: "7ad1229"
|
|
18198
18198
|
}))
|
|
18199
18199
|
});
|
|
18200
18200
|
}
|
|
@@ -18764,7 +18764,7 @@ class ChatFrame extends d {
|
|
|
18764
18764
|
const hostPageUrlParams = new (url_default())(window.location.href).searchParams;
|
|
18765
18765
|
const smsToken = hostPageUrlParams.get("adaSMSToken");
|
|
18766
18766
|
const queryParams = {
|
|
18767
|
-
embedVersion: "
|
|
18767
|
+
embedVersion: "7ad1229".slice(0, 7),
|
|
18768
18768
|
greeting,
|
|
18769
18769
|
language,
|
|
18770
18770
|
skipGreeting,
|
|
@@ -20980,7 +20980,7 @@ class Embed {
|
|
|
20980
20980
|
|
|
20981
20981
|
}
|
|
20982
20982
|
|
|
20983
|
-
_defineProperty(Embed, "embed2Version", "
|
|
20983
|
+
_defineProperty(Embed, "embed2Version", "7ad1229");
|
|
20984
20984
|
;// CONCATENATED MODULE: ./src/common/helpers/startup.ts
|
|
20985
20985
|
|
|
20986
20986
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ada-support/embed2",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.5",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/npm-entry",
|
|
6
6
|
"typings": "dist/npm-entry/index-npm.d.ts",
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"webpack-dev-server": "^4.3.1"
|
|
84
84
|
},
|
|
85
85
|
"dependencies": {
|
|
86
|
-
"@ada-support/embed-types": "^1.
|
|
86
|
+
"@ada-support/embed-types": "^1.6.4",
|
|
87
87
|
"@babel/core": "^7.16.12",
|
|
88
88
|
"@babel/plugin-proposal-class-properties": "^7.16.7",
|
|
89
89
|
"@babel/plugin-proposal-numeric-separator": "^7.16.7",
|