mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +00:00
Add DM privacy and signing adapter documentation
This commit is contained in:
1 parent
9606c8ef0d
commit
da42b98bb3
4 files changed
+160
No files matched your search
@@ -79,6 +79,9 @@ sign/encrypt calls. Call `clearActiveSigner()` on logout if your integration
|
||||
manages session state manually; the built-in logout handler already does this
|
||||
for the default extension flow.
|
||||
|
||||
For adapter implementation details and test guidance, see
|
||||
[`docs/signing-adapter.md`](signing-adapter.md).
|
||||
|
||||
### Accessing raw events
|
||||
|
||||
`NostrClient` now keeps a lightweight cache of parsed videos alongside a
|
||||
@@ -189,6 +192,10 @@ bitvid now consumes both legacy direct messages (kind `4`) and modern gift-wrap
|
||||
|
||||
The `isPrivate` flag in Content Schema v3 marks cards that should stay off shared or public grids. Clients should suppress these events for everyone except the owner, even though the payload stays in clear text for compatibility.
|
||||
|
||||
For the privacy model, relay hint selection flow, and user controls (privacy
|
||||
toggle, relay list publishing, and metadata toggles), see
|
||||
[`docs/dm-privacy-model.md`](dm-privacy-model.md).
|
||||
|
||||
If you introduce a new Nostr feature, add its schema to
|
||||
`js/nostrEventSchemas.js` so that the catalogue stays complete and so existing
|
||||
builders inherit the same debugging knobs.
|
||||
|
||||
Reference in new issue
Block a user