@open-e2ee/signal-protocol-sdk 10.1.0 → 12.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ADAPTERS.md +4 -4
- package/ARCHITECTURE.md +6 -8
- package/CHANGELOG.md +1413 -0
- package/README.md +1 -1
- package/SECURITY.md +2 -2
- package/TROUBLESHOOTING.md +1 -1
- package/client/README.md +84 -37
- package/device/README.md +39 -85
- package/dist/client/client.d.ts +342 -62
- package/dist/client/client.d.ts.map +1 -1
- package/dist/client/client.js +1195 -179
- package/dist/client/client.js.map +1 -1
- package/dist/client/config.d.ts +40 -32
- package/dist/client/config.d.ts.map +1 -1
- package/dist/client/config.js +1 -1
- package/dist/client/config.js.map +1 -1
- package/dist/client/constants.d.ts +42 -8
- package/dist/client/constants.d.ts.map +1 -1
- package/dist/client/constants.js +48 -3
- package/dist/client/constants.js.map +1 -1
- package/dist/client/content-adapter.d.ts +80 -0
- package/dist/client/content-adapter.d.ts.map +1 -1
- package/dist/client/content-adapter.js +225 -12
- package/dist/client/content-adapter.js.map +1 -1
- package/dist/client/delivery-error.d.ts +150 -0
- package/dist/client/delivery-error.d.ts.map +1 -0
- package/dist/client/delivery-error.js +226 -0
- package/dist/client/delivery-error.js.map +1 -0
- package/dist/client/delivery-status.d.ts +32 -6
- package/dist/client/delivery-status.d.ts.map +1 -1
- package/dist/client/delivery-status.js +61 -13
- package/dist/client/delivery-status.js.map +1 -1
- package/dist/client/device-set-reconciliation.d.ts +196 -0
- package/dist/client/device-set-reconciliation.d.ts.map +1 -0
- package/dist/client/device-set-reconciliation.js +282 -0
- package/dist/client/device-set-reconciliation.js.map +1 -0
- package/dist/client/distribution-records.d.ts +29 -0
- package/dist/client/distribution-records.d.ts.map +1 -0
- package/dist/client/distribution-records.js +33 -0
- package/dist/client/distribution-records.js.map +1 -0
- package/dist/client/event-hooks.d.ts +308 -6
- package/dist/client/event-hooks.d.ts.map +1 -1
- package/dist/client/event-hooks.js +9 -0
- package/dist/client/event-hooks.js.map +1 -1
- package/dist/client/group-device-set.d.ts +47 -0
- package/dist/client/group-device-set.d.ts.map +1 -0
- package/dist/client/group-device-set.js +65 -0
- package/dist/client/group-device-set.js.map +1 -0
- package/dist/client/group-fetcher.d.ts +116 -0
- package/dist/client/group-fetcher.d.ts.map +1 -0
- package/dist/client/group-fetcher.js +598 -0
- package/dist/client/group-fetcher.js.map +1 -0
- package/dist/client/group-outbox.d.ts +172 -10
- package/dist/client/group-outbox.d.ts.map +1 -1
- package/dist/client/group-outbox.js +915 -74
- package/dist/client/group-outbox.js.map +1 -1
- package/dist/client/group-receive-authorization.d.ts +127 -4
- package/dist/client/group-receive-authorization.d.ts.map +1 -1
- package/dist/client/group-receive-authorization.js +270 -20
- package/dist/client/group-receive-authorization.js.map +1 -1
- package/dist/client/group-sealed-sender.d.ts +3 -0
- package/dist/client/group-sealed-sender.d.ts.map +1 -1
- package/dist/client/group-sealed-sender.js +1 -0
- package/dist/client/group-sealed-sender.js.map +1 -1
- package/dist/client/group-sender-key-operations.d.ts +14 -3
- package/dist/client/group-sender-key-operations.d.ts.map +1 -1
- package/dist/client/group-sender-key-operations.js +26 -5
- package/dist/client/group-sender-key-operations.js.map +1 -1
- package/dist/client/groups.d.ts +5 -5
- package/dist/client/groups.d.ts.map +1 -1
- package/dist/client/groups.js +5 -4
- package/dist/client/groups.js.map +1 -1
- package/dist/client/hosted-anonymous-delivery.d.ts +61 -9
- package/dist/client/hosted-anonymous-delivery.d.ts.map +1 -1
- package/dist/client/hosted-anonymous-delivery.js +242 -48
- package/dist/client/hosted-anonymous-delivery.js.map +1 -1
- package/dist/client/hosted-assertion-id.d.ts +7 -0
- package/dist/client/hosted-assertion-id.d.ts.map +1 -0
- package/dist/client/hosted-assertion-id.js +51 -0
- package/dist/client/hosted-assertion-id.js.map +1 -0
- package/dist/client/hosted-device-standing.d.ts +52 -0
- package/dist/client/hosted-device-standing.d.ts.map +1 -0
- package/dist/client/hosted-device-standing.js +74 -0
- package/dist/client/hosted-device-standing.js.map +1 -0
- package/dist/client/hosted-mailbox-subscription.d.ts +48 -3
- package/dist/client/hosted-mailbox-subscription.d.ts.map +1 -1
- package/dist/client/hosted-mailbox-subscription.js +288 -74
- package/dist/client/hosted-mailbox-subscription.js.map +1 -1
- package/dist/client/hosted-push.d.ts +22 -4
- package/dist/client/hosted-push.d.ts.map +1 -1
- package/dist/client/hosted-push.js +75 -22
- package/dist/client/hosted-push.js.map +1 -1
- package/dist/client/hosted-transport.d.ts +22 -28
- package/dist/client/hosted-transport.d.ts.map +1 -1
- package/dist/client/hosted-transport.js +167 -69
- package/dist/client/hosted-transport.js.map +1 -1
- package/dist/client/hosted.d.ts +22 -5
- package/dist/client/hosted.d.ts.map +1 -1
- package/dist/client/hosted.js +122 -45
- package/dist/client/hosted.js.map +1 -1
- package/dist/client/index.d.ts +6 -4
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +3 -1
- package/dist/client/index.js.map +1 -1
- package/dist/client/messages.d.ts +25 -3
- package/dist/client/messages.d.ts.map +1 -1
- package/dist/client/messages.js +118 -17
- package/dist/client/messages.js.map +1 -1
- package/dist/client/one-time-prekey-refill.d.ts +7 -0
- package/dist/client/one-time-prekey-refill.d.ts.map +1 -1
- package/dist/client/one-time-prekey-refill.js +5 -1
- package/dist/client/one-time-prekey-refill.js.map +1 -1
- package/dist/client/receive-admission.d.ts +58 -0
- package/dist/client/receive-admission.d.ts.map +1 -0
- package/dist/client/receive-admission.js +78 -0
- package/dist/client/receive-admission.js.map +1 -0
- package/dist/client/receive-expiry.d.ts +31 -0
- package/dist/client/receive-expiry.d.ts.map +1 -0
- package/dist/client/receive-expiry.js +35 -0
- package/dist/client/receive-expiry.js.map +1 -0
- package/dist/client/receive-hook-bound.d.ts +50 -0
- package/dist/client/receive-hook-bound.d.ts.map +1 -0
- package/dist/client/receive-hook-bound.js +115 -0
- package/dist/client/receive-hook-bound.js.map +1 -0
- package/dist/client/receive-queue.d.ts +299 -0
- package/dist/client/receive-queue.d.ts.map +1 -0
- package/dist/client/receive-queue.js +1420 -0
- package/dist/client/receive-queue.js.map +1 -0
- package/dist/client/receive-work-seed.d.ts +54 -0
- package/dist/client/receive-work-seed.d.ts.map +1 -0
- package/dist/client/receive-work-seed.js +116 -0
- package/dist/client/receive-work-seed.js.map +1 -0
- package/dist/client/recovery-driver.d.ts +25 -0
- package/dist/client/recovery-driver.d.ts.map +1 -0
- package/dist/client/recovery-driver.js +121 -0
- package/dist/client/recovery-driver.js.map +1 -0
- package/dist/client/relay-acceptance.d.ts +30 -0
- package/dist/client/relay-acceptance.d.ts.map +1 -1
- package/dist/client/relay-acceptance.js +55 -0
- package/dist/client/relay-acceptance.js.map +1 -1
- package/dist/client/relay-device-refusal.d.ts +18 -0
- package/dist/client/relay-device-refusal.d.ts.map +1 -1
- package/dist/client/relay-device-refusal.js +31 -0
- package/dist/client/relay-device-refusal.js.map +1 -1
- package/dist/client/relay-sealed-route.d.ts +36 -0
- package/dist/client/relay-sealed-route.d.ts.map +1 -0
- package/dist/client/relay-sealed-route.js +45 -0
- package/dist/client/relay-sealed-route.js.map +1 -0
- package/dist/client/relay-subscription.d.ts +56 -13
- package/dist/client/relay-subscription.d.ts.map +1 -1
- package/dist/client/relay-subscription.js +220 -150
- package/dist/client/relay-subscription.js.map +1 -1
- package/dist/client/resendable-content.d.ts +98 -0
- package/dist/client/resendable-content.d.ts.map +1 -0
- package/dist/client/resendable-content.js +136 -0
- package/dist/client/resendable-content.js.map +1 -0
- package/dist/client/retry-family.d.ts +68 -19
- package/dist/client/retry-family.d.ts.map +1 -1
- package/dist/client/retry-family.js +59 -17
- package/dist/client/retry-family.js.map +1 -1
- package/dist/client/retry-request-envelope.d.ts +145 -18
- package/dist/client/retry-request-envelope.d.ts.map +1 -1
- package/dist/client/retry-request-envelope.js +301 -64
- package/dist/client/retry-request-envelope.js.map +1 -1
- package/dist/client/retry-request-lifecycle.d.ts +157 -0
- package/dist/client/retry-request-lifecycle.d.ts.map +1 -0
- package/dist/client/retry-request-lifecycle.js +437 -0
- package/dist/client/retry-request-lifecycle.js.map +1 -0
- package/dist/client/retry-terminal-recovery.d.ts +100 -0
- package/dist/client/retry-terminal-recovery.d.ts.map +1 -0
- package/dist/client/retry-terminal-recovery.js +164 -0
- package/dist/client/retry-terminal-recovery.js.map +1 -0
- package/dist/client/retry-utils.d.ts +27 -0
- package/dist/client/retry-utils.d.ts.map +1 -1
- package/dist/client/retry-utils.js +46 -0
- package/dist/client/retry-utils.js.map +1 -1
- package/dist/client/retry.d.ts +106 -18
- package/dist/client/retry.d.ts.map +1 -1
- package/dist/client/retry.js +687 -139
- package/dist/client/retry.js.map +1 -1
- package/dist/client/sealed-sender.d.ts +23 -6
- package/dist/client/sealed-sender.d.ts.map +1 -1
- package/dist/client/sealed-sender.js +30 -6
- package/dist/client/sealed-sender.js.map +1 -1
- package/dist/client/sessions.d.ts +2 -2
- package/dist/client/sessions.js +2 -2
- package/dist/client/signal-service-cipher.d.ts +726 -19
- package/dist/client/signal-service-cipher.d.ts.map +1 -1
- package/dist/client/signal-service-cipher.js +2265 -343
- package/dist/client/signal-service-cipher.js.map +1 -1
- package/dist/client/state.d.ts +5 -0
- package/dist/client/state.d.ts.map +1 -1
- package/dist/client/state.js +11 -1
- package/dist/client/state.js.map +1 -1
- package/dist/client/storage-protection.d.ts +64 -0
- package/dist/client/storage-protection.d.ts.map +1 -0
- package/dist/client/storage-protection.js +150 -0
- package/dist/client/storage-protection.js.map +1 -0
- package/dist/client/types.d.ts +149 -15
- package/dist/client/types.d.ts.map +1 -1
- package/dist/client/types.js +1 -1
- package/dist/client/types.js.map +1 -1
- package/dist/device/constants.d.ts +0 -5
- package/dist/device/constants.d.ts.map +1 -1
- package/dist/device/constants.js +0 -5
- package/dist/device/constants.js.map +1 -1
- package/dist/device/expo/index.d.ts +4 -17
- package/dist/device/expo/index.d.ts.map +1 -1
- package/dist/device/expo/index.js +4 -23
- package/dist/device/expo/index.js.map +1 -1
- package/dist/device/index.d.ts +0 -2
- package/dist/device/index.d.ts.map +1 -1
- package/dist/device/index.js +0 -7
- package/dist/device/index.js.map +1 -1
- package/dist/device/lifecycle/manager.d.ts +5 -4
- package/dist/device/lifecycle/manager.d.ts.map +1 -1
- package/dist/device/lifecycle/manager.js +16 -16
- package/dist/device/lifecycle/manager.js.map +1 -1
- package/dist/device/lifecycle/types.d.ts +2 -2
- package/dist/device/lifecycle/types.d.ts.map +1 -1
- package/dist/device/react-native/index.d.ts +4 -15
- package/dist/device/react-native/index.d.ts.map +1 -1
- package/dist/device/react-native/index.js +4 -21
- package/dist/device/react-native/index.js.map +1 -1
- package/dist/device/types.d.ts +1 -1
- package/dist/groups/index.d.ts +1 -1
- package/dist/groups/index.d.ts.map +1 -1
- package/dist/index.d.ts +8 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/internal/crypto/ec/x25519-validation.d.ts +0 -1
- package/dist/internal/crypto/ec/x25519-validation.d.ts.map +1 -1
- package/dist/internal/crypto/ec/x25519-validation.js +0 -1
- package/dist/internal/crypto/ec/x25519-validation.js.map +1 -1
- package/dist/internal/crypto/validation.d.ts +2 -2
- package/dist/internal/groups/index.d.ts +1 -0
- package/dist/internal/groups/index.d.ts.map +1 -1
- package/dist/internal/groups/index.js +1 -0
- package/dist/internal/groups/index.js.map +1 -1
- package/dist/internal/groups/manager.d.ts +37 -16
- package/dist/internal/groups/manager.d.ts.map +1 -1
- package/dist/internal/groups/manager.js +46 -1
- package/dist/internal/groups/manager.js.map +1 -1
- package/dist/internal/groups/receive-record.d.ts +78 -0
- package/dist/internal/groups/receive-record.d.ts.map +1 -0
- package/dist/internal/groups/receive-record.js +43 -0
- package/dist/internal/groups/receive-record.js.map +1 -0
- package/dist/internal/groups/sdk-store.d.ts +27 -3
- package/dist/internal/groups/sdk-store.d.ts.map +1 -1
- package/dist/internal/groups/sdk-store.js +151 -19
- package/dist/internal/groups/sdk-store.js.map +1 -1
- package/dist/internal/groups/wire.d.ts +12 -1
- package/dist/internal/groups/wire.d.ts.map +1 -1
- package/dist/internal/groups/wire.js +36 -0
- package/dist/internal/groups/wire.js.map +1 -1
- package/dist/internal/manager/index.d.ts +1 -1
- package/dist/internal/manager/manager.d.ts +20 -19
- package/dist/internal/manager/manager.d.ts.map +1 -1
- package/dist/internal/manager/manager.js +56 -39
- package/dist/internal/manager/manager.js.map +1 -1
- package/dist/internal/protocol/double-ratchet/chains.d.ts +4 -18
- package/dist/internal/protocol/double-ratchet/chains.d.ts.map +1 -1
- package/dist/internal/protocol/double-ratchet/chains.js +23 -74
- package/dist/internal/protocol/double-ratchet/chains.js.map +1 -1
- package/dist/internal/protocol/double-ratchet/index.d.ts +1 -1
- package/dist/internal/protocol/double-ratchet/index.d.ts.map +1 -1
- package/dist/internal/protocol/double-ratchet/index.js +1 -1
- package/dist/internal/protocol/double-ratchet/index.js.map +1 -1
- package/dist/internal/protocol/double-ratchet/ratchet.d.ts +5 -7
- package/dist/internal/protocol/double-ratchet/ratchet.d.ts.map +1 -1
- package/dist/internal/protocol/double-ratchet/ratchet.js +4 -6
- package/dist/internal/protocol/double-ratchet/ratchet.js.map +1 -1
- package/dist/internal/protocol/pqxdh/pqxdh.d.ts.map +1 -1
- package/dist/internal/protocol/pqxdh/pqxdh.js +2 -1
- package/dist/internal/protocol/pqxdh/pqxdh.js.map +1 -1
- package/dist/internal/protocol/sealed-sender/types.d.ts +6 -8
- package/dist/internal/protocol/sealed-sender/types.d.ts.map +1 -1
- package/dist/internal/protocol/sealed-sender/types.js +8 -9
- package/dist/internal/protocol/sealed-sender/types.js.map +1 -1
- package/dist/internal/protocol/sender-keys/handoff-ledger.d.ts +110 -0
- package/dist/internal/protocol/sender-keys/handoff-ledger.d.ts.map +1 -0
- package/dist/internal/protocol/sender-keys/handoff-ledger.js +124 -0
- package/dist/internal/protocol/sender-keys/handoff-ledger.js.map +1 -0
- package/dist/internal/protocol/sender-keys/manager.d.ts +71 -62
- package/dist/internal/protocol/sender-keys/manager.d.ts.map +1 -1
- package/dist/internal/protocol/sender-keys/manager.js +228 -175
- package/dist/internal/protocol/sender-keys/manager.js.map +1 -1
- package/dist/internal/protocol/spqr/index.d.ts +2 -2
- package/dist/internal/protocol/spqr/index.d.ts.map +1 -1
- package/dist/internal/protocol/spqr/index.js +2 -2
- package/dist/internal/protocol/spqr/index.js.map +1 -1
- package/dist/internal/protocol/spqr/serialize.d.ts +9 -1
- package/dist/internal/protocol/spqr/serialize.d.ts.map +1 -1
- package/dist/internal/protocol/spqr/serialize.js +56 -16
- package/dist/internal/protocol/spqr/serialize.js.map +1 -1
- package/dist/internal/protocol/spqr/spqr.d.ts +1 -14
- package/dist/internal/protocol/spqr/spqr.d.ts.map +1 -1
- package/dist/internal/protocol/spqr/spqr.js +54 -42
- package/dist/internal/protocol/spqr/spqr.js.map +1 -1
- package/dist/internal/protocol/spqr/validate.d.ts +26 -6
- package/dist/internal/protocol/spqr/validate.d.ts.map +1 -1
- package/dist/internal/protocol/spqr/validate.js +49 -21
- package/dist/internal/protocol/spqr/validate.js.map +1 -1
- package/dist/internal/sesame/index.d.ts +1 -1
- package/dist/internal/sesame/index.d.ts.map +1 -1
- package/dist/internal/sesame/index.js.map +1 -1
- package/dist/internal/sesame/manager.d.ts +66 -13
- package/dist/internal/sesame/manager.d.ts.map +1 -1
- package/dist/internal/sesame/manager.js +221 -87
- package/dist/internal/sesame/manager.js.map +1 -1
- package/dist/internal/sesame/types.d.ts +95 -17
- package/dist/internal/sesame/types.d.ts.map +1 -1
- package/dist/internal/sesame/types.js +17 -0
- package/dist/internal/sesame/types.js.map +1 -1
- package/dist/internal/session/builder.d.ts +5 -5
- package/dist/internal/session/builder.d.ts.map +1 -1
- package/dist/internal/session/builder.js +12 -17
- package/dist/internal/session/builder.js.map +1 -1
- package/dist/internal/session/cipher.d.ts +13 -11
- package/dist/internal/session/cipher.d.ts.map +1 -1
- package/dist/internal/session/cipher.js +40 -22
- package/dist/internal/session/cipher.js.map +1 -1
- package/dist/internal/session/factory.d.ts +5 -5
- package/dist/internal/session/factory.d.ts.map +1 -1
- package/dist/internal/session/factory.js +4 -4
- package/dist/internal/session/factory.js.map +1 -1
- package/dist/internal/session/handshake.d.ts +14 -16
- package/dist/internal/session/handshake.d.ts.map +1 -1
- package/dist/internal/session/handshake.js +18 -75
- package/dist/internal/session/handshake.js.map +1 -1
- package/dist/internal/session/index.d.ts +1 -1
- package/dist/internal/session/index.js +1 -1
- package/dist/internal/session/record-locks.d.ts +17 -6
- package/dist/internal/session/record-locks.d.ts.map +1 -1
- package/dist/internal/session/record-locks.js +43 -7
- package/dist/internal/session/record-locks.js.map +1 -1
- package/dist/internal/session/session-resolver.d.ts +1 -1
- package/dist/internal/session/session-resolver.js +1 -1
- package/dist/internal/session/state.d.ts +2 -2
- package/dist/internal/session/state.js +1 -1
- package/dist/internal/session/types.d.ts +4 -12
- package/dist/internal/session/types.d.ts.map +1 -1
- package/dist/internal/session/types.js +1 -1
- package/dist/keys/generation.d.ts +2 -2
- package/dist/keys/generation.js +2 -2
- package/dist/keys/types.d.ts +5 -5
- package/dist/keys/types.d.ts.map +1 -1
- package/dist/keys/types.js +1 -1
- package/dist/layers.d.ts +1 -1
- package/dist/layers.js +2 -2
- package/dist/layers.js.map +1 -1
- package/dist/local/store/expo/adapter.d.ts.map +1 -1
- package/dist/local/store/expo/adapter.js +12 -8
- package/dist/local/store/expo/adapter.js.map +1 -1
- package/dist/local/store/key-value/adapter.d.ts +76 -10
- package/dist/local/store/key-value/adapter.d.ts.map +1 -1
- package/dist/local/store/key-value/adapter.js +367 -61
- package/dist/local/store/key-value/adapter.js.map +1 -1
- package/dist/local/store/key-value/backend-conformance.d.ts.map +1 -1
- package/dist/local/store/key-value/backend-conformance.js +74 -0
- package/dist/local/store/key-value/backend-conformance.js.map +1 -1
- package/dist/local/store/key-value/batch.d.ts +2 -0
- package/dist/local/store/key-value/batch.d.ts.map +1 -1
- package/dist/local/store/key-value/batch.js +26 -0
- package/dist/local/store/key-value/batch.js.map +1 -1
- package/dist/local/store/key-value/receive-work.d.ts +55 -0
- package/dist/local/store/key-value/receive-work.d.ts.map +1 -0
- package/dist/local/store/key-value/receive-work.js +162 -0
- package/dist/local/store/key-value/receive-work.js.map +1 -0
- package/dist/local/store/key-value/send-log.d.ts +61 -0
- package/dist/local/store/key-value/send-log.d.ts.map +1 -0
- package/dist/local/store/key-value/send-log.js +430 -0
- package/dist/local/store/key-value/send-log.js.map +1 -0
- package/dist/local/store/key-value/sender-key-handoff.d.ts +68 -0
- package/dist/local/store/key-value/sender-key-handoff.d.ts.map +1 -0
- package/dist/local/store/key-value/sender-key-handoff.js +189 -0
- package/dist/local/store/key-value/sender-key-handoff.js.map +1 -0
- package/dist/local/store/key-value/storage.d.ts +15 -0
- package/dist/local/store/key-value/storage.d.ts.map +1 -1
- package/dist/local/store/keyed-index.d.ts +23 -0
- package/dist/local/store/keyed-index.d.ts.map +1 -0
- package/dist/local/store/keyed-index.js +41 -0
- package/dist/local/store/keyed-index.js.map +1 -0
- package/dist/local/store/memory/adapter.d.ts +44 -12
- package/dist/local/store/memory/adapter.d.ts.map +1 -1
- package/dist/local/store/memory/adapter.js +197 -46
- package/dist/local/store/memory/adapter.js.map +1 -1
- package/dist/local/store/memory/send-log.d.ts +42 -0
- package/dist/local/store/memory/send-log.d.ts.map +1 -0
- package/dist/local/store/memory/send-log.js +190 -0
- package/dist/local/store/memory/send-log.js.map +1 -0
- package/dist/local/store/node/adapter.d.ts.map +1 -1
- package/dist/local/store/node/adapter.js +8 -6
- package/dist/local/store/node/adapter.js.map +1 -1
- package/dist/local/store/react-native/adapter.d.ts.map +1 -1
- package/dist/local/store/react-native/adapter.js +12 -8
- package/dist/local/store/react-native/adapter.js.map +1 -1
- package/dist/local/store/receive-work.d.ts +87 -0
- package/dist/local/store/receive-work.d.ts.map +1 -0
- package/dist/local/store/receive-work.js +204 -0
- package/dist/local/store/receive-work.js.map +1 -0
- package/dist/local/store/received-content.d.ts +3 -3
- package/dist/local/store/received-content.d.ts.map +1 -1
- package/dist/local/store/received-content.js +2 -11
- package/dist/local/store/received-content.js.map +1 -1
- package/dist/local/store/reliability.d.ts +411 -14
- package/dist/local/store/reliability.d.ts.map +1 -1
- package/dist/local/store/reliability.js +532 -58
- package/dist/local/store/reliability.js.map +1 -1
- package/dist/local/store/send-log-order.d.ts +15 -0
- package/dist/local/store/send-log-order.d.ts.map +1 -0
- package/dist/local/store/send-log-order.js +24 -0
- package/dist/local/store/send-log-order.js.map +1 -0
- package/dist/local/store/sender-key-handoff-index.d.ts +38 -0
- package/dist/local/store/sender-key-handoff-index.d.ts.map +1 -0
- package/dist/local/store/sender-key-handoff-index.js +101 -0
- package/dist/local/store/sender-key-handoff-index.js.map +1 -0
- package/dist/local/store/sender-key-handoff-table.d.ts +29 -0
- package/dist/local/store/sender-key-handoff-table.d.ts.map +1 -0
- package/dist/local/store/sender-key-handoff-table.js +97 -0
- package/dist/local/store/sender-key-handoff-table.js.map +1 -0
- package/dist/local/store/sqlite/encryption.d.ts +8 -1
- package/dist/local/store/sqlite/encryption.d.ts.map +1 -1
- package/dist/local/store/sqlite/encryption.js +9 -0
- package/dist/local/store/sqlite/encryption.js.map +1 -1
- package/dist/local/store/sqlite/key-storage/index.d.ts +25 -4
- package/dist/local/store/sqlite/key-storage/index.d.ts.map +1 -1
- package/dist/local/store/sqlite/key-storage/index.js +68 -7
- package/dist/local/store/sqlite/key-storage/index.js.map +1 -1
- package/dist/local/store/sqlite/key-storage/message-records.d.ts +16 -4
- package/dist/local/store/sqlite/key-storage/message-records.d.ts.map +1 -1
- package/dist/local/store/sqlite/key-storage/message-records.js +49 -6
- package/dist/local/store/sqlite/key-storage/message-records.js.map +1 -1
- package/dist/local/store/sqlite/key-storage/metadata.d.ts +8 -7
- package/dist/local/store/sqlite/key-storage/metadata.d.ts.map +1 -1
- package/dist/local/store/sqlite/key-storage/metadata.js +17 -15
- package/dist/local/store/sqlite/key-storage/metadata.js.map +1 -1
- package/dist/local/store/sqlite/key-storage/receive-work.d.ts +27 -0
- package/dist/local/store/sqlite/key-storage/receive-work.d.ts.map +1 -0
- package/dist/local/store/sqlite/key-storage/receive-work.js +98 -0
- package/dist/local/store/sqlite/key-storage/receive-work.js.map +1 -0
- package/dist/local/store/sqlite/key-storage/send-log.d.ts +27 -0
- package/dist/local/store/sqlite/key-storage/send-log.d.ts.map +1 -0
- package/dist/local/store/sqlite/key-storage/send-log.js +178 -0
- package/dist/local/store/sqlite/key-storage/send-log.js.map +1 -0
- package/dist/local/store/sqlite/key-storage/sender-key-handoff.d.ts +27 -0
- package/dist/local/store/sqlite/key-storage/sender-key-handoff.d.ts.map +1 -0
- package/dist/local/store/sqlite/key-storage/sender-key-handoff.js +75 -0
- package/dist/local/store/sqlite/key-storage/sender-key-handoff.js.map +1 -0
- package/dist/local/store/sqlite/key-storage/session-trust.d.ts +2 -2
- package/dist/local/store/sqlite/key-storage/session-trust.js +5 -5
- package/dist/local/store/sqlite/key-storage/session-trust.js.map +1 -1
- package/dist/local/store/sqlite/migrations.d.ts.map +1 -1
- package/dist/local/store/sqlite/migrations.js +101 -0
- package/dist/local/store/sqlite/migrations.js.map +1 -1
- package/dist/local/store/sqlite/models/index.d.ts +2 -1
- package/dist/local/store/sqlite/models/index.d.ts.map +1 -1
- package/dist/local/store/sqlite/models/index.js +5 -1
- package/dist/local/store/sqlite/models/index.js.map +1 -1
- package/dist/local/store/sqlite/models/message-record.d.ts +15 -0
- package/dist/local/store/sqlite/models/message-record.d.ts.map +1 -1
- package/dist/local/store/sqlite/models/message-record.js +24 -0
- package/dist/local/store/sqlite/models/message-record.js.map +1 -1
- package/dist/local/store/sqlite/models/send-log.d.ts +51 -0
- package/dist/local/store/sqlite/models/send-log.d.ts.map +1 -0
- package/dist/local/store/sqlite/models/send-log.js +206 -0
- package/dist/local/store/sqlite/models/send-log.js.map +1 -0
- package/dist/local/store/sqlite/open-store.d.ts +9 -1
- package/dist/local/store/sqlite/open-store.d.ts.map +1 -1
- package/dist/local/store/sqlite/open-store.js +20 -1
- package/dist/local/store/sqlite/open-store.js.map +1 -1
- package/dist/local/store/sqlite/schema.d.ts +34 -1
- package/dist/local/store/sqlite/schema.d.ts.map +1 -1
- package/dist/local/store/sqlite/schema.js +14 -0
- package/dist/local/store/sqlite/schema.js.map +1 -1
- package/dist/local/store/sqlite/store.d.ts +61 -11
- package/dist/local/store/sqlite/store.d.ts.map +1 -1
- package/dist/local/store/sqlite/store.js +191 -27
- package/dist/local/store/sqlite/store.js.map +1 -1
- package/dist/local/store/web/adapter.d.ts +76 -8
- package/dist/local/store/web/adapter.d.ts.map +1 -1
- package/dist/local/store/web/adapter.js +579 -127
- package/dist/local/store/web/adapter.js.map +1 -1
- package/dist/local/store/web/receive-work.d.ts +57 -0
- package/dist/local/store/web/receive-work.d.ts.map +1 -0
- package/dist/local/store/web/receive-work.js +99 -0
- package/dist/local/store/web/receive-work.js.map +1 -0
- package/dist/local/store/web/send-log.d.ts +92 -0
- package/dist/local/store/web/send-log.d.ts.map +1 -0
- package/dist/local/store/web/send-log.js +267 -0
- package/dist/local/store/web/send-log.js.map +1 -0
- package/dist/local/store/web/sender-key-handoff.d.ts +81 -0
- package/dist/local/store/web/sender-key-handoff.d.ts.map +1 -0
- package/dist/local/store/web/sender-key-handoff.js +156 -0
- package/dist/local/store/web/sender-key-handoff.js.map +1 -0
- package/dist/local/store/web-sqlite/adapter.d.ts +2 -0
- package/dist/local/store/web-sqlite/adapter.d.ts.map +1 -1
- package/dist/local/store/web-sqlite/adapter.js +12 -6
- package/dist/local/store/web-sqlite/adapter.js.map +1 -1
- package/dist/local/vault/custody.d.ts +8 -0
- package/dist/local/vault/custody.d.ts.map +1 -0
- package/dist/local/vault/custody.js +9 -0
- package/dist/local/vault/custody.js.map +1 -0
- package/dist/local/vault/electron-safe-storage.d.ts +3 -1
- package/dist/local/vault/electron-safe-storage.d.ts.map +1 -1
- package/dist/local/vault/electron-safe-storage.js +2 -0
- package/dist/local/vault/electron-safe-storage.js.map +1 -1
- package/dist/local/vault/expo-secure-store.d.ts +3 -1
- package/dist/local/vault/expo-secure-store.d.ts.map +1 -1
- package/dist/local/vault/expo-secure-store.js +2 -0
- package/dist/local/vault/expo-secure-store.js.map +1 -1
- package/dist/local/vault/indexed-db.d.ts +3 -1
- package/dist/local/vault/indexed-db.d.ts.map +1 -1
- package/dist/local/vault/indexed-db.js +2 -0
- package/dist/local/vault/indexed-db.js.map +1 -1
- package/dist/local/vault/react-native-keychain.d.ts +3 -1
- package/dist/local/vault/react-native-keychain.d.ts.map +1 -1
- package/dist/local/vault/react-native-keychain.js +2 -0
- package/dist/local/vault/react-native-keychain.js.map +1 -1
- package/dist/remote/relay/device-set.d.ts +94 -0
- package/dist/remote/relay/device-set.d.ts.map +1 -0
- package/dist/remote/relay/device-set.js +156 -0
- package/dist/remote/relay/device-set.js.map +1 -0
- package/dist/remote/relay/types.d.ts +104 -110
- package/dist/remote/relay/types.d.ts.map +1 -1
- package/dist/safety/core.d.ts +15 -6
- package/dist/safety/core.d.ts.map +1 -1
- package/dist/safety/core.js +41 -27
- package/dist/safety/core.js.map +1 -1
- package/dist/safety/index.d.ts +2 -1
- package/dist/safety/index.d.ts.map +1 -1
- package/dist/safety/index.js +12 -18
- package/dist/safety/index.js.map +1 -1
- package/dist/types/api.d.ts +707 -62
- package/dist/types/api.d.ts.map +1 -1
- package/dist/types/errors.d.ts +14 -33
- package/dist/types/errors.d.ts.map +1 -1
- package/dist/types/errors.js +14 -24
- package/dist/types/errors.js.map +1 -1
- package/dist/types/messages.d.ts +2 -2
- package/dist/types/messages.js +1 -1
- package/dist/types/protocol-config.d.ts +175 -42
- package/dist/types/protocol-config.d.ts.map +1 -1
- package/dist/types/protocol-config.js +19 -38
- package/dist/types/protocol-config.js.map +1 -1
- package/dist/types/protocol-constants.d.ts +6 -6
- package/dist/types/protocol-constants.js +6 -6
- package/dist/types/session.d.ts +7 -7
- package/dist/types/session.d.ts.map +1 -1
- package/dist/types/session.js +39 -21
- package/dist/types/session.js.map +1 -1
- package/dist/username/link.d.ts +2 -2
- package/dist/username/link.js +2 -2
- package/dist/utils/origin-lock.d.ts +45 -0
- package/dist/utils/origin-lock.d.ts.map +1 -0
- package/dist/utils/origin-lock.js +80 -0
- package/dist/utils/origin-lock.js.map +1 -0
- package/dist/utils/retry.d.ts +2 -0
- package/dist/utils/retry.d.ts.map +1 -1
- package/dist/utils/retry.js +7 -0
- package/dist/utils/retry.js.map +1 -1
- package/docs/ASSURANCE.md +6 -6
- package/docs/CLIENT_COMPOSITION.md +2 -2
- package/docs/DEVIATIONS.md +677 -182
- package/docs/E2EE.md +1 -1
- package/docs/ERROR_HANDLING.md +235 -2
- package/docs/GETTING_STARTED.md +7 -4
- package/docs/INTERFACES.md +1 -1
- package/docs/PACKAGE_SURFACE.md +6 -5
- package/docs/PROTOCOL_POLICY.md +102 -22
- package/docs/RECIPES.md +3 -15
- package/docs/SECURITY.md +90 -5
- package/keys/README.md +3 -3
- package/local/store/README.md +78 -14
- package/local/store/key-value/README.md +14 -3
- package/local/store/node/README.md +8 -3
- package/local/store/web/README.md +9 -0
- package/local/store/web-sqlite/README.md +14 -2
- package/local/vault/README.md +21 -0
- package/package.json +1 -6
- package/remote/README.md +0 -1
- package/remote/relay/README.md +2 -2
- package/dist/device/provisioning.d.ts +0 -242
- package/dist/device/provisioning.d.ts.map +0 -1
- package/dist/device/provisioning.js +0 -421
- package/dist/device/provisioning.js.map +0 -1
- package/dist/internal/protocol/x3dh/index.d.ts +0 -15
- package/dist/internal/protocol/x3dh/index.d.ts.map +0 -1
- package/dist/internal/protocol/x3dh/index.js +0 -13
- package/dist/internal/protocol/x3dh/index.js.map +0 -1
- package/dist/internal/protocol/x3dh/x3dh.d.ts +0 -131
- package/dist/internal/protocol/x3dh/x3dh.d.ts.map +0 -1
- package/dist/internal/protocol/x3dh/x3dh.js +0 -261
- package/dist/internal/protocol/x3dh/x3dh.js.map +0 -1
|
@@ -12,6 +12,13 @@ export declare const RELIABILITY_RECORD_TTL_MS: number;
|
|
|
12
12
|
* time after the failure.
|
|
13
13
|
*/
|
|
14
14
|
export declare const RETRY_REQUESTER_RECORD_TTL_MS: number;
|
|
15
|
+
/**
|
|
16
|
+
* The time from the first failure of a retry request to its end: 14 days,
|
|
17
|
+
* the default retention of resendable content of a sender,
|
|
18
|
+
* `RESENDABLE_CONTENT_RETENTION_MS`. A request whose content did not come
|
|
19
|
+
* at this time ends as `expired-content`.
|
|
20
|
+
*/
|
|
21
|
+
export declare const RETRY_REQUEST_DEADLINE_MS: number;
|
|
15
22
|
export interface StoredOutgoingDeviceMessage {
|
|
16
23
|
recipientUserId: string;
|
|
17
24
|
recipientDeviceId: number;
|
|
@@ -24,6 +31,15 @@ export interface StoredOutgoingDeviceMessage {
|
|
|
24
31
|
sealedSenderAccessKey?: string;
|
|
25
32
|
sealedSenderAuthorization?: 'access_key' | 'group_send_token';
|
|
26
33
|
sealedSenderDeliveryMode?: 'preferred' | 'required';
|
|
34
|
+
/**
|
|
35
|
+
* The own sender key that a distribution pre-message gives. When the Relay
|
|
36
|
+
* accepts the pre-message, the send records a handoff row for this key and
|
|
37
|
+
* `recipientRegistrationId`. It holds no key material.
|
|
38
|
+
*/
|
|
39
|
+
senderKeyHandoff?: {
|
|
40
|
+
senderKeyId: string;
|
|
41
|
+
generation: number;
|
|
42
|
+
};
|
|
27
43
|
}
|
|
28
44
|
export interface StoredGroupSharedMessage {
|
|
29
45
|
groupId: string;
|
|
@@ -57,6 +73,33 @@ export interface StoredOutgoingMessageIntent {
|
|
|
57
73
|
* not yet applied the list to this intent.
|
|
58
74
|
*/
|
|
59
75
|
reconcilePending?: true;
|
|
76
|
+
/**
|
|
77
|
+
* The restarts of each phase of a declared send. The write that commits a
|
|
78
|
+
* repair also adds one to the count of its phase.
|
|
79
|
+
*/
|
|
80
|
+
deviceSetRestarts?: {
|
|
81
|
+
recipient?: number;
|
|
82
|
+
sync?: number;
|
|
83
|
+
};
|
|
84
|
+
/** The terminal record of a phase that ended without reconciliation. */
|
|
85
|
+
deviceSetUnresolved?: StoredDeviceSetUnresolved;
|
|
86
|
+
/**
|
|
87
|
+
* The listed devices of each phase of a declared send that had no prekey
|
|
88
|
+
* bundle at the last repair of the phase. They have no message in the
|
|
89
|
+
* intent. A replay starts a session with each of them before its first
|
|
90
|
+
* post, so a device that uploaded a bundle after the repair gets the
|
|
91
|
+
* message. A new run after a terminal end keeps them.
|
|
92
|
+
*/
|
|
93
|
+
deviceSetBundleMissing?: {
|
|
94
|
+
recipient?: OutgoingGroupDevice[];
|
|
95
|
+
sync?: OutgoingGroupDevice[];
|
|
96
|
+
};
|
|
97
|
+
/**
|
|
98
|
+
* The recipient phase completed and the sync phase did not. The intent
|
|
99
|
+
* keeps its sync messages, and a replay posts only them. With no sync
|
|
100
|
+
* messages, the read of the own device list failed, and a replay reads it.
|
|
101
|
+
*/
|
|
102
|
+
syncPending?: true;
|
|
60
103
|
result?: {
|
|
61
104
|
clientMessageId: string;
|
|
62
105
|
messageId: string;
|
|
@@ -64,24 +107,136 @@ export interface StoredOutgoingMessageIntent {
|
|
|
64
107
|
recipientDeviceCount: number;
|
|
65
108
|
duplicate?: boolean;
|
|
66
109
|
expiresAt?: number;
|
|
110
|
+
refusedDestinationCount?: number;
|
|
67
111
|
groupId?: string;
|
|
68
112
|
};
|
|
69
113
|
}
|
|
114
|
+
/** The terminal record of a declared send phase that ended without reconciliation. */
|
|
115
|
+
export interface StoredDeviceSetUnresolved {
|
|
116
|
+
phase: 'recipient' | 'sync';
|
|
117
|
+
reason: 'exhausted' | 'expired';
|
|
118
|
+
restarts: number;
|
|
119
|
+
lastRefusal?: {
|
|
120
|
+
code: 'DEVICE_SET_MISMATCH' | 'STALE_DEVICE' | 'BUNDLE_NOT_FOUND';
|
|
121
|
+
accounts: {
|
|
122
|
+
userId: string;
|
|
123
|
+
missingDeviceIds: number[];
|
|
124
|
+
extraDeviceIds: number[];
|
|
125
|
+
staleDeviceIds: number[];
|
|
126
|
+
}[];
|
|
127
|
+
};
|
|
128
|
+
}
|
|
70
129
|
type ReliabilityMetadataStore = Pick<SignalProtocolLocalStore, 'getMetadata' | 'setMetadata' | 'deleteMetadata'>;
|
|
71
130
|
export declare function withOutgoingMessageIntentLock<T>(store: ReliabilityMetadataStore, clientMessageId: string, operation: () => Promise<T>): Promise<T>;
|
|
72
131
|
export declare function withProcessedEnvelopeLock<T>(store: ReliabilityMetadataStore, envelopeId: string, operation: () => Promise<T>): Promise<T>;
|
|
73
|
-
|
|
132
|
+
/** One device of a group intent: an account and one of its devices. */
|
|
133
|
+
export interface OutgoingGroupDevice {
|
|
134
|
+
userId: string;
|
|
135
|
+
deviceId: number;
|
|
136
|
+
}
|
|
137
|
+
/** A change of the device set of a group intent. */
|
|
138
|
+
export interface OutgoingGroupDeviceSetChange {
|
|
139
|
+
/** The devices whose pre-messages, device messages, and sync messages leave the intent. */
|
|
140
|
+
removed: readonly OutgoingGroupDevice[];
|
|
141
|
+
preMessages: readonly StoredOutgoingDeviceMessage[];
|
|
142
|
+
deviceMessages: readonly StoredOutgoingDeviceMessage[];
|
|
143
|
+
syncMessages: readonly StoredOutgoingDeviceMessage[];
|
|
144
|
+
/**
|
|
145
|
+
* The sealed shared body that replaces the stored body, or null when the
|
|
146
|
+
* send no longer has a shared body. Absent when the body does not change.
|
|
147
|
+
*/
|
|
148
|
+
groupSharedMessage?: StoredGroupSharedMessage | null;
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* Apply a change of the device set to a group intent in one write. Each
|
|
152
|
+
* removed device first loses all of its messages. Then each new message is
|
|
153
|
+
* appended to its list. A new message for a device that still has a message
|
|
154
|
+
* in the same list must be equal to it, and is not appended again. The same
|
|
155
|
+
* write replaces or removes the shared body when the change names one.
|
|
156
|
+
*/
|
|
157
|
+
export declare function reconcileOutgoingGroupDeviceSet(store: ReliabilityMetadataStore, clientMessageId: string, change: OutgoingGroupDeviceSetChange): Promise<StoredOutgoingMessageIntent>;
|
|
158
|
+
/** A repair of the device set of one phase of a declared send. */
|
|
159
|
+
export interface OutgoingDeviceSetRepair {
|
|
160
|
+
phase: 'recipient' | 'sync';
|
|
161
|
+
/** The restart count after this repair. It is one more than the stored count. */
|
|
162
|
+
restarts: number;
|
|
163
|
+
/** The devices whose pre-messages, device messages, and sync messages leave the intent. */
|
|
164
|
+
removed: readonly OutgoingGroupDevice[];
|
|
165
|
+
/**
|
|
166
|
+
* The listed devices of the phase that had no prekey bundle at this
|
|
167
|
+
* repair. They replace the stored bundle-missing devices of the phase.
|
|
168
|
+
*/
|
|
169
|
+
bundleMissing?: readonly OutgoingGroupDevice[];
|
|
170
|
+
preMessages?: readonly StoredOutgoingDeviceMessage[];
|
|
171
|
+
deviceMessages?: readonly StoredOutgoingDeviceMessage[];
|
|
172
|
+
syncMessages?: readonly StoredOutgoingDeviceMessage[];
|
|
173
|
+
/**
|
|
174
|
+
* The sealed shared body that replaces the refused body of a group send,
|
|
175
|
+
* or null when no member of the send remains in a shared body.
|
|
176
|
+
*/
|
|
177
|
+
groupSharedMessage?: StoredGroupSharedMessage | null;
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* Commit the repair of a declared send phase and its restart count in one
|
|
181
|
+
* write. Each removed device first loses all of its messages. Then each new
|
|
182
|
+
* message is appended to its list. A completed intent takes a repair only of
|
|
183
|
+
* its pending sync phase, and a terminal intent takes none.
|
|
184
|
+
*/
|
|
185
|
+
export declare function repairOutgoingDeviceSet(store: ReliabilityMetadataStore, clientMessageId: string, repair: OutgoingDeviceSetRepair): Promise<StoredOutgoingMessageIntent>;
|
|
186
|
+
/**
|
|
187
|
+
* Record that a phase of a declared send ended without reconciliation. The
|
|
188
|
+
* restart counts stay. The SDK does not post the phase again until the
|
|
189
|
+
* application calls `send()` with the same `clientMessageId`.
|
|
190
|
+
*/
|
|
191
|
+
export declare function markOutgoingDeviceSetUnresolved(store: ReliabilityMetadataStore, clientMessageId: string, unresolved: StoredDeviceSetUnresolved): Promise<StoredOutgoingMessageIntent>;
|
|
192
|
+
/**
|
|
193
|
+
* Start a new run of a terminal declared send at 0 restarts: remove the
|
|
194
|
+
* terminal record and the restart counts in one write. An intent that is not
|
|
195
|
+
* terminal keeps its counts.
|
|
196
|
+
*/
|
|
197
|
+
export declare function restartOutgoingDeviceSet(store: ReliabilityMetadataStore, clientMessageId: string): Promise<StoredOutgoingMessageIntent>;
|
|
198
|
+
/**
|
|
199
|
+
* Complete the pending sync phase of a completed intent: remove its sync
|
|
200
|
+
* messages, its restart counts, and its terminal record.
|
|
201
|
+
*/
|
|
202
|
+
export declare function completeOutgoingSyncPhase(store: ReliabilityMetadataStore, clientMessageId: string): Promise<void>;
|
|
74
203
|
/**
|
|
75
|
-
*
|
|
76
|
-
*
|
|
204
|
+
* The result of a completed intent as a send returns it. A pending sync
|
|
205
|
+
* phase gives `syncPending`.
|
|
77
206
|
*/
|
|
78
|
-
export declare function
|
|
207
|
+
export declare function outgoingMessageIntentResult(intent: StoredOutgoingMessageIntent): (NonNullable<StoredOutgoingMessageIntent['result']> & {
|
|
208
|
+
syncPending?: true;
|
|
209
|
+
}) | undefined;
|
|
210
|
+
/**
|
|
211
|
+
* Remove the pre-messages that the relay accepted or that the send dropped
|
|
212
|
+
* from a group intent, so a replay posts only the pre-messages that the relay
|
|
213
|
+
* did not accept. Each device in `removedDevices` loses all of its messages
|
|
214
|
+
* in the same write.
|
|
215
|
+
*/
|
|
216
|
+
export declare function confirmOutgoingPreMessages(store: ReliabilityMetadataStore, clientMessageId: string, acceptedClientMessageIds: readonly string[], removedDevices?: readonly OutgoingGroupDevice[]): Promise<StoredOutgoingMessageIntent>;
|
|
217
|
+
/**
|
|
218
|
+
* Replace stored pre-messages of a group intent in one write. Each
|
|
219
|
+
* replacement keeps the target and the timestamp of the pre-message that it
|
|
220
|
+
* replaces, and the stored pre-message must still equal the expected one.
|
|
221
|
+
*/
|
|
222
|
+
export declare function replaceOutgoingGroupPreMessages(store: ReliabilityMetadataStore, clientMessageId: string, replacements: readonly {
|
|
223
|
+
expected: StoredOutgoingDeviceMessage;
|
|
224
|
+
replacement: StoredOutgoingDeviceMessage;
|
|
225
|
+
}[]): Promise<StoredOutgoingMessageIntent>;
|
|
79
226
|
/**
|
|
80
227
|
* Apply the recipient's device list to a direct intent in one write: remove
|
|
81
228
|
* the messages of the devices that the list no longer shows, append a message
|
|
82
229
|
* for each newly listed device, and clear the pending reconcile.
|
|
83
230
|
*/
|
|
84
231
|
export declare function reconcileOutgoingDirectDeviceMessages(store: ReliabilityMetadataStore, clientMessageId: string, removedDeviceIds: readonly number[], messages: StoredOutgoingDeviceMessage[]): Promise<StoredOutgoingMessageIntent>;
|
|
232
|
+
/**
|
|
233
|
+
* Change the sync copies of a direct or group intent in one write. The sync
|
|
234
|
+
* copies of each removed own device leave the intent first. Then each new
|
|
235
|
+
* sync copy is appended. A new copy for a device that still has a copy must
|
|
236
|
+
* be equal to it, and is not appended again. A completed intent accepts the
|
|
237
|
+
* change only while its sync phase is pending.
|
|
238
|
+
*/
|
|
239
|
+
export declare function reconcileOutgoingSyncMessages(store: ReliabilityMetadataStore, clientMessageId: string, removedDeviceIds: readonly number[], additions: readonly StoredOutgoingDeviceMessage[]): Promise<StoredOutgoingMessageIntent>;
|
|
85
240
|
export declare function replaceOutgoingDirectDeviceMessage(store: ReliabilityMetadataStore, clientMessageId: string, expected: StoredOutgoingDeviceMessage, replacement: StoredOutgoingDeviceMessage): Promise<StoredOutgoingMessageIntent>;
|
|
86
241
|
export declare function getOutgoingMessageIntent(store: ReliabilityMetadataStore, clientMessageId: string, now?: number): Promise<StoredOutgoingMessageIntent | null>;
|
|
87
242
|
export declare function storeOutgoingMessageIntent(store: ReliabilityMetadataStore, intent: StoredOutgoingMessageIntent, now?: number): Promise<void>;
|
|
@@ -118,7 +273,16 @@ export interface StoredDeliveryStatus {
|
|
|
118
273
|
* message ID counts.
|
|
119
274
|
*/
|
|
120
275
|
export declare function updateDeliveryStatus<T>(store: ReliabilityMetadataStore, clientMessageId: string, update: (status: StoredDeliveryStatus, intent: StoredOutgoingMessageIntent) => T, now?: number): Promise<T | undefined>;
|
|
121
|
-
|
|
276
|
+
/**
|
|
277
|
+
* Complete an outgoing intent with its Relay result. With `syncPending`,
|
|
278
|
+
* the recipient phase completed and the sync phase did not: the intent keeps
|
|
279
|
+
* its sync messages and the restart count of its sync phase, so a replay
|
|
280
|
+
* posts only the sync messages. With `syncPending` and no sync messages, the
|
|
281
|
+
* read of the own device list failed, and a replay reads it.
|
|
282
|
+
*/
|
|
283
|
+
export declare function completeOutgoingMessageIntent(store: ReliabilityMetadataStore, clientMessageId: string, result: NonNullable<StoredOutgoingMessageIntent['result']>, options?: {
|
|
284
|
+
syncPending?: boolean;
|
|
285
|
+
}): Promise<void>;
|
|
122
286
|
/** The record of one envelope ID that the local device processed. */
|
|
123
287
|
export interface ProcessedEnvelope {
|
|
124
288
|
/** The time of the processing. The record expires from this time. */
|
|
@@ -131,6 +295,28 @@ export interface ProcessedEnvelope {
|
|
|
131
295
|
* each later member of its retry family.
|
|
132
296
|
*/
|
|
133
297
|
fulfilled?: true;
|
|
298
|
+
/**
|
|
299
|
+
* True when the application finished the content of this failed envelope:
|
|
300
|
+
* the receive record of its resend completed. `onDeliveryRecovered` waits
|
|
301
|
+
* for this fact, not for `fulfilled`.
|
|
302
|
+
*/
|
|
303
|
+
completed?: true;
|
|
304
|
+
/**
|
|
305
|
+
* The end of a receive record that the application never got: `denied`
|
|
306
|
+
* after a refusal, `expired` after 30 days of waiting or after
|
|
307
|
+
* `discardPendingReceive`.
|
|
308
|
+
*/
|
|
309
|
+
outcome?: ProcessedEnvelopeOutcome;
|
|
310
|
+
}
|
|
311
|
+
/** The end of a receive record that the application never got. */
|
|
312
|
+
export type ProcessedEnvelopeOutcome = 'denied' | 'expired';
|
|
313
|
+
/** The fields of one processed-envelope write. */
|
|
314
|
+
export interface ProcessedEnvelopeWrite {
|
|
315
|
+
envelopeId: string;
|
|
316
|
+
fingerprint?: string;
|
|
317
|
+
fulfilled?: true;
|
|
318
|
+
completed?: true;
|
|
319
|
+
outcome?: ProcessedEnvelopeOutcome;
|
|
134
320
|
}
|
|
135
321
|
/**
|
|
136
322
|
* Get the processed-envelope record of one envelope ID. A record older
|
|
@@ -145,7 +331,7 @@ export declare function getProcessedEnvelope(store: ReliabilityMetadataStore, en
|
|
|
145
331
|
export declare function hasProcessedEnvelope(store: ReliabilityMetadataStore, envelopeId: string, now?: number): Promise<boolean>;
|
|
146
332
|
/**
|
|
147
333
|
* Record that the local device processed one envelope ID. The write keeps
|
|
148
|
-
* the fingerprint and the
|
|
334
|
+
* the fingerprint, the flags, and the outcome of a record that counts, so a
|
|
149
335
|
* later store for the same ID never clears them.
|
|
150
336
|
*
|
|
151
337
|
* @param fulfilled - True when the application got the content of this
|
|
@@ -153,6 +339,22 @@ export declare function hasProcessedEnvelope(store: ReliabilityMetadataStore, en
|
|
|
153
339
|
* one write.
|
|
154
340
|
*/
|
|
155
341
|
export declare function storeProcessedEnvelope(store: ReliabilityMetadataStore, envelopeId: string, processedAt?: number, fingerprint?: string, fulfilled?: true): Promise<void>;
|
|
342
|
+
/**
|
|
343
|
+
* Write several processed-envelope records in one turn of the mutation
|
|
344
|
+
* queue. A denial with no receive record uses it: the denied outcome and
|
|
345
|
+
* the processed fact of the envelope land together.
|
|
346
|
+
*/
|
|
347
|
+
export declare function writeProcessedEnvelopes(store: ReliabilityMetadataStore, writes: readonly ProcessedEnvelopeWrite[], processedAt?: number): Promise<void>;
|
|
348
|
+
/**
|
|
349
|
+
* Complete one receive record: delete it and write its processed-envelope
|
|
350
|
+
* records in one atomic store write. The writes run against a buffer over
|
|
351
|
+
* the store, so the ledger index and the records commit with the delete or
|
|
352
|
+
* not at all.
|
|
353
|
+
*
|
|
354
|
+
* @returns False, with nothing written, when the stored revision of the
|
|
355
|
+
* receive record is not `expectedRevision`.
|
|
356
|
+
*/
|
|
357
|
+
export declare function completeReceiveRecord(store: ReliabilityMetadataStore & Pick<SignalProtocolLocalStore, 'completeReceiveWork'>, workId: string, expectedRevision: number, writes: readonly ProcessedEnvelopeWrite[], processedAt?: number): Promise<boolean>;
|
|
156
358
|
/**
|
|
157
359
|
* The relay gave a failed envelope ID again with other content after the
|
|
158
360
|
* local device stored a retry request for that ID.
|
|
@@ -277,9 +479,152 @@ export interface StoredRetryRequest {
|
|
|
277
479
|
* answer attempt n, and its post is a replay.
|
|
278
480
|
*/
|
|
279
481
|
answered: boolean;
|
|
280
|
-
/**
|
|
281
|
-
|
|
482
|
+
/**
|
|
483
|
+
* True when the failed envelope is a sender-key group message. A resend
|
|
484
|
+
* that brings only the sender key then does not give the content of the
|
|
485
|
+
* failed envelope.
|
|
486
|
+
*/
|
|
487
|
+
groupMessage?: boolean;
|
|
488
|
+
/**
|
|
489
|
+
* The client message ID of the failed envelope, when its relay delivered
|
|
490
|
+
* one. Every attempt of the record carries it.
|
|
491
|
+
*/
|
|
492
|
+
failedClientMessageId?: string;
|
|
493
|
+
/**
|
|
494
|
+
* The raw group ID of the failed envelope, when the local device knows it
|
|
495
|
+
* from the sender key that the message names, from the receive that
|
|
496
|
+
* resolved its group, or from the decrypt that gave its content. A
|
|
497
|
+
* pairwise failure has none. Each later attempt keeps it.
|
|
498
|
+
*/
|
|
499
|
+
groupId?: string;
|
|
500
|
+
/**
|
|
501
|
+
* The time when the local device first failed to decrypt the failed
|
|
502
|
+
* envelope. Each later attempt keeps it. The delivery error of the record
|
|
503
|
+
* counts from it.
|
|
504
|
+
*/
|
|
505
|
+
receivedAt?: number;
|
|
506
|
+
/**
|
|
507
|
+
* The content hint of the failed envelope, when it named one. It sets
|
|
508
|
+
* when the client reports the delivery error. Each later attempt keeps it.
|
|
509
|
+
*/
|
|
510
|
+
contentHint?: ContentHint;
|
|
511
|
+
/** The device that sent the failed envelope. Each later attempt keeps it. */
|
|
512
|
+
failedSender?: {
|
|
513
|
+
userId: string;
|
|
514
|
+
deviceId: number;
|
|
515
|
+
};
|
|
516
|
+
/**
|
|
517
|
+
* True after the `onDeliveryError` hook returned for the failed envelope.
|
|
518
|
+
* Each later attempt keeps it, so the hook runs again only when it did not
|
|
519
|
+
* return.
|
|
520
|
+
*/
|
|
521
|
+
errorShown?: boolean;
|
|
522
|
+
/**
|
|
523
|
+
* True after the `onDeliveryRecovered` hook returned for the failed
|
|
524
|
+
* envelope. Each later attempt keeps it, so the hook runs again only when
|
|
525
|
+
* it did not return.
|
|
526
|
+
*/
|
|
527
|
+
recoveredEmitted?: boolean;
|
|
528
|
+
/**
|
|
529
|
+
* The end of the attempts: the time of attempt 1, which is the first
|
|
530
|
+
* failure, plus `RETRY_REQUEST_DEADLINE_MS`. The failed message timestamp
|
|
531
|
+
* does not change it, and each later attempt keeps it. A request whose
|
|
532
|
+
* content did not come at this time ends as `expired-content`, also when
|
|
533
|
+
* its stored attempt is answered.
|
|
534
|
+
*/
|
|
535
|
+
deadlineAt: number;
|
|
536
|
+
/**
|
|
537
|
+
* The earliest time of the next post of the stored attempt. A new attempt
|
|
538
|
+
* stores its own time, so an attempt whose post a stop or a crash ended
|
|
539
|
+
* stays due. A post that failed with a retryable class sets a later time.
|
|
540
|
+
* A post that the Relay accepts, and a terminal state, clear it. With no
|
|
541
|
+
* value, the Relay holds the attempt, and the record waits for its answer
|
|
542
|
+
* or its deadline.
|
|
543
|
+
*/
|
|
544
|
+
nextAttemptAt?: number;
|
|
545
|
+
/** The class of the last post that failed, until a post succeeds. */
|
|
546
|
+
lastFailureClass?: RetryFailureClass;
|
|
547
|
+
/** The conclusive end of the request. No attempt posts after it. */
|
|
548
|
+
terminal?: RetryTerminal;
|
|
549
|
+
/**
|
|
550
|
+
* The request envelope of the stored attempt. Only a request that ended
|
|
551
|
+
* before its first post, as at an exhausted abuse allowance, has none.
|
|
552
|
+
*/
|
|
553
|
+
envelope?: Envelope;
|
|
554
|
+
/**
|
|
555
|
+
* The session reset of an `expired-content` end. Each step is stored when
|
|
556
|
+
* it ends, so a replay does not do a step again. Only a record whose
|
|
557
|
+
* terminal class is `expired-content` has it.
|
|
558
|
+
*/
|
|
559
|
+
recovery?: RetryTerminalRecovery;
|
|
282
560
|
}
|
|
561
|
+
/**
|
|
562
|
+
* The conclusive end of a retry request or a retry resend.
|
|
563
|
+
*
|
|
564
|
+
* - `missing-sender`: the device that sent the failed message is gone, or
|
|
565
|
+
* it still refuses the request after a refresh of the session with it.
|
|
566
|
+
* - `missing-prekey`: the Relay has no prekey bundle of the requester, so the
|
|
567
|
+
* sender of the resend cannot start a new session.
|
|
568
|
+
* - `revoked-authority`: the Relay revoked the authority of the post.
|
|
569
|
+
* - `expired-content`: the content of the request did not come before its
|
|
570
|
+
* deadline.
|
|
571
|
+
* - `attempts-exhausted`: the resend that answered the fifth attempt of the
|
|
572
|
+
* request, `MAX_RETRY_RESPONSES_PER_MESSAGE`, also failed. The sender
|
|
573
|
+
* answers no later attempt.
|
|
574
|
+
* - `deletion`: the account of the other device is deleted.
|
|
575
|
+
* - `abuse-allowance-exhausted`: the sender used up its retry allowance.
|
|
576
|
+
* - `membership-refused`: the requester is not a current member of the group
|
|
577
|
+
* of the content, or the sender has no source of current group membership.
|
|
578
|
+
* The sender sends no content. Only the answer of a sender ends with it.
|
|
579
|
+
*/
|
|
580
|
+
export type RetryTerminalClass = 'missing-sender' | 'missing-prekey' | 'revoked-authority' | 'expired-content' | 'attempts-exhausted' | 'deletion' | 'abuse-allowance-exhausted' | 'membership-refused';
|
|
581
|
+
/**
|
|
582
|
+
* The class of a retry request post that failed and can succeed later.
|
|
583
|
+
* `transport-outage`: the post did not reach the Relay, its answer is
|
|
584
|
+
* unknown, or the Relay marked its refusal `retryable`. `rate-refusal`: a
|
|
585
|
+
* rate limit or a full mailbox refused it.
|
|
586
|
+
*/
|
|
587
|
+
export type RetryFailureClass = 'transport-outage' | 'rate-refusal';
|
|
588
|
+
/** The terminal state of a retry record. */
|
|
589
|
+
export interface RetryTerminal {
|
|
590
|
+
class: RetryTerminalClass;
|
|
591
|
+
/** The time of the end. */
|
|
592
|
+
at: number;
|
|
593
|
+
/** True after the `onRetryTerminal` hook returned for this end. */
|
|
594
|
+
emitted: boolean;
|
|
595
|
+
}
|
|
596
|
+
/**
|
|
597
|
+
* The session reset that the requester did after a request ended as
|
|
598
|
+
* `expired-content`.
|
|
599
|
+
*/
|
|
600
|
+
export interface RetryTerminalRecovery {
|
|
601
|
+
/** The user of the device that sent the failed envelope. */
|
|
602
|
+
userId: string;
|
|
603
|
+
/** The device whose session the requester archived. */
|
|
604
|
+
deviceId: number;
|
|
605
|
+
/**
|
|
606
|
+
* `applied`: the failed envelope has a known group, and the requester has
|
|
607
|
+
* a sender key for it. `skipped`: the failed envelope has no known group,
|
|
608
|
+
* or the requester has no sender key for it. With each outcome, the reset
|
|
609
|
+
* deletes the handoff rows of each device of the account in every group.
|
|
610
|
+
*/
|
|
611
|
+
senderKey: 'applied' | 'skipped';
|
|
612
|
+
/** The null message to the device. It is absent until that step ends. */
|
|
613
|
+
nullMessage?: RetryTerminalNullMessage;
|
|
614
|
+
}
|
|
615
|
+
/**
|
|
616
|
+
* The null message of a session reset. `sent`: the Relay accepted it.
|
|
617
|
+
* `limited`: the requester sent one to the device less than
|
|
618
|
+
* `RETRY_TERMINAL_NULL_MESSAGE_INTERVAL_MS` before. `failed`: its send
|
|
619
|
+
* failed, and the next ordinary message starts the new session.
|
|
620
|
+
*/
|
|
621
|
+
export interface RetryTerminalNullMessage {
|
|
622
|
+
outcome: 'sent' | 'limited' | 'failed';
|
|
623
|
+
/** The time of the outcome. */
|
|
624
|
+
at: number;
|
|
625
|
+
}
|
|
626
|
+
/** The shortest time between two session reset null messages to one device. */
|
|
627
|
+
export declare const RETRY_TERMINAL_NULL_MESSAGE_INTERVAL_MS: number;
|
|
283
628
|
/**
|
|
284
629
|
* Get the stored retry request for one failed envelope. A record older than
|
|
285
630
|
* `RETRY_REQUESTER_RECORD_TTL_MS` does not count.
|
|
@@ -301,6 +646,33 @@ export declare function getRetryRequest(store: ReliabilityMetadataStore, failedE
|
|
|
301
646
|
* @param now - The current time.
|
|
302
647
|
*/
|
|
303
648
|
export declare function markRetryRequestAnswered(store: ReliabilityMetadataStore, failedEnvelopeId: string, retryId: string, attempt: number, now?: number): Promise<void>;
|
|
649
|
+
/**
|
|
650
|
+
* Change the lifecycle fields of the stored attempt of a retry request. It
|
|
651
|
+
* writes only when the record holds the given retry ID and attempt, so a
|
|
652
|
+
* change for an attempt that a later attempt replaced writes nothing. A
|
|
653
|
+
* field with the value undefined is removed. The attempt keeps its time,
|
|
654
|
+
* so its bucket index stays.
|
|
655
|
+
*
|
|
656
|
+
* @returns The changed record, or null when no record matched.
|
|
657
|
+
*/
|
|
658
|
+
export declare function updateRetryRequest(store: ReliabilityMetadataStore, failedEnvelopeId: string, retryId: string, attempt: number, changes: Partial<Pick<StoredRetryRequest, 'nextAttemptAt' | 'lastFailureClass' | 'terminal' | 'errorShown' | 'recoveredEmitted' | 'groupId' | 'recovery'>>, now?: number): Promise<StoredRetryRequest | null>;
|
|
659
|
+
/**
|
|
660
|
+
* The failed envelope IDs of the stored retry requests that are not older
|
|
661
|
+
* than `RETRY_REQUESTER_RECORD_TTL_MS`. The caller reads each record with
|
|
662
|
+
* `getRetryRequest`.
|
|
663
|
+
*/
|
|
664
|
+
export declare function listRetryRequestIds(store: ReliabilityMetadataStore, now?: number): Promise<string[]>;
|
|
665
|
+
/**
|
|
666
|
+
* Move each retry request record of the v1 prefix to the current prefix,
|
|
667
|
+
* and delete the v1 keys. A v1 record has no deadline, so the moved record
|
|
668
|
+
* gets the time of its stored attempt plus `RETRY_REQUEST_DEADLINE_MS`. A
|
|
669
|
+
* v1 record does not tell whether the post of its attempt reached the
|
|
670
|
+
* Relay, so an unanswered record is due at the time of its stored attempt,
|
|
671
|
+
* and the scheduler posts its stored bytes again. A
|
|
672
|
+
* record older than `RETRY_REQUESTER_RECORD_TTL_MS`, and a record that does
|
|
673
|
+
* not parse, is deleted. With no v1 keys, it writes nothing.
|
|
674
|
+
*/
|
|
675
|
+
export declare function migrateRetryRequestRecords(store: ReliabilityMetadataStore, now?: number): Promise<void>;
|
|
304
676
|
/**
|
|
305
677
|
* Record the request envelope of a retry request before its post, and the
|
|
306
678
|
* family index entry from its retry ID to the failed envelope ID. One
|
|
@@ -347,24 +719,49 @@ export interface StoredRetryResend extends RetryResendTarget {
|
|
|
347
719
|
/** The operation epoch of the stored bytes. The record expires from this time. */
|
|
348
720
|
operationEpochMilliseconds: number;
|
|
349
721
|
transportMode: StoredOutgoingMessageIntent['transportMode'];
|
|
722
|
+
/**
|
|
723
|
+
* The sealed authorization of the post. A group endorsement is stored by
|
|
724
|
+
* its group, and the endorsement of the device's account resolves again
|
|
725
|
+
* at each post.
|
|
726
|
+
*/
|
|
350
727
|
sealedSenderAuth?: {
|
|
351
728
|
type: 'accessKey';
|
|
352
729
|
unidentifiedAccessKey: string;
|
|
730
|
+
} | {
|
|
731
|
+
type: 'groupSendToken';
|
|
732
|
+
groupId: string;
|
|
353
733
|
};
|
|
354
734
|
contentHint?: ContentHint;
|
|
355
735
|
message: StoredOutgoingDeviceMessage;
|
|
736
|
+
/** A stored encryption has no terminal state. */
|
|
737
|
+
terminal?: undefined;
|
|
738
|
+
}
|
|
739
|
+
/**
|
|
740
|
+
* The conclusive end of the answer to one device for one failed envelope,
|
|
741
|
+
* in place of an encryption. The sender answers no later request for that
|
|
742
|
+
* envelope from that device. The record expires from the time of the end.
|
|
743
|
+
*/
|
|
744
|
+
export interface RetryResendTerminal extends RetryResendTarget {
|
|
745
|
+
/** The attempt number of the request that ended the answer. */
|
|
746
|
+
attempt: number;
|
|
747
|
+
/** The user that asked for the answer. */
|
|
748
|
+
recipientUserId: string;
|
|
749
|
+
/** The device that asked for the answer. */
|
|
750
|
+
recipientDeviceId: number;
|
|
751
|
+
terminal: RetryTerminal;
|
|
356
752
|
}
|
|
357
753
|
/**
|
|
358
754
|
* Get the stored answer to one device for one failed envelope. A record
|
|
359
755
|
* older than `RELIABILITY_RECORD_TTL_MS` does not count.
|
|
360
756
|
*/
|
|
361
|
-
export declare function getRetryResend(store: ReliabilityMetadataStore, recipientUserId: string, recipientDeviceId: number, failedEnvelopeId: string, now?: number): Promise<StoredRetryResend | null>;
|
|
757
|
+
export declare function getRetryResend(store: ReliabilityMetadataStore, recipientUserId: string, recipientDeviceId: number, failedEnvelopeId: string, now?: number): Promise<StoredRetryResend | RetryResendTerminal | null>;
|
|
362
758
|
/**
|
|
363
|
-
* Record the encrypted bytes of a retry resend before their post
|
|
364
|
-
*
|
|
365
|
-
*
|
|
366
|
-
* is not the attempt number of the
|
|
759
|
+
* Record the encrypted bytes of a retry resend before their post, or the
|
|
760
|
+
* terminal state of the answer. A later write replaces the earlier one in
|
|
761
|
+
* one write, so the record holds one state at each point. Throws, and
|
|
762
|
+
* writes nothing, when the attempt is not the attempt number of the
|
|
763
|
+
* request envelope.
|
|
367
764
|
*/
|
|
368
|
-
export declare function storeRetryResend(store: ReliabilityMetadataStore, resend: StoredRetryResend): Promise<void>;
|
|
765
|
+
export declare function storeRetryResend(store: ReliabilityMetadataStore, resend: StoredRetryResend | RetryResendTerminal): Promise<void>;
|
|
369
766
|
export {};
|
|
370
767
|
//# sourceMappingURL=reliability.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reliability.d.ts","sourceRoot":"","sources":["../../../local/store/reliability.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;AAC5D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAYxD,eAAO,MAAM,yBAAyB,QAAc,CAAC;AAErD;;;;;;;;GAQG;AACH,eAAO,MAAM,6BAA6B,QAAgC,CAAC;AAE3E,MAAM,WAAW,2BAA2B;IAC1C,eAAe,EAAE,MAAM,CAAC;IACxB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,SAAS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