@openclaw/matrix 2026.10.2 → 2026.10.5-beta.2
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/dist/.setup/{account-selection-BDeeqwwR.mjs → account-selection-Bs_jCAaG.mjs} +3 -5
- package/dist/.setup/{approval-handler.runtime-QkHLH2az.mjs → approval-handler.runtime-rxLn8CbP.mjs} +60 -83
- package/dist/.setup/{channel-CeRXEAEP.mjs → channel-BcwGspPw.mjs} +92 -120
- package/dist/.setup/{channel.runtime-DBQA2y1F.mjs → channel.runtime-CUc6rbu1.mjs} +23 -18
- package/dist/.setup/{channel.setup-DC2t7_PK.mjs → channel.setup-CwuYD_CT.mjs} +2 -3
- package/dist/.setup/{cli-Be8tdNw8.mjs → cli-mbL9jCro.mjs} +80 -120
- package/dist/.setup/{cli-metadata-CtcjBFhc.mjs → cli-metadata-6MOGuyHq.mjs} +1 -1
- package/dist/.setup/{client-DY3HExqI.mjs → client-BlTvpEWC.mjs} +2 -2
- package/dist/.setup/{client-bootstrap-CZvJjr29.mjs → client-bootstrap-D05xy1HB.mjs} +2 -3
- package/dist/.setup/{client-support-D7BlioUb.mjs → client-support-D-xHScuo.mjs} +1 -1
- package/dist/.setup/{client-kmih04ng.mjs → client-vPPbaxNp.mjs} +14 -24
- package/dist/.setup/{create-client-CbJVyFDy.mjs → create-client-CroC4BVc.mjs} +4 -4
- package/dist/.setup/{credentials-C2dvc_kB.mjs → credentials-Bf9PQ7xs.mjs} +4 -18
- package/dist/.setup/{crypto-runtime-B2AjWo-i.mjs → crypto-runtime-CpJ0b7vY.mjs} +80 -123
- package/dist/.setup/{deps-CFNl7tQo.mjs → deps-L_1bUAGL.mjs} +20 -37
- package/dist/.setup/{direct-management-DJtQhLKH.mjs → direct-management-B3wYhx_M.mjs} +25 -51
- package/dist/.setup/{directory-live-DW5UykLL.mjs → directory-live-B1WbfSHo.mjs} +3 -3
- package/dist/.setup/{draft-stream-B87DfA6a.mjs → draft-stream-Bdrh7dRt.mjs} +2 -3
- package/dist/.setup/{encryption-guidance-BEjKbiMR.mjs → encryption-guidance-D5_IsDIy.mjs} +1 -1
- package/dist/.setup/{env-vars-dGqak9dN.mjs → env-vars-aEBngJPa.mjs} +2 -17
- package/dist/.setup/{event-helpers-CspuhE9k.mjs → event-helpers-CxNgMQqH.mjs} +5 -7
- package/dist/.setup/{exec-approvals-BLDAMyHs.mjs → exec-approvals-BgNWWJg1.mjs} +6 -12
- package/dist/.setup/{file-sync-store-Clc9iEdn.mjs → file-sync-store-BdKx_gMi.mjs} +2 -5
- package/dist/.setup/{http-client-DfJY5Ck0.mjs → http-client-ByR4STVQ.mjs} +55 -59
- package/dist/.setup/{messages-uCbwLRKS.mjs → messages-B1CZqU8u.mjs} +4 -16
- package/dist/.setup/{monitor-skIntQVG.mjs → monitor-Dk_fQL1k.mjs} +176 -232
- package/dist/.setup/{onboarding-Cm_tOJxs.mjs → onboarding-CrSexor_.mjs} +33 -50
- package/dist/.setup/{outbound-CqQou3ny.mjs → outbound-LR3SqPIq.mjs} +2 -2
- package/dist/.setup/{profile-update-C1n8SRqH.mjs → profile-update-C7bjaGR6.mjs} +2 -3
- package/dist/.setup/{reaction-events-Cqq46xsG.mjs → reaction-events-CTSvOlXO.mjs} +4 -4
- package/dist/.setup/{resolve-targets-DFeU1Ww6.mjs → resolve-targets-BVVbbvP6.mjs} +15 -21
- package/dist/.setup/{retired-state-BXUQ2I-C.mjs → retired-state-DW5pLH05.mjs} +22 -3
- package/dist/.setup/{room-info-BPMbwe8I.mjs → room-info-9Uqlpt1V.mjs} +4 -4
- package/dist/.setup/{sdk-CgQGkCsS.mjs → sdk-Cfc6m7fY.mjs} +115 -195
- package/dist/.setup/{secret-contract-JlB6VmI3.mjs → secret-contract-DSBRvhdZ.mjs} +1 -1
- package/dist/.setup/{secret-contract-api-B-iJoQEv.mjs → secret-contract-api-DzEJ-X7n.mjs} +1 -1
- package/dist/.setup/{send-B1Y2L4wj.mjs → send-LCOuTVc1.mjs} +10 -30
- package/dist/.setup/{setup-bootstrap-UNIGyKnk.mjs → setup-bootstrap-CV-hHBXu.mjs} +2 -2
- package/dist/.setup/setup-core-CKnNTfgD.mjs +673 -0
- package/dist/.setup/{setup-plugin-api-BRs9bcp4.mjs → setup-plugin-api-BDAYk1a5.mjs} +1 -1
- package/dist/.setup/{startup-verification-D00eUt74.mjs → startup-verification-CgfUb4yJ.mjs} +3 -3
- package/dist/.setup/{storage-D7agewjH.mjs → storage-DkC6bHgA.mjs} +24 -49
- package/dist/.setup/{subagent-hooks-D5kd_kzN.mjs → subagent-hooks-D8jyeQsO.mjs} +1 -1
- package/dist/.setup/{sync-cache-state-C2z64uyk.mjs → sync-cache-state-D4G-fi3t.mjs} +20 -33
- package/dist/.setup/{target-ids-Nwx7cMVE.mjs → target-ids-HhcaKX1n.mjs} +15 -1
- package/dist/.setup/{thread-binding-api-DRMC62cs.mjs → thread-binding-api-BvuaKpd0.mjs} +1 -1
- package/dist/.setup/{thread-bindings-DveHVZqN.mjs → thread-bindings-CT4P-OSZ.mjs} +38 -58
- package/dist/.setup/{thread-bindings-shared-hxKkYC1W.mjs → thread-bindings-shared-CbsFNbAY.mjs} +19 -37
- package/dist/.setup/{tool-actions-BqlK2ilM.mjs → tool-actions-DAp6_XSJ.mjs} +17 -18
- package/dist/.setup/{verification-kMlFYUn0.mjs → verification-B3VswneT.mjs} +15 -21
- package/dist/api.js +7 -7
- package/dist/channel-plugin-api.js +1 -1
- package/dist/cli-metadata.js +1 -1
- package/dist/contract-api.js +2 -2
- package/dist/doctor-contract-api.js +13 -22
- package/dist/helper-api.js +2 -2
- package/dist/index.js +1 -1
- package/dist/plugin-entry.handlers.runtime.js +2 -2
- package/dist/runtime-api.js +4 -4
- package/dist/secret-contract-api.js +1 -1
- package/dist/session-binding-contract-api.js +1 -1
- package/dist/setup-entry.js +2 -2
- package/dist/setup-plugin-api.js +1 -1
- package/dist/subagent-hooks-api.js +1 -1
- package/dist/thread-binding-api.js +1 -1
- package/dist/thread-bindings-runtime.js +1 -1
- package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/package.json +1 -1
- package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/pkg/matrix_sdk_crypto_wasm.d.ts +129 -129
- package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/pkg/matrix_sdk_crypto_wasm_bg.cjs +688 -688
- package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/pkg/matrix_sdk_crypto_wasm_bg.js +512 -512
- package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/pkg/matrix_sdk_crypto_wasm_bg.wasm +0 -0
- package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/pkg/matrix_sdk_crypto_wasm_bg.wasm.d.ts +84 -84
- package/node_modules/@openclaw/fs-safe/CHANGELOG.md +35 -0
- package/node_modules/@openclaw/fs-safe/README.md +1 -1
- package/node_modules/@openclaw/fs-safe/dist/advanced.d.ts +1 -1
- package/node_modules/@openclaw/fs-safe/dist/advanced.js +1 -1
- package/node_modules/@openclaw/fs-safe/dist/archive-durability.js +1 -1
- package/node_modules/@openclaw/fs-safe/dist/archive-merge.js +4 -4
- package/node_modules/@openclaw/fs-safe/dist/archive-parser.wasm +0 -0
- package/node_modules/@openclaw/fs-safe/dist/archive-read.js +5 -4
- package/node_modules/@openclaw/fs-safe/dist/archive-staging.d.ts +1 -1
- package/node_modules/@openclaw/fs-safe/dist/archive-staging.js +22 -38
- package/node_modules/@openclaw/fs-safe/dist/copy-path-admission.d.ts +17 -0
- package/node_modules/@openclaw/fs-safe/dist/copy-path-admission.js +117 -0
- package/node_modules/@openclaw/fs-safe/dist/copy-root-file-sync.d.ts +8 -5
- package/node_modules/@openclaw/fs-safe/dist/copy-root-file-sync.js +27 -50
- package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-acquire.d.ts +3 -0
- package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-acquire.js +57 -11
- package/node_modules/@openclaw/fs-safe/dist/guarded-mutation.js +5 -5
- package/node_modules/@openclaw/fs-safe/dist/guest-native-python.js +52 -5
- package/node_modules/@openclaw/fs-safe/dist/guest.js +1 -1
- package/node_modules/@openclaw/fs-safe/dist/native-binding.d.ts +1 -0
- package/node_modules/@openclaw/fs-safe/dist/native-operations.d.ts +0 -1
- package/node_modules/@openclaw/fs-safe/dist/native-operations.js +22 -26
- package/node_modules/@openclaw/fs-safe/dist/native-pinned-write-windows.js +5 -1
- package/node_modules/@openclaw/fs-safe/dist/native-staged-file.js +4 -1
- package/node_modules/@openclaw/fs-safe/dist/permission-exec.js +2 -1
- package/node_modules/@openclaw/fs-safe/dist/pinned-write-types.d.ts +6 -1
- package/node_modules/@openclaw/fs-safe/dist/private-temp-workspace.js +2 -2
- package/node_modules/@openclaw/fs-safe/dist/publish-file.js +34 -7
- package/node_modules/@openclaw/fs-safe/dist/replace-file-copy-fallback.js +1 -4
- package/node_modules/@openclaw/fs-safe/dist/replace-file-descriptor.js +6 -0
- package/node_modules/@openclaw/fs-safe/dist/root-create-input.d.ts +15 -1
- package/node_modules/@openclaw/fs-safe/dist/root-create-input.js +4 -0
- package/node_modules/@openclaw/fs-safe/dist/root-directory-entry.js +1 -1
- package/node_modules/@openclaw/fs-safe/dist/root-directory-list.d.ts +0 -1
- package/node_modules/@openclaw/fs-safe/dist/root-directory-list.js +6 -12
- package/node_modules/@openclaw/fs-safe/dist/root-impl.js +15 -15
- package/node_modules/@openclaw/fs-safe/dist/root-paths.js +1 -1
- package/node_modules/@openclaw/fs-safe/dist/root-walk.js +4 -4
- package/node_modules/@openclaw/fs-safe/dist/root-write-verification.d.ts +10 -1
- package/node_modules/@openclaw/fs-safe/dist/root-write-verification.js +20 -0
- package/node_modules/@openclaw/fs-safe/dist/secure-temp-dir.js +19 -7
- package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-acquire.js +25 -3
- package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-admission.d.ts +2 -0
- package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-retained.d.ts +14 -0
- package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-retained.js +187 -0
- package/node_modules/@openclaw/fs-safe/dist/sidecar-lock.js +15 -1
- package/node_modules/@openclaw/fs-safe/dist/temp-directory-diagnostics.d.ts +10 -0
- package/node_modules/@openclaw/fs-safe/dist/temp-directory-diagnostics.js +29 -0
- package/node_modules/@openclaw/fs-safe/dist/temp-target.js +1 -1
- package/node_modules/@openclaw/fs-safe/dist/temp-workspace-admission.js +6 -6
- package/node_modules/@openclaw/fs-safe/dist/temp-workspace-child-admission.d.ts +4 -4
- package/node_modules/@openclaw/fs-safe/dist/temp-workspace-child-admission.js +17 -16
- package/node_modules/@openclaw/fs-safe/dist/temp-workspace-descriptor.js +20 -28
- package/node_modules/@openclaw/fs-safe/dist/walk.js +2 -13
- package/node_modules/@openclaw/fs-safe/dist/watch-native.d.ts +2 -2
- package/node_modules/@openclaw/fs-safe/dist/watch-native.js +3 -1
- package/node_modules/@openclaw/fs-safe/dist/watch-rescan.js +3 -9
- package/node_modules/@openclaw/fs-safe/dist/watch.js +2 -3
- package/node_modules/@openclaw/fs-safe/docs/advanced.md +1 -1
- package/node_modules/@openclaw/fs-safe/docs/archive.md +3 -0
- package/node_modules/@openclaw/fs-safe/docs/atomic.md +11 -3
- package/node_modules/@openclaw/fs-safe/docs/contributing.md +1 -1
- package/node_modules/@openclaw/fs-safe/docs/copy.md +48 -0
- package/node_modules/@openclaw/fs-safe/docs/guest.md +21 -4
- package/node_modules/@openclaw/fs-safe/docs/path-scope.md +4 -0
- package/node_modules/@openclaw/fs-safe/docs/sidecar-lock.md +46 -8
- package/node_modules/@openclaw/fs-safe/docs/temp.md +12 -0
- package/node_modules/@openclaw/fs-safe/docs/watch.md +3 -2
- package/node_modules/@openclaw/fs-safe/package.json +15 -15
- package/node_modules/@openclaw/fs-safe-darwin-arm64/fs-safe-native.node +0 -0
- package/node_modules/@openclaw/fs-safe-darwin-arm64/package.json +1 -1
- package/node_modules/@openclaw/fs-safe-darwin-x64/fs-safe-native.node +0 -0
- package/node_modules/@openclaw/fs-safe-darwin-x64/package.json +1 -1
- package/node_modules/@openclaw/fs-safe-linux-arm64-gnu/fs-safe-native.node +0 -0
- package/node_modules/@openclaw/fs-safe-linux-arm64-gnu/package.json +1 -1
- package/node_modules/@openclaw/fs-safe-linux-arm64-musl/fs-safe-native.node +0 -0
- package/node_modules/@openclaw/fs-safe-linux-arm64-musl/package.json +1 -1
- package/node_modules/@openclaw/fs-safe-linux-x64-gnu/fs-safe-native.node +0 -0
- package/node_modules/@openclaw/fs-safe-linux-x64-gnu/package.json +1 -1
- package/node_modules/@openclaw/fs-safe-linux-x64-musl/fs-safe-native.node +0 -0
- package/node_modules/@openclaw/fs-safe-linux-x64-musl/package.json +1 -1
- package/node_modules/@openclaw/fs-safe-win32-x64-msvc/fs-safe-native.node +0 -0
- package/node_modules/@openclaw/fs-safe-win32-x64-msvc/package.json +1 -1
- package/node_modules/matrix-widget-api/lib/interfaces/RtcLivekitActions.d.ts +6 -12
- package/node_modules/matrix-widget-api/lib/interfaces/RtcLivekitActions.js.map +1 -1
- package/node_modules/matrix-widget-api/package.json +1 -1
- package/node_modules/matrix-widget-api/src/interfaces/RtcLivekitActions.ts +6 -13
- package/node_modules/music-metadata/README.md +35 -32
- package/node_modules/music-metadata/lib/ParserFactory.d.ts +1 -1
- package/node_modules/music-metadata/lib/ParserFactory.js +17 -13
- package/node_modules/music-metadata/lib/aiff/AiffParser.js +19 -12
- package/node_modules/music-metadata/lib/aiff/AiffToken.d.ts +1 -1
- package/node_modules/music-metadata/lib/aiff/AiffToken.js +2 -1
- package/node_modules/music-metadata/lib/apev2/APEv2Parser.d.ts +4 -3
- package/node_modules/music-metadata/lib/apev2/APEv2Parser.js +59 -16
- package/node_modules/music-metadata/lib/apev2/APEv2TagMapper.js +1 -0
- package/node_modules/music-metadata/lib/apev2/APEv2Token.d.ts +1 -1
- package/node_modules/music-metadata/lib/apev2/APEv2Token.js +1 -1
- package/node_modules/music-metadata/lib/asf/AsfGuid.js +56 -50
- package/node_modules/music-metadata/lib/asf/AsfObject.d.ts +1 -1
- package/node_modules/music-metadata/lib/asf/AsfObject.js +3 -2
- package/node_modules/music-metadata/lib/asf/AsfParser.js +15 -7
- package/node_modules/music-metadata/lib/asf/AsfTagMapper.d.ts +3 -2
- package/node_modules/music-metadata/lib/asf/AsfTagMapper.js +21 -4
- package/node_modules/music-metadata/lib/common/CaseInsensitiveTagMap.d.ts +1 -1
- package/node_modules/music-metadata/lib/common/CombinedTagMapper.d.ts +2 -2
- package/node_modules/music-metadata/lib/common/CombinedTagMapper.js +6 -6
- package/node_modules/music-metadata/lib/common/FourCC.js +3 -2
- package/node_modules/music-metadata/lib/common/GenericTagMapper.d.ts +1 -1
- package/node_modules/music-metadata/lib/common/GenericTagTypes.js +1 -1
- package/node_modules/music-metadata/lib/common/MetadataCollector.d.ts +3 -1
- package/node_modules/music-metadata/lib/common/MetadataCollector.js +28 -9
- package/node_modules/music-metadata/lib/common/Util.js +25 -17
- package/node_modules/music-metadata/lib/core.d.ts +4 -4
- package/node_modules/music-metadata/lib/core.js +18 -11
- package/node_modules/music-metadata/lib/dsdiff/DsdiffParser.js +29 -16
- package/node_modules/music-metadata/lib/dsf/DsfChunk.d.ts +1 -1
- package/node_modules/music-metadata/lib/dsf/DsfParser.js +3 -5
- package/node_modules/music-metadata/lib/ebml/EbmlIterator.d.ts +1 -1
- package/node_modules/music-metadata/lib/ebml/EbmlIterator.js +35 -6
- package/node_modules/music-metadata/lib/ebml/types.d.ts +1 -1
- package/node_modules/music-metadata/lib/ebml/types.js +1 -1
- package/node_modules/music-metadata/lib/flac/FlacParser.d.ts +1 -1
- package/node_modules/music-metadata/lib/flac/FlacParser.js +6 -5
- package/node_modules/music-metadata/lib/flac/FlacToken.d.ts +1 -1
- package/node_modules/music-metadata/lib/flac/FlacToken.js +1 -1
- package/node_modules/music-metadata/lib/id3v1/ID3v1Parser.d.ts +1 -1
- package/node_modules/music-metadata/lib/id3v1/ID3v1Parser.js +212 -42
- package/node_modules/music-metadata/lib/id3v2/AbstractID3Parser.js +5 -5
- package/node_modules/music-metadata/lib/id3v2/FrameHeader.d.ts +1 -1
- package/node_modules/music-metadata/lib/id3v2/FrameHeader.js +8 -5
- package/node_modules/music-metadata/lib/id3v2/FrameParser.d.ts +2 -1
- package/node_modules/music-metadata/lib/id3v2/FrameParser.js +54 -23
- package/node_modules/music-metadata/lib/id3v2/ID3v22TagMapper.d.ts +1 -1
- package/node_modules/music-metadata/lib/id3v2/ID3v22TagMapper.js +1 -1
- package/node_modules/music-metadata/lib/id3v2/ID3v24TagMapper.js +3 -3
- package/node_modules/music-metadata/lib/id3v2/ID3v2ChapterToken.js +2 -2
- package/node_modules/music-metadata/lib/id3v2/ID3v2Parser.d.ts +1 -1
- package/node_modules/music-metadata/lib/id3v2/ID3v2Parser.js +32 -16
- package/node_modules/music-metadata/lib/id3v2/ID3v2Token.d.ts +2 -2
- package/node_modules/music-metadata/lib/id3v2/ID3v2Token.js +2 -3
- package/node_modules/music-metadata/lib/index.js +6 -3
- package/node_modules/music-metadata/lib/lrc/LyricsParser.js +3 -5
- package/node_modules/music-metadata/lib/matroska/MatroskaDtd.js +7 -3
- package/node_modules/music-metadata/lib/matroska/MatroskaParser.js +22 -11
- package/node_modules/music-metadata/lib/matroska/types.d.ts +2 -2
- package/node_modules/music-metadata/lib/mp4/Atom.d.ts +4 -3
- package/node_modules/music-metadata/lib/mp4/Atom.js +44 -11
- package/node_modules/music-metadata/lib/mp4/AtomToken.d.ts +1 -1
- package/node_modules/music-metadata/lib/mp4/AtomToken.js +30 -8
- package/node_modules/music-metadata/lib/mp4/MP4Parser.d.ts +2 -0
- package/node_modules/music-metadata/lib/mp4/MP4Parser.js +79 -54
- package/node_modules/music-metadata/lib/mp4/MP4TagMapper.d.ts +2 -2
- package/node_modules/music-metadata/lib/mpeg/MpegLoader.js +1 -1
- package/node_modules/music-metadata/lib/mpeg/MpegParser.js +41 -19
- package/node_modules/music-metadata/lib/mpeg/ReplayGainDataFormat.d.ts +2 -2
- package/node_modules/music-metadata/lib/mpeg/ReplayGainDataFormat.js +1 -1
- package/node_modules/music-metadata/lib/mpeg/XingTag.d.ts +1 -1
- package/node_modules/music-metadata/lib/musepack/MusepackParser.js +2 -2
- package/node_modules/music-metadata/lib/musepack/sv7/BitReader.js +1 -1
- package/node_modules/music-metadata/lib/musepack/sv7/MpcSv7Parser.js +4 -3
- package/node_modules/music-metadata/lib/musepack/sv7/StreamVersion7.js +3 -3
- package/node_modules/music-metadata/lib/musepack/sv8/MpcSv8Parser.js +7 -5
- package/node_modules/music-metadata/lib/musepack/sv8/StreamVersion8.js +2 -2
- package/node_modules/music-metadata/lib/ogg/OggParser.js +23 -13
- package/node_modules/music-metadata/lib/ogg/OggToken.d.ts +2 -0
- package/node_modules/music-metadata/lib/ogg/OggToken.js +1 -1
- package/node_modules/music-metadata/lib/ogg/flac/FlacStream.d.ts +2 -2
- package/node_modules/music-metadata/lib/ogg/flac/FlacStream.js +2 -2
- package/node_modules/music-metadata/lib/ogg/opus/OpusStream.d.ts +2 -2
- package/node_modules/music-metadata/lib/ogg/opus/OpusStream.js +8 -4
- package/node_modules/music-metadata/lib/ogg/speex/SpeexStream.d.ts +2 -2
- package/node_modules/music-metadata/lib/ogg/speex/SpeexStream.js +2 -1
- package/node_modules/music-metadata/lib/ogg/theora/TheoraStream.d.ts +2 -2
- package/node_modules/music-metadata/lib/ogg/vorbis/Vorbis.d.ts +1 -1
- package/node_modules/music-metadata/lib/ogg/vorbis/VorbisDecoder.js +1 -1
- package/node_modules/music-metadata/lib/ogg/vorbis/VorbisStream.d.ts +4 -3
- package/node_modules/music-metadata/lib/ogg/vorbis/VorbisStream.js +16 -9
- package/node_modules/music-metadata/lib/ogg/vorbis/VorbisTagMapper.js +4 -0
- package/node_modules/music-metadata/lib/riff/RiffChunk.d.ts +3 -1
- package/node_modules/music-metadata/lib/riff/RiffChunk.js +3 -2
- package/node_modules/music-metadata/lib/riff/RiffInfoTagMap.d.ts +1 -1
- package/node_modules/music-metadata/lib/type.d.ts +3 -3
- package/node_modules/music-metadata/lib/type.js +1 -1
- package/node_modules/music-metadata/lib/wav/WaveChunk.d.ts +1 -1
- package/node_modules/music-metadata/lib/wav/WaveChunk.js +3 -2
- package/node_modules/music-metadata/lib/wav/WaveParser.d.ts +6 -2
- package/node_modules/music-metadata/lib/wav/WaveParser.js +75 -22
- package/node_modules/music-metadata/lib/wavpack/WavPackParser.js +22 -13
- package/node_modules/music-metadata/lib/wavpack/WavPackToken.js +3 -2
- package/node_modules/music-metadata/package.json +3 -2
- package/node_modules/uint8array-extras/index.d.ts +7 -7
- package/node_modules/uint8array-extras/index.js +27 -13
- package/node_modules/uint8array-extras/package.json +6 -6
- package/node_modules/uint8array-extras/readme.md +7 -7
- package/package.json +7 -7
- package/dist/.setup/accounts-C_r0UlEm.mjs +0 -138
- package/dist/.setup/config-update-CZndPxNd.mjs +0 -102
- package/dist/.setup/profile-DS0xdJAi.mjs +0 -80
- package/dist/.setup/setup-core-6DppLENo.mjs +0 -377
- package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-arbitration.d.ts +0 -17
- package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-arbitration.js +0 -66
- package/node_modules/@openclaw/fs-safe/dist/publish-file-native.d.ts +0 -4
- package/node_modules/@openclaw/fs-safe/dist/publish-file-native.js +0 -35
- package/node_modules/@openclaw/fs-safe/dist/root-move-preflight.d.ts +0 -7
- package/node_modules/@openclaw/fs-safe/dist/root-move-preflight.js +0 -16
- package/dist/.setup/{errors-DKVS3_DO.mjs → errors-Bw4EHwKX.mjs} +1 -1
|
@@ -518,19 +518,19 @@ export class DecryptedRoomEvent {
|
|
|
518
518
|
shieldState(strict: boolean): ShieldState;
|
|
519
519
|
/**
|
|
520
520
|
* If the keys for this message were shared-on-invite as part of an
|
|
521
|
-
* [MSC4268] key bundle, the ID of the
|
|
521
|
+
* [MSC4268] key bundle, the ID of the device from which this bundle
|
|
522
|
+
* was sent.
|
|
522
523
|
*
|
|
523
524
|
* [MSC4268]: https://github.com/matrix-org/matrix-spec-proposals/pull/4268
|
|
524
525
|
*/
|
|
525
|
-
readonly
|
|
526
|
+
readonly forwarderDevice: DeviceId | undefined;
|
|
526
527
|
/**
|
|
527
528
|
* If the keys for this message were shared-on-invite as part of an
|
|
528
|
-
* [MSC4268] key bundle, the ID of the
|
|
529
|
-
* was sent.
|
|
529
|
+
* [MSC4268] key bundle, the ID of the user who sent us the bundle.
|
|
530
530
|
*
|
|
531
531
|
* [MSC4268]: https://github.com/matrix-org/matrix-spec-proposals/pull/4268
|
|
532
532
|
*/
|
|
533
|
-
readonly
|
|
533
|
+
readonly forwarder: UserId | undefined;
|
|
534
534
|
/**
|
|
535
535
|
* Returns an empty array
|
|
536
536
|
*
|
|
@@ -542,11 +542,6 @@ export class DecryptedRoomEvent {
|
|
|
542
542
|
* @see https://github.com/matrix-org/matrix-spec/issues/1089
|
|
543
543
|
*/
|
|
544
544
|
readonly forwardingCurve25519KeyChain: string[];
|
|
545
|
-
/**
|
|
546
|
-
* The user ID of the event sender, note this is untrusted data
|
|
547
|
-
* unless the `verification_state` is as well trusted.
|
|
548
|
-
*/
|
|
549
|
-
readonly sender: UserId;
|
|
550
545
|
/**
|
|
551
546
|
* The signing Ed25519 key that have created the megolm key that
|
|
552
547
|
* was used to decrypt this session.
|
|
@@ -563,6 +558,11 @@ export class DecryptedRoomEvent {
|
|
|
563
558
|
* trusted.
|
|
564
559
|
*/
|
|
565
560
|
readonly senderDevice: DeviceId | undefined;
|
|
561
|
+
/**
|
|
562
|
+
* The user ID of the event sender, note this is untrusted data
|
|
563
|
+
* unless the `verification_state` is as well trusted.
|
|
564
|
+
*/
|
|
565
|
+
readonly sender: UserId;
|
|
566
566
|
/**
|
|
567
567
|
* The JSON-encoded decrypted event.
|
|
568
568
|
*/
|
|
@@ -2324,6 +2324,14 @@ export class OlmMachine {
|
|
|
2324
2324
|
* A {@link UserDevices} object.
|
|
2325
2325
|
*/
|
|
2326
2326
|
getUserDevices(user_id: UserId, timeout_secs?: number | null): Promise<UserDevices>;
|
|
2327
|
+
/**
|
|
2328
|
+
* Get a verification request object with the given flow ID.
|
|
2329
|
+
*/
|
|
2330
|
+
getVerificationRequest(user_id: UserId, flow_id: string): VerificationRequest | undefined;
|
|
2331
|
+
/**
|
|
2332
|
+
* Get all the verification requests of a given user.
|
|
2333
|
+
*/
|
|
2334
|
+
getVerificationRequests(user_id: UserId): VerificationRequest[];
|
|
2327
2335
|
/**
|
|
2328
2336
|
* Get a verification object for the given user ID with the given
|
|
2329
2337
|
* flow ID (a to-device request ID if the verification has been
|
|
@@ -2334,14 +2342,6 @@ export class OlmMachine {
|
|
|
2334
2342
|
* or `Qr` object.
|
|
2335
2343
|
*/
|
|
2336
2344
|
getVerification(user_id: UserId, flow_id: string): Sas | Qr | undefined;
|
|
2337
|
-
/**
|
|
2338
|
-
* Get a verification request object with the given flow ID.
|
|
2339
|
-
*/
|
|
2340
|
-
getVerificationRequest(user_id: UserId, flow_id: string): VerificationRequest | undefined;
|
|
2341
|
-
/**
|
|
2342
|
-
* Get all the verification requests of a given user.
|
|
2343
|
-
*/
|
|
2344
|
-
getVerificationRequests(user_id: UserId): VerificationRequest[];
|
|
2345
2345
|
/**
|
|
2346
2346
|
* Get whether we have previously downloaded all message keys for a
|
|
2347
2347
|
* particular room from the key backup. Typically called in advance of
|
|
@@ -2601,30 +2601,31 @@ export class OlmMachine {
|
|
|
2601
2601
|
*/
|
|
2602
2602
|
receiveRoomKeyBundle(bundle_data: StoredRoomKeyBundleData, encrypted_bundle: Uint8Array): Promise<undefined>;
|
|
2603
2603
|
/**
|
|
2604
|
-
* Handle to
|
|
2605
|
-
*
|
|
2604
|
+
* Handle the changes to the end-to-end encryption state we received from
|
|
2605
|
+
* a [MSC4186](https://github.com/matrix-org/matrix-spec-proposals/pull/4186)
|
|
2606
|
+
* (simplified sliding sync) response.
|
|
2606
2607
|
*
|
|
2607
|
-
* This
|
|
2608
|
-
*
|
|
2608
|
+
* This behaves exactly like {@link receiveSyncChanges}, except for the
|
|
2609
|
+
* handling of `one_time_keys_counts`: under MSC4186 semantics, a missing
|
|
2610
|
+
* entry for an algorithm means that the number of keys on the server is
|
|
2611
|
+
* *unchanged*, rather than zero.
|
|
2609
2612
|
*
|
|
2610
|
-
*
|
|
2611
|
-
*
|
|
2613
|
+
* This is therefore also the method to use when the caller has no
|
|
2614
|
+
* information about the one-time key counts, for example because it is
|
|
2615
|
+
* processing only the to-device events or the device list changes from a
|
|
2616
|
+
* sync response.
|
|
2612
2617
|
*
|
|
2613
2618
|
* # Arguments
|
|
2614
2619
|
*
|
|
2615
|
-
* * `to_device_events`: the JSON-encoded to-device
|
|
2620
|
+
* * `to_device_events`: the JSON-encoded to-device events from the sync
|
|
2616
2621
|
* response
|
|
2617
2622
|
* * `changed_devices`: the mapping of changed and left devices, from the
|
|
2618
|
-
*
|
|
2623
|
+
* sync response
|
|
2619
2624
|
* * `one_time_keys_counts`: The number of one-time keys on the server,
|
|
2620
|
-
* from the
|
|
2621
|
-
*
|
|
2622
|
-
* entry for an algorithm means that there are *zero* keys of that type
|
|
2623
|
-
* on the server. If the caller has no information about the key counts
|
|
2624
|
-
* (for example, because it is processing only part of a sync response),
|
|
2625
|
-
* it should use {@link receiveSyncChangesMsc4186} instead.
|
|
2625
|
+
* from the sync response. A `Map` from string (encryption algorithm) to
|
|
2626
|
+
* number (number of keys). A missing entry means "unchanged".
|
|
2626
2627
|
* * `unused_fallback_keys`: Optionally, a `Set` of unused fallback keys on
|
|
2627
|
-
* the server, from the
|
|
2628
|
+
* the server, from the sync response. If this is set, it is used to
|
|
2628
2629
|
* determine if new fallback keys should be uploaded.
|
|
2629
2630
|
* * `decryption_settings`: Optionally, the settings to use when decrypting
|
|
2630
2631
|
* to-device events. If not set, to-device events will be decrypted with
|
|
@@ -2638,33 +2639,32 @@ export class OlmMachine {
|
|
|
2638
2639
|
* * {@link UTDToDeviceEvent}
|
|
2639
2640
|
* * {@link InvalidToDeviceEvent}
|
|
2640
2641
|
*/
|
|
2641
|
-
|
|
2642
|
+
receiveSyncChangesMsc4186(to_device_events: string, changed_devices: DeviceLists, one_time_keys_counts: Map<string, number>, unused_fallback_keys?: Set<string>, decryption_settings?: DecryptionSettings): Promise<ProcessedToDeviceEvent[]>;
|
|
2642
2643
|
/**
|
|
2643
|
-
* Handle
|
|
2644
|
-
*
|
|
2645
|
-
* (simplified sliding sync) response.
|
|
2644
|
+
* Handle to-device events and one-time key counts from a sync
|
|
2645
|
+
* response.
|
|
2646
2646
|
*
|
|
2647
|
-
* This
|
|
2648
|
-
*
|
|
2649
|
-
* entry for an algorithm means that the number of keys on the server is
|
|
2650
|
-
* *unchanged*, rather than zero.
|
|
2647
|
+
* This will decrypt and handle to-device events returning the
|
|
2648
|
+
* decrypted versions of them.
|
|
2651
2649
|
*
|
|
2652
|
-
*
|
|
2653
|
-
*
|
|
2654
|
-
* processing only the to-device events or the device list changes from a
|
|
2655
|
-
* sync response.
|
|
2650
|
+
* To decrypt an event from the room timeline call
|
|
2651
|
+
* `decrypt_room_event`.
|
|
2656
2652
|
*
|
|
2657
2653
|
* # Arguments
|
|
2658
2654
|
*
|
|
2659
|
-
* * `to_device_events`: the JSON-encoded to-device
|
|
2655
|
+
* * `to_device_events`: the JSON-encoded to-device evens from the `/sync`
|
|
2660
2656
|
* response
|
|
2661
2657
|
* * `changed_devices`: the mapping of changed and left devices, from the
|
|
2662
|
-
* sync response
|
|
2658
|
+
* `/sync` response
|
|
2663
2659
|
* * `one_time_keys_counts`: The number of one-time keys on the server,
|
|
2664
|
-
* from the sync response. A `Map` from string (encryption algorithm)
|
|
2665
|
-
* number (number of keys).
|
|
2660
|
+
* from the `/sync` response. A `Map` from string (encryption algorithm)
|
|
2661
|
+
* to number (number of keys). Following the sync v2 semantics, a missing
|
|
2662
|
+
* entry for an algorithm means that there are *zero* keys of that type
|
|
2663
|
+
* on the server. If the caller has no information about the key counts
|
|
2664
|
+
* (for example, because it is processing only part of a sync response),
|
|
2665
|
+
* it should use {@link receiveSyncChangesMsc4186} instead.
|
|
2666
2666
|
* * `unused_fallback_keys`: Optionally, a `Set` of unused fallback keys on
|
|
2667
|
-
* the server, from the sync response. If this is set, it is used to
|
|
2667
|
+
* the server, from the `/sync` response. If this is set, it is used to
|
|
2668
2668
|
* determine if new fallback keys should be uploaded.
|
|
2669
2669
|
* * `decryption_settings`: Optionally, the settings to use when decrypting
|
|
2670
2670
|
* to-device events. If not set, to-device events will be decrypted with
|
|
@@ -2678,7 +2678,7 @@ export class OlmMachine {
|
|
|
2678
2678
|
* * {@link UTDToDeviceEvent}
|
|
2679
2679
|
* * {@link InvalidToDeviceEvent}
|
|
2680
2680
|
*/
|
|
2681
|
-
|
|
2681
|
+
receiveSyncChanges(to_device_events: string, changed_devices: DeviceLists, one_time_keys_counts: Map<string, number>, unused_fallback_keys?: Set<string>, decryption_settings?: DecryptionSettings): Promise<ProcessedToDeviceEvent[]>;
|
|
2682
2682
|
/**
|
|
2683
2683
|
* Receive a verification event.
|
|
2684
2684
|
*
|
|
@@ -2792,6 +2792,15 @@ export class OlmMachine {
|
|
|
2792
2792
|
* settings can be retrieved via {@link getRoomSettings}.
|
|
2793
2793
|
*/
|
|
2794
2794
|
setRoomSettings(room_id: RoomId, room_settings: RoomSettings): Promise<void>;
|
|
2795
|
+
/**
|
|
2796
|
+
* Collect the devices belonging to the given user, and send the details
|
|
2797
|
+
* of a room key bundle to those devices.
|
|
2798
|
+
*
|
|
2799
|
+
* Returns a list of to-device requests which must be sent.
|
|
2800
|
+
*
|
|
2801
|
+
* @experimental
|
|
2802
|
+
*/
|
|
2803
|
+
shareRoomKeyBundleData(user: UserId, room: RoomId, url: string, media_encryption_info: string | null | undefined, sharing_strategy: CollectStrategy): Promise<ToDeviceRequest[]>;
|
|
2795
2804
|
/**
|
|
2796
2805
|
* Get to-device requests to share a room key with users in a room.
|
|
2797
2806
|
*
|
|
@@ -2808,15 +2817,6 @@ export class OlmMachine {
|
|
|
2808
2817
|
* to use the `UserId`s after this method has been called.
|
|
2809
2818
|
*/
|
|
2810
2819
|
shareRoomKey(room_id: RoomId, users: UserId[], encryption_settings: EncryptionSettings): Promise<ToDeviceRequest[]>;
|
|
2811
|
-
/**
|
|
2812
|
-
* Collect the devices belonging to the given user, and send the details
|
|
2813
|
-
* of a room key bundle to those devices.
|
|
2814
|
-
*
|
|
2815
|
-
* Returns a list of to-device requests which must be sent.
|
|
2816
|
-
*
|
|
2817
|
-
* @experimental
|
|
2818
|
-
*/
|
|
2819
|
-
shareRoomKeyBundleData(user: UserId, room: RoomId, url: string, media_encryption_info: string | null | undefined, sharing_strategy: CollectStrategy): Promise<ToDeviceRequest[]>;
|
|
2820
2820
|
/**
|
|
2821
2821
|
* Sign the given message using our device key and if available
|
|
2822
2822
|
* cross-signing master key.
|
|
@@ -3250,15 +3250,15 @@ export class PickledSession {
|
|
|
3250
3250
|
export class PkDecryption {
|
|
3251
3251
|
free(): void;
|
|
3252
3252
|
[Symbol.dispose](): void;
|
|
3253
|
-
/**
|
|
3254
|
-
* Decrypts an encrypted message and returns the raw `Uint8Array`.
|
|
3255
|
-
*/
|
|
3256
|
-
decrypt(message: PkMessage): Uint8Array;
|
|
3257
3253
|
/**
|
|
3258
3254
|
* Decrypts an encrypted message and returns the plaintext as a UTF-8
|
|
3259
3255
|
* string.
|
|
3260
3256
|
*/
|
|
3261
3257
|
decryptString(message: PkMessage): string;
|
|
3258
|
+
/**
|
|
3259
|
+
* Decrypts an encrypted message and returns the raw `Uint8Array`.
|
|
3260
|
+
*/
|
|
3261
|
+
decrypt(message: PkMessage): Uint8Array;
|
|
3262
3262
|
/**
|
|
3263
3263
|
* Creates a `PkDecryption` instance from a secret key.
|
|
3264
3264
|
*/
|
|
@@ -3295,14 +3295,14 @@ export class PkEncryption {
|
|
|
3295
3295
|
private constructor();
|
|
3296
3296
|
free(): void;
|
|
3297
3297
|
[Symbol.dispose](): void;
|
|
3298
|
-
/**
|
|
3299
|
-
* Encrypts a byte message and returns an encrypted {@link PkMessage}.
|
|
3300
|
-
*/
|
|
3301
|
-
encrypt(message: Uint8Array): PkMessage;
|
|
3302
3298
|
/**
|
|
3303
3299
|
* Encrypts a string message and returns an encrypted {@link PkMessage}.
|
|
3304
3300
|
*/
|
|
3305
3301
|
encryptString(message: string): PkMessage;
|
|
3302
|
+
/**
|
|
3303
|
+
* Encrypts a byte message and returns an encrypted {@link PkMessage}.
|
|
3304
|
+
*/
|
|
3305
|
+
encrypt(message: Uint8Array): PkMessage;
|
|
3306
3306
|
/**
|
|
3307
3307
|
* Creates a new `PkEncryption` instance from a public key.
|
|
3308
3308
|
*/
|
|
@@ -3411,13 +3411,6 @@ export class Qr {
|
|
|
3411
3411
|
private constructor();
|
|
3412
3412
|
free(): void;
|
|
3413
3413
|
[Symbol.dispose](): void;
|
|
3414
|
-
/**
|
|
3415
|
-
* Cancel the verification flow.
|
|
3416
|
-
*
|
|
3417
|
-
* Returns either an `OutgoingVerificationRequest` which should be sent
|
|
3418
|
-
* out, or `undefined` if the verification is already cancelled.
|
|
3419
|
-
*/
|
|
3420
|
-
cancel(): OutgoingVerificationRequest | undefined;
|
|
3421
3414
|
/**
|
|
3422
3415
|
* Get info about the cancellation if the verification flow has
|
|
3423
3416
|
* been cancelled.
|
|
@@ -3432,6 +3425,13 @@ export class Qr {
|
|
|
3432
3425
|
* out, or `undefined` if the verification is already cancelled.
|
|
3433
3426
|
*/
|
|
3434
3427
|
cancelWithCode(code: string): OutgoingVerificationRequest | undefined;
|
|
3428
|
+
/**
|
|
3429
|
+
* Cancel the verification flow.
|
|
3430
|
+
*
|
|
3431
|
+
* Returns either an `OutgoingVerificationRequest` which should be sent
|
|
3432
|
+
* out, or `undefined` if the verification is already cancelled.
|
|
3433
|
+
*/
|
|
3434
|
+
cancel(): OutgoingVerificationRequest | undefined;
|
|
3435
3435
|
/**
|
|
3436
3436
|
* Confirm that the other side has scanned our QR code.
|
|
3437
3437
|
*
|
|
@@ -3578,6 +3578,15 @@ export class QrCodeData {
|
|
|
3578
3578
|
* The slice of bytes would generally be returned by a QR code decoder.
|
|
3579
3579
|
*/
|
|
3580
3580
|
static fromBytes(bytes: Uint8Array): QrCodeData;
|
|
3581
|
+
/**
|
|
3582
|
+
* Create new {@link QrCodeData} from a given public key, a rendezvous ID
|
|
3583
|
+
* and, a base homeserver URL.
|
|
3584
|
+
*
|
|
3585
|
+
* This creates a QR code which conforms to
|
|
3586
|
+
* {@link https://github.com/matrix-org/matrix-spec-proposals/pull/4388 MSC4388} of the data
|
|
3587
|
+
* format for QR login.
|
|
3588
|
+
*/
|
|
3589
|
+
static newMsc4388(public_key: Curve25519PublicKey, rendezvous_id: string, base_url: string, intent: QrCodeIntent): QrCodeData;
|
|
3581
3590
|
/**
|
|
3582
3591
|
* Create new {@link QrCodeData} from a given public key, a rendezvous URL
|
|
3583
3592
|
* and, optionally, a server name for the homeserver.
|
|
@@ -3591,15 +3600,6 @@ export class QrCodeData {
|
|
|
3591
3600
|
* new device to display the QR code.
|
|
3592
3601
|
*/
|
|
3593
3602
|
constructor(public_key: Curve25519PublicKey, rendezvous_url: string, server_name?: string | null);
|
|
3594
|
-
/**
|
|
3595
|
-
* Create new {@link QrCodeData} from a given public key, a rendezvous ID
|
|
3596
|
-
* and, a base homeserver URL.
|
|
3597
|
-
*
|
|
3598
|
-
* This creates a QR code which conforms to
|
|
3599
|
-
* {@link https://github.com/matrix-org/matrix-spec-proposals/pull/4388 MSC4388} of the data
|
|
3600
|
-
* format for QR login.
|
|
3601
|
-
*/
|
|
3602
|
-
static newMsc4388(public_key: Curve25519PublicKey, rendezvous_id: string, base_url: string, intent: QrCodeIntent): QrCodeData;
|
|
3603
3603
|
/**
|
|
3604
3604
|
* Encode the {@link QrCodeData} into a string using base64.
|
|
3605
3605
|
*
|
|
@@ -4085,13 +4085,6 @@ export class Sas {
|
|
|
4085
4085
|
* Are we in a state where we can show the short auth string?
|
|
4086
4086
|
*/
|
|
4087
4087
|
canBePresented(): boolean;
|
|
4088
|
-
/**
|
|
4089
|
-
* Cancel the verification.
|
|
4090
|
-
*
|
|
4091
|
-
* Returns either an `OutgoingVerificationRequest` which should be sent
|
|
4092
|
-
* out, or `undefined` if the verification is already cancelled.
|
|
4093
|
-
*/
|
|
4094
|
-
cancel(): OutgoingVerificationRequest | undefined;
|
|
4095
4088
|
/**
|
|
4096
4089
|
* Get info about the cancellation if the verification flow has
|
|
4097
4090
|
* been cancelled.
|
|
@@ -4106,6 +4099,13 @@ export class Sas {
|
|
|
4106
4099
|
* out, or `undefined` if the verification is already cancelled.
|
|
4107
4100
|
*/
|
|
4108
4101
|
cancelWithCode(code: string): OutgoingVerificationRequest | undefined;
|
|
4102
|
+
/**
|
|
4103
|
+
* Cancel the verification.
|
|
4104
|
+
*
|
|
4105
|
+
* Returns either an `OutgoingVerificationRequest` which should be sent
|
|
4106
|
+
* out, or `undefined` if the verification is already cancelled.
|
|
4107
|
+
*/
|
|
4108
|
+
cancel(): OutgoingVerificationRequest | undefined;
|
|
4109
4109
|
/**
|
|
4110
4110
|
* Confirm the SAS verification.
|
|
4111
4111
|
*
|
|
@@ -4125,13 +4125,6 @@ export class Sas {
|
|
|
4125
4125
|
* represent the short auth string.
|
|
4126
4126
|
*/
|
|
4127
4127
|
decimals(): Uint16Array | undefined;
|
|
4128
|
-
/**
|
|
4129
|
-
* Get the emoji version of the short auth string.
|
|
4130
|
-
*
|
|
4131
|
-
* Returns `undefined` if we can't yet present the short auth string,
|
|
4132
|
-
* otherwise an array of seven `Emoji` objects.
|
|
4133
|
-
*/
|
|
4134
|
-
emoji(): Emoji[] | undefined;
|
|
4135
4128
|
/**
|
|
4136
4129
|
* Get the index of the emoji representing the short auth string
|
|
4137
4130
|
*
|
|
@@ -4142,6 +4135,13 @@ export class Sas {
|
|
|
4142
4135
|
* entry](https://spec.matrix.org/unstable/client-server-api/#sas-method-emoji).
|
|
4143
4136
|
*/
|
|
4144
4137
|
emojiIndex(): Uint8Array | undefined;
|
|
4138
|
+
/**
|
|
4139
|
+
* Get the emoji version of the short auth string.
|
|
4140
|
+
*
|
|
4141
|
+
* Returns `undefined` if we can't yet present the short auth string,
|
|
4142
|
+
* otherwise an array of seven `Emoji` objects.
|
|
4143
|
+
*/
|
|
4144
|
+
emoji(): Emoji[] | undefined;
|
|
4145
4145
|
/**
|
|
4146
4146
|
* Has the verification been accepted by both parties?
|
|
4147
4147
|
*/
|
|
@@ -4486,15 +4486,15 @@ export class Signatures {
|
|
|
4486
4486
|
* Remove all the signatures we currently hold.
|
|
4487
4487
|
*/
|
|
4488
4488
|
clear(): void;
|
|
4489
|
-
/**
|
|
4490
|
-
* Get the map of signatures that belong to the given user.
|
|
4491
|
-
*/
|
|
4492
|
-
get(signer: UserId): Map<string, MaybeSignature> | undefined;
|
|
4493
4489
|
/**
|
|
4494
4490
|
* Try to find an Ed25519 signature from the given signer with
|
|
4495
4491
|
* the given key ID.
|
|
4496
4492
|
*/
|
|
4497
4493
|
getSignature(signer: UserId, key_id: DeviceKeyId): Ed25519Signature | undefined;
|
|
4494
|
+
/**
|
|
4495
|
+
* Get the map of signatures that belong to the given user.
|
|
4496
|
+
*/
|
|
4497
|
+
get(signer: UserId): Map<string, MaybeSignature> | undefined;
|
|
4498
4498
|
/**
|
|
4499
4499
|
* Do we hold any signatures or is our collection completely
|
|
4500
4500
|
* empty.
|
|
@@ -4521,6 +4521,22 @@ export class StoreHandle {
|
|
|
4521
4521
|
private constructor();
|
|
4522
4522
|
free(): void;
|
|
4523
4523
|
[Symbol.dispose](): void;
|
|
4524
|
+
/**
|
|
4525
|
+
* Open a crypto store based on IndexedDB, using the given key for
|
|
4526
|
+
* encryption.
|
|
4527
|
+
*
|
|
4528
|
+
* # Arguments
|
|
4529
|
+
*
|
|
4530
|
+
* * `store_name` - The name that should be used to open the IndexedDB
|
|
4531
|
+
* based database.
|
|
4532
|
+
*
|
|
4533
|
+
* * `store_key` - The key that should be used to encrypt the store, for
|
|
4534
|
+
* IndexedDB-based stores. Must be a 32-byte array.
|
|
4535
|
+
*
|
|
4536
|
+
* * `logger` - An optional logger instance to use for writing log messages
|
|
4537
|
+
* during the open operation. An instance of `JsLogger`.
|
|
4538
|
+
*/
|
|
4539
|
+
static openWithKey(store_name: string, store_key: Uint8Array, logger?: JsLogger): Promise<StoreHandle>;
|
|
4524
4540
|
/**
|
|
4525
4541
|
* Open a crypto store.
|
|
4526
4542
|
*
|
|
@@ -4542,22 +4558,6 @@ export class StoreHandle {
|
|
|
4542
4558
|
* during the open operation. An instance of `JsLogger`.
|
|
4543
4559
|
*/
|
|
4544
4560
|
static open(store_name: string | null | undefined, store_passphrase: string | null | undefined, logger?: JsLogger): Promise<StoreHandle>;
|
|
4545
|
-
/**
|
|
4546
|
-
* Open a crypto store based on IndexedDB, using the given key for
|
|
4547
|
-
* encryption.
|
|
4548
|
-
*
|
|
4549
|
-
* # Arguments
|
|
4550
|
-
*
|
|
4551
|
-
* * `store_name` - The name that should be used to open the IndexedDB
|
|
4552
|
-
* based database.
|
|
4553
|
-
*
|
|
4554
|
-
* * `store_key` - The key that should be used to encrypt the store, for
|
|
4555
|
-
* IndexedDB-based stores. Must be a 32-byte array.
|
|
4556
|
-
*
|
|
4557
|
-
* * `logger` - An optional logger instance to use for writing log messages
|
|
4558
|
-
* during the open operation. An instance of `JsLogger`.
|
|
4559
|
-
*/
|
|
4560
|
-
static openWithKey(store_name: string, store_key: Uint8Array, logger?: JsLogger): Promise<StoreHandle>;
|
|
4561
4561
|
}
|
|
4562
4562
|
|
|
4563
4563
|
/**
|
|
@@ -4920,6 +4920,17 @@ export class VerificationRequest {
|
|
|
4920
4920
|
private constructor();
|
|
4921
4921
|
free(): void;
|
|
4922
4922
|
[Symbol.dispose](): void;
|
|
4923
|
+
/**
|
|
4924
|
+
* Accept the verification request signaling that our client
|
|
4925
|
+
* supports the given verification methods.
|
|
4926
|
+
*
|
|
4927
|
+
* `methods` represents the methods that we should advertise as
|
|
4928
|
+
* supported by us.
|
|
4929
|
+
*
|
|
4930
|
+
* It returns either a `ToDeviceRequest`, a `RoomMessageRequest`
|
|
4931
|
+
* or `undefined`.
|
|
4932
|
+
*/
|
|
4933
|
+
acceptWithMethods(methods: VerificationMethod[]): OutgoingVerificationRequest | undefined;
|
|
4923
4934
|
/**
|
|
4924
4935
|
* Accept the verification request.
|
|
4925
4936
|
*
|
|
@@ -4937,17 +4948,6 @@ export class VerificationRequest {
|
|
|
4937
4948
|
* or `undefined`.
|
|
4938
4949
|
*/
|
|
4939
4950
|
accept(): OutgoingVerificationRequest | undefined;
|
|
4940
|
-
/**
|
|
4941
|
-
* Accept the verification request signaling that our client
|
|
4942
|
-
* supports the given verification methods.
|
|
4943
|
-
*
|
|
4944
|
-
* `methods` represents the methods that we should advertise as
|
|
4945
|
-
* supported by us.
|
|
4946
|
-
*
|
|
4947
|
-
* It returns either a `ToDeviceRequest`, a `RoomMessageRequest`
|
|
4948
|
-
* or `undefined`.
|
|
4949
|
-
*/
|
|
4950
|
-
acceptWithMethods(methods: VerificationMethod[]): OutgoingVerificationRequest | undefined;
|
|
4951
4951
|
/**
|
|
4952
4952
|
* Cancel the verification request.
|
|
4953
4953
|
*
|