mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-06 21:02:28 +00:00
- Fixed duplicate import and variable declaration in `js/ui/components/RevertModal.js` which caused syntax errors. - Fixed missing method implementations in `js/ui/components/VideoModal.js` which caused `bind` errors during initialization. - Fixed NIP-46 compliance tests by updating mocks to match `nostr-tools` v2 structure. - Updated `js/nostr/nip46Client.js` to ensure keys are passed as `Uint8Array` to `nostr-tools` helpers, maintaining compatibility with legacy hex strings. - Updated `tests/nostr/dm-direct-message-flow.test.mjs` to use `Uint8Array` keys, fixing "expected Uint8Array" errors. - Maintained the previous lint fix for `tests/ui/components/DeleteModal.test.mjs`. Co-authored-by: PR0M3TH3AN <[email protected]>