mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-06 12:52:26 +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,25 @@
|
||||
# Task Completion Log
|
||||
|
||||
- **Agent**: `const-refactor-agent`
|
||||
- **Cadence**: `daily`
|
||||
- **Date**: `2026-02-14`
|
||||
- **Start Time**: `04:30:00`
|
||||
- **End Time**: `04:35:00`
|
||||
- **Status**: `completed`
|
||||
|
||||
## Summary
|
||||
Refactored duplicate `5000` ms timeout literals in `js/nostr/nip07Permissions.js`, `js/nostr/managers/SignerManager.js`, and `js/nostr/nip46Client.js` to use semantic constants `NIP07_EXTENSION_WAIT_TIMEOUT_MS` and `NIP46_PING_TIMEOUT_MS`.
|
||||
|
||||
## Changes
|
||||
- `js/nostr/nip07Permissions.js`: Added `NIP07_EXTENSION_WAIT_TIMEOUT_MS`.
|
||||
- `js/nostr/managers/SignerManager.js`: Updated to import and use `NIP07_EXTENSION_WAIT_TIMEOUT_MS`.
|
||||
- `js/nostr/nip46Client.js`: Added `NIP46_PING_TIMEOUT_MS`.
|
||||
|
||||
## Verification
|
||||
- `npm run lint`: Passed.
|
||||
- `npm run test:unit`: Passed.
|
||||
|
||||
## Artifacts
|
||||
- `context/CONTEXT_2026-02-14_04-30-00.md`
|
||||
- `decisions/DECISIONS_2026-02-14_04-30-00.md`
|
||||
- `test_logs/TEST_LOG_2026-02-14_04-30-00.md`
|
||||
Reference in new issue
Block a user