@open-e2ee/signal-protocol-sdk 11.0.0 → 12.0.1
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 +1348 -0
- package/README.md +1 -1
- package/SECURITY.md +2 -2
- package/TROUBLESHOOTING.md +8 -8
- package/client/README.md +70 -37
- package/device/README.md +39 -85
- package/dist/client/client.d.ts +334 -63
- package/dist/client/client.d.ts.map +1 -1
- package/dist/client/client.js +1175 -186
- package/dist/client/client.js.map +1 -1
- package/dist/client/config.d.ts +57 -42
- 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 +280 -14
- package/dist/client/event-hooks.d.ts.map +1 -1
- package/dist/client/event-hooks.js +8 -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-mailbox-subscription.d.ts +34 -2
- package/dist/client/hosted-mailbox-subscription.d.ts.map +1 -1
- package/dist/client/hosted-mailbox-subscription.js +87 -17
- 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 +115 -55
- package/dist/client/hosted-transport.js.map +1 -1
- package/dist/client/hosted.d.ts +10 -4
- package/dist/client/hosted.d.ts.map +1 -1
- package/dist/client/hosted.js +10 -4
- package/dist/client/hosted.js.map +1 -1
- package/dist/client/index.d.ts +5 -3
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +2 -0
- 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 +111 -20
- package/dist/client/messages.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 +20 -7
- package/dist/client/relay-acceptance.d.ts.map +1 -1
- package/dist/client/relay-acceptance.js +30 -12
- 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 +193 -123
- 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 +57 -10
- package/dist/client/retry-family.d.ts.map +1 -1
- package/dist/client/retry-family.js +54 -12
- package/dist/client/retry-family.js.map +1 -1
- package/dist/client/retry-request-envelope.d.ts +107 -8
- package/dist/client/retry-request-envelope.d.ts.map +1 -1
- package/dist/client/retry-request-envelope.js +172 -23
- package/dist/client/retry-request-envelope.js.map +1 -1
- package/dist/client/retry-request-lifecycle.d.ts +70 -14
- package/dist/client/retry-request-lifecycle.d.ts.map +1 -1
- package/dist/client/retry-request-lifecycle.js +162 -32
- package/dist/client/retry-request-lifecycle.js.map +1 -1
- 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 +100 -12
- package/dist/client/retry.d.ts.map +1 -1
- package/dist/client/retry.js +619 -116
- 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 +2260 -342
- 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 +26 -20
- package/dist/internal/manager/manager.d.ts.map +1 -1
- package/dist/internal/manager/manager.js +64 -41
- 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 +15 -13
- package/dist/internal/session/cipher.d.ts.map +1 -1
- package/dist/internal/session/cipher.js +41 -23
- 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 +5 -13
- 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 +317 -18
- package/dist/local/store/reliability.d.ts.map +1 -1
- package/dist/local/store/reliability.js +371 -46
- 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/driver.d.ts +9 -0
- package/dist/local/store/sqlite/driver.d.ts.map +1 -1
- 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/sqlite/web/sqlite3mc/sqlite3.mjs +2 -1
- package/dist/local/store/sqlite/web/worker.d.ts +8 -0
- package/dist/local/store/sqlite/web/worker.d.ts.map +1 -1
- package/dist/local/store/sqlite/web/worker.js +64 -2
- package/dist/local/store/sqlite/web/worker.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 +92 -107
- 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/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 +165 -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
package/dist/client/client.d.ts
CHANGED
|
@@ -42,15 +42,16 @@
|
|
|
42
42
|
*/
|
|
43
43
|
import type { RelayConnectionState, Unsubscribe } from '../remote/relay/types.js';
|
|
44
44
|
import type { Ciphertext, IdentityType, PreKeyBundle, PublicKey } from '../keys/index.js';
|
|
45
|
-
import type { PreKeyRotationResult, SignalProtocolClient } from '../types/index.js';
|
|
45
|
+
import type { PreKeyRotationResult, SendLogDevice, SignalProtocolClient } from '../types/index.js';
|
|
46
46
|
import { ProtocolAddress } from '../types/address.js';
|
|
47
47
|
import { type ProgressCallback, type SignalProtocolClientConfig } from './config.js';
|
|
48
48
|
import type { SesameMessage, SesameStats } from '../internal/sesame/types.js';
|
|
49
49
|
import { type Logger } from '../logger.js';
|
|
50
50
|
import { type SenderKeyDistributionMessage } from '../internal/protocol/sender-keys/index.js';
|
|
51
|
-
import { type BlockedRecipientsSyncInput, type MediaAttachmentDeleteSyncInput, type ReadSyncEntryInput, type RecipientUsernameSyncInput, type ViewOnceOpenSyncInput } from './content-adapter.js';
|
|
51
|
+
import { type BlockedRecipientsSyncInput, type MediaAttachmentDeleteSyncInput, type GroupContentContext, type ReadSyncEntryInput, type RecipientUsernameSyncInput, type ViewOnceOpenSyncInput } from './content-adapter.js';
|
|
52
|
+
import type { ContentRecoveryStatus } from '../types/protocol-config.js';
|
|
52
53
|
import type { DataMessageInput } from './types.js';
|
|
53
|
-
import type { AttachmentTransferOptions, SendOptions, SendResult, SafetyNumber, IncomingEnvelope, ProcessEnvelopeOptions } from './types.js';
|
|
54
|
+
import type { AttachmentTransferOptions, SendOptions, SendResult, SafetyNumber, IncomingEnvelope, PendingReceive, ProcessEnvelopeOptions, ReceiveOutcome } from './types.js';
|
|
54
55
|
import { TypingAction } from './types.js';
|
|
55
56
|
import * as PreKeyOps from './prekeys.js';
|
|
56
57
|
import { type MediaAttachmentPointer } from '../media/index.js';
|
|
@@ -99,7 +100,14 @@ export declare class DefaultSignalProtocolClient implements SignalProtocolClient
|
|
|
99
100
|
private groupManager?;
|
|
100
101
|
private groupSessionFor?;
|
|
101
102
|
private groupStore?;
|
|
102
|
-
|
|
103
|
+
/** Decides on received managed-group content. Set with a group store. */
|
|
104
|
+
private groupReceiveEvaluator?;
|
|
105
|
+
/** The single fetcher that brings each group up to its claimed revision. */
|
|
106
|
+
private groupFetcher?;
|
|
107
|
+
/** The current membership that a retry resend of group content needs. */
|
|
108
|
+
private readonly groupMembership;
|
|
109
|
+
/** The processor of the stored receive records. */
|
|
110
|
+
private readonly receiveQueue;
|
|
103
111
|
private readonly cipher;
|
|
104
112
|
private readonly fanOut;
|
|
105
113
|
/**
|
|
@@ -115,6 +123,19 @@ export declare class DefaultSignalProtocolClient implements SignalProtocolClient
|
|
|
115
123
|
*/
|
|
116
124
|
private _syncStatus;
|
|
117
125
|
get syncStatus(): 'synced' | 'failed' | 'none';
|
|
126
|
+
/** The validated content recovery policy, with its defaults applied. */
|
|
127
|
+
private readonly contentRecoveryPolicy;
|
|
128
|
+
private readonly _contentRecoveryStatus;
|
|
129
|
+
/** True after the client logged that a group send went out as `Default`, not `Resendable`. */
|
|
130
|
+
private resendableDowngradeLogged;
|
|
131
|
+
/** The resendable content that this client keeps, and its retention. */
|
|
132
|
+
private readonly resendableContent;
|
|
133
|
+
/**
|
|
134
|
+
* Whether this client keeps resendable content to answer retry requests.
|
|
135
|
+
*
|
|
136
|
+
* @see SignalProtocolClient.contentRecoveryStatus
|
|
137
|
+
*/
|
|
138
|
+
get contentRecoveryStatus(): ContentRecoveryStatus;
|
|
118
139
|
private readonly stoppedRelayConnection;
|
|
119
140
|
/**
|
|
120
141
|
* The connection state of the relay subscription. Reads `stopped` when no
|
|
@@ -159,6 +180,15 @@ export declare class DefaultSignalProtocolClient implements SignalProtocolClient
|
|
|
159
180
|
* stops it. Each pass is relay work, so its hooks run through that work.
|
|
160
181
|
*/
|
|
161
182
|
private readonly retryRequests;
|
|
183
|
+
/**
|
|
184
|
+
* Runs the pending resend jobs that an answer to a retry request did not
|
|
185
|
+
* finish. It starts with the retry request scheduler and at each relay
|
|
186
|
+
* transition to connected, and stop() stops it. Each pass is relay work,
|
|
187
|
+
* so its hooks run through that work.
|
|
188
|
+
*/
|
|
189
|
+
private readonly resendJobs;
|
|
190
|
+
/** Ends the subscription of the resend job driver to relay connection states. */
|
|
191
|
+
private resendJobsOnConnect;
|
|
162
192
|
/**
|
|
163
193
|
* The stop() in progress. It is set before a step of stop() runs, so a
|
|
164
194
|
* stop() call that overlaps it, also from a step, waits for it, and a
|
|
@@ -183,14 +213,16 @@ export declare class DefaultSignalProtocolClient implements SignalProtocolClient
|
|
|
183
213
|
private get ctx();
|
|
184
214
|
/**
|
|
185
215
|
* Apply one Relay delivery receipt, then announce its deliveries. A
|
|
186
|
-
* receipt
|
|
216
|
+
* receipt whose write or announcement does not complete throws, so the
|
|
217
|
+
* Relay replays it: after a stop(), and after an error from the
|
|
218
|
+
* `onDelivered` hook. The replay announces each delivery whose hook did not
|
|
219
|
+
* return.
|
|
187
220
|
*/
|
|
188
221
|
private receiveRelayReceipt;
|
|
189
|
-
/** Run the onDelivered hook once for each event, in order. */
|
|
190
|
-
private announceDeliveries;
|
|
191
222
|
/**
|
|
192
223
|
* Announce the deliveries that waited for a send of this client message ID
|
|
193
|
-
* to resolve.
|
|
224
|
+
* to resolve. A delivery whose hook throws or stops stays unannounced, and
|
|
225
|
+
* the next receipt for the message announces it again.
|
|
194
226
|
*/
|
|
195
227
|
private releaseDeliveries;
|
|
196
228
|
/**
|
|
@@ -245,6 +277,10 @@ export declare class DefaultSignalProtocolClient implements SignalProtocolClient
|
|
|
245
277
|
* carries the stop signal of the tracker, which also aborts at a stop
|
|
246
278
|
* after the work ends, so a retry timer of the send sees that stop. The
|
|
247
279
|
* send is in deliveryReceiptSends while it runs.
|
|
280
|
+
*
|
|
281
|
+
* @throws RelayWorkStopped when a stop ended the send before it finished,
|
|
282
|
+
* so the receive queue keeps the receipt and sends it after the next
|
|
283
|
+
* start
|
|
248
284
|
*/
|
|
249
285
|
private sendDeliveryReceiptAsRelayWork;
|
|
250
286
|
/**
|
|
@@ -258,8 +294,36 @@ export declare class DefaultSignalProtocolClient implements SignalProtocolClient
|
|
|
258
294
|
* for no more than the given time.
|
|
259
295
|
*/
|
|
260
296
|
private waitForStopReceiptSends;
|
|
297
|
+
/**
|
|
298
|
+
* The session reset steps of a retry request that ended as
|
|
299
|
+
* `expired-content`. Their session hooks run through the given context,
|
|
300
|
+
* and its stop signal stops their lock waits and relay requests. There are
|
|
301
|
+
* none without a relay.
|
|
302
|
+
*/
|
|
303
|
+
private retryTerminalReset;
|
|
304
|
+
/**
|
|
305
|
+
* Refresh the session with a device that the Relay refused as stale, for a
|
|
306
|
+
* receipt or a retry request. It fetches a fresh bundle first, then starts
|
|
307
|
+
* a new session from the bundle. The session start archives the stale
|
|
308
|
+
* session and promotes the new one in one record write. After a successful
|
|
309
|
+
* start, the onSessionArchived hook runs for the device. Resolves to true
|
|
310
|
+
* when the new session is ready. Resolves to false without a relay, and
|
|
311
|
+
* when the Relay has no bundle of the device: the session is then
|
|
312
|
+
* archived. Rejects with StaleSessionRefreshError when the fetch or the new
|
|
313
|
+
* session fails. A failure before the session record write keeps the
|
|
314
|
+
* stale session, so the next post is refused again and refreshes again. A
|
|
315
|
+
* failure after that write, in the SESAME registration, leaves the new
|
|
316
|
+
* session, and the next post uses it.
|
|
317
|
+
*/
|
|
318
|
+
private refreshRefusedSession;
|
|
261
319
|
/** Client context whose hooks call the app through the given relay work. */
|
|
262
320
|
private relayWorkContext;
|
|
321
|
+
/**
|
|
322
|
+
* Client context of a receive queue pass. Its hooks run under the receive
|
|
323
|
+
* hook bound, inside the given relay work, so the work stops waiting in the
|
|
324
|
+
* app at a timeout.
|
|
325
|
+
*/
|
|
326
|
+
private receivePassContext;
|
|
263
327
|
/**
|
|
264
328
|
* Session callbacks of a send. Their session hooks run through the given
|
|
265
329
|
* context, so a send in relay work calls the app through that work. Session
|
|
@@ -300,10 +364,10 @@ export declare class DefaultSignalProtocolClient implements SignalProtocolClient
|
|
|
300
364
|
* storage,
|
|
301
365
|
* });
|
|
302
366
|
*
|
|
303
|
-
* // Linked device; storage must already contain
|
|
367
|
+
* // Linked device; storage must already contain the account identity.
|
|
304
368
|
* const signal = await DefaultSignalProtocolClient.create('user-123', {
|
|
305
369
|
* deviceId: 2,
|
|
306
|
-
* storage:
|
|
370
|
+
* storage: linkedDeviceStorage
|
|
307
371
|
* });
|
|
308
372
|
*
|
|
309
373
|
* // With an application-owned authenticated relay transport.
|
|
@@ -353,7 +417,7 @@ export declare class DefaultSignalProtocolClient implements SignalProtocolClient
|
|
|
353
417
|
/**
|
|
354
418
|
* Explicitly rotate this account's relay identity using a caller-authenticated
|
|
355
419
|
* compare-and-swap commitment, then publish fresh prekeys for that namespace.
|
|
356
|
-
* Normal sync and
|
|
420
|
+
* Normal sync and the managed device link never call this operation.
|
|
357
421
|
*/
|
|
358
422
|
rotateAccountIdentity(expectedCurrentCommitment: Uint8Array, identityType?: IdentityType): Promise<void>;
|
|
359
423
|
/**
|
|
@@ -367,6 +431,29 @@ export declare class DefaultSignalProtocolClient implements SignalProtocolClient
|
|
|
367
431
|
/**
|
|
368
432
|
* Hydrate state from persistent storage.
|
|
369
433
|
*/
|
|
434
|
+
/**
|
|
435
|
+
* Report the content recovery decision once, and delete the resendable
|
|
436
|
+
* content that a refused store still holds from an earlier policy. The
|
|
437
|
+
* clear deletes no sender key state, so the next group send needs no new
|
|
438
|
+
* distribution.
|
|
439
|
+
*/
|
|
440
|
+
private applyContentRecoveryDecision;
|
|
441
|
+
/**
|
|
442
|
+
* The content hint of a group send. A `DataMessage` send is `Resendable`
|
|
443
|
+
* unless the application sets another hint. A `Resendable` send keeps its
|
|
444
|
+
* content in the send log, so the sender can answer a retry request with
|
|
445
|
+
* it. When content recovery is off, or the send is a string or bytes with
|
|
446
|
+
* no content timestamp, the sender cannot answer. The send then goes out
|
|
447
|
+
* as `Default`, so no recipient waits for an answer, and the client logs
|
|
448
|
+
* the downgrade once.
|
|
449
|
+
*/
|
|
450
|
+
private groupContentHint;
|
|
451
|
+
/**
|
|
452
|
+
* Delete expired resendable content before the first resendable group
|
|
453
|
+
* send of the day. A failed sweep does not stop the send. The next sweep
|
|
454
|
+
* deletes the content.
|
|
455
|
+
*/
|
|
456
|
+
private sweepResendableContentDaily;
|
|
370
457
|
private hydratePersistedState;
|
|
371
458
|
private regeneratePreKeysWithFreshIds;
|
|
372
459
|
/**
|
|
@@ -512,63 +599,200 @@ export declare class DefaultSignalProtocolClient implements SignalProtocolClient
|
|
|
512
599
|
/**
|
|
513
600
|
* Process an incoming encrypted message envelope.
|
|
514
601
|
*
|
|
515
|
-
*
|
|
516
|
-
*
|
|
517
|
-
*
|
|
518
|
-
*
|
|
519
|
-
*
|
|
520
|
-
*
|
|
521
|
-
*
|
|
522
|
-
*
|
|
602
|
+
* The receive helper for an application that pulls envelopes itself. It
|
|
603
|
+
* decrypts the envelope and commits its content as a receive record with
|
|
604
|
+
* the ratchet step, then decides the group of the content. The content
|
|
605
|
+
* stays recoverable until the application calls `completeReceive`, or
|
|
606
|
+
* until `onPersist` resolves.
|
|
607
|
+
*
|
|
608
|
+
* The outcome tells the caller what to do with the envelope:
|
|
609
|
+
*
|
|
610
|
+
* - `processed`: give the content to the application, then acknowledge
|
|
611
|
+
* the envelope. A redelivery of the envelope before `completeReceive`
|
|
612
|
+
* returns the same outcome again with no second decrypt.
|
|
613
|
+
* - `pending`: the content is stored, and its group state must update
|
|
614
|
+
* first. Acknowledge the envelope. The client decides the content again
|
|
615
|
+
* when the group updates, and `listPendingReceives({ ready: true })`
|
|
616
|
+
* then lists it.
|
|
617
|
+
* - `duplicate`: this client processed the envelope, or the application
|
|
618
|
+
* already has the content of the failed envelope of a retry request.
|
|
619
|
+
* The client acknowledged the envelope.
|
|
620
|
+
* - `null-message`: the envelope carries no content. The client consumed
|
|
621
|
+
* it and acknowledged it. A null message for a failed envelope marks
|
|
622
|
+
* that envelope processed, but a content resend for it that comes later
|
|
623
|
+
* still gives its content.
|
|
624
|
+
* - `denied`: the client refused the content. The ratchet step is spent,
|
|
625
|
+
* and the client acknowledged the envelope. Content from another
|
|
626
|
+
* account that carries a sync message is denied in any envelope.
|
|
627
|
+
* - `refused`: the receive queue has no room. Nothing is decrypted or
|
|
628
|
+
* stored. Do not acknowledge the envelope. Give it again later.
|
|
629
|
+
*
|
|
630
|
+
* On a retryable decrypt failure the client sends a SESAME retry request,
|
|
631
|
+
* which acknowledges the envelope, and throws the error. A message with
|
|
632
|
+
* the Implicit content hint gets no request and is acknowledged.
|
|
523
633
|
*
|
|
524
634
|
* A `retry_request` envelope holds no plaintext. This method rejects it
|
|
525
635
|
* before decryption and sends no retry request. Give it to
|
|
526
636
|
* `receiveIncomingEnvelopes`, which handles it.
|
|
527
637
|
*
|
|
528
|
-
* A
|
|
529
|
-
*
|
|
530
|
-
*
|
|
531
|
-
* already has that content, this method acknowledges the envelope and
|
|
532
|
-
* throws MESSAGE_DUPLICATE with no decrypt.
|
|
533
|
-
*
|
|
534
|
-
* A null message carries no content. The client consumes a null message
|
|
535
|
-
* when the content adapter reports `nullMessage: true`, and a custom
|
|
536
|
-
* adapter must report it for its own null encoding. This method never
|
|
537
|
-
* returns a null message. It marks the null message processed,
|
|
538
|
-
* acknowledges it and throws MESSAGE_DUPLICATE. A null message for a
|
|
539
|
-
* failed envelope marks that envelope processed, so a redelivery of it
|
|
540
|
-
* is dropped, but a content resend for it that comes later still gives
|
|
541
|
-
* its plaintext.
|
|
542
|
-
*
|
|
543
|
-
* A resend or null message that fails to decrypt, or whose seal fails to
|
|
544
|
-
* open, asks again for its failed envelope under the same retry ID. When
|
|
545
|
-
* the processed record of the failed envelope fails to store after a
|
|
546
|
-
* decrypt, the client writes a warning with the behavior
|
|
547
|
-
* RETRY_FULFILL_WRITE_FAILED, as on every receive path, and this method
|
|
548
|
-
* returns the plaintext. A redelivery of the failed envelope or of
|
|
549
|
-
* another family member can then give the content again. When a
|
|
550
|
-
* processed record of a null message or of its failed envelope fails to
|
|
551
|
-
* store, the client writes a warning with the behavior
|
|
552
|
-
* RETRY_NULL_WRITE_FAILED, as on every receive path, and this method
|
|
553
|
-
* still throws MESSAGE_DUPLICATE. A redelivery of the failed envelope
|
|
554
|
-
* can then give the content.
|
|
638
|
+
* A resend that brings only the sender key of a failed group message
|
|
639
|
+
* gives no content. It does not mark the failed envelope processed, so a
|
|
640
|
+
* redelivery of that envelope decrypts with the key.
|
|
555
641
|
*
|
|
556
642
|
* @param envelope - The encrypted message envelope
|
|
557
|
-
* @param options - Transport callbacks for background (no relay)
|
|
558
|
-
*
|
|
643
|
+
* @param options - Transport callbacks for background (no relay)
|
|
644
|
+
* scenarios, and `onPersist`
|
|
645
|
+
* @returns The receive outcome
|
|
559
646
|
* @throws EncryptionError after sending retry request if decryption fails
|
|
560
|
-
* @throws EncryptionError INVALID_CIPHERTEXT for a `retry_request` envelope
|
|
561
|
-
*
|
|
562
|
-
|
|
563
|
-
|
|
647
|
+
* @throws EncryptionError INVALID_CIPHERTEXT for a `retry_request` envelope,
|
|
648
|
+
* identified or sealed
|
|
649
|
+
*/
|
|
650
|
+
processIncomingEnvelope(envelope: IncomingEnvelope, options?: ProcessEnvelopeOptions): Promise<ReceiveOutcome>;
|
|
651
|
+
/**
|
|
652
|
+
* Complete a helper receive: delete its receive record and mark its
|
|
653
|
+
* envelope processed. Call it after the application stored the content
|
|
654
|
+
* of a `processed` outcome. An unknown or completed message ID is a no-op.
|
|
655
|
+
*
|
|
656
|
+
* @param messageId - The `messageId` of the `processed` outcome
|
|
657
|
+
*/
|
|
658
|
+
completeReceive(messageId: string): Promise<void>;
|
|
659
|
+
/**
|
|
660
|
+
* List the stored receives in arrival order, one page at a time. A receive
|
|
661
|
+
* whose content the application has, and whose receipt waits, is not
|
|
662
|
+
* listed.
|
|
663
|
+
*
|
|
664
|
+
* @param query - `ready` lists only the helper receives whose content
|
|
665
|
+
* waits for `completeReceive`. `after` is the `next` value of the page
|
|
666
|
+
* before. `limit` is the page size, 100 by default.
|
|
667
|
+
* @returns The page, and `next` when a later page can follow
|
|
668
|
+
* @throws Error when `after` is not a `next` value or `limit` is not a
|
|
669
|
+
* positive integer
|
|
670
|
+
*/
|
|
671
|
+
listPendingReceives(query?: {
|
|
672
|
+
ready?: boolean;
|
|
673
|
+
after?: string;
|
|
674
|
+
limit?: number;
|
|
675
|
+
}): Promise<{
|
|
676
|
+
items: PendingReceive[];
|
|
677
|
+
next?: string;
|
|
678
|
+
}>;
|
|
679
|
+
/**
|
|
680
|
+
* Remove one stored receive that the application gives up on, such as a
|
|
681
|
+
* receive whose `onMessageDecrypted` hook fails at each start. The client
|
|
682
|
+
* deletes the receive and marks its envelope processed, so a redelivery
|
|
683
|
+
* of the envelope is a duplicate. The call sends no receipt, calls no
|
|
684
|
+
* hook, and runs no `onReceiveExpired`. A hook call that already started
|
|
685
|
+
* for the receive still runs, and no receipt follows it.
|
|
686
|
+
*
|
|
687
|
+
* @param messageId - The `messageId` of a receive that
|
|
688
|
+
* `listPendingReceives` lists
|
|
689
|
+
* @returns The removed receive, or null when the client removed nothing:
|
|
690
|
+
* no listed receive has the ID, or another path wrote the receive during
|
|
691
|
+
* the call and again after one read
|
|
564
692
|
*/
|
|
565
|
-
|
|
693
|
+
discardPendingReceive(messageId: string): Promise<PendingReceive | null>;
|
|
566
694
|
/**
|
|
567
|
-
*
|
|
568
|
-
*
|
|
569
|
-
*
|
|
695
|
+
* Run one pass of the receive queue now, and stop between records at the
|
|
696
|
+
* deadline. A host that wakes for a push calls it after it acknowledged
|
|
697
|
+
* the pulled envelopes.
|
|
698
|
+
*
|
|
699
|
+
* @param options - `deadlineMs` bounds the pass. With no deadline, the
|
|
700
|
+
* pass runs until each record is handled.
|
|
701
|
+
* @returns The receives that the pass handled, and the receives that
|
|
702
|
+
* still wait
|
|
570
703
|
*/
|
|
571
|
-
|
|
704
|
+
processPendingReceives(options?: {
|
|
705
|
+
deadlineMs?: number;
|
|
706
|
+
}): Promise<{
|
|
707
|
+
processed: number;
|
|
708
|
+
remaining: number;
|
|
709
|
+
}>;
|
|
710
|
+
/**
|
|
711
|
+
* Decrypt one envelope with no receive record.
|
|
712
|
+
*
|
|
713
|
+
* The decrypt installs a sender key distribution that the content
|
|
714
|
+
* carries, and checks that a managed group context binds to the group of
|
|
715
|
+
* the transport. It stores no content, decides no group state, and sends
|
|
716
|
+
* no receipt.
|
|
717
|
+
*
|
|
718
|
+
* Warning: the decrypt spends the ratchet step. When the application
|
|
719
|
+
* loses the returned plaintext, no later decrypt of the envelope gives it
|
|
720
|
+
* again. Use `processIncomingEnvelope`, which keeps the content until the
|
|
721
|
+
* application completes the receive.
|
|
722
|
+
*
|
|
723
|
+
* @param envelope - The encrypted message envelope
|
|
724
|
+
* @returns The plaintext as its sender gave it, and the group context of
|
|
725
|
+
* managed-group content
|
|
726
|
+
* @throws EncryptionError when the decrypt fails, and INVALID_CIPHERTEXT
|
|
727
|
+
* for a `retry_request` envelope, identified or sealed
|
|
728
|
+
* @throws GroupReceiveRefusedError when the group context is malformed or
|
|
729
|
+
* names another group than the transport
|
|
730
|
+
*/
|
|
731
|
+
decryptEnvelope(envelope: IncomingEnvelope): Promise<{
|
|
732
|
+
plaintext: string;
|
|
733
|
+
groupContext?: GroupContentContext;
|
|
734
|
+
}>;
|
|
735
|
+
/** The Relay envelope of an envelope that the application passed. */
|
|
736
|
+
private relayEnvelopeOf;
|
|
737
|
+
/**
|
|
738
|
+
* Receive one envelope that the application passed. The queue skips its
|
|
739
|
+
* record while the receive runs, and runs a pass after it.
|
|
740
|
+
*
|
|
741
|
+
* @param direct - The group and the receive record ID of a framed group
|
|
742
|
+
* message that `decryptGroupMessage` passed. A decrypt failure then
|
|
743
|
+
* throws with no retry request and no report.
|
|
744
|
+
* @returns The outcome, and the error behind a `pending` or `denied`
|
|
745
|
+
* outcome
|
|
746
|
+
*/
|
|
747
|
+
private receiveForCaller;
|
|
748
|
+
/** Receive one envelope that the application passed, under its retry family lock. */
|
|
749
|
+
private receiveForCallerLocked;
|
|
750
|
+
/**
|
|
751
|
+
* Open the seal of a sealed envelope that the application passed. A
|
|
752
|
+
* member whose seal fails to open asks the device of its request for the
|
|
753
|
+
* next attempt, as a member whose decrypt fails does.
|
|
754
|
+
*
|
|
755
|
+
* @returns The envelope inside the seal, or the envelope itself
|
|
756
|
+
* @throws EncryptionError INVALID_CIPHERTEXT for a sealed retry request
|
|
757
|
+
*/
|
|
758
|
+
private openForCaller;
|
|
759
|
+
/** The receive commit of an envelope that the application passed. */
|
|
760
|
+
private callerReceiveCommit;
|
|
761
|
+
/**
|
|
762
|
+
* Fill the sender fields of a converted legacy record from the envelope
|
|
763
|
+
* that the application passed. The record keeps its age and its arrival
|
|
764
|
+
* order, and becomes a helper record.
|
|
765
|
+
*/
|
|
766
|
+
private fillAwaitingRecord;
|
|
767
|
+
/**
|
|
768
|
+
* Decrypt one opened envelope under the receive admission, and commit its
|
|
769
|
+
* receive record with the ratchet step.
|
|
770
|
+
*
|
|
771
|
+
* A decrypt failure that no resend can repair, as `receiveRefusal`
|
|
772
|
+
* decides on both receive paths, asks for nothing: `onDecryptionError`
|
|
773
|
+
* runs once, the envelope is stored as processed and acknowledged, and
|
|
774
|
+
* the outcome is `denied`. A retryable failure (per SESAME spec §4.1)
|
|
775
|
+
* sends a retry request, which acknowledges the envelope, and throws. A
|
|
776
|
+
* failure after the decrypt built the record is a store failure: it
|
|
777
|
+
* throws with no request, and the ratchet step rolled back.
|
|
778
|
+
*
|
|
779
|
+
* @returns The committed record, or the outcome when nothing committed
|
|
780
|
+
*/
|
|
781
|
+
private decryptForCaller;
|
|
782
|
+
/**
|
|
783
|
+
* The `processed` outcome of a helper record that waits for completion.
|
|
784
|
+
* With `onPersist`, the record completes when the callback resolves. A
|
|
785
|
+
* callback that rejects leaves the record for a redelivery or for
|
|
786
|
+
* `completeReceive`.
|
|
787
|
+
*/
|
|
788
|
+
private processedReceive;
|
|
789
|
+
/**
|
|
790
|
+
* Complete one helper record that waits for completion. A record whose
|
|
791
|
+
* revision changed is read again once.
|
|
792
|
+
*/
|
|
793
|
+
private completeCallerRecord;
|
|
794
|
+
/** The application view of one stored receive. */
|
|
795
|
+
private pendingReceiveOf;
|
|
572
796
|
/**
|
|
573
797
|
* Process multiple incoming encrypted message envelopes.
|
|
574
798
|
*
|
|
@@ -582,15 +806,15 @@ export declare class DefaultSignalProtocolClient implements SignalProtocolClient
|
|
|
582
806
|
* session convergence requires this when the client promotes archived sessions.
|
|
583
807
|
*
|
|
584
808
|
* @param envelopes - Array of encrypted message envelopes
|
|
585
|
-
* @param options - Transport callbacks for background scenarios
|
|
586
|
-
* @returns Array of results, each either
|
|
809
|
+
* @param options - Transport callbacks for background scenarios, and `onPersist`
|
|
810
|
+
* @returns Array of results, each either the receive outcome or the error
|
|
587
811
|
*
|
|
588
812
|
* @example
|
|
589
813
|
* ```typescript
|
|
590
814
|
* const results = await signal.processIncomingEnvelopes(pendingMessages);
|
|
591
815
|
* for (const result of results) {
|
|
592
|
-
* if ('
|
|
593
|
-
*
|
|
816
|
+
* if ('outcome' in result) {
|
|
817
|
+
* handleReceiveOutcome(result.envelope, result.outcome);
|
|
594
818
|
* } else {
|
|
595
819
|
* handleDecryptionError(result.envelope, result.error);
|
|
596
820
|
* }
|
|
@@ -601,7 +825,7 @@ export declare class DefaultSignalProtocolClient implements SignalProtocolClient
|
|
|
601
825
|
*/
|
|
602
826
|
processIncomingEnvelopes(envelopes: IncomingEnvelope[], options?: ProcessEnvelopeOptions): Promise<Array<{
|
|
603
827
|
envelope: IncomingEnvelope;
|
|
604
|
-
|
|
828
|
+
outcome: ReceiveOutcome;
|
|
605
829
|
} | {
|
|
606
830
|
envelope: IncomingEnvelope;
|
|
607
831
|
error: Error;
|
|
@@ -613,6 +837,11 @@ export declare class DefaultSignalProtocolClient implements SignalProtocolClient
|
|
|
613
837
|
* each envelope that the client drops as a duplicate, and each null
|
|
614
838
|
* message that the content adapter reports, which the client consumes
|
|
615
839
|
* and never gives to onMessageDecrypted.
|
|
840
|
+
*
|
|
841
|
+
* The content reaches onMessageDecrypted in a later pass of the receive
|
|
842
|
+
* queue, after this call returns. After `stop()`, the content waits for
|
|
843
|
+
* the next start of the queue from `startRelaySubscription`, or for
|
|
844
|
+
* `processPendingReceives`.
|
|
616
845
|
*/
|
|
617
846
|
receiveIncomingEnvelopes(envelopes: IncomingEnvelope[]): Promise<{
|
|
618
847
|
processedMessageIds: string[];
|
|
@@ -729,6 +958,12 @@ export declare class DefaultSignalProtocolClient implements SignalProtocolClient
|
|
|
729
958
|
* The stop signal of relay work ends a wait for the recipient's lock.
|
|
730
959
|
*/
|
|
731
960
|
private sendWithContext;
|
|
961
|
+
/** Send under a logical-send identifier that the caller already chose. */
|
|
962
|
+
private sendIdentified;
|
|
963
|
+
/** @see SignalProtocolClient.forgetSentContent */
|
|
964
|
+
forgetSentContent(clientMessageId: string): Promise<boolean>;
|
|
965
|
+
/** @see SignalProtocolClient.getPendingRecipients */
|
|
966
|
+
getPendingRecipients(clientMessageId: string): Promise<SendLogDevice[]>;
|
|
732
967
|
uploadAttachment(data: Uint8Array, options: SendOptions & {
|
|
733
968
|
mimeType: string;
|
|
734
969
|
}): Promise<import('./types.js').PreparedAttachmentUpload>;
|
|
@@ -817,8 +1052,24 @@ export declare class DefaultSignalProtocolClient implements SignalProtocolClient
|
|
|
817
1052
|
* @see SignalProtocolClient.startRelaySubscription
|
|
818
1053
|
*/
|
|
819
1054
|
startRelaySubscription(): void;
|
|
820
|
-
/**
|
|
1055
|
+
/**
|
|
1056
|
+
* Delete the stale Sesame device records in the background. A removed
|
|
1057
|
+
* device record goes when its removal is older than `maxLatency`. The
|
|
1058
|
+
* receive queue runs it once in each run, after its resume. A failure is
|
|
1059
|
+
* logged, and the next run tries again.
|
|
1060
|
+
*/
|
|
1061
|
+
private cleanupStaleDeviceRecords;
|
|
1062
|
+
/**
|
|
1063
|
+
* Start the receive queue. After its resume, start the retry request
|
|
1064
|
+
* lifecycle.
|
|
1065
|
+
*/
|
|
821
1066
|
private startRetryRequests;
|
|
1067
|
+
/**
|
|
1068
|
+
* Start the retry request scheduler and the resend job driver, each with a
|
|
1069
|
+
* pass in the background. Each relay transition to connected runs the
|
|
1070
|
+
* resend jobs again until stop().
|
|
1071
|
+
*/
|
|
1072
|
+
private startRetryLifecycle;
|
|
822
1073
|
/**
|
|
823
1074
|
* Stop the relay subscription
|
|
824
1075
|
*
|
|
@@ -844,6 +1095,10 @@ export declare class DefaultSignalProtocolClient implements SignalProtocolClient
|
|
|
844
1095
|
* @param timestamps - Array of message timestamps that have been delivered
|
|
845
1096
|
* @param ctx - Client context, whose hooks run through the relay work of the send
|
|
846
1097
|
*
|
|
1098
|
+
* A failed send rejects and makes no retry of its own: the receive queue
|
|
1099
|
+
* keeps the receive in `receipt-due` and sends again. A send that the
|
|
1100
|
+
* Relay refused rejects with ReceiptSendTerminalError, and the queue
|
|
1101
|
+
* completes the receive with no receipt.
|
|
847
1102
|
*/
|
|
848
1103
|
private sendDeliveryReceipt;
|
|
849
1104
|
/**
|
|
@@ -1110,11 +1365,27 @@ export declare class DefaultSignalProtocolClient implements SignalProtocolClient
|
|
|
1110
1365
|
* Use this to decrypt messages from other group members.
|
|
1111
1366
|
* You must process the sender's distribution message first.
|
|
1112
1367
|
*
|
|
1368
|
+
* The message passes the group decision of `processIncomingEnvelope`.
|
|
1369
|
+
* Content whose group state must update first stays stored, and a later
|
|
1370
|
+
* call with the same message decides it with no second decrypt.
|
|
1371
|
+
*
|
|
1372
|
+
* @deprecated Use `processIncomingEnvelope`, which returns a receive
|
|
1373
|
+
* outcome and keeps the content until the application completes the
|
|
1374
|
+
* receive. This method completes the receive before it returns, so a
|
|
1375
|
+
* plaintext that the application loses is gone.
|
|
1376
|
+
*
|
|
1113
1377
|
* @param groupId - Group identifier
|
|
1114
1378
|
* @param senderId - Sender's user ID
|
|
1115
1379
|
* @param senderDeviceId - Sender's device ID
|
|
1116
1380
|
* @param framedMessage - Framed SenderKeyMessage bytes
|
|
1117
1381
|
* @returns Decrypted plaintext
|
|
1382
|
+
* @throws GroupReceiveUnavailableError when the group state of the content
|
|
1383
|
+
* is not current. Its `messageId` names the stored receive. Call again
|
|
1384
|
+
* later with the same message.
|
|
1385
|
+
* @throws GroupReceiveRefusedError when the client refuses the content
|
|
1386
|
+
* @throws EncryptionError MESSAGE_DUPLICATE for a message that this client
|
|
1387
|
+
* processed, or that carries no content, and STORAGE_QUOTA_EXCEEDED when
|
|
1388
|
+
* the receive queue has no room
|
|
1118
1389
|
*
|
|
1119
1390
|
* @example
|
|
1120
1391
|
* ```typescript
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../client/client.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AAKH,OAAO,KAAK,EAGV,oBAAoB,EACpB,WAAW,EACZ,MAAM,uBAAuB,CAAC;AAI/B,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEjF,OAAO,KAAK,EACV,oBAAoB,EACpB,oBAAoB,EAIrB,MAAM,UAAU,CAAC;AAkBlB,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAIL,KAAK,gBAAgB,EACrB,KAAK,0BAA0B,EAChC,MAAM,UAAU,CAAC;AAClB,OAAO,KAAK,EAAiB,aAAa,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAC1F,OAAO,EAA+B,KAAK,MAAM,EAAE,MAAM,WAAW,CAAC;AACrE,OAAO,EAEL,KAAK,4BAA4B,EAClC,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACL,KAAK,0BAA0B,EAE/B,KAAK,8BAA8B,EAGnC,KAAK,kBAAkB,EACvB,KAAK,0BAA0B,EAE/B,KAAK,qBAAqB,EAC3B,MAAM,mBAAmB,CAAC;AAe3B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAGhD,OAAO,KAAK,EACV,yBAAyB,EAEzB,WAAW,EACX,UAAU,EACV,YAAY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