@ada-support/embed2 1.11.4 → 1.11.12
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 +5 -6
package/dist/npm-entry/index.js
CHANGED
|
@@ -15919,7 +15919,7 @@ const client = new BrowserClient({
|
|
|
15919
15919
|
return event;
|
|
15920
15920
|
},
|
|
15921
15921
|
environment: "production",
|
|
15922
|
-
release: "1.11.
|
|
15922
|
+
release: "1.11.12-6cb8d0a",
|
|
15923
15923
|
sampleRate: 0.25,
|
|
15924
15924
|
autoSessionTracking: false,
|
|
15925
15925
|
// Integrations don't seem to work with Sentry: https://github.com/getsentry/sentry-javascript/issues/2541
|
|
@@ -16499,7 +16499,7 @@ function getEmbedURL(_ref) {
|
|
|
16499
16499
|
} else {
|
|
16500
16500
|
host = `http://${handle}.localhost:9001`;
|
|
16501
16501
|
}
|
|
16502
|
-
return `${host}/embed/${frameName}/${"
|
|
16502
|
+
return `${host}/embed/${frameName}/${"6cb8d0a"}/index.html`;
|
|
16503
16503
|
}
|
|
16504
16504
|
function constructQueryString(query) {
|
|
16505
16505
|
return Object.keys(query).map(key => {
|
|
@@ -17680,9 +17680,9 @@ async function log(message, extra, options) {
|
|
|
17680
17680
|
service: "embed",
|
|
17681
17681
|
env: "production",
|
|
17682
17682
|
embedVersion: 2,
|
|
17683
|
-
version: "1.11.
|
|
17683
|
+
version: "1.11.12",
|
|
17684
17684
|
isNpm: true,
|
|
17685
|
-
commitHash: "
|
|
17685
|
+
commitHash: "6cb8d0a"
|
|
17686
17686
|
}))
|
|
17687
17687
|
});
|
|
17688
17688
|
}
|
|
@@ -18950,7 +18950,7 @@ class ChatFrame extends d {
|
|
|
18950
18950
|
log("Chat frame mount", {
|
|
18951
18951
|
handle,
|
|
18952
18952
|
chatUrl: this.url,
|
|
18953
|
-
embedVersion: "
|
|
18953
|
+
embedVersion: "6cb8d0a".slice(0, 7),
|
|
18954
18954
|
embedSettings: adaSettings
|
|
18955
18955
|
});
|
|
18956
18956
|
|
|
@@ -19038,7 +19038,7 @@ class ChatFrame extends d {
|
|
|
19038
19038
|
const hostPageUrlParams = new URL(window.location.href).searchParams;
|
|
19039
19039
|
const smsToken = hostPageUrlParams.get("adaSMSToken");
|
|
19040
19040
|
const queryParams = {
|
|
19041
|
-
embedVersion: "
|
|
19041
|
+
embedVersion: "6cb8d0a".slice(0, 7),
|
|
19042
19042
|
greeting,
|
|
19043
19043
|
language,
|
|
19044
19044
|
skipGreeting,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ada-support/embed2",
|
|
3
|
-
"version": "1.11.
|
|
3
|
+
"version": "1.11.12",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/npm-entry",
|
|
6
6
|
"typings": "dist/npm-entry/index-npm.d.ts",
|
|
@@ -34,7 +34,6 @@
|
|
|
34
34
|
"bundle-report-intro": "webpack-bundle-analyzer --port 4204 dist/embed/intro/local/stats.json dist/embed/intro/local",
|
|
35
35
|
"bundle-report-x-storage": "webpack-bundle-analyzer --port 4205 dist/embed/x-storage/local/stats.json dist/embed/x-storage/local",
|
|
36
36
|
"bundle-report": "DATADOG_TOKEN=test BUNDLE_ANALYSER=true yarn build && run-p bundle-report-entry bundle-report-button bundle-report-mask bundle-report-intro bundle-report-x-storage",
|
|
37
|
-
"prepare": "husky install",
|
|
38
37
|
"check-package-version": "./check-package-version.sh",
|
|
39
38
|
"audit-dependencies": "yarn audit --groups dependencies"
|
|
40
39
|
},
|
|
@@ -75,10 +74,8 @@
|
|
|
75
74
|
"eslint-plugin-cypress": "^2.12.1",
|
|
76
75
|
"eslint-plugin-sonarjs": "^0.11.0",
|
|
77
76
|
"html-webpack-plugin": "^5.5.0",
|
|
78
|
-
"husky": "^7.0.0",
|
|
79
77
|
"jest": "^27.5.1",
|
|
80
78
|
"jest-localstorage-mock": "^2.4.0",
|
|
81
|
-
"lint-staged": "^11.2.3",
|
|
82
79
|
"mock-xmlhttprequest": "^7.0.4",
|
|
83
80
|
"npm-run-all": "^4.1.5",
|
|
84
81
|
"prettier": "2.7.1",
|
|
@@ -111,14 +108,16 @@
|
|
|
111
108
|
"terser": ">=5.14.2",
|
|
112
109
|
"@babel/traverse": ">=7.23.2",
|
|
113
110
|
"semver": ">=7.5.2",
|
|
114
|
-
"form-data": ">=4.0.4"
|
|
111
|
+
"form-data": ">=4.0.4",
|
|
112
|
+
"diff": "^4.0.4"
|
|
115
113
|
},
|
|
116
114
|
"files": [
|
|
117
115
|
"dist/npm-entry"
|
|
118
116
|
],
|
|
119
117
|
"repository": {
|
|
120
118
|
"type": "git",
|
|
121
|
-
"url": "https://github.com/AdaSupport/
|
|
119
|
+
"url": "https://github.com/AdaSupport/monorepo.git",
|
|
120
|
+
"directory": "embed-2"
|
|
122
121
|
},
|
|
123
122
|
"publishConfig": {
|
|
124
123
|
"access": "public"
|