Commit 2824be1
feat: add NIP-44 encryption and NIP-46 transport, upgrade to nostr-crypto-utils v0.5.1
Add NIP-44 (modern encrypted payloads) as a parallel to existing NIP-04,
and add NIP-46 (Nostr Connect) transport layer — the missing bridge
between nostr-crypto-utils protocol functions and relay I/O.
- New src/nips/nip-44.ts: encryptNip44, decryptNip44, createEncryptedDM44
- New src/nips/nip-46.ts: Nip46Transport class with subscribe/publish/unwrap
- Re-exports bunker URI helpers and convenience request creators
- Switched NIP-26 delegation to use finalizeEvent()
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent dd6ae6c commit 2824be1
75 files changed
Lines changed: 1445 additions & 88 deletions
File tree
- dist
- browser
- cjs
- core
- nips
- transport
- utils
- core
- nips
- transport
- utils
- src/nips
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments