@ada-support/embed2 1.0.46 → 1.0.47

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.
@@ -8500,7 +8500,7 @@ var client = new error_tracker_BrowserClient({
8500
8500
  return event;
8501
8501
  },
8502
8502
  environment: "production",
8503
- release: "1.0.46-1f14246",
8503
+ release: "1.0.47-df9664f",
8504
8504
  sampleRate: 0.25,
8505
8505
  autoSessionTracking: false,
8506
8506
  // Integrations don't seem to work with Sentry: https://github.com/getsentry/sentry-javascript/issues/2541
@@ -9201,7 +9201,7 @@ function getEmbedURL(_ref) {
9201
9201
  polyfillVersionString = "legacy";
9202
9202
  }
9203
9203
 
9204
- return concat_default()(_context5 = concat_default()(_context6 = concat_default()(_context7 = "".concat(host, "/embed/")).call(_context7, polyfillVersionString, "/")).call(_context6, frameName, "/")).call(_context5, "1f14246", "/index.html");
9204
+ return concat_default()(_context5 = concat_default()(_context6 = concat_default()(_context7 = "".concat(host, "/embed/")).call(_context7, polyfillVersionString, "/")).call(_context6, frameName, "/")).call(_context5, "df9664f", "/index.html");
9205
9205
  }
9206
9206
  /**
9207
9207
  * Generate the Chat / API URL
@@ -13898,7 +13898,7 @@ window.__AdaEmbedConstructor = Embed;
13898
13898
  /* harmony export */ });
13899
13899
  var isModern = new RegExp("((CPU[ +]OS|iPhone[ +]OS|CPU[ +]iPhone|CPU IPhone OS)[ +]+(14|(1[5-9]|[2-9]\\d|\\d{3,}))[_.]\\d+(?:[_.]\\d+)?)|((Chromium|Chrome)\\/(92|(9[3-9]|\\d{3,}))\\.\\d+(?:\\.\\d+)?)|(Version\\/(14|(1[5-9]|[2-9]\\d|\\d{3,}))\\.\\d+(?:\\.\\d+)? Safari\\/)|(Firefox\\/(91|(9[2-9]|\\d{3,}))\\.\\d+\\.\\d+)|(Firefox\\/(91|(9[2-9]|\\d{3,}))\\.\\d+(pre|[ab]\\d+[a-z]*)?)").test(navigator.userAgent);
13900
13900
  var isProduction = "production" === "production";
13901
- var embed2Version = "1f14246";
13901
+ var embed2Version = "df9664f";
13902
13902
 
13903
13903
  /***/ }),
13904
13904
 
@@ -14231,9 +14231,9 @@ function _log() {
14231
14231
  service: "embed",
14232
14232
  env: "production",
14233
14233
  embedVersion: 2,
14234
- version: "1.0.46",
14234
+ version: "1.0.47",
14235
14235
  isNpm: true,
14236
- commitHash: "1f14246"
14236
+ commitHash: "df9664f"
14237
14237
  }))
14238
14238
  });
14239
14239
 
@@ -23688,7 +23688,7 @@ function _loadEmbed() {
23688
23688
  polyfillVersionString = "legacy";
23689
23689
  }
23690
23690
 
23691
- embedScriptSource = concat_default()(_context16 = concat_default()(_context17 = "".concat(host, "/embed/")).call(_context17, polyfillVersionString, "/client/")).call(_context16, "1f14246", "/index.js");
23691
+ embedScriptSource = concat_default()(_context16 = concat_default()(_context17 = "".concat(host, "/embed/")).call(_context17, polyfillVersionString, "/client/")).call(_context16, "df9664f", "/index.js");
23692
23692
  }
23693
23693
 
23694
23694
  clientScriptExists = Boolean( true || // The client script is bundled with npm module
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ada-support/embed2",
3
- "version": "1.0.46",
3
+ "version": "1.0.47",
4
4
  "description": "",
5
5
  "main": "dist/npm-entry",
6
6
  "typings": "dist/npm-entry/index.d.ts",
@@ -1,12 +0,0 @@
1
- import "frames/lib/error-tracker";
2
- export declare const LIVE_CHAT_PENDING_STORAGE_KEY = "liveChatPending";
3
- export declare const IS_DRAWER_OPEN_STORAGE_KEY = "ada-embed_is-drawer-open";
4
- /**
5
- * NOTE: If you import this file into any other file
6
- * it will trigger the init() function below - may cause errors!
7
- */
8
- /**
9
- * Auto-opens the chat door if crossWindowPersistence is one, the chatter is in
10
- * a live chat, and if the drawer was previously opened.
11
- */
12
- export declare function setIsDrawerOpen(): Promise<void>;
@@ -1,3 +0,0 @@
1
- import { StoreState } from "common/types/store-state";
2
- export declare function initializeFrame(waitForOtherFrames?: boolean, initialState?: Partial<StoreState>): Promise<boolean>;
3
- export declare function addCustomStyles(styles: string, hasUICustomization: boolean): void;
@@ -1,6 +0,0 @@
1
- import * as Sentry from "@sentry/browser";
2
- declare const errorTracker: {
3
- trackException(error: Error): void;
4
- addBreadCrumb(category: string, message: string, data: object, level?: Sentry.Severity): void;
5
- };
6
- export default errorTracker;
@@ -1,3 +0,0 @@
1
- import FC from "common/lib/fc";
2
- declare const _default: FC;
3
- export default _default;
@@ -1,2 +0,0 @@
1
- import { StoreProxyInterface } from "common/types/store";
2
- export declare const store: StoreProxyInterface;