@ada-support/embed2 1.2.4 → 1.2.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 +3 -3
package/dist/npm-entry/index.js
CHANGED
|
@@ -15635,7 +15635,7 @@ const client = new error_tracker_BrowserClient({
|
|
|
15635
15635
|
},
|
|
15636
15636
|
|
|
15637
15637
|
environment: "production",
|
|
15638
|
-
release: "1.2.
|
|
15638
|
+
release: "1.2.5-fbe96ec",
|
|
15639
15639
|
sampleRate: 0.25,
|
|
15640
15640
|
autoSessionTracking: false,
|
|
15641
15641
|
// Integrations don't seem to work with Sentry: https://github.com/getsentry/sentry-javascript/issues/2541
|
|
@@ -16249,7 +16249,7 @@ function getEmbedURL(_ref) {
|
|
|
16249
16249
|
host = "http://".concat(window.location.hostname, ":9001");
|
|
16250
16250
|
}
|
|
16251
16251
|
|
|
16252
|
-
return "".concat(host, "/embed/").concat(frameName, "/").concat("
|
|
16252
|
+
return "".concat(host, "/embed/").concat(frameName, "/").concat("fbe96ec", "/index.html");
|
|
16253
16253
|
}
|
|
16254
16254
|
/**
|
|
16255
16255
|
* Generate the Chat / API URL
|
|
@@ -17805,9 +17805,9 @@ async function log(message, extra, options) {
|
|
|
17805
17805
|
service: "embed",
|
|
17806
17806
|
env: "production",
|
|
17807
17807
|
embedVersion: 2,
|
|
17808
|
-
version: "1.2.
|
|
17808
|
+
version: "1.2.5",
|
|
17809
17809
|
isNpm: true,
|
|
17810
|
-
commitHash: "
|
|
17810
|
+
commitHash: "fbe96ec"
|
|
17811
17811
|
}))
|
|
17812
17812
|
});
|
|
17813
17813
|
}
|
|
@@ -18234,7 +18234,7 @@ class ChatFrame extends d {
|
|
|
18234
18234
|
const hostPageUrlParams = new (url_default())(window.location.href).searchParams;
|
|
18235
18235
|
const smsToken = hostPageUrlParams.get("adaSMSToken");
|
|
18236
18236
|
const queryParams = {
|
|
18237
|
-
embedVersion: "
|
|
18237
|
+
embedVersion: "fbe96ec".slice(0, 7),
|
|
18238
18238
|
greeting,
|
|
18239
18239
|
language,
|
|
18240
18240
|
skipGreeting,
|
|
@@ -20378,7 +20378,7 @@ class Embed {
|
|
|
20378
20378
|
|
|
20379
20379
|
}
|
|
20380
20380
|
|
|
20381
|
-
_defineProperty(Embed, "embed2Version", "
|
|
20381
|
+
_defineProperty(Embed, "embed2Version", "fbe96ec");
|
|
20382
20382
|
;// CONCATENATED MODULE: ./src/common/helpers/startup.ts
|
|
20383
20383
|
|
|
20384
20384
|
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ada-support/embed2",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.5",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/npm-entry",
|
|
6
|
-
"typings": "dist/npm-entry/index.d.ts",
|
|
6
|
+
"typings": "dist/npm-entry/index-npm.d.ts",
|
|
7
7
|
"engines": {
|
|
8
8
|
"node": ">=16"
|
|
9
9
|
},
|
|
@@ -45,7 +45,6 @@
|
|
|
45
45
|
"author": "",
|
|
46
46
|
"license": "ISC",
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@ada-support/embed-types": "^1.1.0",
|
|
49
48
|
"@ada-support/eslint-config-ada": "^1.2.1",
|
|
50
49
|
"@testing-library/preact": "^2.0.1",
|
|
51
50
|
"@types/enzyme": "^3.10.11",
|
|
@@ -83,6 +82,7 @@
|
|
|
83
82
|
"webpack-dev-server": "^4.3.1"
|
|
84
83
|
},
|
|
85
84
|
"dependencies": {
|
|
85
|
+
"@ada-support/embed-types": "^1.1.1",
|
|
86
86
|
"@babel/core": "^7.16.12",
|
|
87
87
|
"@babel/plugin-proposal-class-properties": "^7.16.7",
|
|
88
88
|
"@babel/plugin-proposal-numeric-separator": "^7.16.7",
|