@ada-support/embed2 1.6.21 → 1.6.23

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.
@@ -15917,7 +15917,7 @@ const client = new error_tracker_BrowserClient({
15917
15917
  },
15918
15918
 
15919
15919
  environment: "production",
15920
- release: "1.6.21-1e6219d",
15920
+ release: "1.6.23-203c4f0",
15921
15921
  sampleRate: 0.25,
15922
15922
  autoSessionTracking: false,
15923
15923
  // Integrations don't seem to work with Sentry: https://github.com/getsentry/sentry-javascript/issues/2541
@@ -16547,7 +16547,7 @@ function getEmbedURL(_ref) {
16547
16547
  host = "http://".concat(window.location.hostname, ":9001");
16548
16548
  }
16549
16549
 
16550
- return "".concat(host, "/embed/").concat(frameName, "/").concat("1e6219d", "/index.html");
16550
+ return "".concat(host, "/embed/").concat(frameName, "/").concat("203c4f0", "/index.html");
16551
16551
  }
16552
16552
 
16553
16553
  function constructQueryString(query) {
@@ -18199,9 +18199,9 @@ async function log(message, extra, options) {
18199
18199
  service: "embed",
18200
18200
  env: "production",
18201
18201
  embedVersion: 2,
18202
- version: "1.6.21",
18202
+ version: "1.6.23",
18203
18203
  isNpm: true,
18204
- commitHash: "1e6219d"
18204
+ commitHash: "203c4f0"
18205
18205
  }))
18206
18206
  });
18207
18207
  }
@@ -18771,7 +18771,7 @@ class ChatFrame extends d {
18771
18771
  const hostPageUrlParams = new (url_default())(window.location.href).searchParams;
18772
18772
  const smsToken = hostPageUrlParams.get("adaSMSToken");
18773
18773
  const queryParams = {
18774
- embedVersion: "1e6219d".slice(0, 7),
18774
+ embedVersion: "203c4f0".slice(0, 7),
18775
18775
  greeting,
18776
18776
  language,
18777
18777
  skipGreeting,
@@ -20989,8 +20989,8 @@ class Embed {
20989
20989
 
20990
20990
  }
20991
20991
 
20992
- _defineProperty(Embed, "embed2Version", "1e6219d");
20993
- ;// CONCATENATED MODULE: ./src/common/helpers/startup.ts
20992
+ _defineProperty(Embed, "embed2Version", "203c4f0");
20993
+ ;// CONCATENATED MODULE: ./src/interface.ts
20994
20994
 
20995
20995
 
20996
20996
 
@@ -20998,7 +20998,7 @@ _defineProperty(Embed, "embed2Version", "1e6219d");
20998
20998
  * Returns the public Embed methods to be bound to the window object.
20999
20999
  */
21000
21000
 
21001
- function createEmbedObject() {
21001
+ function createEmbedInterface() {
21002
21002
  let embed = null;
21003
21003
  let startEmbedResolve;
21004
21004
  let startEmbed = null;
@@ -21187,7 +21187,7 @@ function createEmbedObject() {
21187
21187
  // We need "export default" for NPM module to be used as `import adaEmbed from "@ada-support/embed2";`
21188
21188
  // eslint-disable-next-line import/no-default-export
21189
21189
 
21190
- /* harmony default export */ var index_npm = (createEmbedObject());
21190
+ /* harmony default export */ var index_npm = (createEmbedInterface());
21191
21191
  }();
21192
21192
  module.exports = __webpack_exports__;
21193
21193
  /******/ })()
@@ -2,4 +2,4 @@ import type { AdaEmbedAPI } from "@ada-support/embed-types";
2
2
  /**
3
3
  * Returns the public Embed methods to be bound to the window object.
4
4
  */
5
- export declare function createEmbedObject(): AdaEmbedAPI;
5
+ export declare function createEmbedInterface(): AdaEmbedAPI;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ada-support/embed2",
3
- "version": "1.6.21",
3
+ "version": "1.6.23",
4
4
  "description": "",
5
5
  "main": "dist/npm-entry",
6
6
  "typings": "dist/npm-entry/index-npm.d.ts",