@ada-support/embed2 1.0.34 → 1.0.40

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ada-support/embed2",
3
- "version": "1.0.34",
3
+ "version": "1.0.40",
4
4
  "description": "",
5
5
  "main": "dist/npm-entry",
6
6
  "typings": "dist/npm-entry/index.d.ts",
@@ -46,7 +46,8 @@
46
46
  "bundle-report-intro:modern": "webpack-bundle-analyzer --port 4204 dist/embed/modern/intro/local/stats.json dist/embed/modern/intro/local",
47
47
  "bundle-report-x-storage:modern": "webpack-bundle-analyzer --port 4205 dist/embed/modern/x-storage/local/stats.json dist/embed/modern/x-storage/local",
48
48
  "bundle-report:modern": "yarn build && run-p bundle-report-entry bundle-report-button:modern bundle-report-client:modern bundle-report-mask:modern bundle-report-intro:modern bundle-report-x-storage:modern",
49
- "prepare": "husky install"
49
+ "prepare": "husky install",
50
+ "check-package-version": "./check-package-version.sh"
50
51
  },
51
52
  "keywords": [],
52
53
  "author": "",
@@ -105,12 +106,14 @@
105
106
  "@sentry/browser": "^6.12.0",
106
107
  "@types/enzyme": "^3.10.5",
107
108
  "@types/json-stable-stringify": "^1.0.32",
109
+ "@types/lodash.debounce": "^4.0.6",
108
110
  "@types/uniqid": "^5.3.0",
109
111
  "core-js": "3",
110
112
  "depcheck": "^1.4.2",
111
113
  "dotenv": "^8.2.0",
112
114
  "focus-visible": "^5.2.0",
113
115
  "json-stable-stringify": "^1.0.1",
116
+ "lodash.debounce": "^4.0.8",
114
117
  "preact": "10.4.5",
115
118
  "uniqid": "^5.3.0",
116
119
  "webpack-s3-plugin": "^1.2.0-rc.0"
@@ -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;