@ada-support/embed2 1.1.22 → 1.1.25

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.
@@ -8798,7 +8798,7 @@ var client = new error_tracker_BrowserClient({
8798
8798
  return event;
8799
8799
  },
8800
8800
  environment: "production",
8801
- release: "1.1.22-3d0868a",
8801
+ release: "1.1.25-c52019c",
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, "3d0868a", "/index.html");
9503
+ return concat_default()(_context5 = concat_default()(_context6 = concat_default()(_context7 = "".concat(host, "/embed/")).call(_context7, polyfillVersionString, "/")).call(_context6, frameName, "/")).call(_context5, "c52019c", "/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()("3d0868a").call("3d0868a", 0, 7),
11738
+ embedVersion: slice_default()("c52019c").call("c52019c", 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 = "3d0868a";
14408
+ var embed2Version = "c52019c";
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.22",
14753
+ version: "1.1.25",
14754
14754
  isNpm: true,
14755
- commitHash: "3d0868a"
14755
+ commitHash: "c52019c"
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, "3d0868a", "/index.js");
25696
+ clientScriptSource = concat_default()(_context17 = concat_default()(_context18 = "".concat(host, "/embed/")).call(_context18, polyfillVersionString, "/client/")).call(_context17, "c52019c", "/index.js");
25697
25697
  } // `window.__AdaEmbedConstructor` gets created in the "client" bundle
25698
25698
 
25699
25699
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ada-support/embed2",
3
- "version": "1.1.22",
3
+ "version": "1.1.25",
4
4
  "description": "",
5
5
  "main": "dist/npm-entry",
6
6
  "typings": "dist/npm-entry/index.d.ts",
@@ -12,9 +12,6 @@
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",
14
14
  "lint:fix": "yarn lint --fix",
15
- "deploy-legacy": "TS_NODE_PROJECT=wp.tsconfig.json NODE_ENV=production BROWSERSLIST_ENV=legacy npx webpack --config webpack.prod.ts",
16
- "deploy-modern": "TS_NODE_PROJECT=wp.tsconfig.json NODE_ENV=production BROWSERSLIST_ENV=modern npx webpack --config webpack.prod.ts",
17
- "deploy": "yarn deploy-legacy && yarn deploy-modern",
18
15
  "test": "jest",
19
16
  "check-types": "./node_modules/typescript/bin/tsc --project ./tsconfig.json --noEmit --strict false",
20
17
  "check-types-strict": "./node_modules/typescript/bin/tsc --project ./tsconfig.json --noEmit",
@@ -29,23 +26,23 @@
29
26
  "start:tc-test-page": "CONTENT_BASE=test/testcafe webpack serve --config webpack.dev-host-page.ts",
30
27
  "cypress": "cypress run",
31
28
  "cypress:open": "cypress open",
32
- "ci-cy-start": "USE_STAGE=true run-p start:cy-test-page start:frames",
33
- "ci-tc-start": "USE_STAGE=true run-p start:tc-test-page start:frames",
29
+ "ci-cy-start": "E2E_TEST_ENV=true run-p start:cy-test-page start:frames",
30
+ "ci-tc-start": "E2E_TEST_ENV=true run-p start:tc-test-page start:frames",
34
31
  "ci-cypress": "TS_NODE_PROJECT=wp.tsconfig.json start-server-and-test ci-cy-start http-get://localhost:9001 cypress",
35
32
  "ci-testcafe": "TS_NODE_PROJECT=wp.tsconfig.json start-server-and-test ci-tc-start http-get://localhost:9001 tc",
36
- "bundle-report-entry": "yarn build && webpack-bundle-analyzer --port 4200 dist/stats.json dist",
33
+ "bundle-report-entry": "BUNDLE_ANALYSER=true yarn build && webpack-bundle-analyzer --port 4200 dist/stats.json dist",
37
34
  "bundle-report-button:legacy": "webpack-bundle-analyzer --port 4201 dist/embed/legacy/button/local/stats.json dist/embed/legacy/local/button",
38
35
  "bundle-report-client:legacy": "webpack-bundle-analyzer --port 4202 dist/embed/legacy/client/local/stats.json dist/embed/legacy/client/local",
39
36
  "bundle-report-mask:legacy": "webpack-bundle-analyzer --port 4203 dist/embed/legacy/drawer-mask/local/stats.json dist/embed/legacy/drawer-mask/local",
40
37
  "bundle-report-intro:legacy": "webpack-bundle-analyzer --port 4204 dist/embed/legacy/intro/local/stats.json dist/embed/legacy/intro/local",
41
38
  "bundle-report-x-storage:legacy": "webpack-bundle-analyzer --port 4205 dist/embed/legacy/x-storage/local/stats.json dist/embed/legacy/x-storage/local",
42
- "bundle-report:legacy": "yarn build && run-p bundle-report-entry bundle-report-button:legacy bundle-report-client:legacy bundle-report-mask:legacy bundle-report-intro:legacy bundle-report-x-storage:legacy",
39
+ "bundle-report:legacy": "BUNDLE_ANALYSER=true yarn build && run-p bundle-report-entry bundle-report-button:legacy bundle-report-client:legacy bundle-report-mask:legacy bundle-report-intro:legacy bundle-report-x-storage:legacy",
43
40
  "bundle-report-button:modern": "webpack-bundle-analyzer --port 4201 dist/embed/modern/button/stats.json dist/embed/modern/button",
44
41
  "bundle-report-client:modern": "webpack-bundle-analyzer --port 4202 dist/embed/modern/client/stats.json dist/embed/modern/client",
45
42
  "bundle-report-mask:modern": "webpack-bundle-analyzer --port 4203 dist/embed/modern/drawer-mask/local/stats.json dist/embed/modern/drawer-mask/local",
46
43
  "bundle-report-intro:modern": "webpack-bundle-analyzer --port 4204 dist/embed/modern/intro/local/stats.json dist/embed/modern/intro/local",
47
44
  "bundle-report-x-storage:modern": "webpack-bundle-analyzer --port 4205 dist/embed/modern/x-storage/local/stats.json dist/embed/modern/x-storage/local",
48
- "bundle-report:modern": "yarn build && run-p bundle-report-entry bundle-report-button:modern bundle-report-client:modern bundle-report-mask:modern bundle-report-intro:modern bundle-report-x-storage:modern",
45
+ "bundle-report:modern": "BUNDLE_ANALYSER=true yarn build && run-p bundle-report-entry bundle-report-button:modern bundle-report-client:modern bundle-report-mask:modern bundle-report-intro:modern bundle-report-x-storage:modern",
49
46
  "prepare": "husky install",
50
47
  "check-package-version": "./check-package-version.sh",
51
48
  "audit-dependencies": "yarn audit --groups dependencies"
@@ -116,7 +113,6 @@
116
113
  "webpack": "^5.67.0",
117
114
  "webpack-cli": "^4.9.2",
118
115
  "webpack-merge": "^5.8.0",
119
- "webpack-s3-plugin": "^1.2.0-rc.0",
120
116
  "webpack-subresource-integrity": "^5.1.0"
121
117
  },
122
118
  "resolutions": {