dwn-sdk-js
dwn-sdk-js copied to clipboard
Decentralized Web Node (DWN)
Maybe add a config to `Dwn#create`.
The intention behind the `schema` field is ostensibly to provide a sort of public shared shape of what a given protocol may look like. However there seems to be no...
Many times a graph point is intended to only have one record stored, never multiple. If we added a '$singleton' boolean option it would allow the dev to specify that...
Imagine a use case like 'bio' as a protocol path, where you only want to allow one bio object. The desire is to be able to add some $flag property...
Add snapshot feature to prevent unauthorized access upon revoking a permission grant
Context: https://github.com/TBD54566975/dwn-sdk-js/pull/474#discussion_r1296533888 There is currently a condition enforced for protocol `RecordsWrites` that only the initial author of a record can update the record. Not even the tenant can update a...
### Background/Context **During a sync `pull()` operation:** - a `MessagesGet` request is sent over the network to the remote DWN for every `messageCid` that needs to be sync'd - if...
Right now date sort is implemented after messages are fetched from the Message Store. This maybe undesirable when the returned dataset is large and we want/need to page the result.
`messageCid` is mainly used for reference tracking for `put()` and `delete()`, it does not appear to be necessary at a glance for `get()`, and is there only to provide a...