@ada-support/embed2 1.4.5 → 1.4.6

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.5-be55d58",
15814
+ release: "1.4.6-655db5f",
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("be55d58", "/index.html");
16435
+ return "".concat(host, "/embed/").concat(frameName, "/").concat("655db5f", "/index.html");
16436
16436
  }
16437
16437
 
16438
16438
  function constructQueryString(query) {
@@ -18290,7 +18290,7 @@ async function log(message, extra, options) {
18290
18290
  }
18291
18291
 
18292
18292
  await httpRequest({
18293
- url: "".concat(DD_BASE_URL).concat(DD_TOKEN, "?ddsource=browser&ddtags=version:1.5.0"),
18293
+ url: "".concat(DD_BASE_URL).concat(DD_TOKEN, "?ddsource=browser&ddtags=version:1.5.0,env:").concat("production"),
18294
18294
  method: "POST",
18295
18295
  body: JSON.stringify(logger_objectSpread(logger_objectSpread({
18296
18296
  message
@@ -18299,9 +18299,9 @@ async function log(message, extra, options) {
18299
18299
  service: "embed",
18300
18300
  env: "production",
18301
18301
  embedVersion: 2,
18302
- version: "1.4.5",
18302
+ version: "1.4.6",
18303
18303
  isNpm: true,
18304
- commitHash: "be55d58"
18304
+ commitHash: "655db5f"
18305
18305
  }))
18306
18306
  });
18307
18307
  }
@@ -18743,7 +18743,7 @@ class ChatFrame extends d {
18743
18743
  const hostPageUrlParams = new (url_default())(window.location.href).searchParams;
18744
18744
  const smsToken = hostPageUrlParams.get("adaSMSToken");
18745
18745
  const queryParams = {
18746
- embedVersion: "be55d58".slice(0, 7),
18746
+ embedVersion: "655db5f".slice(0, 7),
18747
18747
  greeting,
18748
18748
  language,
18749
18749
  skipGreeting,
@@ -20924,7 +20924,7 @@ class Embed {
20924
20924
 
20925
20925
  }
20926
20926
 
20927
- _defineProperty(Embed, "embed2Version", "be55d58");
20927
+ _defineProperty(Embed, "embed2Version", "655db5f");
20928
20928
  ;// CONCATENATED MODULE: ./src/common/helpers/startup.ts
20929
20929
 
20930
20930
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ada-support/embed2",
3
- "version": "1.4.5",
3
+ "version": "1.4.6",
4
4
  "description": "",
5
5
  "main": "dist/npm-entry",
6
6
  "typings": "dist/npm-entry/index-npm.d.ts",