mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-10 14:52:57 +00:00
Daily Agent: const-refactor-agent (NIP-07 & NIP-46 Timeouts)
- Refactored duplicate `5000` ms timeouts in `js/nostr/nip07Permissions.js`, `js/nostr/managers/SignerManager.js`, and `js/nostr/nip46Client.js`. - Introduced `NIP07_EXTENSION_WAIT_TIMEOUT_MS` and `NIP46_PING_TIMEOUT_MS`. - Created execution artifacts and scheduler completion log. Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
1 parent
52a21a9b70
commit
4f4faeefdd
7 files changed
+70
-3
No files matched your search
@@ -0,0 +1,13 @@
|
||||
# Context: NIP-07 and NIP-46 Timeout Refactor
|
||||
|
||||
## Goal
|
||||
Refactor duplicate `5000` ms timeout literals in Nostr-related modules to use semantic constants.
|
||||
|
||||
## Scope
|
||||
- `js/nostr/nip07Permissions.js`: Define `NIP07_EXTENSION_WAIT_TIMEOUT_MS`.
|
||||
- `js/nostr/managers/SignerManager.js`: Use `NIP07_EXTENSION_WAIT_TIMEOUT_MS`.
|
||||
- `js/nostr/nip46Client.js`: Define `NIP46_PING_TIMEOUT_MS`.
|
||||
|
||||
## Baseline
|
||||
- Branch: `unstable` (assumed)
|
||||
- Node: `v22.22.0`
|
||||
Reference in new issue
Block a user