@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.
- package/dist/npm-entry/index.js +6 -6
- package/package.json +1 -1
- 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/dist/npm-entry/index.js
CHANGED
|
@@ -8500,7 +8500,7 @@ var client = new error_tracker_BrowserClient({
|
|
|
8500
8500
|
return event;
|
|
8501
8501
|
},
|
|
8502
8502
|
environment: "production",
|
|
8503
|
-
release: "1.0.
|
|
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, "
|
|
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 = "
|
|
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.
|
|
14234
|
+
version: "1.0.47",
|
|
14235
14235
|
isNpm: true,
|
|
14236
|
-
commitHash: "
|
|
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, "
|
|
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,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>;
|