@ada-support/embed2 1.1.19 → 1.1.22
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 +7 -7
- package/package.json +4 -4
package/dist/npm-entry/index.js
CHANGED
|
@@ -8798,7 +8798,7 @@ var client = new error_tracker_BrowserClient({
|
|
|
8798
8798
|
return event;
|
|
8799
8799
|
},
|
|
8800
8800
|
environment: "production",
|
|
8801
|
-
release: "1.1.
|
|
8801
|
+
release: "1.1.22-3d0868a",
|
|
8802
8802
|
sampleRate: 0.25,
|
|
8803
8803
|
autoSessionTracking: false,
|
|
8804
8804
|
// Integrations don't seem to work with Sentry: https://github.com/getsentry/sentry-javascript/issues/2541
|
|
@@ -9500,7 +9500,7 @@ function getEmbedURL(_ref) {
|
|
|
9500
9500
|
polyfillVersionString = "legacy";
|
|
9501
9501
|
}
|
|
9502
9502
|
|
|
9503
|
-
return concat_default()(_context5 = concat_default()(_context6 = concat_default()(_context7 = "".concat(host, "/embed/")).call(_context7, polyfillVersionString, "/")).call(_context6, frameName, "/")).call(_context5, "
|
|
9503
|
+
return concat_default()(_context5 = concat_default()(_context6 = concat_default()(_context7 = "".concat(host, "/embed/")).call(_context7, polyfillVersionString, "/")).call(_context6, frameName, "/")).call(_context5, "3d0868a", "/index.html");
|
|
9504
9504
|
}
|
|
9505
9505
|
/**
|
|
9506
9506
|
* Generate the Chat / API URL
|
|
@@ -11735,7 +11735,7 @@ var ChatFrame = /*#__PURE__*/function (_Component) {
|
|
|
11735
11735
|
cluster: cluster,
|
|
11736
11736
|
domain: domain,
|
|
11737
11737
|
qp: {
|
|
11738
|
-
embedVersion: slice_default()("
|
|
11738
|
+
embedVersion: slice_default()("3d0868a").call("3d0868a", 0, 7),
|
|
11739
11739
|
greeting: greeting,
|
|
11740
11740
|
language: language,
|
|
11741
11741
|
skipGreeting: skipGreeting,
|
|
@@ -14405,7 +14405,7 @@ window.__AdaEmbedConstructor = Embed;
|
|
|
14405
14405
|
/* harmony export */ });
|
|
14406
14406
|
var isModern = new RegExp("((CPU[ +]OS|iPhone[ +]OS|CPU[ +]iPhone|CPU IPhone OS)[ +]+(15|(1[6-9]|[2-9]\\d|\\d{3,}))[_.]\\d+(?:[_.]\\d+)?)|((Chromium|Chrome)\\/(100|(10[1-9]|1[1-9]\\d|[2-9]\\d\\d|\\d{4,}))\\.\\d+(?:\\.\\d+)?)|(Version\\/(15|(1[6-9]|[2-9]\\d|\\d{3,}))\\.\\d+(?:\\.\\d+)? Safari\\/)|(Firefox\\/(99|([1-9]\\d\\d|\\d{4,}))\\.\\d+\\.\\d+)|(Firefox\\/(99|([1-9]\\d\\d|\\d{4,}))\\.\\d+(pre|[ab]\\d+[a-z]*)?)").test(navigator.userAgent);
|
|
14407
14407
|
var isProduction = "production" === "production";
|
|
14408
|
-
var embed2Version = "
|
|
14408
|
+
var embed2Version = "3d0868a";
|
|
14409
14409
|
|
|
14410
14410
|
/***/ }),
|
|
14411
14411
|
|
|
@@ -14750,9 +14750,9 @@ function _log() {
|
|
|
14750
14750
|
service: "embed",
|
|
14751
14751
|
env: "production",
|
|
14752
14752
|
embedVersion: 2,
|
|
14753
|
-
version: "1.1.
|
|
14753
|
+
version: "1.1.22",
|
|
14754
14754
|
isNpm: true,
|
|
14755
|
-
commitHash: "
|
|
14755
|
+
commitHash: "3d0868a"
|
|
14756
14756
|
}))
|
|
14757
14757
|
});
|
|
14758
14758
|
|
|
@@ -25693,7 +25693,7 @@ function _loadClientChunk() {
|
|
|
25693
25693
|
polyfillVersionString = "legacy";
|
|
25694
25694
|
}
|
|
25695
25695
|
|
|
25696
|
-
clientScriptSource = concat_default()(_context17 = concat_default()(_context18 = "".concat(host, "/embed/")).call(_context18, polyfillVersionString, "/client/")).call(_context17, "
|
|
25696
|
+
clientScriptSource = concat_default()(_context17 = concat_default()(_context18 = "".concat(host, "/embed/")).call(_context18, polyfillVersionString, "/client/")).call(_context17, "3d0868a", "/index.js");
|
|
25697
25697
|
} // `window.__AdaEmbedConstructor` gets created in the "client" bundle
|
|
25698
25698
|
|
|
25699
25699
|
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ada-support/embed2",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.22",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/npm-entry",
|
|
6
6
|
"typings": "dist/npm-entry/index.d.ts",
|
|
7
7
|
"scripts": {
|
|
8
|
-
"build": "
|
|
9
|
-
"build:legacy": "NODE_ENV=production BROWSERSLIST_ENV=legacy npx webpack --config webpack.prod.ts",
|
|
10
|
-
"build:modern": "NODE_ENV=production BROWSERSLIST_ENV=modern npx webpack --config webpack.prod.ts",
|
|
8
|
+
"build": "yarn build:legacy && yarn build:modern",
|
|
9
|
+
"build:legacy": "TS_NODE_PROJECT=wp.tsconfig.json NODE_ENV=production BROWSERSLIST_ENV=legacy npx webpack --config webpack.prod.ts",
|
|
10
|
+
"build:modern": "TS_NODE_PROJECT=wp.tsconfig.json NODE_ENV=production BROWSERSLIST_ENV=modern npx webpack --config webpack.prod.ts",
|
|
11
11
|
"build:npm-types": "tsc --project tsconfig.npm.json --declaration --outDir dist/npm-entry --emitDeclarationOnly --allowJs false --checkJs false",
|
|
12
12
|
"build:npm": "./npm-build.sh",
|
|
13
13
|
"lint": "tsc --noEmit --strict false && ./node_modules/.bin/eslint --report-unused-disable-directives --ext .js,.jsx,.ts,.tsx . --max-warnings 28",
|