DNET: Update documentation (#2483)

This commit is contained in:
Michael Ficocelli
2026-02-07 22:25:56 -05:00
committed by GitHub
parent e649adfef4
commit 425bff8217
25 changed files with 611 additions and 71 deletions
-6
View File
@@ -73,12 +73,6 @@ function heartbleedOptions(ctx: NetscriptContext, opts: unknown): CompleteHeartb
};
const peek = helpers.boolean(ctx, "options.peek", options.peek);
const logsToCapture = helpers.positiveInteger(ctx, "options.logsToCapture", options.logsToCapture);
if (logsToCapture > 8) {
throw helpers.errorMessage(
ctx,
`Invalid arguments: "options.logsToCapture" (${options.logsToCapture}) must be smaller than or equal to 8`,
);
}
const additionalMsec = helpers.integer(ctx, "options.additionalMsec", options.additionalMsec);
if (additionalMsec < 0) {
throw helpers.errorMessage(