matrix-js-sdk 32.4.0 → 33.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/CHANGELOG.md +25 -0
- package/git-revision.txt +1 -1
- package/lib/@types/IIdentityServerProvider.js +1 -6
- package/lib/@types/PushRules.js +15 -16
- package/lib/@types/PushRules.js.map +1 -1
- package/lib/@types/another-json.d.js +0 -1
- package/lib/@types/auth.d.ts +0 -5
- package/lib/@types/auth.d.ts.map +1 -1
- package/lib/@types/auth.js +14 -10
- package/lib/@types/auth.js.map +1 -1
- package/lib/@types/beacon.js +3 -9
- package/lib/@types/beacon.js.map +1 -1
- package/lib/@types/common.js +1 -6
- package/lib/@types/crypto.js +1 -6
- package/lib/@types/event.d.ts +0 -5
- package/lib/@types/event.d.ts.map +1 -1
- package/lib/@types/event.js +24 -33
- package/lib/@types/event.js.map +1 -1
- package/lib/@types/events.js +1 -6
- package/lib/@types/extensible_events.js +11 -17
- package/lib/@types/extensible_events.js.map +1 -1
- package/lib/@types/global.d.js +18 -5
- package/lib/@types/global.d.js.map +1 -1
- package/lib/@types/local_notifications.js +1 -6
- package/lib/@types/location.js +8 -12
- package/lib/@types/location.js.map +1 -1
- package/lib/@types/media.js +1 -6
- package/lib/@types/membership.js +3 -7
- package/lib/@types/membership.js.map +1 -1
- package/lib/@types/oidc-client-ts.d.js +16 -2
- package/lib/@types/oidc-client-ts.d.js.map +1 -1
- package/lib/@types/partials.js +7 -12
- package/lib/@types/partials.js.map +1 -1
- package/lib/@types/polls.js +6 -12
- package/lib/@types/polls.js.map +1 -1
- package/lib/@types/read_receipts.js +3 -8
- package/lib/@types/read_receipts.js.map +1 -1
- package/lib/@types/registration.d.ts +5 -19
- package/lib/@types/registration.d.ts.map +1 -1
- package/lib/@types/registration.js +1 -6
- package/lib/@types/registration.js.map +1 -1
- package/lib/@types/requests.js +1 -6
- package/lib/@types/search.js +2 -7
- package/lib/@types/search.js.map +1 -1
- package/lib/@types/signed.js +1 -6
- package/lib/@types/spaces.js +1 -6
- package/lib/@types/state_events.js +1 -6
- package/lib/@types/synapse.js +1 -6
- package/lib/@types/sync.js +3 -8
- package/lib/@types/sync.js.map +1 -1
- package/lib/@types/threepids.js +5 -8
- package/lib/@types/threepids.js.map +1 -1
- package/lib/@types/topic.js +2 -8
- package/lib/@types/topic.js.map +1 -1
- package/lib/@types/uia.js +1 -6
- package/lib/NamespacedValue.js +11 -21
- package/lib/NamespacedValue.js.map +1 -1
- package/lib/ReEmitter.js +19 -21
- package/lib/ReEmitter.js.map +1 -1
- package/lib/ToDeviceMessageQueue.js +70 -70
- package/lib/ToDeviceMessageQueue.js.map +1 -1
- package/lib/autodiscovery.d.ts +1 -5
- package/lib/autodiscovery.d.ts.map +1 -1
- package/lib/autodiscovery.js +270 -268
- package/lib/autodiscovery.js.map +1 -1
- package/lib/base64.js +7 -16
- package/lib/base64.js.map +1 -1
- package/lib/browser-index.js +3 -19
- package/lib/browser-index.js.map +1 -1
- package/lib/client.d.ts +22 -21
- package/lib/client.d.ts.map +1 -1
- package/lib/client.js +2619 -2343
- package/lib/client.js.map +1 -1
- package/lib/common-crypto/CryptoBackend.d.ts +2 -1
- package/lib/common-crypto/CryptoBackend.d.ts.map +1 -1
- package/lib/common-crypto/CryptoBackend.js +2 -9
- package/lib/common-crypto/CryptoBackend.js.map +1 -1
- package/lib/content-helpers.js +68 -88
- package/lib/content-helpers.js.map +1 -1
- package/lib/content-repo.js +12 -14
- package/lib/content-repo.js.map +1 -1
- package/lib/crypto/CrossSigning.d.ts +6 -6
- package/lib/crypto/CrossSigning.d.ts.map +1 -1
- package/lib/crypto/CrossSigning.js +360 -319
- package/lib/crypto/CrossSigning.js.map +1 -1
- package/lib/crypto/DeviceList.js +338 -310
- package/lib/crypto/DeviceList.js.map +1 -1
- package/lib/crypto/EncryptionSetup.d.ts +3 -3
- package/lib/crypto/EncryptionSetup.d.ts.map +1 -1
- package/lib/crypto/EncryptionSetup.js +127 -122
- package/lib/crypto/EncryptionSetup.js.map +1 -1
- package/lib/crypto/OlmDevice.js +562 -481
- package/lib/crypto/OlmDevice.js.map +1 -1
- package/lib/crypto/OutgoingRoomKeyRequestManager.js +148 -137
- package/lib/crypto/OutgoingRoomKeyRequestManager.js.map +1 -1
- package/lib/crypto/RoomList.js +25 -25
- package/lib/crypto/RoomList.js.map +1 -1
- package/lib/crypto/SecretSharing.js +96 -103
- package/lib/crypto/SecretSharing.js.map +1 -1
- package/lib/crypto/SecretStorage.js +12 -14
- package/lib/crypto/SecretStorage.js.map +1 -1
- package/lib/crypto/aes.js +90 -80
- package/lib/crypto/aes.js.map +1 -1
- package/lib/crypto/algorithms/base.js +19 -33
- package/lib/crypto/algorithms/base.js.map +1 -1
- package/lib/crypto/algorithms/index.js +18 -17
- package/lib/crypto/algorithms/index.js.map +1 -1
- package/lib/crypto/algorithms/megolm.js +967 -841
- package/lib/crypto/algorithms/megolm.js.map +1 -1
- package/lib/crypto/algorithms/olm.js +184 -179
- package/lib/crypto/algorithms/olm.js.map +1 -1
- package/lib/crypto/api.js +21 -12
- package/lib/crypto/api.js.map +1 -1
- package/lib/crypto/backup.js +517 -457
- package/lib/crypto/backup.js.map +1 -1
- package/lib/crypto/crypto.js +15 -23
- package/lib/crypto/crypto.js.map +1 -1
- package/lib/crypto/dehydration.js +197 -183
- package/lib/crypto/dehydration.js.map +1 -1
- package/lib/crypto/device-converter.js +8 -14
- package/lib/crypto/device-converter.js.map +1 -1
- package/lib/crypto/deviceinfo.js +18 -26
- package/lib/crypto/deviceinfo.js.map +1 -1
- package/lib/crypto/index.d.ts +18 -18
- package/lib/crypto/index.d.ts.map +1 -1
- package/lib/crypto/index.js +2163 -1904
- package/lib/crypto/index.js.map +1 -1
- package/lib/crypto/key_passphrase.js +44 -38
- package/lib/crypto/key_passphrase.js.map +1 -1
- package/lib/crypto/keybackup.js +1 -6
- package/lib/crypto/olmlib.js +318 -276
- package/lib/crypto/olmlib.js.map +1 -1
- package/lib/crypto/recoverykey.js +14 -22
- package/lib/crypto/recoverykey.js.map +1 -1
- package/lib/crypto/store/base.d.ts +3 -3
- package/lib/crypto/store/base.d.ts.map +1 -1
- package/lib/crypto/store/base.js +4 -9
- package/lib/crypto/store/base.js.map +1 -1
- package/lib/crypto/store/indexeddb-crypto-store-backend.d.ts +3 -3
- package/lib/crypto/store/indexeddb-crypto-store-backend.d.ts.map +1 -1
- package/lib/crypto/store/indexeddb-crypto-store-backend.js +417 -365
- package/lib/crypto/store/indexeddb-crypto-store-backend.js.map +1 -1
- package/lib/crypto/store/indexeddb-crypto-store.d.ts +3 -3
- package/lib/crypto/store/indexeddb-crypto-store.d.ts.map +1 -1
- package/lib/crypto/store/indexeddb-crypto-store.js +52 -58
- package/lib/crypto/store/indexeddb-crypto-store.js.map +1 -1
- package/lib/crypto/store/localStorage-crypto-store.d.ts +3 -3
- package/lib/crypto/store/localStorage-crypto-store.d.ts.map +1 -1
- package/lib/crypto/store/localStorage-crypto-store.js +223 -192
- package/lib/crypto/store/localStorage-crypto-store.js.map +1 -1
- package/lib/crypto/store/memory-crypto-store.d.ts +3 -3
- package/lib/crypto/store/memory-crypto-store.d.ts.map +1 -1
- package/lib/crypto/store/memory-crypto-store.js +213 -180
- package/lib/crypto/store/memory-crypto-store.js.map +1 -1
- package/lib/crypto/verification/Base.js +105 -105
- package/lib/crypto/verification/Base.js.map +1 -1
- package/lib/crypto/verification/Error.js +16 -25
- package/lib/crypto/verification/Error.js.map +1 -1
- package/lib/crypto/verification/IllegalMethod.js +8 -15
- package/lib/crypto/verification/IllegalMethod.js.map +1 -1
- package/lib/crypto/verification/QRCode.js +101 -102
- package/lib/crypto/verification/QRCode.js.map +1 -1
- package/lib/crypto/verification/SAS.js +228 -211
- package/lib/crypto/verification/SAS.js.map +1 -1
- package/lib/crypto/verification/SASDecimal.js +1 -7
- package/lib/crypto/verification/SASDecimal.js.map +1 -1
- package/lib/crypto/verification/request/Channel.js +1 -6
- package/lib/crypto/verification/request/InRoomChannel.js +100 -100
- package/lib/crypto/verification/request/InRoomChannel.js.map +1 -1
- package/lib/crypto/verification/request/ToDeviceChannel.js +105 -101
- package/lib/crypto/verification/request/ToDeviceChannel.js.map +1 -1
- package/lib/crypto/verification/request/VerificationRequest.js +278 -263
- package/lib/crypto/verification/request/VerificationRequest.js.map +1 -1
- package/lib/crypto-api/keybackup.d.ts +1 -1
- package/lib/crypto-api/keybackup.js +1 -6
- package/lib/crypto-api/keybackup.js.map +1 -1
- package/lib/crypto-api/verification.js +16 -11
- package/lib/crypto-api/verification.js.map +1 -1
- package/lib/crypto-api.js +20 -46
- package/lib/crypto-api.js.map +1 -1
- package/lib/embedded.js +263 -186
- package/lib/embedded.js.map +1 -1
- package/lib/errors.js +8 -17
- package/lib/errors.js.map +1 -1
- package/lib/event-mapper.js +18 -23
- package/lib/event-mapper.js.map +1 -1
- package/lib/extensible_events_v1/ExtensibleEvent.js +1 -8
- package/lib/extensible_events_v1/ExtensibleEvent.js.map +1 -1
- package/lib/extensible_events_v1/InvalidEventError.js +1 -8
- package/lib/extensible_events_v1/InvalidEventError.js.map +1 -1
- package/lib/extensible_events_v1/MessageEvent.js +28 -33
- package/lib/extensible_events_v1/MessageEvent.js.map +1 -1
- package/lib/extensible_events_v1/PollEndEvent.js +23 -28
- package/lib/extensible_events_v1/PollEndEvent.js.map +1 -1
- package/lib/extensible_events_v1/PollResponseEvent.js +20 -28
- package/lib/extensible_events_v1/PollResponseEvent.js.map +1 -1
- package/lib/extensible_events_v1/PollStartEvent.js +38 -43
- package/lib/extensible_events_v1/PollStartEvent.js.map +1 -1
- package/lib/extensible_events_v1/utilities.js +2 -9
- package/lib/extensible_events_v1/utilities.js.map +1 -1
- package/lib/feature.js +28 -27
- package/lib/feature.js.map +1 -1
- package/lib/filter-component.js +22 -28
- package/lib/filter-component.js.map +1 -1
- package/lib/filter.js +18 -24
- package/lib/filter.js.map +1 -1
- package/lib/http-api/errors.js +13 -18
- package/lib/http-api/errors.js.map +1 -1
- package/lib/http-api/fetch.js +168 -158
- package/lib/http-api/fetch.js.map +1 -1
- package/lib/http-api/index.js +40 -103
- package/lib/http-api/index.js.map +1 -1
- package/lib/http-api/interface.js +4 -7
- package/lib/http-api/interface.js.map +1 -1
- package/lib/http-api/method.js +2 -7
- package/lib/http-api/method.js.map +1 -1
- package/lib/http-api/prefix.js +4 -9
- package/lib/http-api/prefix.js.map +1 -1
- package/lib/http-api/utils.js +50 -52
- package/lib/http-api/utils.js.map +1 -1
- package/lib/index.js +3 -22
- package/lib/index.js.map +1 -1
- package/lib/indexeddb-helpers.js +4 -10
- package/lib/indexeddb-helpers.js.map +1 -1
- package/lib/indexeddb-worker.js +24 -12
- package/lib/indexeddb-worker.js.map +1 -1
- package/lib/interactive-auth.d.ts +0 -4
- package/lib/interactive-auth.d.ts.map +1 -1
- package/lib/interactive-auth.js +229 -215
- package/lib/interactive-auth.js.map +1 -1
- package/lib/logger.js +36 -25
- package/lib/logger.js.map +1 -1
- package/lib/matrix.d.ts +0 -16
- package/lib/matrix.d.ts.map +1 -1
- package/lib/matrix.js +86 -858
- package/lib/matrix.js.map +1 -1
- package/lib/matrixrtc/CallMembership.js +6 -12
- package/lib/matrixrtc/CallMembership.js.map +1 -1
- package/lib/matrixrtc/MatrixRTCSession.js +244 -237
- package/lib/matrixrtc/MatrixRTCSession.js.map +1 -1
- package/lib/matrixrtc/MatrixRTCSessionManager.js +45 -48
- package/lib/matrixrtc/MatrixRTCSessionManager.js.map +1 -1
- package/lib/matrixrtc/focus.js +1 -6
- package/lib/matrixrtc/types.js +1 -6
- package/lib/models/MSC3089Branch.js +118 -102
- package/lib/models/MSC3089Branch.js.map +1 -1
- package/lib/models/MSC3089TreeSpace.d.ts +1 -1
- package/lib/models/MSC3089TreeSpace.d.ts.map +1 -1
- package/lib/models/MSC3089TreeSpace.js +265 -246
- package/lib/models/MSC3089TreeSpace.js.map +1 -1
- package/lib/models/ToDeviceMessage.js +1 -6
- package/lib/models/beacon.js +21 -29
- package/lib/models/beacon.js.map +1 -1
- package/lib/models/compare-event-ordering.js +16 -21
- package/lib/models/compare-event-ordering.js.map +1 -1
- package/lib/models/device.js +9 -14
- package/lib/models/device.js.map +1 -1
- package/lib/models/event-context.js +15 -20
- package/lib/models/event-context.js.map +1 -1
- package/lib/models/event-status.js +2 -7
- package/lib/models/event-status.js.map +1 -1
- package/lib/models/event-timeline-set.d.ts +1 -5
- package/lib/models/event-timeline-set.d.ts.map +1 -1
- package/lib/models/event-timeline-set.js +106 -123
- package/lib/models/event-timeline-set.js.map +1 -1
- package/lib/models/event-timeline.d.ts +1 -5
- package/lib/models/event-timeline.d.ts.map +1 -1
- package/lib/models/event-timeline.js +41 -59
- package/lib/models/event-timeline.js.map +1 -1
- package/lib/models/event.d.ts +1 -13
- package/lib/models/event.d.ts.map +1 -1
- package/lib/models/event.js +224 -224
- package/lib/models/event.js.map +1 -1
- package/lib/models/invites-ignorer.js +197 -179
- package/lib/models/invites-ignorer.js.map +1 -1
- package/lib/models/poll.js +87 -88
- package/lib/models/poll.js.map +1 -1
- package/lib/models/read-receipt.js +60 -60
- package/lib/models/read-receipt.js.map +1 -1
- package/lib/models/related-relations.js +1 -8
- package/lib/models/related-relations.js.map +1 -1
- package/lib/models/relations-container.js +25 -33
- package/lib/models/relations-container.js.map +1 -1
- package/lib/models/relations.js +162 -146
- package/lib/models/relations.js.map +1 -1
- package/lib/models/room-member.js +51 -56
- package/lib/models/room-member.js.map +1 -1
- package/lib/models/room-receipts.js +35 -42
- package/lib/models/room-receipts.js.map +1 -1
- package/lib/models/room-state.js +178 -170
- package/lib/models/room-state.js.map +1 -1
- package/lib/models/room-summary.js +1 -8
- package/lib/models/room-summary.js.map +1 -1
- package/lib/models/room.d.ts +1 -30
- package/lib/models/room.d.ts.map +1 -1
- package/lib/models/room.js +863 -854
- package/lib/models/room.js.map +1 -1
- package/lib/models/search-result.js +7 -14
- package/lib/models/search-result.js.map +1 -1
- package/lib/models/thread.js +303 -266
- package/lib/models/thread.js.map +1 -1
- package/lib/models/typed-event-emitter.js +25 -16
- package/lib/models/typed-event-emitter.js.map +1 -1
- package/lib/models/user.js +17 -24
- package/lib/models/user.js.map +1 -1
- package/lib/oidc/authorize.js +172 -155
- package/lib/oidc/authorize.js.map +1 -1
- package/lib/oidc/discovery.js +37 -37
- package/lib/oidc/discovery.js.map +1 -1
- package/lib/oidc/error.js +2 -7
- package/lib/oidc/error.js.map +1 -1
- package/lib/oidc/index.js +27 -70
- package/lib/oidc/index.js.map +1 -1
- package/lib/oidc/register.js +59 -59
- package/lib/oidc/register.js.map +1 -1
- package/lib/oidc/tokenRefresher.js +71 -66
- package/lib/oidc/tokenRefresher.js.map +1 -1
- package/lib/oidc/validate.js +37 -48
- package/lib/oidc/validate.js.map +1 -1
- package/lib/pushprocessor.js +110 -115
- package/lib/pushprocessor.js.map +1 -1
- package/lib/randomstring.js +14 -23
- package/lib/randomstring.js.map +1 -1
- package/lib/realtime-callbacks.js +32 -35
- package/lib/realtime-callbacks.js.map +1 -1
- package/lib/receipt-accumulator.js +22 -29
- package/lib/receipt-accumulator.js.map +1 -1
- package/lib/rendezvous/MSC3906Rendezvous.js +191 -162
- package/lib/rendezvous/MSC3906Rendezvous.js.map +1 -1
- package/lib/rendezvous/RendezvousChannel.js +1 -6
- package/lib/rendezvous/RendezvousCode.js +1 -6
- package/lib/rendezvous/RendezvousError.js +1 -8
- package/lib/rendezvous/RendezvousError.js.map +1 -1
- package/lib/rendezvous/RendezvousFailureReason.js +2 -7
- package/lib/rendezvous/RendezvousFailureReason.js.map +1 -1
- package/lib/rendezvous/RendezvousIntent.js +2 -7
- package/lib/rendezvous/RendezvousIntent.js.map +1 -1
- package/lib/rendezvous/RendezvousTransport.js +1 -6
- package/lib/rendezvous/channels/MSC3903ECDHv2RendezvousChannel.js +175 -152
- package/lib/rendezvous/channels/MSC3903ECDHv2RendezvousChannel.js.map +1 -1
- package/lib/rendezvous/channels/index.js +16 -15
- package/lib/rendezvous/channels/index.js.map +1 -1
- package/lib/rendezvous/index.js +22 -81
- package/lib/rendezvous/index.js.map +1 -1
- package/lib/rendezvous/transports/MSC3886SimpleHttpRendezvousTransport.js +134 -125
- package/lib/rendezvous/transports/MSC3886SimpleHttpRendezvousTransport.js.map +1 -1
- package/lib/rendezvous/transports/index.js +16 -15
- package/lib/rendezvous/transports/index.js.map +1 -1
- package/lib/room-hierarchy.js +57 -58
- package/lib/room-hierarchy.js.map +1 -1
- package/lib/rust-crypto/CrossSigningIdentity.js +101 -98
- package/lib/rust-crypto/CrossSigningIdentity.js.map +1 -1
- package/lib/rust-crypto/DehydratedDeviceManager.js +142 -125
- package/lib/rust-crypto/DehydratedDeviceManager.js.map +1 -1
- package/lib/rust-crypto/KeyClaimManager.js +23 -27
- package/lib/rust-crypto/KeyClaimManager.js.map +1 -1
- package/lib/rust-crypto/OutgoingRequestProcessor.js +136 -120
- package/lib/rust-crypto/OutgoingRequestProcessor.js.map +1 -1
- package/lib/rust-crypto/OutgoingRequestsManager.js +58 -51
- package/lib/rust-crypto/OutgoingRequestsManager.js.map +1 -1
- package/lib/rust-crypto/PerSessionKeyBackupDownloader.d.ts.map +1 -1
- package/lib/rust-crypto/PerSessionKeyBackupDownloader.js +242 -221
- package/lib/rust-crypto/PerSessionKeyBackupDownloader.js.map +1 -1
- package/lib/rust-crypto/RoomEncryptor.js +145 -140
- package/lib/rust-crypto/RoomEncryptor.js.map +1 -1
- package/lib/rust-crypto/backup.d.ts +1 -1
- package/lib/rust-crypto/backup.d.ts.map +1 -1
- package/lib/rust-crypto/backup.js +391 -338
- package/lib/rust-crypto/backup.js.map +1 -1
- package/lib/rust-crypto/constants.js +1 -7
- package/lib/rust-crypto/constants.js.map +1 -1
- package/lib/rust-crypto/device-converter.js +28 -35
- package/lib/rust-crypto/device-converter.js.map +1 -1
- package/lib/rust-crypto/index.d.ts +10 -3
- package/lib/rust-crypto/index.d.ts.map +1 -1
- package/lib/rust-crypto/index.js +118 -103
- package/lib/rust-crypto/index.js.map +1 -1
- package/lib/rust-crypto/libolm_migration.d.ts.map +1 -1
- package/lib/rust-crypto/libolm_migration.js +378 -316
- package/lib/rust-crypto/libolm_migration.js.map +1 -1
- package/lib/rust-crypto/rust-crypto.d.ts +2 -2
- package/lib/rust-crypto/rust-crypto.d.ts.map +1 -1
- package/lib/rust-crypto/rust-crypto.js +943 -754
- package/lib/rust-crypto/rust-crypto.js.map +1 -1
- package/lib/rust-crypto/secret-storage.js +25 -19
- package/lib/rust-crypto/secret-storage.js.map +1 -1
- package/lib/rust-crypto/verification.d.ts.map +1 -1
- package/lib/rust-crypto/verification.js +257 -216
- package/lib/rust-crypto/verification.js.map +1 -1
- package/lib/scheduler.js +33 -67
- package/lib/scheduler.js.map +1 -1
- package/lib/secret-storage.js +206 -187
- package/lib/secret-storage.js.map +1 -1
- package/lib/service-types.js +2 -7
- package/lib/service-types.js.map +1 -1
- package/lib/sliding-sync-sdk.js +442 -411
- package/lib/sliding-sync-sdk.js.map +1 -1
- package/lib/sliding-sync.js +236 -209
- package/lib/sliding-sync.js.map +1 -1
- package/lib/store/index.js +1 -6
- package/lib/store/indexeddb-backend.js +1 -6
- package/lib/store/indexeddb-local-backend.js +210 -186
- package/lib/store/indexeddb-local-backend.js.map +1 -1
- package/lib/store/indexeddb-remote-backend.js +38 -33
- package/lib/store/indexeddb-remote-backend.js.map +1 -1
- package/lib/store/indexeddb-store-worker.js +10 -18
- package/lib/store/indexeddb-store-worker.js.map +1 -1
- package/lib/store/indexeddb.js +86 -79
- package/lib/store/indexeddb.js.map +1 -1
- package/lib/store/local-storage-events-emitter.js +5 -10
- package/lib/store/local-storage-events-emitter.js.map +1 -1
- package/lib/store/memory.js +49 -46
- package/lib/store/memory.js.map +1 -1
- package/lib/store/stub.js +20 -21
- package/lib/store/stub.js.map +1 -1
- package/lib/sync-accumulator.d.ts +0 -2
- package/lib/sync-accumulator.d.ts.map +1 -1
- package/lib/sync-accumulator.js +62 -58
- package/lib/sync-accumulator.js.map +1 -1
- package/lib/sync.js +976 -918
- package/lib/sync.js.map +1 -1
- package/lib/testing.js +85 -61
- package/lib/testing.js.map +1 -1
- package/lib/thread-utils.js +3 -9
- package/lib/thread-utils.js.map +1 -1
- package/lib/timeline-window.js +104 -103
- package/lib/timeline-window.js.map +1 -1
- package/lib/types.js +4 -22
- package/lib/types.js.map +1 -1
- package/lib/utils.d.ts.map +1 -1
- package/lib/utils.js +148 -165
- package/lib/utils.js.map +1 -1
- package/lib/version-support.js +3 -9
- package/lib/version-support.js.map +1 -1
- package/lib/webrtc/audioContext.js +4 -12
- package/lib/webrtc/audioContext.js.map +1 -1
- package/lib/webrtc/call.js +1286 -1173
- package/lib/webrtc/call.js.map +1 -1
- package/lib/webrtc/callEventHandler.js +234 -234
- package/lib/webrtc/callEventHandler.js.map +1 -1
- package/lib/webrtc/callEventTypes.js +3 -8
- package/lib/webrtc/callEventTypes.js.map +1 -1
- package/lib/webrtc/callFeed.js +39 -46
- package/lib/webrtc/callFeed.js.map +1 -1
- package/lib/webrtc/groupCall.js +637 -580
- package/lib/webrtc/groupCall.js.map +1 -1
- package/lib/webrtc/groupCallEventHandler.js +73 -76
- package/lib/webrtc/groupCallEventHandler.js.map +1 -1
- package/lib/webrtc/mediaHandler.js +225 -198
- package/lib/webrtc/mediaHandler.js.map +1 -1
- package/lib/webrtc/stats/callFeedStatsReporter.js +17 -22
- package/lib/webrtc/stats/callFeedStatsReporter.js.map +1 -1
- package/lib/webrtc/stats/callStatsReportGatherer.js +97 -98
- package/lib/webrtc/stats/callStatsReportGatherer.js.map +1 -1
- package/lib/webrtc/stats/callStatsReportSummary.js +1 -6
- package/lib/webrtc/stats/connectionStats.js +6 -14
- package/lib/webrtc/stats/connectionStats.js.map +1 -1
- package/lib/webrtc/stats/connectionStatsBuilder.js +3 -10
- package/lib/webrtc/stats/connectionStatsBuilder.js.map +1 -1
- package/lib/webrtc/stats/connectionStatsReportBuilder.js +21 -28
- package/lib/webrtc/stats/connectionStatsReportBuilder.js.map +1 -1
- package/lib/webrtc/stats/groupCallStats.js +14 -22
- package/lib/webrtc/stats/groupCallStats.js.map +1 -1
- package/lib/webrtc/stats/media/mediaSsrcHandler.js +10 -18
- package/lib/webrtc/stats/media/mediaSsrcHandler.js.map +1 -1
- package/lib/webrtc/stats/media/mediaTrackHandler.js +4 -11
- package/lib/webrtc/stats/media/mediaTrackHandler.js.map +1 -1
- package/lib/webrtc/stats/media/mediaTrackStats.js +12 -20
- package/lib/webrtc/stats/media/mediaTrackStats.js.map +1 -1
- package/lib/webrtc/stats/media/mediaTrackStatsHandler.js +11 -19
- package/lib/webrtc/stats/media/mediaTrackStatsHandler.js.map +1 -1
- package/lib/webrtc/stats/statsReport.js +8 -8
- package/lib/webrtc/stats/statsReport.js.map +1 -1
- package/lib/webrtc/stats/statsReportEmitter.js +7 -14
- package/lib/webrtc/stats/statsReportEmitter.js.map +1 -1
- package/lib/webrtc/stats/summaryStatsReportGatherer.js +15 -22
- package/lib/webrtc/stats/summaryStatsReportGatherer.js.map +1 -1
- package/lib/webrtc/stats/trackStatsBuilder.js +32 -39
- package/lib/webrtc/stats/trackStatsBuilder.js.map +1 -1
- package/lib/webrtc/stats/transportStats.js +1 -6
- package/lib/webrtc/stats/transportStatsBuilder.js +10 -17
- package/lib/webrtc/stats/transportStatsBuilder.js.map +1 -1
- package/lib/webrtc/stats/valueFormatter.js +2 -9
- package/lib/webrtc/stats/valueFormatter.js.map +1 -1
- package/package.json +3 -3
- package/src/@types/auth.ts +0 -5
- package/src/@types/event.ts +0 -6
- package/src/@types/registration.ts +5 -19
- package/src/autodiscovery.ts +0 -5
- package/src/client.ts +40 -58
- package/src/common-crypto/CryptoBackend.ts +2 -1
- package/src/crypto/CrossSigning.ts +9 -9
- package/src/crypto/EncryptionSetup.ts +3 -10
- package/src/crypto/index.ts +24 -26
- package/src/crypto/store/base.ts +3 -3
- package/src/crypto/store/indexeddb-crypto-store-backend.ts +3 -3
- package/src/crypto/store/indexeddb-crypto-store.ts +3 -3
- package/src/crypto/store/localStorage-crypto-store.ts +4 -4
- package/src/crypto/store/memory-crypto-store.ts +4 -4
- package/src/crypto-api/keybackup.ts +1 -1
- package/src/interactive-auth.ts +4 -10
- package/src/matrix.ts +0 -18
- package/src/models/MSC3089TreeSpace.ts +1 -1
- package/src/models/event-timeline-set.ts +1 -36
- package/src/models/event-timeline.ts +1 -22
- package/src/models/event.ts +4 -17
- package/src/models/room.ts +3 -96
- package/src/rust-crypto/PerSessionKeyBackupDownloader.ts +8 -4
- package/src/rust-crypto/backup.ts +6 -1
- package/src/rust-crypto/index.ts +21 -7
- package/src/rust-crypto/libolm_migration.ts +13 -0
- package/src/rust-crypto/rust-crypto.ts +7 -3
- package/src/rust-crypto/verification.ts +8 -2
- package/src/sync-accumulator.ts +1 -3
- package/src/utils.ts +1 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,28 @@
|
|
|
1
|
+
Changes in [33.0.0](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v33.0.0) (2024-06-04)
|
|
2
|
+
==================================================================================================
|
|
3
|
+
## 🚨 BREAKING CHANGES
|
|
4
|
+
|
|
5
|
+
* Remove more deprecated methods, fields, and exports ([#4217](https://github.com/matrix-org/matrix-js-sdk/pull/4217)). Contributed by @t3chguy.
|
|
6
|
+
* Remove deprecated methods and fields ([#4201](https://github.com/matrix-org/matrix-js-sdk/pull/4201)). Contributed by @t3chguy.
|
|
7
|
+
|
|
8
|
+
## 🦖 Deprecations
|
|
9
|
+
|
|
10
|
+
* Remove more deprecated methods, fields, and exports ([#4217](https://github.com/matrix-org/matrix-js-sdk/pull/4217)). Contributed by @t3chguy.
|
|
11
|
+
* Remove deprecated methods and fields ([#4201](https://github.com/matrix-org/matrix-js-sdk/pull/4201)). Contributed by @t3chguy.
|
|
12
|
+
|
|
13
|
+
## ✨ Features
|
|
14
|
+
|
|
15
|
+
* `initRustCrypto`: allow app to pass in the store key directly ([#4210](https://github.com/matrix-org/matrix-js-sdk/pull/4210)). Contributed by @richvdh.
|
|
16
|
+
* Preserve ESM for async imports to work correctly ([#4187](https://github.com/matrix-org/matrix-js-sdk/pull/4187)). Contributed by @ms-dosx86.
|
|
17
|
+
|
|
18
|
+
## 🐛 Bug Fixes
|
|
19
|
+
|
|
20
|
+
* Don't run migration for Rust crypto if the legacy store is empty ([#4218](https://github.com/matrix-org/matrix-js-sdk/pull/4218)). Contributed by @andybalaam.
|
|
21
|
+
* Bump matrix-sdk-crypto-wasm to 5.0.0 ([#4216](https://github.com/matrix-org/matrix-js-sdk/pull/4216)). Contributed by @richvdh.
|
|
22
|
+
* Wire up verification cancel \& mismatch for rust crypto ([#4202](https://github.com/matrix-org/matrix-js-sdk/pull/4202)). Contributed by @t3chguy.
|
|
23
|
+
* Only pass id\_server if we had one to begin with ([#4200](https://github.com/matrix-org/matrix-js-sdk/pull/4200)). Contributed by @t3chguy.
|
|
24
|
+
|
|
25
|
+
|
|
1
26
|
Changes in [32.4.0](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v32.4.0) (2024-05-22)
|
|
2
27
|
==================================================================================================
|
|
3
28
|
* No changes
|
package/git-revision.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
7850294a4bb0751c835b09afafdd626b177d173c
|
package/lib/@types/PushRules.js
CHANGED
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.TweakName = exports.RuleId = exports.PushRuleKind = exports.PushRuleActionName = exports.DMMemberCountCondition = exports.ConditionOperator = exports.ConditionKind = void 0;
|
|
7
|
-
exports.isDmMemberCountCondition = isDmMemberCountCondition;
|
|
8
1
|
/*
|
|
9
2
|
Copyright 2021 The Matrix.org Foundation C.I.C.
|
|
10
3
|
|
|
@@ -20,20 +13,22 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
20
13
|
See the License for the specific language governing permissions and
|
|
21
14
|
limitations under the License.
|
|
22
15
|
*/
|
|
16
|
+
|
|
23
17
|
// allow camelcase as these are things that go onto the wire
|
|
24
18
|
/* eslint-disable camelcase */
|
|
25
|
-
|
|
19
|
+
|
|
20
|
+
export var PushRuleActionName = /*#__PURE__*/function (PushRuleActionName) {
|
|
26
21
|
PushRuleActionName["DontNotify"] = "dont_notify";
|
|
27
22
|
PushRuleActionName["Notify"] = "notify";
|
|
28
23
|
PushRuleActionName["Coalesce"] = "coalesce";
|
|
29
24
|
return PushRuleActionName;
|
|
30
25
|
}({});
|
|
31
|
-
|
|
26
|
+
export var TweakName = /*#__PURE__*/function (TweakName) {
|
|
32
27
|
TweakName["Highlight"] = "highlight";
|
|
33
28
|
TweakName["Sound"] = "sound";
|
|
34
29
|
return TweakName;
|
|
35
30
|
}({});
|
|
36
|
-
|
|
31
|
+
export var ConditionOperator = /*#__PURE__*/function (ConditionOperator) {
|
|
37
32
|
ConditionOperator["ExactEquals"] = "==";
|
|
38
33
|
ConditionOperator["LessThan"] = "<";
|
|
39
34
|
ConditionOperator["GreaterThan"] = ">";
|
|
@@ -41,11 +36,11 @@ let ConditionOperator = exports.ConditionOperator = /*#__PURE__*/function (Condi
|
|
|
41
36
|
ConditionOperator["LessThanOrEqual"] = "<=";
|
|
42
37
|
return ConditionOperator;
|
|
43
38
|
}({});
|
|
44
|
-
|
|
45
|
-
function isDmMemberCountCondition(condition) {
|
|
39
|
+
export var DMMemberCountCondition = "2";
|
|
40
|
+
export function isDmMemberCountCondition(condition) {
|
|
46
41
|
return condition === "==2" || condition === "2";
|
|
47
42
|
}
|
|
48
|
-
|
|
43
|
+
export var ConditionKind = /*#__PURE__*/function (ConditionKind) {
|
|
49
44
|
ConditionKind["EventMatch"] = "event_match";
|
|
50
45
|
ConditionKind["EventPropertyIs"] = "event_property_is";
|
|
51
46
|
ConditionKind["EventPropertyContains"] = "event_property_contains";
|
|
@@ -55,9 +50,12 @@ let ConditionKind = exports.ConditionKind = /*#__PURE__*/function (ConditionKind
|
|
|
55
50
|
ConditionKind["CallStarted"] = "call_started";
|
|
56
51
|
ConditionKind["CallStartedPrefix"] = "org.matrix.msc3914.call_started";
|
|
57
52
|
return ConditionKind;
|
|
58
|
-
}({});
|
|
53
|
+
}({});
|
|
54
|
+
|
|
55
|
+
// XXX: custom conditions are possible but always fail, and break the typescript discriminated union so ignore them here
|
|
59
56
|
// IPushRuleCondition<Exclude<string, ConditionKind>> unfortunately does not resolve this at the time of writing.
|
|
60
|
-
|
|
57
|
+
|
|
58
|
+
export var PushRuleKind = /*#__PURE__*/function (PushRuleKind) {
|
|
61
59
|
PushRuleKind["Override"] = "override";
|
|
62
60
|
PushRuleKind["ContentSpecific"] = "content";
|
|
63
61
|
PushRuleKind["RoomSpecific"] = "room";
|
|
@@ -65,7 +63,7 @@ let PushRuleKind = exports.PushRuleKind = /*#__PURE__*/function (PushRuleKind) {
|
|
|
65
63
|
PushRuleKind["Underride"] = "underride";
|
|
66
64
|
return PushRuleKind;
|
|
67
65
|
}({});
|
|
68
|
-
|
|
66
|
+
export var RuleId = /*#__PURE__*/function (RuleId) {
|
|
69
67
|
RuleId["Master"] = ".m.rule.master";
|
|
70
68
|
RuleId["IsUserMention"] = ".m.rule.is_user_mention";
|
|
71
69
|
RuleId["IsRoomMention"] = ".m.rule.is_room_mention";
|
|
@@ -91,5 +89,6 @@ let RuleId = exports.RuleId = /*#__PURE__*/function (RuleId) {
|
|
|
91
89
|
RuleId["PollEndOneToOneUnstable"] = ".org.matrix.msc3930.rule.poll_end_one_to_one";
|
|
92
90
|
return RuleId;
|
|
93
91
|
}({});
|
|
92
|
+
|
|
94
93
|
/* eslint-enable camelcase */
|
|
95
94
|
//# sourceMappingURL=PushRules.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PushRules.js","names":["PushRuleActionName","
|
|
1
|
+
{"version":3,"file":"PushRules.js","names":["PushRuleActionName","TweakName","ConditionOperator","DMMemberCountCondition","isDmMemberCountCondition","condition","ConditionKind","PushRuleKind","RuleId"],"sources":["../../src/@types/PushRules.ts"],"sourcesContent":["/*\nCopyright 2021 The Matrix.org Foundation C.I.C.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n*/\n\n// allow camelcase as these are things that go onto the wire\n/* eslint-disable camelcase */\n\nexport enum PushRuleActionName {\n DontNotify = \"dont_notify\",\n Notify = \"notify\",\n Coalesce = \"coalesce\",\n}\n\nexport enum TweakName {\n Highlight = \"highlight\",\n Sound = \"sound\",\n}\n\nexport type Tweak<N extends TweakName, V> = {\n set_tweak: N;\n value?: V;\n};\n\nexport type TweakHighlight = Tweak<TweakName.Highlight, boolean>;\nexport type TweakSound = Tweak<TweakName.Sound, string>;\n\nexport type Tweaks = TweakHighlight | TweakSound;\n\nexport enum ConditionOperator {\n ExactEquals = \"==\",\n LessThan = \"<\",\n GreaterThan = \">\",\n GreaterThanOrEqual = \">=\",\n LessThanOrEqual = \"<=\",\n}\n\nexport type PushRuleAction = Tweaks | PushRuleActionName;\n\nexport type MemberCountCondition<N extends number, Op extends ConditionOperator = ConditionOperator.ExactEquals> =\n | `${Op}${N}`\n | (Op extends ConditionOperator.ExactEquals ? `${N}` : never);\n\nexport type AnyMemberCountCondition = MemberCountCondition<number, ConditionOperator>;\n\nexport const DMMemberCountCondition: MemberCountCondition<2> = \"2\";\n\nexport function isDmMemberCountCondition(condition: AnyMemberCountCondition): boolean {\n return condition === \"==2\" || condition === \"2\";\n}\n\nexport enum ConditionKind {\n EventMatch = \"event_match\",\n EventPropertyIs = \"event_property_is\",\n EventPropertyContains = \"event_property_contains\",\n ContainsDisplayName = \"contains_display_name\",\n RoomMemberCount = \"room_member_count\",\n SenderNotificationPermission = \"sender_notification_permission\",\n CallStarted = \"call_started\",\n CallStartedPrefix = \"org.matrix.msc3914.call_started\",\n}\n\nexport interface IPushRuleCondition<N extends ConditionKind | string> {\n [k: string]: any; // for custom conditions, there can be other fields here\n kind: N;\n}\n\nexport interface IEventMatchCondition extends IPushRuleCondition<ConditionKind.EventMatch> {\n key: string;\n pattern?: string;\n // Note that value property is an optimization for patterns which do not do\n // any globbing and when the key is not \"content.body\".\n value?: string;\n}\n\nexport interface IEventPropertyIsCondition extends IPushRuleCondition<ConditionKind.EventPropertyIs> {\n key: string;\n value: string | boolean | null | number;\n}\n\nexport interface IEventPropertyContainsCondition extends IPushRuleCondition<ConditionKind.EventPropertyContains> {\n key: string;\n value: string | boolean | null | number;\n}\n\nexport interface IContainsDisplayNameCondition extends IPushRuleCondition<ConditionKind.ContainsDisplayName> {\n // no additional fields\n}\n\nexport interface IRoomMemberCountCondition extends IPushRuleCondition<ConditionKind.RoomMemberCount> {\n is: AnyMemberCountCondition;\n}\n\nexport interface ISenderNotificationPermissionCondition\n extends IPushRuleCondition<ConditionKind.SenderNotificationPermission> {\n key: string;\n}\n\nexport interface ICallStartedCondition extends IPushRuleCondition<ConditionKind.CallStarted> {\n // no additional fields\n}\n\nexport interface ICallStartedPrefixCondition extends IPushRuleCondition<ConditionKind.CallStartedPrefix> {\n // no additional fields\n}\n\n// XXX: custom conditions are possible but always fail, and break the typescript discriminated union so ignore them here\n// IPushRuleCondition<Exclude<string, ConditionKind>> unfortunately does not resolve this at the time of writing.\nexport type PushRuleCondition =\n | IEventMatchCondition\n | IEventPropertyIsCondition\n | IEventPropertyContainsCondition\n | IContainsDisplayNameCondition\n | IRoomMemberCountCondition\n | ISenderNotificationPermissionCondition\n | ICallStartedCondition\n | ICallStartedPrefixCondition;\n\nexport enum PushRuleKind {\n Override = \"override\",\n ContentSpecific = \"content\",\n RoomSpecific = \"room\",\n SenderSpecific = \"sender\",\n Underride = \"underride\",\n}\n\nexport enum RuleId {\n Master = \".m.rule.master\",\n IsUserMention = \".m.rule.is_user_mention\",\n IsRoomMention = \".m.rule.is_room_mention\",\n ContainsDisplayName = \".m.rule.contains_display_name\",\n ContainsUserName = \".m.rule.contains_user_name\",\n AtRoomNotification = \".m.rule.roomnotif\",\n DM = \".m.rule.room_one_to_one\",\n EncryptedDM = \".m.rule.encrypted_room_one_to_one\",\n Message = \".m.rule.message\",\n EncryptedMessage = \".m.rule.encrypted\",\n InviteToSelf = \".m.rule.invite_for_me\",\n MemberEvent = \".m.rule.member_event\",\n IncomingCall = \".m.rule.call\",\n SuppressNotices = \".m.rule.suppress_notices\",\n Tombstone = \".m.rule.tombstone\",\n PollStart = \".m.rule.poll_start\",\n PollStartUnstable = \".org.matrix.msc3930.rule.poll_start\",\n PollEnd = \".m.rule.poll_end\",\n PollEndUnstable = \".org.matrix.msc3930.rule.poll_end\",\n PollStartOneToOne = \".m.rule.poll_start_one_to_one\",\n PollStartOneToOneUnstable = \".org.matrix.msc3930.rule.poll_start_one_to_one\",\n PollEndOneToOne = \".m.rule.poll_end_one_to_one\",\n PollEndOneToOneUnstable = \".org.matrix.msc3930.rule.poll_end_one_to_one\",\n}\n\nexport type PushRuleSet = {\n [k in PushRuleKind]?: IPushRule[];\n};\n\nexport interface IPushRule {\n actions: PushRuleAction[];\n conditions?: PushRuleCondition[];\n default: boolean;\n enabled: boolean;\n pattern?: string;\n rule_id: RuleId | string;\n}\n\nexport interface IAnnotatedPushRule extends IPushRule {\n kind: PushRuleKind;\n}\n\nexport interface IPushRules {\n global: PushRuleSet;\n device?: PushRuleSet;\n}\n\nexport interface IPusher {\n \"app_display_name\": string;\n \"app_id\": string;\n \"data\": {\n format?: string;\n url?: string; // TODO: Required if kind==http\n brand?: string; // TODO: For email notifications only? Unspecced field\n };\n \"device_display_name\": string;\n \"kind\": \"http\" | string;\n \"lang\": string;\n \"profile_tag\"?: string;\n \"pushkey\": string;\n \"enabled\"?: boolean | null;\n \"org.matrix.msc3881.enabled\"?: boolean | null;\n \"device_id\"?: string | null;\n \"org.matrix.msc3881.device_id\"?: string | null;\n}\n\nexport interface IPusherRequest extends Omit<IPusher, \"device_id\" | \"org.matrix.msc3881.device_id\"> {\n append?: boolean;\n}\n\n/* eslint-enable camelcase */\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,WAAYA,kBAAkB,0BAAlBA,kBAAkB;EAAlBA,kBAAkB;EAAlBA,kBAAkB;EAAlBA,kBAAkB;EAAA,OAAlBA,kBAAkB;AAAA;AAM9B,WAAYC,SAAS,0BAATA,SAAS;EAATA,SAAS;EAATA,SAAS;EAAA,OAATA,SAAS;AAAA;AAerB,WAAYC,iBAAiB,0BAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAA,OAAjBA,iBAAiB;AAAA;AAgB7B,OAAO,IAAMC,sBAA+C,GAAG,GAAG;AAElE,OAAO,SAASC,wBAAwBA,CAACC,SAAkC,EAAW;EAClF,OAAOA,SAAS,KAAK,KAAK,IAAIA,SAAS,KAAK,GAAG;AACnD;AAEA,WAAYC,aAAa,0BAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAA,OAAbA,aAAa;AAAA;;AAuDzB;AACA;;AAWA,WAAYC,YAAY,0BAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAA,OAAZA,YAAY;AAAA;AAQxB,WAAYC,MAAM,0BAANA,MAAM;EAANA,MAAM;EAANA,MAAM;EAANA,MAAM;EAANA,MAAM;EAANA,MAAM;EAANA,MAAM;EAANA,MAAM;EAANA,MAAM;EAANA,MAAM;EAANA,MAAM;EAANA,MAAM;EAANA,MAAM;EAANA,MAAM;EAANA,MAAM;EAANA,MAAM;EAANA,MAAM;EAANA,MAAM;EAANA,MAAM;EAANA,MAAM;EAANA,MAAM;EAANA,MAAM;EAANA,MAAM;EAANA,MAAM;EAAA,OAANA,MAAM;AAAA;;AAuElB","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";
|
package/lib/@types/auth.d.ts
CHANGED
|
@@ -106,11 +106,6 @@ export interface LoginRequest {
|
|
|
106
106
|
* The login type being used.
|
|
107
107
|
*/
|
|
108
108
|
type: "m.login.password" | "m.login.token" | string;
|
|
109
|
-
/**
|
|
110
|
-
* Third-party identifier for the user.
|
|
111
|
-
* @deprecated in favour of `identifier`.
|
|
112
|
-
*/
|
|
113
|
-
address?: string;
|
|
114
109
|
/**
|
|
115
110
|
* ID of the client device.
|
|
116
111
|
* If this does not correspond to a known client device, a new device will be created.
|
package/lib/@types/auth.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../src/@types/auth.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAK7C;;GAEG;AACH,MAAM,WAAW,qBAAqB;IAClC,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;CACzB;AAID;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAChC,KAAK,EAAE,SAAS,EAAE,CAAC;CACtB;AAED,MAAM,MAAM,SAAS,GAAG,QAAQ,GAAG,aAAa,GAAG,UAAU,CAAC;AAE9D,MAAM,WAAW,UAAU;IACvB,IAAI,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,aAAc,SAAQ,UAAU;IAC7C,IAAI,EAAE,kBAAkB,CAAC;C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C,EAAE,cAAc,CAAC;IAC5B;;;OAGG;IACH,2BAA2B,CAAC,EAAE,MAAM,CAAC;IACrC;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACtB;AAGD,MAAM,MAAM,YAAY,GAAG,YAAY,CAAC;AAExC;;;GAGG;AACH,MAAM,WAAW,aAAa;IAC1B;;;OAGG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;;OAKG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAC9B;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACnC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;CACzB"}
|
package/lib/@types/auth.js
CHANGED
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.SSOAction = exports.IdentityProviderBrand = exports.DELEGATED_OIDC_COMPATIBILITY = void 0;
|
|
7
|
-
var _NamespacedValue = require("../NamespacedValue");
|
|
8
1
|
/*
|
|
9
2
|
Copyright 2022 The Matrix.org Foundation C.I.C.
|
|
10
3
|
|
|
@@ -21,6 +14,8 @@ See the License for the specific language governing permissions and
|
|
|
21
14
|
limitations under the License.
|
|
22
15
|
*/
|
|
23
16
|
|
|
17
|
+
import { UnstableValue } from "../NamespacedValue";
|
|
18
|
+
|
|
24
19
|
// disable lint because these are wire responses
|
|
25
20
|
/* eslint-disable camelcase */
|
|
26
21
|
|
|
@@ -34,12 +29,13 @@ limitations under the License.
|
|
|
34
29
|
* Response to GET login flows as per https://spec.matrix.org/v1.3/client-server-api/#get_matrixclientv3login
|
|
35
30
|
*/
|
|
36
31
|
|
|
37
|
-
|
|
32
|
+
export var DELEGATED_OIDC_COMPATIBILITY = new UnstableValue("delegated_oidc_compatibility", "org.matrix.msc3824.delegated_oidc_compatibility");
|
|
38
33
|
|
|
39
34
|
/**
|
|
40
35
|
* Representation of SSO flow as per https://spec.matrix.org/v1.3/client-server-api/#client-login-via-sso
|
|
41
36
|
*/
|
|
42
|
-
|
|
37
|
+
|
|
38
|
+
export var IdentityProviderBrand = /*#__PURE__*/function (IdentityProviderBrand) {
|
|
43
39
|
IdentityProviderBrand["Gitlab"] = "gitlab";
|
|
44
40
|
IdentityProviderBrand["Github"] = "github";
|
|
45
41
|
IdentityProviderBrand["Apple"] = "apple";
|
|
@@ -48,22 +44,25 @@ let IdentityProviderBrand = exports.IdentityProviderBrand = /*#__PURE__*/functio
|
|
|
48
44
|
IdentityProviderBrand["Twitter"] = "twitter";
|
|
49
45
|
return IdentityProviderBrand;
|
|
50
46
|
}({});
|
|
51
|
-
|
|
47
|
+
export var SSOAction = /*#__PURE__*/function (SSOAction) {
|
|
52
48
|
SSOAction["LOGIN"] = "login";
|
|
53
49
|
SSOAction["REGISTER"] = "register";
|
|
54
50
|
return SSOAction;
|
|
55
51
|
}({});
|
|
52
|
+
|
|
56
53
|
/**
|
|
57
54
|
* A client can identify a user using their Matrix ID.
|
|
58
55
|
* This can either be the fully qualified Matrix user ID, or just the localpart of the user ID.
|
|
59
56
|
* @see https://spec.matrix.org/v1.7/client-server-api/#matrix-user-id
|
|
60
57
|
*/
|
|
58
|
+
|
|
61
59
|
/**
|
|
62
60
|
* A client can identify a user using a 3PID associated with the user’s account on the homeserver,
|
|
63
61
|
* where the 3PID was previously associated using the /account/3pid API.
|
|
64
62
|
* See the 3PID Types Appendix for a list of Third-party ID media.
|
|
65
63
|
* @see https://spec.matrix.org/v1.7/client-server-api/#third-party-id
|
|
66
64
|
*/
|
|
65
|
+
|
|
67
66
|
/**
|
|
68
67
|
* A client can identify a user using a phone number associated with the user’s account,
|
|
69
68
|
* where the phone number was previously associated using the /account/3pid API.
|
|
@@ -75,20 +74,25 @@ let SSOAction = exports.SSOAction = /*#__PURE__*/function (SSOAction) {
|
|
|
75
74
|
*
|
|
76
75
|
* @see https://spec.matrix.org/v1.7/client-server-api/#phone-number
|
|
77
76
|
*/
|
|
77
|
+
|
|
78
78
|
/**
|
|
79
79
|
* User Identifiers usable for login & user-interactive authentication.
|
|
80
80
|
*
|
|
81
81
|
* Extensibly allows more than Matrix specified identifiers.
|
|
82
82
|
*/
|
|
83
|
+
|
|
83
84
|
/**
|
|
84
85
|
* Request body for POST /login request
|
|
85
86
|
* @see https://spec.matrix.org/v1.7/client-server-api/#post_matrixclientv3login
|
|
86
87
|
*/
|
|
88
|
+
|
|
87
89
|
// Export for backwards compatibility
|
|
90
|
+
|
|
88
91
|
/**
|
|
89
92
|
* Response body for POST /login request
|
|
90
93
|
* @see https://spec.matrix.org/v1.7/client-server-api/#post_matrixclientv3login
|
|
91
94
|
*/
|
|
95
|
+
|
|
92
96
|
/**
|
|
93
97
|
* The result of a successful `m.login.token` issuance request as per https://spec.matrix.org/v1.7/client-server-api/#post_matrixclientv1loginget_token
|
|
94
98
|
*/
|
package/lib/@types/auth.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth.js","names":["
|
|
1
|
+
{"version":3,"file":"auth.js","names":["UnstableValue","DELEGATED_OIDC_COMPATIBILITY","IdentityProviderBrand","SSOAction"],"sources":["../../src/@types/auth.ts"],"sourcesContent":["/*\nCopyright 2022 The Matrix.org Foundation C.I.C.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n*/\n\nimport { UnstableValue } from \"../NamespacedValue\";\nimport { IClientWellKnown } from \"../client\";\n\n// disable lint because these are wire responses\n/* eslint-disable camelcase */\n\n/**\n * Represents a response to the CSAPI `/refresh` endpoint.\n */\nexport interface IRefreshTokenResponse {\n access_token: string;\n expires_in_ms: number;\n refresh_token: string;\n}\n\n/* eslint-enable camelcase */\n\n/**\n * Response to GET login flows as per https://spec.matrix.org/v1.3/client-server-api/#get_matrixclientv3login\n */\nexport interface ILoginFlowsResponse {\n flows: LoginFlow[];\n}\n\nexport type LoginFlow = ISSOFlow | IPasswordFlow | ILoginFlow;\n\nexport interface ILoginFlow {\n type: string;\n}\n\nexport interface IPasswordFlow extends ILoginFlow {\n type: \"m.login.password\";\n}\n\nexport const DELEGATED_OIDC_COMPATIBILITY = new UnstableValue(\n \"delegated_oidc_compatibility\",\n \"org.matrix.msc3824.delegated_oidc_compatibility\",\n);\n\n/**\n * Representation of SSO flow as per https://spec.matrix.org/v1.3/client-server-api/#client-login-via-sso\n */\nexport interface ISSOFlow extends ILoginFlow {\n type: \"m.login.sso\" | \"m.login.cas\";\n // eslint-disable-next-line camelcase\n identity_providers?: IIdentityProvider[];\n [DELEGATED_OIDC_COMPATIBILITY.name]?: boolean;\n [DELEGATED_OIDC_COMPATIBILITY.altName]?: boolean;\n}\n\nexport enum IdentityProviderBrand {\n Gitlab = \"gitlab\",\n Github = \"github\",\n Apple = \"apple\",\n Google = \"google\",\n Facebook = \"facebook\",\n Twitter = \"twitter\",\n}\n\nexport interface IIdentityProvider {\n id: string;\n name: string;\n icon?: string;\n brand?: IdentityProviderBrand | string;\n}\n\nexport enum SSOAction {\n /** The user intends to login to an existing account */\n LOGIN = \"login\",\n\n /** The user intends to register for a new account */\n REGISTER = \"register\",\n}\n\n/**\n * A client can identify a user using their Matrix ID.\n * This can either be the fully qualified Matrix user ID, or just the localpart of the user ID.\n * @see https://spec.matrix.org/v1.7/client-server-api/#matrix-user-id\n */\ntype UserLoginIdentifier = {\n type: \"m.id.user\";\n user: string;\n};\n\n/**\n * A client can identify a user using a 3PID associated with the user’s account on the homeserver,\n * where the 3PID was previously associated using the /account/3pid API.\n * See the 3PID Types Appendix for a list of Third-party ID media.\n * @see https://spec.matrix.org/v1.7/client-server-api/#third-party-id\n */\ntype ThirdPartyLoginIdentifier = {\n type: \"m.id.thirdparty\";\n medium: string;\n address: string;\n};\n\n/**\n * A client can identify a user using a phone number associated with the user’s account,\n * where the phone number was previously associated using the /account/3pid API.\n * The phone number can be passed in as entered by the user; the homeserver will be responsible for canonicalising it.\n * If the client wishes to canonicalise the phone number,\n * then it can use the m.id.thirdparty identifier type with a medium of msisdn instead.\n *\n * The country is the two-letter uppercase ISO-3166-1 alpha-2 country code that the number in phone should be parsed as if it were dialled from.\n *\n * @see https://spec.matrix.org/v1.7/client-server-api/#phone-number\n */\ntype PhoneLoginIdentifier = {\n type: \"m.id.phone\";\n country: string;\n phone: string;\n};\n\ntype SpecUserIdentifier = UserLoginIdentifier | ThirdPartyLoginIdentifier | PhoneLoginIdentifier;\n\n/**\n * User Identifiers usable for login & user-interactive authentication.\n *\n * Extensibly allows more than Matrix specified identifiers.\n */\nexport type UserIdentifier =\n | SpecUserIdentifier\n | { type: Exclude<string, SpecUserIdentifier[\"type\"]>; [key: string]: any };\n\n/**\n * Request body for POST /login request\n * @see https://spec.matrix.org/v1.7/client-server-api/#post_matrixclientv3login\n */\nexport interface LoginRequest {\n /**\n * The login type being used.\n */\n type: \"m.login.password\" | \"m.login.token\" | string;\n /**\n * ID of the client device.\n * If this does not correspond to a known client device, a new device will be created.\n * The given device ID must not be the same as a cross-signing key ID.\n * The server will auto-generate a device_id if this is not specified.\n */\n device_id?: string;\n /**\n * Identification information for a user\n */\n identifier?: UserIdentifier;\n /**\n * A display name to assign to the newly-created device.\n * Ignored if device_id corresponds to a known device.\n */\n initial_device_display_name?: string;\n /**\n * When logging in using a third-party identifier, the medium of the identifier.\n * Must be `email`.\n * @deprecated in favour of `identifier`.\n */\n medium?: \"email\";\n /**\n * Required when type is `m.login.password`. The user’s password.\n */\n password?: string;\n /**\n * If true, the client supports refresh tokens.\n */\n refresh_token?: boolean;\n /**\n * Required when type is `m.login.token`. Part of Token-based login.\n */\n token?: string;\n /**\n * The fully qualified user ID or just local part of the user ID, to log in.\n * @deprecated in favour of identifier.\n */\n user?: string;\n // Extensible\n [key: string]: any;\n}\n\n// Export for backwards compatibility\nexport type ILoginParams = LoginRequest;\n\n/**\n * Response body for POST /login request\n * @see https://spec.matrix.org/v1.7/client-server-api/#post_matrixclientv3login\n */\nexport interface LoginResponse {\n /**\n * An access token for the account.\n * This access token can then be used to authorize other requests.\n */\n access_token: string;\n /**\n * ID of the logged-in device.\n * Will be the same as the corresponding parameter in the request, if one was specified.\n */\n device_id: string;\n /**\n * The fully-qualified Matrix ID for the account.\n */\n user_id: string;\n /**\n * The lifetime of the access token, in milliseconds.\n * Once the access token has expired a new access token can be obtained by using the provided refresh token.\n * If no refresh token is provided, the client will need to re-log in to obtain a new access token.\n * If not given, the client can assume that the access token will not expire.\n */\n expires_in_ms?: number;\n /**\n * A refresh token for the account.\n * This token can be used to obtain a new access token when it expires by calling the /refresh endpoint.\n */\n refresh_token?: string;\n /**\n * Optional client configuration provided by the server.\n * If present, clients SHOULD use the provided object to reconfigure themselves, optionally validating the URLs within.\n * This object takes the same form as the one returned from .well-known autodiscovery.\n */\n well_known?: IClientWellKnown;\n /**\n * The server_name of the homeserver on which the account has been registered.\n * @deprecated Clients should extract the server_name from user_id (by splitting at the first colon) if they require it.\n */\n home_server?: string;\n}\n\n/**\n * The result of a successful `m.login.token` issuance request as per https://spec.matrix.org/v1.7/client-server-api/#post_matrixclientv1loginget_token\n */\nexport interface LoginTokenPostResponse {\n /**\n * The token to use with `m.login.token` to authenticate.\n */\n login_token: string;\n /**\n * Expiration in milliseconds.\n */\n expires_in_ms: number;\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASA,aAAa,QAAQ,oBAAoB;;AAGlD;AACA;;AAEA;AACA;AACA;;AAOA;;AAEA;AACA;AACA;;AAeA,OAAO,IAAMC,4BAA4B,GAAG,IAAID,aAAa,CACzD,8BAA8B,EAC9B,iDACJ,CAAC;;AAED;AACA;AACA;;AASA,WAAYE,qBAAqB,0BAArBA,qBAAqB;EAArBA,qBAAqB;EAArBA,qBAAqB;EAArBA,qBAAqB;EAArBA,qBAAqB;EAArBA,qBAAqB;EAArBA,qBAAqB;EAAA,OAArBA,qBAAqB;AAAA;AAgBjC,WAAYC,SAAS,0BAATA,SAAS;EAATA,SAAS;EAATA,SAAS;EAAA,OAATA,SAAS;AAAA;;AAQrB;AACA;AACA;AACA;AACA;;AAMA;AACA;AACA;AACA;AACA;AACA;;AAOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AASA;AACA;AACA;AACA;AACA;;AAKA;AACA;AACA;AACA;;AAiDA;;AAGA;AACA;AACA;AACA;;AAyCA;AACA;AACA","ignoreList":[]}
|
package/lib/@types/beacon.js
CHANGED
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.M_BEACON_INFO = exports.M_BEACON = void 0;
|
|
7
|
-
var _NamespacedValue = require("../NamespacedValue");
|
|
8
1
|
/*
|
|
9
2
|
Copyright 2022 The Matrix.org Foundation C.I.C.
|
|
10
3
|
|
|
@@ -21,6 +14,7 @@ See the License for the specific language governing permissions and
|
|
|
21
14
|
limitations under the License.
|
|
22
15
|
*/
|
|
23
16
|
|
|
17
|
+
import { UnstableValue } from "../NamespacedValue";
|
|
24
18
|
/**
|
|
25
19
|
* Beacon info and beacon event types as described in MSC3672
|
|
26
20
|
* https://github.com/matrix-org/matrix-spec-proposals/pull/3672
|
|
@@ -67,8 +61,8 @@ limitations under the License.
|
|
|
67
61
|
/**
|
|
68
62
|
* Non-variable type for m.beacon_info event content
|
|
69
63
|
*/
|
|
70
|
-
|
|
71
|
-
|
|
64
|
+
export var M_BEACON_INFO = new UnstableValue("m.beacon_info", "org.matrix.msc3672.beacon_info");
|
|
65
|
+
export var M_BEACON = new UnstableValue("m.beacon", "org.matrix.msc3672.beacon");
|
|
72
66
|
|
|
73
67
|
/**
|
|
74
68
|
* m.beacon_info Event example from the spec
|
package/lib/@types/beacon.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"beacon.js","names":["
|
|
1
|
+
{"version":3,"file":"beacon.js","names":["UnstableValue","M_BEACON_INFO","M_BEACON"],"sources":["../../src/@types/beacon.ts"],"sourcesContent":["/*\nCopyright 2022 The Matrix.org Foundation C.I.C.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n*/\n\nimport { RelatesToRelationship, REFERENCE_RELATION } from \"./extensible_events\";\nimport { UnstableValue } from \"../NamespacedValue\";\nimport { MAssetEvent, MLocationEvent, MTimestampEvent } from \"./location\";\n\n/**\n * Beacon info and beacon event types as described in MSC3672\n * https://github.com/matrix-org/matrix-spec-proposals/pull/3672\n */\n\n/**\n * Beacon info events are state events.\n * We have two requirements for these events:\n * 1. they can only be written by their owner\n * 2. a user can have an arbitrary number of beacon_info events\n *\n * 1. is achieved by setting the state_key to the owners mxid.\n * Event keys in room state are a combination of `type` + `state_key`.\n * To achieve an arbitrary number of only owner-writable state events\n * we introduce a variable suffix to the event type\n *\n * @example\n * ```\n * {\n * \"type\": \"m.beacon_info.@matthew:matrix.org.1\",\n * \"state_key\": \"@matthew:matrix.org\",\n * \"content\": {\n * \"m.beacon_info\": {\n * \"description\": \"The Matthew Tracker\",\n * \"timeout\": 86400000,\n * },\n * // more content as described below\n * }\n * },\n * {\n * \"type\": \"m.beacon_info.@matthew:matrix.org.2\",\n * \"state_key\": \"@matthew:matrix.org\",\n * \"content\": {\n * \"m.beacon_info\": {\n * \"description\": \"Another different Matthew tracker\",\n * \"timeout\": 400000,\n * },\n * // more content as described below\n * }\n * }\n * ```\n */\n\n/**\n * Non-variable type for m.beacon_info event content\n */\nexport const M_BEACON_INFO = new UnstableValue(\"m.beacon_info\", \"org.matrix.msc3672.beacon_info\");\nexport const M_BEACON = new UnstableValue(\"m.beacon\", \"org.matrix.msc3672.beacon\");\n\nexport type MBeaconInfoContent = {\n description?: string;\n // how long from the last event until we consider the beacon inactive in milliseconds\n timeout: number;\n // true when this is a live location beacon\n // https://github.com/matrix-org/matrix-spec-proposals/pull/3672\n live?: boolean;\n};\n\n/**\n * m.beacon_info Event example from the spec\n * https://github.com/matrix-org/matrix-spec-proposals/pull/3672\n * @example\n * ```\n * {\n * \"type\": \"m.beacon_info\",\n * \"state_key\": \"@matthew:matrix.org\",\n * \"content\": {\n * \"m.beacon_info\": {\n * \"description\": \"The Matthew Tracker\", // same as an `m.location` description\n * \"timeout\": 86400000, // how long from the last event until we consider the beacon inactive in milliseconds\n * },\n * \"m.ts\": 1436829458432, // creation timestamp of the beacon on the client\n * \"m.asset\": {\n * \"type\": \"m.self\" // the type of asset being tracked as per MSC3488\n * }\n * }\n * }\n * ```\n */\n\n/**\n * m.beacon_info.* event content\n */\nexport type MBeaconInfoEventContent = MBeaconInfoContent &\n // creation timestamp of the beacon on the client\n MTimestampEvent &\n // the type of asset being tracked as per MSC3488\n MAssetEvent;\n\n/**\n * m.beacon event example\n * https://github.com/matrix-org/matrix-spec-proposals/pull/3672\n * @example\n * ```\n * {\n * \"type\": \"m.beacon\",\n * \"sender\": \"@matthew:matrix.org\",\n * \"content\": {\n * \"m.relates_to\": { // from MSC2674: https://github.com/matrix-org/matrix-doc/pull/2674\n * \"rel_type\": \"m.reference\", // from MSC3267: https://github.com/matrix-org/matrix-doc/pull/3267\n * \"event_id\": \"$beacon_info\"\n * },\n * \"m.location\": {\n * \"uri\": \"geo:51.5008,0.1247;u=35\",\n * \"description\": \"Arbitrary beacon information\"\n * },\n * \"m.ts\": 1636829458432,\n * }\n * }\n * ```\n */\n\n/**\n * Content of an m.beacon event\n */\nexport type MBeaconEventContent = MLocationEvent &\n // timestamp when location was taken\n MTimestampEvent &\n // relates to a beacon_info event\n RelatesToRelationship<typeof REFERENCE_RELATION>;\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAGA,SAASA,aAAa,QAAQ,oBAAoB;AAGlD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO,IAAMC,aAAa,GAAG,IAAID,aAAa,CAAC,eAAe,EAAE,gCAAgC,CAAC;AACjG,OAAO,IAAME,QAAQ,GAAG,IAAIF,aAAa,CAAC,UAAU,EAAE,2BAA2B,CAAC;;AAWlF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA","ignoreList":[]}
|
package/lib/@types/common.js
CHANGED
package/lib/@types/crypto.js
CHANGED
package/lib/@types/event.d.ts
CHANGED
|
@@ -7,7 +7,6 @@ import { XOR } from "./common";
|
|
|
7
7
|
import { ReactionEventContent, RoomMessageEventContent, StickerEventContent } from "./events";
|
|
8
8
|
import { MCallAnswer, MCallBase, MCallCandidates, MCallHangupReject, MCallInviteNegotiate, MCallReplacesEvent, MCallSelectAnswer, SDPStreamMetadata, SDPStreamMetadataKey } from "../webrtc/callEventTypes";
|
|
9
9
|
import { EncryptionKeysEventContent, ICallNotifyContent } from "../matrixrtc/types";
|
|
10
|
-
import { EncryptedFile } from "./media";
|
|
11
10
|
import { M_POLL_END, M_POLL_START, PollEndEventContent, PollStartEventContent } from "./polls";
|
|
12
11
|
export declare enum EventType {
|
|
13
12
|
RoomCanonicalAlias = "m.room.canonical_alias",
|
|
@@ -202,10 +201,6 @@ export declare const UNSIGNED_THREAD_ID_FIELD: UnstableValue<"thread_id", "org.m
|
|
|
202
201
|
* @experimental
|
|
203
202
|
*/
|
|
204
203
|
export declare const UNSIGNED_MEMBERSHIP_FIELD: UnstableValue<"membership", "io.element.msc4115.membership">;
|
|
205
|
-
/**
|
|
206
|
-
* @deprecated in favour of {@link EncryptedFile}
|
|
207
|
-
*/
|
|
208
|
-
export type IEncryptedFile = EncryptedFile;
|
|
209
204
|
/**
|
|
210
205
|
* Mapped type from event type to content type for all specified non-state room events.
|
|
211
206
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event.d.ts","sourceRoot":"","sources":["../../src/@types/event.ts"],"names":[],"mappings":"AAgBA,OAAO,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