fix(ci): resolve lint error and broken import in tests

- Remove unused `randomInt` import in `src/lock-publisher.mjs`.
- Fix broken import path for `withTimeout` in `src/relay-health.mjs` (from `./utils.mjs` to `./lock-utils.mjs`).
- Verify fix with `npm test` and `npm run lint`.

Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
google-labs-jules[bot]andPR0M3TH3AN committed 2026-02-25 16:19:30 +00:00
1 parent 8e015459a3
commit e9a0c12d02
5 files changed
+10839 -2

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
import { randomUUID, randomInt } from 'node:crypto';
import { randomUUID } from 'node:crypto';
import { SimplePool } from 'nostr-tools/pool';
import {
getPublishTimeoutMs,
+1 -1
View File
@@ -4,7 +4,7 @@ import WebSocket from 'ws';
import { finalizeEvent, generateSecretKey, getPublicKey } from 'nostr-tools/pure';
import { getNamespace, getRelays } from './torch-config.mjs';
import { MS_PER_SECOND } from './constants.mjs';
import { withTimeout } from './utils.mjs';
import { withTimeout } from './lock-utils.mjs';
const PROBE_KIND = 27235;
+3591
View File
File diff suppressed because it is too large. Load diff
+3590
View File
File diff suppressed because it is too large. Load diff
+3656
View File
File diff suppressed because it is too large. Load diff