slnodejs 6.1.909 → 6.1.911
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/browser-agent/dist/browser-agent-all.js +7 -4
- package/browser-agent/dist/browser-agent-all.min.js +2 -2
- package/browser-agent/package.json +1 -1
- package/package.json +1 -1
- package/tsOutputs/cli-parse/cli.js +6 -1
- package/tsOutputs/cli-parse/cli.js.map +1 -1
- package/tsOutputs/common/contracts.d.ts +2 -0
- package/tsOutputs/common/contracts.js.map +1 -1
- package/tsOutputs/common/http/http-client.js +5 -1
- package/tsOutputs/common/http/http-client.js.map +1 -1
- package/tsOutputs/common/utils/token-data-builder.js +7 -1
- package/tsOutputs/common/utils/token-data-builder.js.map +1 -1
|
@@ -57157,7 +57157,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
57157
57157
|
"use strict";
|
|
57158
57158
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
57159
57159
|
exports.SL_AGENT_TYPE = exports.SL_AGENT_VERSION = void 0;
|
|
57160
|
-
exports.SL_AGENT_VERSION = '6.1.
|
|
57160
|
+
exports.SL_AGENT_VERSION = '6.1.911';
|
|
57161
57161
|
exports.SL_AGENT_TYPE = 'browser';
|
|
57162
57162
|
});
|
|
57163
57163
|
|
|
@@ -64594,7 +64594,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
64594
64594
|
});
|
|
64595
64595
|
|
|
64596
64596
|
},{"./contracts":518}],520:[function(require,module,exports){
|
|
64597
|
-
(function (process,Buffer){(function (){
|
|
64597
|
+
(function (process,global,Buffer){(function (){
|
|
64598
64598
|
(function (factory) {
|
|
64599
64599
|
if (typeof module === "object" && typeof module.exports === "object") {
|
|
64600
64600
|
var v = factory(require, exports);
|
|
@@ -64674,7 +64674,10 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
64674
64674
|
var _a, _b;
|
|
64675
64675
|
validation_utils_1.ValidationUtils.verifyNotNullOrEmpty(requestData, 'requestData');
|
|
64676
64676
|
const bufferToSend = Buffer.from(JSON.stringify(requestData));
|
|
64677
|
-
|
|
64677
|
+
let shouldZip = this.cfg.compressRequests != null ? this.cfg.compressRequests : true;
|
|
64678
|
+
if (global['skipGzipServerOverride']) {
|
|
64679
|
+
shouldZip = false;
|
|
64680
|
+
}
|
|
64678
64681
|
const messageTypeHeader = { [contracts_1.SealightsHeaderNames.MESSAGE_TYPE]: (_b = (_a = requestData === null || requestData === void 0 ? void 0 : requestData.events) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.type };
|
|
64679
64682
|
this.logger.debug('Sending buffer:' + bufferToSend.toString());
|
|
64680
64683
|
if (shouldZip) {
|
|
@@ -64818,7 +64821,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
64818
64821
|
HttpClient.DEFAULT_HTTP_TIMEOUT = 60 * 1000 * 2;
|
|
64819
64822
|
});
|
|
64820
64823
|
|
|
64821
|
-
}).call(this)}).call(this,require('_process'),require("buffer").Buffer)
|
|
64824
|
+
}).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {},require("buffer").Buffer)
|
|
64822
64825
|
},{"../../common/system-date":527,"../utils/validation-utils":532,"./contracts":518,"./http-verb":521,"_process":347,"buffer":213,"sl-request":652,"zlib":210}],521:[function(require,module,exports){
|
|
64823
64826
|
(function (factory) {
|
|
64824
64827
|
if (typeof module === "object" && typeof module.exports === "object") {
|