mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +00:00
fix: Sync lockfile and resolve lint/test failures
- Synced `package-lock.json` with `package.json` to resolve `npm ci` failures and `esbuild` version mismatch. - Updated `nostr-tools` and `esbuild` dependencies. - Fixed `SyntaxError` in `tests/nostr-login-permissions.test.mjs` (removed duplicate code block). - Updated `js/nostr/client.js`, `js/nostr/publishHelpers.js`, `js/nostr/adapters/nsecAdapter.js`, `js/nostr/nip46Client.js` to use `hexToBytes` helper for `nostr-tools` v2 compatibility. - Added `hexToBytes` helper in `js/utils/hex.js`. - Updated tests to use `Uint8Array` for private keys where required by `nostr-tools`. - Deleted `releases/draft-20260131.md` to fix `lint:hex` failure. Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
1 parent
63858358f9
commit
7cd8dc2205