@ada-support/embed2 1.4.4 → 1.4.5
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 +31 -31
- package/package.json +4 -3
package/dist/npm-entry/index.js
CHANGED
|
@@ -196,8 +196,8 @@ function loadModule(moduleName) {
|
|
|
196
196
|
|
|
197
197
|
"use strict";
|
|
198
198
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
199
|
-
/* harmony export */ "
|
|
200
|
-
/* harmony export */ "
|
|
199
|
+
/* harmony export */ "ph": function() { return /* binding */ timestampInSeconds; },
|
|
200
|
+
/* harmony export */ "yW": function() { return /* binding */ dateTimestampInSeconds; }
|
|
201
201
|
/* harmony export */ });
|
|
202
202
|
/* unused harmony exports timestampWithMs, usingPerformanceAPI, _browserPerformanceTimeOriginMode, browserPerformanceTimeOrigin */
|
|
203
203
|
/* harmony import */ var _global__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2991);
|
|
@@ -14551,29 +14551,6 @@ var BrowserClient = /** @class */ (function (_super) {
|
|
|
14551
14551
|
}(BaseClient));
|
|
14552
14552
|
|
|
14553
14553
|
//# sourceMappingURL=client.js.map
|
|
14554
|
-
;// CONCATENATED MODULE: ./node_modules/@sentry/core/esm/sdk.js
|
|
14555
|
-
|
|
14556
|
-
|
|
14557
|
-
/**
|
|
14558
|
-
* Internal function to create a new SDK client instance. The client is
|
|
14559
|
-
* installed and then bound to the current scope.
|
|
14560
|
-
*
|
|
14561
|
-
* @param clientClass The client class to instantiate.
|
|
14562
|
-
* @param options Options to pass to the client.
|
|
14563
|
-
*/
|
|
14564
|
-
function initAndBind(clientClass, options) {
|
|
14565
|
-
if (options.debug === true) {
|
|
14566
|
-
logger_logger.enable();
|
|
14567
|
-
}
|
|
14568
|
-
var hub = getCurrentHub();
|
|
14569
|
-
var scope = hub.getScope();
|
|
14570
|
-
if (scope) {
|
|
14571
|
-
scope.update(options.initialScope);
|
|
14572
|
-
}
|
|
14573
|
-
var client = new clientClass(options);
|
|
14574
|
-
hub.bindClient(client);
|
|
14575
|
-
}
|
|
14576
|
-
//# sourceMappingURL=sdk.js.map
|
|
14577
14554
|
;// CONCATENATED MODULE: ./node_modules/@sentry/core/esm/integrations/inboundfilters.js
|
|
14578
14555
|
|
|
14579
14556
|
|
|
@@ -14795,6 +14772,29 @@ var FunctionToString = /** @class */ (function () {
|
|
|
14795
14772
|
}());
|
|
14796
14773
|
|
|
14797
14774
|
//# sourceMappingURL=functiontostring.js.map
|
|
14775
|
+
;// CONCATENATED MODULE: ./node_modules/@sentry/core/esm/sdk.js
|
|
14776
|
+
|
|
14777
|
+
|
|
14778
|
+
/**
|
|
14779
|
+
* Internal function to create a new SDK client instance. The client is
|
|
14780
|
+
* installed and then bound to the current scope.
|
|
14781
|
+
*
|
|
14782
|
+
* @param clientClass The client class to instantiate.
|
|
14783
|
+
* @param options Options to pass to the client.
|
|
14784
|
+
*/
|
|
14785
|
+
function initAndBind(clientClass, options) {
|
|
14786
|
+
if (options.debug === true) {
|
|
14787
|
+
logger_logger.enable();
|
|
14788
|
+
}
|
|
14789
|
+
var hub = getCurrentHub();
|
|
14790
|
+
var scope = hub.getScope();
|
|
14791
|
+
if (scope) {
|
|
14792
|
+
scope.update(options.initialScope);
|
|
14793
|
+
}
|
|
14794
|
+
var client = new clientClass(options);
|
|
14795
|
+
hub.bindClient(client);
|
|
14796
|
+
}
|
|
14797
|
+
//# sourceMappingURL=sdk.js.map
|
|
14798
14798
|
;// CONCATENATED MODULE: ./node_modules/@sentry/browser/esm/integrations/trycatch.js
|
|
14799
14799
|
|
|
14800
14800
|
|
|
@@ -15811,7 +15811,7 @@ const client = new error_tracker_BrowserClient({
|
|
|
15811
15811
|
},
|
|
15812
15812
|
|
|
15813
15813
|
environment: "production",
|
|
15814
|
-
release: "1.4.
|
|
15814
|
+
release: "1.4.5-be55d58",
|
|
15815
15815
|
sampleRate: 0.25,
|
|
15816
15816
|
autoSessionTracking: false,
|
|
15817
15817
|
// Integrations don't seem to work with Sentry: https://github.com/getsentry/sentry-javascript/issues/2541
|
|
@@ -16432,7 +16432,7 @@ function getEmbedURL(_ref) {
|
|
|
16432
16432
|
host = "http://".concat(window.location.hostname, ":9001");
|
|
16433
16433
|
}
|
|
16434
16434
|
|
|
16435
|
-
return "".concat(host, "/embed/").concat(frameName, "/").concat("
|
|
16435
|
+
return "".concat(host, "/embed/").concat(frameName, "/").concat("be55d58", "/index.html");
|
|
16436
16436
|
}
|
|
16437
16437
|
|
|
16438
16438
|
function constructQueryString(query) {
|
|
@@ -18299,9 +18299,9 @@ async function log(message, extra, options) {
|
|
|
18299
18299
|
service: "embed",
|
|
18300
18300
|
env: "production",
|
|
18301
18301
|
embedVersion: 2,
|
|
18302
|
-
version: "1.4.
|
|
18302
|
+
version: "1.4.5",
|
|
18303
18303
|
isNpm: true,
|
|
18304
|
-
commitHash: "
|
|
18304
|
+
commitHash: "be55d58"
|
|
18305
18305
|
}))
|
|
18306
18306
|
});
|
|
18307
18307
|
}
|
|
@@ -18743,7 +18743,7 @@ class ChatFrame extends d {
|
|
|
18743
18743
|
const hostPageUrlParams = new (url_default())(window.location.href).searchParams;
|
|
18744
18744
|
const smsToken = hostPageUrlParams.get("adaSMSToken");
|
|
18745
18745
|
const queryParams = {
|
|
18746
|
-
embedVersion: "
|
|
18746
|
+
embedVersion: "be55d58".slice(0, 7),
|
|
18747
18747
|
greeting,
|
|
18748
18748
|
language,
|
|
18749
18749
|
skipGreeting,
|
|
@@ -20924,7 +20924,7 @@ class Embed {
|
|
|
20924
20924
|
|
|
20925
20925
|
}
|
|
20926
20926
|
|
|
20927
|
-
_defineProperty(Embed, "embed2Version", "
|
|
20927
|
+
_defineProperty(Embed, "embed2Version", "be55d58");
|
|
20928
20928
|
;// CONCATENATED MODULE: ./src/common/helpers/startup.ts
|
|
20929
20929
|
|
|
20930
20930
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ada-support/embed2",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.5",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/npm-entry",
|
|
6
6
|
"typings": "dist/npm-entry/index-npm.d.ts",
|
|
@@ -107,13 +107,14 @@
|
|
|
107
107
|
"preact": "10.4.5",
|
|
108
108
|
"typescript": "^4.6.2",
|
|
109
109
|
"uniqid": "^5.3.0",
|
|
110
|
-
"webpack": "^5.
|
|
110
|
+
"webpack": "^5.74.0",
|
|
111
111
|
"webpack-cli": "^4.9.2",
|
|
112
112
|
"webpack-merge": "^5.8.0"
|
|
113
113
|
},
|
|
114
114
|
"resolutions": {
|
|
115
115
|
"@lambdatest/node-tunnel": ">=3.0.2",
|
|
116
|
-
"minimist": ">=1.2.6"
|
|
116
|
+
"minimist": ">=1.2.6",
|
|
117
|
+
"terser": ">=5.14.2"
|
|
117
118
|
},
|
|
118
119
|
"files": [
|
|
119
120
|
"dist/npm-entry"
|