@ada-support/embed2 1.1.31 → 1.1.36

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.31-59bb6ee",
8801
+ release: "1.1.36-510d827",
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, "59bb6ee", "/index.html");
9503
+ return concat_default()(_context5 = concat_default()(_context6 = concat_default()(_context7 = "".concat(host, "/embed/")).call(_context7, polyfillVersionString, "/")).call(_context6, frameName, "/")).call(_context5, "510d827", "/index.html");
9504
9504
  }
9505
9505
  /**
9506
9506
  * Generate the Chat / API URL
@@ -11745,7 +11745,7 @@ var ChatFrame = /*#__PURE__*/function (_Component) {
11745
11745
  cluster: cluster,
11746
11746
  domain: domain,
11747
11747
  qp: {
11748
- embedVersion: slice_default()("59bb6ee").call("59bb6ee", 0, 7),
11748
+ embedVersion: slice_default()("510d827").call("510d827", 0, 7),
11749
11749
  greeting: greeting,
11750
11750
  language: language,
11751
11751
  skipGreeting: skipGreeting,
@@ -14401,7 +14401,7 @@ var Embed = /*#__PURE__*/function () {
14401
14401
  * Bind to the window object so it can be used by the entry file.
14402
14402
  */
14403
14403
 
14404
- (0,defineProperty/* default */.Z)(Embed, "embed2Version", "59bb6ee");
14404
+ (0,defineProperty/* default */.Z)(Embed, "embed2Version", "510d827");
14405
14405
 
14406
14406
  window.__AdaEmbedConstructor = Embed;
14407
14407
 
@@ -14761,9 +14761,9 @@ function _log() {
14761
14761
  service: "embed",
14762
14762
  env: "production",
14763
14763
  embedVersion: 2,
14764
- version: "1.1.31",
14764
+ version: "1.1.36",
14765
14765
  isNpm: true,
14766
- commitHash: "59bb6ee"
14766
+ commitHash: "510d827"
14767
14767
  }))
14768
14768
  });
14769
14769
 
@@ -25704,7 +25704,7 @@ function _loadClientChunk() {
25704
25704
  polyfillVersionString = "legacy";
25705
25705
  }
25706
25706
 
25707
- clientScriptSource = concat_default()(_context17 = concat_default()(_context18 = "".concat(host, "/embed/")).call(_context18, polyfillVersionString, "/client/")).call(_context17, "59bb6ee", "/index.js");
25707
+ clientScriptSource = concat_default()(_context17 = concat_default()(_context18 = "".concat(host, "/embed/")).call(_context18, polyfillVersionString, "/client/")).call(_context17, "510d827", "/index.js");
25708
25708
  } // `window.__AdaEmbedConstructor` gets created in the "client" bundle
25709
25709
 
25710
25710
 
@@ -25817,7 +25817,7 @@ function createEmbedObject() {
25817
25817
  throw new Error("`window.__AdaEmbedConstructor` is not defined");
25818
25818
 
25819
25819
  case 7:
25820
- if (!(adaSettings.customDomains && window.__AdaEmbedConstructor.embed2Version !== "59bb6ee")) {
25820
+ if (!(adaSettings.customDomains && window.__AdaEmbedConstructor.embed2Version !== "510d827")) {
25821
25821
  _context2.next = 9;
25822
25822
  break;
25823
25823
  }
package/package.json CHANGED
@@ -1,9 +1,12 @@
1
1
  {
2
2
  "name": "@ada-support/embed2",
3
- "version": "1.1.31",
3
+ "version": "1.1.36",
4
4
  "description": "",
5
5
  "main": "dist/npm-entry",
6
6
  "typings": "dist/npm-entry/index.d.ts",
7
+ "engines": {
8
+ "node": ">=16"
9
+ },
7
10
  "scripts": {
8
11
  "build": "yarn build:legacy && yarn build:modern",
9
12
  "build:legacy": "TS_NODE_PROJECT=wp.tsconfig.json NODE_ENV=production BROWSERSLIST_ENV=legacy npx webpack --config webpack.prod.ts",
@@ -64,14 +67,14 @@
64
67
  "@types/webpack-bundle-analyzer": "^4.4.1",
65
68
  "@types/webpack-dev-server": "^4.7.2",
66
69
  "browserslist": "^4.17.4",
67
- "cypress": "^9.1.0",
70
+ "cypress": "^9.6.1",
68
71
  "depcheck": "^1.4.3",
69
72
  "enzyme": "^3.11.0",
70
73
  "enzyme-adapter-preact-pure": "^2.2.0",
71
74
  "eslint": "^8.8.0",
72
75
  "eslint-plugin-chai-friendly": "^0.7.2",
73
76
  "eslint-plugin-compat": "^4.0.2",
74
- "eslint-plugin-cypress": "^2.11.3",
77
+ "eslint-plugin-cypress": "^2.12.1",
75
78
  "eslint-plugin-sonarjs": "^0.11.0",
76
79
  "husky": "^7.0.0",
77
80
  "jest": "^27.5.1",