@ada-support/embed2 1.3.0 → 1.3.1

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.
@@ -15811,7 +15811,7 @@ const client = new error_tracker_BrowserClient({
15811
15811
  },
15812
15812
 
15813
15813
  environment: "production",
15814
- release: "1.3.0-088e9f6",
15814
+ release: "1.3.1-512664b",
15815
15815
  sampleRate: 0.25,
15816
15816
  autoSessionTracking: false,
15817
15817
  // Integrations don't seem to work with Sentry: https://github.com/getsentry/sentry-javascript/issues/2541
@@ -16432,7 +16432,7 @@ function getEmbedURL(_ref) {
16432
16432
  host = "http://".concat(window.location.hostname, ":9001");
16433
16433
  }
16434
16434
 
16435
- return "".concat(host, "/embed/").concat(frameName, "/").concat("088e9f6", "/index.html");
16435
+ return "".concat(host, "/embed/").concat(frameName, "/").concat("512664b", "/index.html");
16436
16436
  }
16437
16437
 
16438
16438
  function constructQueryString(query) {
@@ -18137,9 +18137,9 @@ async function log(message, extra, options) {
18137
18137
  service: "embed",
18138
18138
  env: "production",
18139
18139
  embedVersion: 2,
18140
- version: "1.3.0",
18140
+ version: "1.3.1",
18141
18141
  isNpm: true,
18142
- commitHash: "088e9f6"
18142
+ commitHash: "512664b"
18143
18143
  }))
18144
18144
  });
18145
18145
  }
@@ -18556,7 +18556,7 @@ class ChatFrame extends d {
18556
18556
  const hostPageUrlParams = new (url_default())(window.location.href).searchParams;
18557
18557
  const smsToken = hostPageUrlParams.get("adaSMSToken");
18558
18558
  const queryParams = {
18559
- embedVersion: "088e9f6".slice(0, 7),
18559
+ embedVersion: "512664b".slice(0, 7),
18560
18560
  greeting,
18561
18561
  language,
18562
18562
  skipGreeting,
@@ -20746,7 +20746,7 @@ class Embed {
20746
20746
 
20747
20747
  }
20748
20748
 
20749
- _defineProperty(Embed, "embed2Version", "088e9f6");
20749
+ _defineProperty(Embed, "embed2Version", "512664b");
20750
20750
  ;// CONCATENATED MODULE: ./src/common/helpers/startup.ts
20751
20751
 
20752
20752
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ada-support/embed2",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "description": "",
5
5
  "main": "dist/npm-entry",
6
6
  "typings": "dist/npm-entry/index-npm.d.ts",
@@ -13,7 +13,7 @@
13
13
  "build:npm": "./npm-build.sh",
14
14
  "lint": "tsc --noEmit --strict false && ./node_modules/.bin/eslint --report-unused-disable-directives --ext .js,.jsx,.ts,.tsx . --max-warnings 22",
15
15
  "lint:fix": "yarn lint --fix",
16
- "test": "jest",
16
+ "test": "jest --detectOpenHandles",
17
17
  "check-types": "./node_modules/typescript/bin/tsc --project ./tsconfig.json --noEmit --strict false",
18
18
  "check-types-strict": "./node_modules/typescript/bin/tsc --project ./tsconfig.json --noEmit",
19
19
  "tc": "export $(cat .env | xargs) && testcafe",