Comparing version 0.109.0 to 0.110.0
@@ -130,3 +130,4 @@ "use strict"; | ||
const startTime = utils.getTimeInNanoseconds(); | ||
let status = this.limitManager.tryWithLimits(startTime, () => { | ||
const shouldSkipLimiters = !this.executed && this.condition === undefined; | ||
let status = this.limitManager.tryWithLimits(startTime, shouldSkipLimiters, () => { | ||
try { | ||
@@ -133,0 +134,0 @@ let trace = _NoopNamespace.NoopNamespaceInstance; |
@@ -15,16 +15,28 @@ "use strict"; | ||
tryWithLimits(startTime, augCore) { | ||
tryWithLimits(startTime, skipLimiters, augCore) { | ||
let aftersToCall = []; | ||
try { | ||
let err; | ||
for (let limiter of this.limiters) { | ||
let status = limiter.beforeRun(startTime); | ||
aftersToCall.push(() => limiter.afterRun(startTime)); | ||
if (status.limitStatus !== _Aug.augStatus.Active) { | ||
return status; | ||
err = status; | ||
} | ||
if (status.limitStatus === _Aug.augStatus.Active || skipLimiters) { | ||
aftersToCall.push(() => limiter.afterRun(startTime)); | ||
} | ||
} | ||
augCore(); | ||
if (skipLimiters || err === undefined) { | ||
augCore(); | ||
} | ||
if (err !== undefined) { | ||
return err; | ||
} | ||
return { | ||
@@ -31,0 +43,0 @@ limitStatus: _Aug.augStatus.Active, |
@@ -54,4 +54,4 @@ "use strict"; | ||
return { | ||
"version": "0.109.0", | ||
"commit": "ec03664d7442553ac139c4c0cc87dc7f0806d97e" | ||
"version": "0.110.0", | ||
"commit": "f9c47374351a42ccdabd530004cabf5aa721acef" | ||
}; | ||
@@ -58,0 +58,0 @@ } |
@@ -155,4 +155,4 @@ "use strict"; | ||
return { | ||
"version": "0.109.0", | ||
"commit": "ec03664d7442553ac139c4c0cc87dc7f0806d97e" | ||
"version": "0.110.0", | ||
"commit": "f9c47374351a42ccdabd530004cabf5aa721acef" | ||
}; | ||
@@ -159,0 +159,0 @@ } |
@@ -20,4 +20,4 @@ "use strict"; | ||
this.VersionConfiguration = { | ||
VERSION: "0.109.0", | ||
COMMIT: "ec03664d7442553ac139c4c0cc87dc7f0806d97e" | ||
VERSION: "0.110.0", | ||
COMMIT: "f9c47374351a42ccdabd530004cabf5aa721acef" | ||
}; | ||
@@ -24,0 +24,0 @@ this.ControllerAddress = { |
@@ -67,3 +67,3 @@ "use strict"; | ||
_logger.logger.debug(`Node version is not verified for this sdk version. SDK Version: ${"0.109.0"}, node version: ${nodeVersionString}`); | ||
_logger.logger.debug(`Node version is not verified for this sdk version. SDK Version: ${"0.110.0"}, node version: ${nodeVersionString}`); | ||
@@ -78,3 +78,3 @@ return false; | ||
const parsedVersions = JSON.parse(rawVersions); | ||
const sdkVersion = parseVersion("0.109.0"); | ||
const sdkVersion = parseVersion("0.110.0"); | ||
@@ -81,0 +81,0 @@ if (sdkVersion === undefined) { |
{ | ||
"name": "rookout", | ||
"commit": "ec03664d7442553ac139c4c0cc87dc7f0806d97e", | ||
"version": "0.109.0", | ||
"commit": "f9c47374351a42ccdabd530004cabf5aa721acef", | ||
"version": "0.110.0", | ||
"description": "Rook is a package for on the fly debugging and data extraction for applications in production", | ||
@@ -6,0 +6,0 @@ "browser": "dist/browser.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21851350
28209