@ada-support/embed2 1.4.0 → 1.4.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.4.0-29cbcb3",
15814
+ release: "1.4.1-ef0b30f",
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("29cbcb3", "/index.html");
16435
+ return "".concat(host, "/embed/").concat(frameName, "/").concat("ef0b30f", "/index.html");
16436
16436
  }
16437
16437
 
16438
16438
  function constructQueryString(query) {
@@ -18181,9 +18181,9 @@ async function log(message, extra, options) {
18181
18181
  service: "embed",
18182
18182
  env: "production",
18183
18183
  embedVersion: 2,
18184
- version: "1.4.0",
18184
+ version: "1.4.1",
18185
18185
  isNpm: true,
18186
- commitHash: "29cbcb3"
18186
+ commitHash: "ef0b30f"
18187
18187
  }))
18188
18188
  });
18189
18189
  }
@@ -18625,7 +18625,7 @@ class ChatFrame extends d {
18625
18625
  const hostPageUrlParams = new (url_default())(window.location.href).searchParams;
18626
18626
  const smsToken = hostPageUrlParams.get("adaSMSToken");
18627
18627
  const queryParams = {
18628
- embedVersion: "29cbcb3".slice(0, 7),
18628
+ embedVersion: "ef0b30f".slice(0, 7),
18629
18629
  greeting,
18630
18630
  language,
18631
18631
  skipGreeting,
@@ -20806,7 +20806,7 @@ class Embed {
20806
20806
 
20807
20807
  }
20808
20808
 
20809
- _defineProperty(Embed, "embed2Version", "29cbcb3");
20809
+ _defineProperty(Embed, "embed2Version", "ef0b30f");
20810
20810
  ;// CONCATENATED MODULE: ./src/common/helpers/startup.ts
20811
20811
 
20812
20812
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ada-support/embed2",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "description": "",
5
5
  "main": "dist/npm-entry",
6
6
  "typings": "dist/npm-entry/index-npm.d.ts",
@@ -73,6 +73,7 @@
73
73
  "lint-staged": "^11.2.3",
74
74
  "mock-xmlhttprequest": "^7.0.4",
75
75
  "npm-run-all": "^4.1.5",
76
+ "prettier": "2.7.1",
76
77
  "start-server-and-test": "^1.14.0",
77
78
  "testcafe": "^1.18.4",
78
79
  "testcafe-browser-provider-lambdatest": "^2.0.18",
@@ -97,6 +98,7 @@
97
98
  "babel-loader": "^8.2.3",
98
99
  "babel-preset-preact": "^2.0.0",
99
100
  "dotenv": "^8.2.0",
101
+ "eslint-config-prettier": "^8.5.0",
100
102
  "focus-visible": "^5.2.0",
101
103
  "html-webpack-plugin": "^5.5.0",
102
104
  "json-stable-stringify": "^1.0.1",