mirror of
https://github.com/PR0M3TH3AN/bitlogin.git
synced 2026-11-03 03:51:22 +00:00
CHANGELOG: document the NIP-04 addition
Co-Authored-By: Claude Sonnet 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01DY9UMTuF43Ekc2U4E1eDwX
This commit is contained in:
1 parent
283840261f
commit
92a87ff13e
1 file changed
+11
@@ -35,3 +35,14 @@ would plausibly want. Newest first.
|
||||
`'unsafe-inline'`, or you have no CSP, this was invisible to you either
|
||||
way, but re-vendoring is still a good idea (this fix also drops needless
|
||||
per-render CSS reparsing).
|
||||
|
||||
- **Feature: NIP-04 support, for drop-in parity with a real NIP-07
|
||||
extension.** `window.nostr.nip04` (and the element-scoped
|
||||
`nip04Encrypt`/`nip04Decrypt`) didn't exist at all before this — only
|
||||
NIP-44 was implemented. A site (or its own legacy DM code path) calling
|
||||
`window.nostr.nip04.encrypt(...)` while BitLogin was the active signer got
|
||||
`Cannot read properties of undefined` instead of a working call. (`2838402`)
|
||||
**Re-vendor if:** your site (or any third-party code running on it) uses
|
||||
`window.nostr.nip04` — a real NIP-07 extension always has it, so anything
|
||||
written against "whatever `window.nostr` provides" may already assume it's
|
||||
there. No attribute/config changes needed; this is purely additive.
|
||||
Reference in new issue
Block a user