slnodejs 6.1.246 → 6.1.248
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 +11 -1
- package/browser-agent/dist/browser-agent-all.min.js +12 -12
- package/browser-agent/package.json +1 -1
- package/package.json +3 -1
- package/tsOutputs/common/config-process/config.d.ts +1 -0
- package/tsOutputs/common/config-process/config.js +1 -0
- package/tsOutputs/common/config-process/config.js.map +1 -1
- package/tsOutputs/common/constants/sl-env-vars.d.ts +2 -0
- package/tsOutputs/common/constants/sl-env-vars.js +4 -0
- package/tsOutputs/common/constants/sl-env-vars.js.map +1 -1
- package/tsOutputs/common/footprints-process-v6/index.js +1 -1
- package/tsOutputs/common/footprints-process-v6/index.js.map +1 -1
- package/tsOutputs/common/watchdog.d.ts +1 -0
- package/tsOutputs/common/watchdog.js +5 -0
- package/tsOutputs/common/watchdog.js.map +1 -1
- package/tsOutputs/test-listener/agent-loader.js +15 -1
- package/tsOutputs/test-listener/agent-loader.js.map +1 -1
- package/tsOutputs/test-listener/factory.d.ts +0 -1
- package/tsOutputs/test-listener/factory.js +1 -4
- package/tsOutputs/test-listener/factory.js.map +1 -1
|
@@ -47514,6 +47514,7 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
47514
47514
|
_this.footprintsSendIntervalSecs = new config_system_1.NumberConfigKey(false, 10);
|
|
47515
47515
|
_this.footprintsCollectIntervalSecs = new config_system_1.NumberConfigKey(false, 10);
|
|
47516
47516
|
_this.shouldCheckForActiveExecutionOnStartUp = new config_system_1.BooleanConfigKey(false, true);
|
|
47517
|
+
_this.useTsNode = new config_system_1.BooleanConfigKey(false, false);
|
|
47517
47518
|
return _this;
|
|
47518
47519
|
}
|
|
47519
47520
|
return AgentConfig;
|
|
@@ -47783,6 +47784,9 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
47783
47784
|
SlEnvVars.turnOtelOff = function () {
|
|
47784
47785
|
process.env[SlEnvVars.USE_OTEL_AGENT] = 'false';
|
|
47785
47786
|
};
|
|
47787
|
+
SlEnvVars.useSpawnWrap = function () {
|
|
47788
|
+
return env_var_parsing_1.EnvVarParsing.parseBoolean(SlEnvVars.SL_USE_SPAWN_WRAP);
|
|
47789
|
+
};
|
|
47786
47790
|
var _a;
|
|
47787
47791
|
SlEnvVars.HTTP_TIMEOUT = 'SL_httpTimeout';
|
|
47788
47792
|
SlEnvVars.HTTP_MAX_ATTEMPTS = 'SL_HttpMaxAttempts';
|
|
@@ -47802,6 +47806,7 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
47802
47806
|
SlEnvVars.DISABLE_HOOK_DEPENDENCY_GUARD = 'SL_disableHookDependencyGuard';
|
|
47803
47807
|
SlEnvVars.USE_OTEL_AGENT = 'SL_useOtelAgent';
|
|
47804
47808
|
SlEnvVars.USE_SL_MAPPING = 'SL_useSlMapping';
|
|
47809
|
+
SlEnvVars.SL_USE_SPAWN_WRAP = 'SL_useSpawnWrap';
|
|
47805
47810
|
SlEnvVars.CIA = (_a = (function () {
|
|
47806
47811
|
function class_1() {
|
|
47807
47812
|
}
|
|
@@ -49713,7 +49718,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
49713
49718
|
}
|
|
49714
49719
|
if (this.isRunning && this.cfg.sendFootprints.value && this.cfg.enabled.value) {
|
|
49715
49720
|
this.ensureKeepaliveThreadRunning();
|
|
49716
|
-
this.sendToServerWatchdog.
|
|
49721
|
+
this.sendToServerWatchdog.startIfNotRunning();
|
|
49717
49722
|
}
|
|
49718
49723
|
this.footprintsEnqueueOnce = true;
|
|
49719
49724
|
return [2];
|
|
@@ -51869,6 +51874,11 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
51869
51874
|
this.stopped = false;
|
|
51870
51875
|
this.reset();
|
|
51871
51876
|
};
|
|
51877
|
+
Watchdog.prototype.startIfNotRunning = function () {
|
|
51878
|
+
if (this.stopped || !this.handle) {
|
|
51879
|
+
this.start();
|
|
51880
|
+
}
|
|
51881
|
+
};
|
|
51872
51882
|
Watchdog.prototype.getStatus = function () {
|
|
51873
51883
|
return {
|
|
51874
51884
|
pendingAlarmDuringSuspended: this.pendingAlarmDuringSuspended,
|