@ada-support/embed2 1.0.44 → 1.0.50
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/dist/npm-entry/client/index.d.ts +1 -1
- package/dist/npm-entry/common/helpers/fetch-client.d.ts +3 -3
- package/dist/npm-entry/common/helpers/get-intro-for-url.d.ts +2 -2
- package/dist/npm-entry/common/helpers/startup.d.ts +1 -1
- package/dist/npm-entry/common/helpers/url/index.d.ts +1 -1
- package/dist/npm-entry/common/lib/channel.d.ts +5 -5
- package/dist/npm-entry/common/lib/fc/index.d.ts +0 -1
- package/dist/npm-entry/common/models/client/index.d.ts +6 -6
- package/dist/npm-entry/common/types/http.d.ts +6 -3
- package/dist/npm-entry/common/types/languages.d.ts +2 -3
- package/dist/npm-entry/common/types/store-state.d.ts +2 -2
- package/dist/npm-entry/frames/helpers/storage/index.d.ts +2 -2
- package/dist/npm-entry/index.js +361 -151
- package/package.json +4 -3
- package/dist/npm-entry/frames/components/x-storage/index.d.ts +0 -12
- package/dist/npm-entry/frames/helpers/frame-init.d.ts +0 -3
- package/dist/npm-entry/frames/lib/error-tracker.d.ts +0 -6
- package/dist/npm-entry/frames/lib/frame-fc.d.ts +0 -3
- package/dist/npm-entry/frames/lib/store-proxy.d.ts +0 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ada-support/embed2",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.50",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/npm-entry",
|
|
6
6
|
"typings": "dist/npm-entry/index.d.ts",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"build:modern": "NODE_ENV=production BROWSERSLIST_ENV=modern npx webpack --config webpack.prod.ts",
|
|
11
11
|
"build:npm-types": "tsc --project tsconfig.npm.json --declaration --outDir dist/npm-entry --emitDeclarationOnly --allowJs false --checkJs false",
|
|
12
12
|
"build:npm": "./npm-build.sh",
|
|
13
|
-
"lint": "tsc --noEmit --strict false && ./node_modules/.bin/eslint --report-unused-disable-directives --ext .js,.jsx,.ts,.tsx . --max-warnings
|
|
13
|
+
"lint": "tsc --noEmit --strict false && ./node_modules/.bin/eslint --report-unused-disable-directives --ext .js,.jsx,.ts,.tsx . --max-warnings 86",
|
|
14
14
|
"lint:fix": "yarn lint --fix",
|
|
15
15
|
"deploy-legacy": "TS_NODE_PROJECT=wp.tsconfig.json NODE_ENV=production BROWSERSLIST_ENV=legacy npx webpack --config webpack.prod.ts",
|
|
16
16
|
"deploy-modern": "TS_NODE_PROJECT=wp.tsconfig.json NODE_ENV=production BROWSERSLIST_ENV=modern npx webpack --config webpack.prod.ts",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"@types/node": "^16.7.1",
|
|
69
69
|
"@types/webpack": "^5.28.0",
|
|
70
70
|
"@types/webpack-bundle-analyzer": "^4.4.1",
|
|
71
|
-
"@types/webpack-dev-server": "^4.
|
|
71
|
+
"@types/webpack-dev-server": "^4.7.2",
|
|
72
72
|
"babel-loader": "^8.0.6",
|
|
73
73
|
"babel-preset-preact": "^2.0.0",
|
|
74
74
|
"browserslist": "^4.17.4",
|
|
@@ -120,6 +120,7 @@
|
|
|
120
120
|
"webpack-s3-plugin": "^1.2.0-rc.0"
|
|
121
121
|
},
|
|
122
122
|
"resolutions": {
|
|
123
|
+
"follow-redirects": ">=1.14.7",
|
|
123
124
|
"json-schema": ">=0.4.0",
|
|
124
125
|
"minimist": ">=0.2.1",
|
|
125
126
|
"node-forge": ">=1.0.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>;
|