Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add sequence number of subscriptions revision #187

Open
wants to merge 1 commit into
base: main-lfs-DO-NOT-USE
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs/specs/clients/notify/authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,15 @@ A non-ideal way to avoid the race condition is for the sender to set the message
- iss - did:key of Notify Server authentication key
- aud - did:key of client identity key
- sbs - array of [Notify Server Subscriptions](./data-structures.md#notify-server-subscriptions)
- seq - sequence number of subscription list

## wc_notifySubscriptionsChanged request

- act - `notify_subscriptions_changed`
- iss - did:key of Notify Server authentication key
- aud - did:key of client identity key
- sbs - array of [Notify Server Subscriptions](./data-structures.md#notify-server-subscriptions)
- seq - sequence number of subscription list

## wc_notifySubscriptionsChanged response

Expand All @@ -73,6 +75,7 @@ A non-ideal way to avoid the race condition is for the sender to set the message
- app - did:web of app domain that this request is associated with
- Example: `did:web:app.example.com`
- sbs - array of [Notify Server Subscriptions](./data-structures.md#notify-server-subscriptions)
- seq - sequence number of subscription list

## wc_notifyMessage request

Expand Down Expand Up @@ -109,6 +112,7 @@ A non-ideal way to avoid the race condition is for the sender to set the message
- app - did:web of app domain that this request is associated with
- Example: `did:web:app.example.com`
- sbs - array of [Notify Server Subscriptions](./data-structures.md#notify-server-subscriptions)
- seq - sequence number of subscription list

## wc_notifyDelete request

Expand All @@ -127,3 +131,4 @@ A non-ideal way to avoid the race condition is for the sender to set the message
- app - did:web of app domain that this request is associated with
- Example: `did:web:app.example.com`
- sbs - array of [Notify Server Subscriptions](./data-structures.md#notify-server-subscriptions)
- seq - sequence number of subscription list