github share/sharedb v1.1.0

latest releases: v5.0.4, v5.0.3, v5.0.2...
4 years ago
  • #331 - Add ability for "readSnapshots" middleware to reject reads of specific snapshots, mainly for bulk fetch/subscribe (@ericyhwang)
    • context.rejectSnapshotRead(snapshot: Snapshot, error: Error | string) - Reject a specific snapshot read
    • context.rejectSnapshotReadSilent(snapshot: Snapshot, errorMessage: string) - As above, but causes the ShareDB client to treat it as a silent rejection, not passing the error back to user code

Don't miss a new sharedb release

NewReleases is sending notifications on new releases.