@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.
Files changed (279) hide show
  1. package/dist/.setup/{account-selection-BDeeqwwR.mjs → account-selection-Bs_jCAaG.mjs} +3 -5
  2. package/dist/.setup/{approval-handler.runtime-QkHLH2az.mjs → approval-handler.runtime-rxLn8CbP.mjs} +60 -83
  3. package/dist/.setup/{channel-CeRXEAEP.mjs → channel-BcwGspPw.mjs} +92 -120
  4. package/dist/.setup/{channel.runtime-DBQA2y1F.mjs → channel.runtime-CUc6rbu1.mjs} +23 -18
  5. package/dist/.setup/{channel.setup-DC2t7_PK.mjs → channel.setup-CwuYD_CT.mjs} +2 -3
  6. package/dist/.setup/{cli-Be8tdNw8.mjs → cli-mbL9jCro.mjs} +80 -120
  7. package/dist/.setup/{cli-metadata-CtcjBFhc.mjs → cli-metadata-6MOGuyHq.mjs} +1 -1
  8. package/dist/.setup/{client-DY3HExqI.mjs → client-BlTvpEWC.mjs} +2 -2
  9. package/dist/.setup/{client-bootstrap-CZvJjr29.mjs → client-bootstrap-D05xy1HB.mjs} +2 -3
  10. package/dist/.setup/{client-support-D7BlioUb.mjs → client-support-D-xHScuo.mjs} +1 -1
  11. package/dist/.setup/{client-kmih04ng.mjs → client-vPPbaxNp.mjs} +14 -24
  12. package/dist/.setup/{create-client-CbJVyFDy.mjs → create-client-CroC4BVc.mjs} +4 -4
  13. package/dist/.setup/{credentials-C2dvc_kB.mjs → credentials-Bf9PQ7xs.mjs} +4 -18
  14. package/dist/.setup/{crypto-runtime-B2AjWo-i.mjs → crypto-runtime-CpJ0b7vY.mjs} +80 -123
  15. package/dist/.setup/{deps-CFNl7tQo.mjs → deps-L_1bUAGL.mjs} +20 -37
  16. package/dist/.setup/{direct-management-DJtQhLKH.mjs → direct-management-B3wYhx_M.mjs} +25 -51
  17. package/dist/.setup/{directory-live-DW5UykLL.mjs → directory-live-B1WbfSHo.mjs} +3 -3
  18. package/dist/.setup/{draft-stream-B87DfA6a.mjs → draft-stream-Bdrh7dRt.mjs} +2 -3
  19. package/dist/.setup/{encryption-guidance-BEjKbiMR.mjs → encryption-guidance-D5_IsDIy.mjs} +1 -1
  20. package/dist/.setup/{env-vars-dGqak9dN.mjs → env-vars-aEBngJPa.mjs} +2 -17
  21. package/dist/.setup/{event-helpers-CspuhE9k.mjs → event-helpers-CxNgMQqH.mjs} +5 -7
  22. package/dist/.setup/{exec-approvals-BLDAMyHs.mjs → exec-approvals-BgNWWJg1.mjs} +6 -12
  23. package/dist/.setup/{file-sync-store-Clc9iEdn.mjs → file-sync-store-BdKx_gMi.mjs} +2 -5
  24. package/dist/.setup/{http-client-DfJY5Ck0.mjs → http-client-ByR4STVQ.mjs} +55 -59
  25. package/dist/.setup/{messages-uCbwLRKS.mjs → messages-B1CZqU8u.mjs} +4 -16
  26. package/dist/.setup/{monitor-skIntQVG.mjs → monitor-Dk_fQL1k.mjs} +176 -232
  27. package/dist/.setup/{onboarding-Cm_tOJxs.mjs → onboarding-CrSexor_.mjs} +33 -50
  28. package/dist/.setup/{outbound-CqQou3ny.mjs → outbound-LR3SqPIq.mjs} +2 -2
  29. package/dist/.setup/{profile-update-C1n8SRqH.mjs → profile-update-C7bjaGR6.mjs} +2 -3
  30. package/dist/.setup/{reaction-events-Cqq46xsG.mjs → reaction-events-CTSvOlXO.mjs} +4 -4
  31. package/dist/.setup/{resolve-targets-DFeU1Ww6.mjs → resolve-targets-BVVbbvP6.mjs} +15 -21
  32. package/dist/.setup/{retired-state-BXUQ2I-C.mjs → retired-state-DW5pLH05.mjs} +22 -3
  33. package/dist/.setup/{room-info-BPMbwe8I.mjs → room-info-9Uqlpt1V.mjs} +4 -4
  34. package/dist/.setup/{sdk-CgQGkCsS.mjs → sdk-Cfc6m7fY.mjs} +115 -195
  35. package/dist/.setup/{secret-contract-JlB6VmI3.mjs → secret-contract-DSBRvhdZ.mjs} +1 -1
  36. package/dist/.setup/{secret-contract-api-B-iJoQEv.mjs → secret-contract-api-DzEJ-X7n.mjs} +1 -1
  37. package/dist/.setup/{send-B1Y2L4wj.mjs → send-LCOuTVc1.mjs} +10 -30
  38. package/dist/.setup/{setup-bootstrap-UNIGyKnk.mjs → setup-bootstrap-CV-hHBXu.mjs} +2 -2
  39. package/dist/.setup/setup-core-CKnNTfgD.mjs +673 -0
  40. package/dist/.setup/{setup-plugin-api-BRs9bcp4.mjs → setup-plugin-api-BDAYk1a5.mjs} +1 -1
  41. package/dist/.setup/{startup-verification-D00eUt74.mjs → startup-verification-CgfUb4yJ.mjs} +3 -3
  42. package/dist/.setup/{storage-D7agewjH.mjs → storage-DkC6bHgA.mjs} +24 -49
  43. package/dist/.setup/{subagent-hooks-D5kd_kzN.mjs → subagent-hooks-D8jyeQsO.mjs} +1 -1
  44. package/dist/.setup/{sync-cache-state-C2z64uyk.mjs → sync-cache-state-D4G-fi3t.mjs} +20 -33
  45. package/dist/.setup/{target-ids-Nwx7cMVE.mjs → target-ids-HhcaKX1n.mjs} +15 -1
  46. package/dist/.setup/{thread-binding-api-DRMC62cs.mjs → thread-binding-api-BvuaKpd0.mjs} +1 -1
  47. package/dist/.setup/{thread-bindings-DveHVZqN.mjs → thread-bindings-CT4P-OSZ.mjs} +38 -58
  48. package/dist/.setup/{thread-bindings-shared-hxKkYC1W.mjs → thread-bindings-shared-CbsFNbAY.mjs} +19 -37
  49. package/dist/.setup/{tool-actions-BqlK2ilM.mjs → tool-actions-DAp6_XSJ.mjs} +17 -18
  50. package/dist/.setup/{verification-kMlFYUn0.mjs → verification-B3VswneT.mjs} +15 -21
  51. package/dist/api.js +7 -7
  52. package/dist/channel-plugin-api.js +1 -1
  53. package/dist/cli-metadata.js +1 -1
  54. package/dist/contract-api.js +2 -2
  55. package/dist/doctor-contract-api.js +13 -22
  56. package/dist/helper-api.js +2 -2
  57. package/dist/index.js +1 -1
  58. package/dist/plugin-entry.handlers.runtime.js +2 -2
  59. package/dist/runtime-api.js +4 -4
  60. package/dist/secret-contract-api.js +1 -1
  61. package/dist/session-binding-contract-api.js +1 -1
  62. package/dist/setup-entry.js +2 -2
  63. package/dist/setup-plugin-api.js +1 -1
  64. package/dist/subagent-hooks-api.js +1 -1
  65. package/dist/thread-binding-api.js +1 -1
  66. package/dist/thread-bindings-runtime.js +1 -1
  67. package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/package.json +1 -1
  68. package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/pkg/matrix_sdk_crypto_wasm.d.ts +129 -129
  69. package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/pkg/matrix_sdk_crypto_wasm_bg.cjs +688 -688
  70. package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/pkg/matrix_sdk_crypto_wasm_bg.js +512 -512
  71. package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/pkg/matrix_sdk_crypto_wasm_bg.wasm +0 -0
  72. package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/pkg/matrix_sdk_crypto_wasm_bg.wasm.d.ts +84 -84
  73. package/node_modules/@openclaw/fs-safe/CHANGELOG.md +35 -0
  74. package/node_modules/@openclaw/fs-safe/README.md +1 -1
  75. package/node_modules/@openclaw/fs-safe/dist/advanced.d.ts +1 -1
  76. package/node_modules/@openclaw/fs-safe/dist/advanced.js +1 -1
  77. package/node_modules/@openclaw/fs-safe/dist/archive-durability.js +1 -1
  78. package/node_modules/@openclaw/fs-safe/dist/archive-merge.js +4 -4
  79. package/node_modules/@openclaw/fs-safe/dist/archive-parser.wasm +0 -0
  80. package/node_modules/@openclaw/fs-safe/dist/archive-read.js +5 -4
  81. package/node_modules/@openclaw/fs-safe/dist/archive-staging.d.ts +1 -1
  82. package/node_modules/@openclaw/fs-safe/dist/archive-staging.js +22 -38
  83. package/node_modules/@openclaw/fs-safe/dist/copy-path-admission.d.ts +17 -0
  84. package/node_modules/@openclaw/fs-safe/dist/copy-path-admission.js +117 -0
  85. package/node_modules/@openclaw/fs-safe/dist/copy-root-file-sync.d.ts +8 -5
  86. package/node_modules/@openclaw/fs-safe/dist/copy-root-file-sync.js +27 -50
  87. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-acquire.d.ts +3 -0
  88. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-acquire.js +57 -11
  89. package/node_modules/@openclaw/fs-safe/dist/guarded-mutation.js +5 -5
  90. package/node_modules/@openclaw/fs-safe/dist/guest-native-python.js +52 -5
  91. package/node_modules/@openclaw/fs-safe/dist/guest.js +1 -1
  92. package/node_modules/@openclaw/fs-safe/dist/native-binding.d.ts +1 -0
  93. package/node_modules/@openclaw/fs-safe/dist/native-operations.d.ts +0 -1
  94. package/node_modules/@openclaw/fs-safe/dist/native-operations.js +22 -26
  95. package/node_modules/@openclaw/fs-safe/dist/native-pinned-write-windows.js +5 -1
  96. package/node_modules/@openclaw/fs-safe/dist/native-staged-file.js +4 -1
  97. package/node_modules/@openclaw/fs-safe/dist/permission-exec.js +2 -1
  98. package/node_modules/@openclaw/fs-safe/dist/pinned-write-types.d.ts +6 -1
  99. package/node_modules/@openclaw/fs-safe/dist/private-temp-workspace.js +2 -2
  100. package/node_modules/@openclaw/fs-safe/dist/publish-file.js +34 -7
  101. package/node_modules/@openclaw/fs-safe/dist/replace-file-copy-fallback.js +1 -4
  102. package/node_modules/@openclaw/fs-safe/dist/replace-file-descriptor.js +6 -0
  103. package/node_modules/@openclaw/fs-safe/dist/root-create-input.d.ts +15 -1
  104. package/node_modules/@openclaw/fs-safe/dist/root-create-input.js +4 -0
  105. package/node_modules/@openclaw/fs-safe/dist/root-directory-entry.js +1 -1
  106. package/node_modules/@openclaw/fs-safe/dist/root-directory-list.d.ts +0 -1
  107. package/node_modules/@openclaw/fs-safe/dist/root-directory-list.js +6 -12
  108. package/node_modules/@openclaw/fs-safe/dist/root-impl.js +15 -15
  109. package/node_modules/@openclaw/fs-safe/dist/root-paths.js +1 -1
  110. package/node_modules/@openclaw/fs-safe/dist/root-walk.js +4 -4
  111. package/node_modules/@openclaw/fs-safe/dist/root-write-verification.d.ts +10 -1
  112. package/node_modules/@openclaw/fs-safe/dist/root-write-verification.js +20 -0
  113. package/node_modules/@openclaw/fs-safe/dist/secure-temp-dir.js +19 -7
  114. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-acquire.js +25 -3
  115. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-admission.d.ts +2 -0
  116. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-retained.d.ts +14 -0
  117. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-retained.js +187 -0
  118. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock.js +15 -1
  119. package/node_modules/@openclaw/fs-safe/dist/temp-directory-diagnostics.d.ts +10 -0
  120. package/node_modules/@openclaw/fs-safe/dist/temp-directory-diagnostics.js +29 -0
  121. package/node_modules/@openclaw/fs-safe/dist/temp-target.js +1 -1
  122. package/node_modules/@openclaw/fs-safe/dist/temp-workspace-admission.js +6 -6
  123. package/node_modules/@openclaw/fs-safe/dist/temp-workspace-child-admission.d.ts +4 -4
  124. package/node_modules/@openclaw/fs-safe/dist/temp-workspace-child-admission.js +17 -16
  125. package/node_modules/@openclaw/fs-safe/dist/temp-workspace-descriptor.js +20 -28
  126. package/node_modules/@openclaw/fs-safe/dist/walk.js +2 -13
  127. package/node_modules/@openclaw/fs-safe/dist/watch-native.d.ts +2 -2
  128. package/node_modules/@openclaw/fs-safe/dist/watch-native.js +3 -1
  129. package/node_modules/@openclaw/fs-safe/dist/watch-rescan.js +3 -9
  130. package/node_modules/@openclaw/fs-safe/dist/watch.js +2 -3
  131. package/node_modules/@openclaw/fs-safe/docs/advanced.md +1 -1
  132. package/node_modules/@openclaw/fs-safe/docs/archive.md +3 -0
  133. package/node_modules/@openclaw/fs-safe/docs/atomic.md +11 -3
  134. package/node_modules/@openclaw/fs-safe/docs/contributing.md +1 -1
  135. package/node_modules/@openclaw/fs-safe/docs/copy.md +48 -0
  136. package/node_modules/@openclaw/fs-safe/docs/guest.md +21 -4
  137. package/node_modules/@openclaw/fs-safe/docs/path-scope.md +4 -0
  138. package/node_modules/@openclaw/fs-safe/docs/sidecar-lock.md +46 -8
  139. package/node_modules/@openclaw/fs-safe/docs/temp.md +12 -0
  140. package/node_modules/@openclaw/fs-safe/docs/watch.md +3 -2
  141. package/node_modules/@openclaw/fs-safe/package.json +15 -15
  142. package/node_modules/@openclaw/fs-safe-darwin-arm64/fs-safe-native.node +0 -0
  143. package/node_modules/@openclaw/fs-safe-darwin-arm64/package.json +1 -1
  144. package/node_modules/@openclaw/fs-safe-darwin-x64/fs-safe-native.node +0 -0
  145. package/node_modules/@openclaw/fs-safe-darwin-x64/package.json +1 -1
  146. package/node_modules/@openclaw/fs-safe-linux-arm64-gnu/fs-safe-native.node +0 -0
  147. package/node_modules/@openclaw/fs-safe-linux-arm64-gnu/package.json +1 -1
  148. package/node_modules/@openclaw/fs-safe-linux-arm64-musl/fs-safe-native.node +0 -0
  149. package/node_modules/@openclaw/fs-safe-linux-arm64-musl/package.json +1 -1
  150. package/node_modules/@openclaw/fs-safe-linux-x64-gnu/fs-safe-native.node +0 -0
  151. package/node_modules/@openclaw/fs-safe-linux-x64-gnu/package.json +1 -1
  152. package/node_modules/@openclaw/fs-safe-linux-x64-musl/fs-safe-native.node +0 -0
  153. package/node_modules/@openclaw/fs-safe-linux-x64-musl/package.json +1 -1
  154. package/node_modules/@openclaw/fs-safe-win32-x64-msvc/fs-safe-native.node +0 -0
  155. package/node_modules/@openclaw/fs-safe-win32-x64-msvc/package.json +1 -1
  156. package/node_modules/matrix-widget-api/lib/interfaces/RtcLivekitActions.d.ts +6 -12
  157. package/node_modules/matrix-widget-api/lib/interfaces/RtcLivekitActions.js.map +1 -1
  158. package/node_modules/matrix-widget-api/package.json +1 -1
  159. package/node_modules/matrix-widget-api/src/interfaces/RtcLivekitActions.ts +6 -13
  160. package/node_modules/music-metadata/README.md +35 -32
  161. package/node_modules/music-metadata/lib/ParserFactory.d.ts +1 -1
  162. package/node_modules/music-metadata/lib/ParserFactory.js +17 -13
  163. package/node_modules/music-metadata/lib/aiff/AiffParser.js +19 -12
  164. package/node_modules/music-metadata/lib/aiff/AiffToken.d.ts +1 -1
  165. package/node_modules/music-metadata/lib/aiff/AiffToken.js +2 -1
  166. package/node_modules/music-metadata/lib/apev2/APEv2Parser.d.ts +4 -3
  167. package/node_modules/music-metadata/lib/apev2/APEv2Parser.js +59 -16
  168. package/node_modules/music-metadata/lib/apev2/APEv2TagMapper.js +1 -0
  169. package/node_modules/music-metadata/lib/apev2/APEv2Token.d.ts +1 -1
  170. package/node_modules/music-metadata/lib/apev2/APEv2Token.js +1 -1
  171. package/node_modules/music-metadata/lib/asf/AsfGuid.js +56 -50
  172. package/node_modules/music-metadata/lib/asf/AsfObject.d.ts +1 -1
  173. package/node_modules/music-metadata/lib/asf/AsfObject.js +3 -2
  174. package/node_modules/music-metadata/lib/asf/AsfParser.js +15 -7
  175. package/node_modules/music-metadata/lib/asf/AsfTagMapper.d.ts +3 -2
  176. package/node_modules/music-metadata/lib/asf/AsfTagMapper.js +21 -4
  177. package/node_modules/music-metadata/lib/common/CaseInsensitiveTagMap.d.ts +1 -1
  178. package/node_modules/music-metadata/lib/common/CombinedTagMapper.d.ts +2 -2
  179. package/node_modules/music-metadata/lib/common/CombinedTagMapper.js +6 -6
  180. package/node_modules/music-metadata/lib/common/FourCC.js +3 -2
  181. package/node_modules/music-metadata/lib/common/GenericTagMapper.d.ts +1 -1
  182. package/node_modules/music-metadata/lib/common/GenericTagTypes.js +1 -1
  183. package/node_modules/music-metadata/lib/common/MetadataCollector.d.ts +3 -1
  184. package/node_modules/music-metadata/lib/common/MetadataCollector.js +28 -9
  185. package/node_modules/music-metadata/lib/common/Util.js +25 -17
  186. package/node_modules/music-metadata/lib/core.d.ts +4 -4
  187. package/node_modules/music-metadata/lib/core.js +18 -11
  188. package/node_modules/music-metadata/lib/dsdiff/DsdiffParser.js +29 -16
  189. package/node_modules/music-metadata/lib/dsf/DsfChunk.d.ts +1 -1
  190. package/node_modules/music-metadata/lib/dsf/DsfParser.js +3 -5
  191. package/node_modules/music-metadata/lib/ebml/EbmlIterator.d.ts +1 -1
  192. package/node_modules/music-metadata/lib/ebml/EbmlIterator.js +35 -6
  193. package/node_modules/music-metadata/lib/ebml/types.d.ts +1 -1
  194. package/node_modules/music-metadata/lib/ebml/types.js +1 -1
  195. package/node_modules/music-metadata/lib/flac/FlacParser.d.ts +1 -1
  196. package/node_modules/music-metadata/lib/flac/FlacParser.js +6 -5
  197. package/node_modules/music-metadata/lib/flac/FlacToken.d.ts +1 -1
  198. package/node_modules/music-metadata/lib/flac/FlacToken.js +1 -1
  199. package/node_modules/music-metadata/lib/id3v1/ID3v1Parser.d.ts +1 -1
  200. package/node_modules/music-metadata/lib/id3v1/ID3v1Parser.js +212 -42
  201. package/node_modules/music-metadata/lib/id3v2/AbstractID3Parser.js +5 -5
  202. package/node_modules/music-metadata/lib/id3v2/FrameHeader.d.ts +1 -1
  203. package/node_modules/music-metadata/lib/id3v2/FrameHeader.js +8 -5
  204. package/node_modules/music-metadata/lib/id3v2/FrameParser.d.ts +2 -1
  205. package/node_modules/music-metadata/lib/id3v2/FrameParser.js +54 -23
  206. package/node_modules/music-metadata/lib/id3v2/ID3v22TagMapper.d.ts +1 -1
  207. package/node_modules/music-metadata/lib/id3v2/ID3v22TagMapper.js +1 -1
  208. package/node_modules/music-metadata/lib/id3v2/ID3v24TagMapper.js +3 -3
  209. package/node_modules/music-metadata/lib/id3v2/ID3v2ChapterToken.js +2 -2
  210. package/node_modules/music-metadata/lib/id3v2/ID3v2Parser.d.ts +1 -1
  211. package/node_modules/music-metadata/lib/id3v2/ID3v2Parser.js +32 -16
  212. package/node_modules/music-metadata/lib/id3v2/ID3v2Token.d.ts +2 -2
  213. package/node_modules/music-metadata/lib/id3v2/ID3v2Token.js +2 -3
  214. package/node_modules/music-metadata/lib/index.js +6 -3
  215. package/node_modules/music-metadata/lib/lrc/LyricsParser.js +3 -5
  216. package/node_modules/music-metadata/lib/matroska/MatroskaDtd.js +7 -3
  217. package/node_modules/music-metadata/lib/matroska/MatroskaParser.js +22 -11
  218. package/node_modules/music-metadata/lib/matroska/types.d.ts +2 -2
  219. package/node_modules/music-metadata/lib/mp4/Atom.d.ts +4 -3
  220. package/node_modules/music-metadata/lib/mp4/Atom.js +44 -11
  221. package/node_modules/music-metadata/lib/mp4/AtomToken.d.ts +1 -1
  222. package/node_modules/music-metadata/lib/mp4/AtomToken.js +30 -8
  223. package/node_modules/music-metadata/lib/mp4/MP4Parser.d.ts +2 -0
  224. package/node_modules/music-metadata/lib/mp4/MP4Parser.js +79 -54
  225. package/node_modules/music-metadata/lib/mp4/MP4TagMapper.d.ts +2 -2
  226. package/node_modules/music-metadata/lib/mpeg/MpegLoader.js +1 -1
  227. package/node_modules/music-metadata/lib/mpeg/MpegParser.js +41 -19
  228. package/node_modules/music-metadata/lib/mpeg/ReplayGainDataFormat.d.ts +2 -2
  229. package/node_modules/music-metadata/lib/mpeg/ReplayGainDataFormat.js +1 -1
  230. package/node_modules/music-metadata/lib/mpeg/XingTag.d.ts +1 -1
  231. package/node_modules/music-metadata/lib/musepack/MusepackParser.js +2 -2
  232. package/node_modules/music-metadata/lib/musepack/sv7/BitReader.js +1 -1
  233. package/node_modules/music-metadata/lib/musepack/sv7/MpcSv7Parser.js +4 -3
  234. package/node_modules/music-metadata/lib/musepack/sv7/StreamVersion7.js +3 -3
  235. package/node_modules/music-metadata/lib/musepack/sv8/MpcSv8Parser.js +7 -5
  236. package/node_modules/music-metadata/lib/musepack/sv8/StreamVersion8.js +2 -2
  237. package/node_modules/music-metadata/lib/ogg/OggParser.js +23 -13
  238. package/node_modules/music-metadata/lib/ogg/OggToken.d.ts +2 -0
  239. package/node_modules/music-metadata/lib/ogg/OggToken.js +1 -1
  240. package/node_modules/music-metadata/lib/ogg/flac/FlacStream.d.ts +2 -2
  241. package/node_modules/music-metadata/lib/ogg/flac/FlacStream.js +2 -2
  242. package/node_modules/music-metadata/lib/ogg/opus/OpusStream.d.ts +2 -2
  243. package/node_modules/music-metadata/lib/ogg/opus/OpusStream.js +8 -4
  244. package/node_modules/music-metadata/lib/ogg/speex/SpeexStream.d.ts +2 -2
  245. package/node_modules/music-metadata/lib/ogg/speex/SpeexStream.js +2 -1
  246. package/node_modules/music-metadata/lib/ogg/theora/TheoraStream.d.ts +2 -2
  247. package/node_modules/music-metadata/lib/ogg/vorbis/Vorbis.d.ts +1 -1
  248. package/node_modules/music-metadata/lib/ogg/vorbis/VorbisDecoder.js +1 -1
  249. package/node_modules/music-metadata/lib/ogg/vorbis/VorbisStream.d.ts +4 -3
  250. package/node_modules/music-metadata/lib/ogg/vorbis/VorbisStream.js +16 -9
  251. package/node_modules/music-metadata/lib/ogg/vorbis/VorbisTagMapper.js +4 -0
  252. package/node_modules/music-metadata/lib/riff/RiffChunk.d.ts +3 -1
  253. package/node_modules/music-metadata/lib/riff/RiffChunk.js +3 -2
  254. package/node_modules/music-metadata/lib/riff/RiffInfoTagMap.d.ts +1 -1
  255. package/node_modules/music-metadata/lib/type.d.ts +3 -3
  256. package/node_modules/music-metadata/lib/type.js +1 -1
  257. package/node_modules/music-metadata/lib/wav/WaveChunk.d.ts +1 -1
  258. package/node_modules/music-metadata/lib/wav/WaveChunk.js +3 -2
  259. package/node_modules/music-metadata/lib/wav/WaveParser.d.ts +6 -2
  260. package/node_modules/music-metadata/lib/wav/WaveParser.js +75 -22
  261. package/node_modules/music-metadata/lib/wavpack/WavPackParser.js +22 -13
  262. package/node_modules/music-metadata/lib/wavpack/WavPackToken.js +3 -2
  263. package/node_modules/music-metadata/package.json +3 -2
  264. package/node_modules/uint8array-extras/index.d.ts +7 -7
  265. package/node_modules/uint8array-extras/index.js +27 -13
  266. package/node_modules/uint8array-extras/package.json +6 -6
  267. package/node_modules/uint8array-extras/readme.md +7 -7
  268. package/package.json +7 -7
  269. package/dist/.setup/accounts-C_r0UlEm.mjs +0 -138
  270. package/dist/.setup/config-update-CZndPxNd.mjs +0 -102
  271. package/dist/.setup/profile-DS0xdJAi.mjs +0 -80
  272. package/dist/.setup/setup-core-6DppLENo.mjs +0 -377
  273. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-arbitration.d.ts +0 -17
  274. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-arbitration.js +0 -66
  275. package/node_modules/@openclaw/fs-safe/dist/publish-file-native.d.ts +0 -4
  276. package/node_modules/@openclaw/fs-safe/dist/publish-file-native.js +0 -35
  277. package/node_modules/@openclaw/fs-safe/dist/root-move-preflight.d.ts +0 -7
  278. package/node_modules/@openclaw/fs-safe/dist/root-move-preflight.js +0 -16
  279. package/dist/.setup/{errors-DKVS3_DO.mjs → errors-Bw4EHwKX.mjs} +1 -1
@@ -1193,17 +1193,6 @@ export class DecryptedRoomEvent {
1193
1193
  const ptr = this.__destroy_into_raw();
1194
1194
  wasm.__wbg_decryptedroomevent_free(ptr, 0);
1195
1195
  }
1196
- /**
1197
- * If the keys for this message were shared-on-invite as part of an
1198
- * [MSC4268] key bundle, the ID of the user who sent us the bundle.
1199
- *
1200
- * [MSC4268]: https://github.com/matrix-org/matrix-spec-proposals/pull/4268
1201
- * @returns {UserId | undefined}
1202
- */
1203
- get forwarder() {
1204
- const ret = wasm.decryptedroomevent_forwarder(this.__wbg_ptr);
1205
- return ret === 0 ? undefined : UserId.__wrap(ret);
1206
- }
1207
1196
  /**
1208
1197
  * If the keys for this message were shared-on-invite as part of an
1209
1198
  * [MSC4268] key bundle, the ID of the device from which this bundle
@@ -1216,6 +1205,17 @@ export class DecryptedRoomEvent {
1216
1205
  const ret = wasm.decryptedroomevent_forwarderDevice(this.__wbg_ptr);
1217
1206
  return ret === 0 ? undefined : DeviceId.__wrap(ret);
1218
1207
  }
1208
+ /**
1209
+ * If the keys for this message were shared-on-invite as part of an
1210
+ * [MSC4268] key bundle, the ID of the user who sent us the bundle.
1211
+ *
1212
+ * [MSC4268]: https://github.com/matrix-org/matrix-spec-proposals/pull/4268
1213
+ * @returns {UserId | undefined}
1214
+ */
1215
+ get forwarder() {
1216
+ const ret = wasm.decryptedroomevent_forwarder(this.__wbg_ptr);
1217
+ return ret === 0 ? undefined : UserId.__wrap(ret);
1218
+ }
1219
1219
  /**
1220
1220
  * Returns an empty array
1221
1221
  *
@@ -1231,15 +1231,6 @@ export class DecryptedRoomEvent {
1231
1231
  const ret = wasm.decryptedroomevent_forwardingCurve25519KeyChain(this.__wbg_ptr);
1232
1232
  return ret;
1233
1233
  }
1234
- /**
1235
- * The user ID of the event sender, note this is untrusted data
1236
- * unless the `verification_state` is as well trusted.
1237
- * @returns {UserId}
1238
- */
1239
- get sender() {
1240
- const ret = wasm.decryptedroomevent_sender(this.__wbg_ptr);
1241
- return UserId.__wrap(ret);
1242
- }
1243
1234
  /**
1244
1235
  * The signing Ed25519 key that have created the megolm key that
1245
1236
  * was used to decrypt this session.
@@ -1276,6 +1267,15 @@ export class DecryptedRoomEvent {
1276
1267
  const ret = wasm.decryptedroomevent_senderDevice(this.__wbg_ptr);
1277
1268
  return ret === 0 ? undefined : DeviceId.__wrap(ret);
1278
1269
  }
1270
+ /**
1271
+ * The user ID of the event sender, note this is untrusted data
1272
+ * unless the `verification_state` is as well trusted.
1273
+ * @returns {UserId}
1274
+ */
1275
+ get sender() {
1276
+ const ret = wasm.decryptedroomevent_sender(this.__wbg_ptr);
1277
+ return UserId.__wrap(ret);
1278
+ }
1279
1279
  /**
1280
1280
  * The verification state of the device that sent us the event.
1281
1281
  * Note this is the state of the device at the time of
@@ -4840,28 +4840,6 @@ export class OlmMachine {
4840
4840
  const ret = wasm.olmmachine_getUserDevices(this.__wbg_ptr, user_id.__wbg_ptr, !isLikeNone(timeout_secs), isLikeNone(timeout_secs) ? 0 : timeout_secs);
4841
4841
  return ret;
4842
4842
  }
4843
- /**
4844
- * Get a verification object for the given user ID with the given
4845
- * flow ID (a to-device request ID if the verification has been
4846
- * requested by a to-device request, or a room event ID if the
4847
- * verification has been requested by a room event).
4848
- *
4849
- * It returns a “`Verification` object”, which is either a `Sas`
4850
- * or `Qr` object.
4851
- * @param {UserId} user_id
4852
- * @param {string} flow_id
4853
- * @returns {Sas | Qr | undefined}
4854
- */
4855
- getVerification(user_id, flow_id) {
4856
- _assertClass(user_id, UserId);
4857
- const ptr0 = passStringToWasm0(flow_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
4858
- const len0 = WASM_VECTOR_LEN;
4859
- const ret = wasm.olmmachine_getVerification(this.__wbg_ptr, user_id.__wbg_ptr, ptr0, len0);
4860
- if (ret[2]) {
4861
- throw takeFromExternrefTable0(ret[1]);
4862
- }
4863
- return takeFromExternrefTable0(ret[0]);
4864
- }
4865
4843
  /**
4866
4844
  * Get a verification request object with the given flow ID.
4867
4845
  * @param {UserId} user_id
@@ -4885,6 +4863,28 @@ export class OlmMachine {
4885
4863
  const ret = wasm.olmmachine_getVerificationRequests(this.__wbg_ptr, user_id.__wbg_ptr);
4886
4864
  return ret;
4887
4865
  }
4866
+ /**
4867
+ * Get a verification object for the given user ID with the given
4868
+ * flow ID (a to-device request ID if the verification has been
4869
+ * requested by a to-device request, or a room event ID if the
4870
+ * verification has been requested by a room event).
4871
+ *
4872
+ * It returns a “`Verification` object”, which is either a `Sas`
4873
+ * or `Qr` object.
4874
+ * @param {UserId} user_id
4875
+ * @param {string} flow_id
4876
+ * @returns {Sas | Qr | undefined}
4877
+ */
4878
+ getVerification(user_id, flow_id) {
4879
+ _assertClass(user_id, UserId);
4880
+ const ptr0 = passStringToWasm0(flow_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
4881
+ const len0 = WASM_VECTOR_LEN;
4882
+ const ret = wasm.olmmachine_getVerification(this.__wbg_ptr, user_id.__wbg_ptr, ptr0, len0);
4883
+ if (ret[2]) {
4884
+ throw takeFromExternrefTable0(ret[1]);
4885
+ }
4886
+ return takeFromExternrefTable0(ret[0]);
4887
+ }
4888
4888
  /**
4889
4889
  * Get whether we have previously downloaded all message keys for a
4890
4890
  * particular room from the key backup. Typically called in advance of
@@ -5318,30 +5318,31 @@ export class OlmMachine {
5318
5318
  return takeFromExternrefTable0(ret[0]);
5319
5319
  }
5320
5320
  /**
5321
- * Handle to-device events and one-time key counts from a sync
5322
- * response.
5321
+ * Handle the changes to the end-to-end encryption state we received from
5322
+ * a [MSC4186](https://github.com/matrix-org/matrix-spec-proposals/pull/4186)
5323
+ * (simplified sliding sync) response.
5323
5324
  *
5324
- * This will decrypt and handle to-device events returning the
5325
- * decrypted versions of them.
5325
+ * This behaves exactly like {@link receiveSyncChanges}, except for the
5326
+ * handling of `one_time_keys_counts`: under MSC4186 semantics, a missing
5327
+ * entry for an algorithm means that the number of keys on the server is
5328
+ * *unchanged*, rather than zero.
5326
5329
  *
5327
- * To decrypt an event from the room timeline call
5328
- * `decrypt_room_event`.
5330
+ * This is therefore also the method to use when the caller has no
5331
+ * information about the one-time key counts, for example because it is
5332
+ * processing only the to-device events or the device list changes from a
5333
+ * sync response.
5329
5334
  *
5330
5335
  * # Arguments
5331
5336
  *
5332
- * * `to_device_events`: the JSON-encoded to-device evens from the `/sync`
5337
+ * * `to_device_events`: the JSON-encoded to-device events from the sync
5333
5338
  * response
5334
5339
  * * `changed_devices`: the mapping of changed and left devices, from the
5335
- * `/sync` response
5340
+ * sync response
5336
5341
  * * `one_time_keys_counts`: The number of one-time keys on the server,
5337
- * from the `/sync` response. A `Map` from string (encryption algorithm)
5338
- * to number (number of keys). Following the sync v2 semantics, a missing
5339
- * entry for an algorithm means that there are *zero* keys of that type
5340
- * on the server. If the caller has no information about the key counts
5341
- * (for example, because it is processing only part of a sync response),
5342
- * it should use {@link receiveSyncChangesMsc4186} instead.
5342
+ * from the sync response. A `Map` from string (encryption algorithm) to
5343
+ * number (number of keys). A missing entry means "unchanged".
5343
5344
  * * `unused_fallback_keys`: Optionally, a `Set` of unused fallback keys on
5344
- * the server, from the `/sync` response. If this is set, it is used to
5345
+ * the server, from the sync response. If this is set, it is used to
5345
5346
  * determine if new fallback keys should be uploaded.
5346
5347
  * * `decryption_settings`: Optionally, the settings to use when decrypting
5347
5348
  * to-device events. If not set, to-device events will be decrypted with
@@ -5361,7 +5362,7 @@ export class OlmMachine {
5361
5362
  * @param {DecryptionSettings} [decryption_settings]
5362
5363
  * @returns {Promise<ProcessedToDeviceEvent[]>}
5363
5364
  */
5364
- receiveSyncChanges(to_device_events, changed_devices, one_time_keys_counts, unused_fallback_keys, decryption_settings) {
5365
+ receiveSyncChangesMsc4186(to_device_events, changed_devices, one_time_keys_counts, unused_fallback_keys, decryption_settings) {
5365
5366
  const ptr0 = passStringToWasm0(to_device_events, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
5366
5367
  const len0 = WASM_VECTOR_LEN;
5367
5368
  _assertClass(changed_devices, DeviceLists);
@@ -5370,38 +5371,37 @@ export class OlmMachine {
5370
5371
  _assertClass(decryption_settings, DecryptionSettings);
5371
5372
  ptr1 = decryption_settings.__destroy_into_raw();
5372
5373
  }
5373
- const ret = wasm.olmmachine_receiveSyncChanges(this.__wbg_ptr, ptr0, len0, changed_devices.__wbg_ptr, one_time_keys_counts, isLikeNone(unused_fallback_keys) ? 0 : addToExternrefTable0(unused_fallback_keys), ptr1);
5374
+ const ret = wasm.olmmachine_receiveSyncChangesMsc4186(this.__wbg_ptr, ptr0, len0, changed_devices.__wbg_ptr, one_time_keys_counts, isLikeNone(unused_fallback_keys) ? 0 : addToExternrefTable0(unused_fallback_keys), ptr1);
5374
5375
  if (ret[2]) {
5375
5376
  throw takeFromExternrefTable0(ret[1]);
5376
5377
  }
5377
5378
  return takeFromExternrefTable0(ret[0]);
5378
5379
  }
5379
5380
  /**
5380
- * Handle the changes to the end-to-end encryption state we received from
5381
- * a [MSC4186](https://github.com/matrix-org/matrix-spec-proposals/pull/4186)
5382
- * (simplified sliding sync) response.
5381
+ * Handle to-device events and one-time key counts from a sync
5382
+ * response.
5383
5383
  *
5384
- * This behaves exactly like {@link receiveSyncChanges}, except for the
5385
- * handling of `one_time_keys_counts`: under MSC4186 semantics, a missing
5386
- * entry for an algorithm means that the number of keys on the server is
5387
- * *unchanged*, rather than zero.
5384
+ * This will decrypt and handle to-device events returning the
5385
+ * decrypted versions of them.
5388
5386
  *
5389
- * This is therefore also the method to use when the caller has no
5390
- * information about the one-time key counts, for example because it is
5391
- * processing only the to-device events or the device list changes from a
5392
- * sync response.
5387
+ * To decrypt an event from the room timeline call
5388
+ * `decrypt_room_event`.
5393
5389
  *
5394
5390
  * # Arguments
5395
5391
  *
5396
- * * `to_device_events`: the JSON-encoded to-device events from the sync
5392
+ * * `to_device_events`: the JSON-encoded to-device evens from the `/sync`
5397
5393
  * response
5398
5394
  * * `changed_devices`: the mapping of changed and left devices, from the
5399
- * sync response
5395
+ * `/sync` response
5400
5396
  * * `one_time_keys_counts`: The number of one-time keys on the server,
5401
- * from the sync response. A `Map` from string (encryption algorithm) to
5402
- * number (number of keys). A missing entry means "unchanged".
5397
+ * from the `/sync` response. A `Map` from string (encryption algorithm)
5398
+ * to number (number of keys). Following the sync v2 semantics, a missing
5399
+ * entry for an algorithm means that there are *zero* keys of that type
5400
+ * on the server. If the caller has no information about the key counts
5401
+ * (for example, because it is processing only part of a sync response),
5402
+ * it should use {@link receiveSyncChangesMsc4186} instead.
5403
5403
  * * `unused_fallback_keys`: Optionally, a `Set` of unused fallback keys on
5404
- * the server, from the sync response. If this is set, it is used to
5404
+ * the server, from the `/sync` response. If this is set, it is used to
5405
5405
  * determine if new fallback keys should be uploaded.
5406
5406
  * * `decryption_settings`: Optionally, the settings to use when decrypting
5407
5407
  * to-device events. If not set, to-device events will be decrypted with
@@ -5421,7 +5421,7 @@ export class OlmMachine {
5421
5421
  * @param {DecryptionSettings} [decryption_settings]
5422
5422
  * @returns {Promise<ProcessedToDeviceEvent[]>}
5423
5423
  */
5424
- receiveSyncChangesMsc4186(to_device_events, changed_devices, one_time_keys_counts, unused_fallback_keys, decryption_settings) {
5424
+ receiveSyncChanges(to_device_events, changed_devices, one_time_keys_counts, unused_fallback_keys, decryption_settings) {
5425
5425
  const ptr0 = passStringToWasm0(to_device_events, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
5426
5426
  const len0 = WASM_VECTOR_LEN;
5427
5427
  _assertClass(changed_devices, DeviceLists);
@@ -5430,7 +5430,7 @@ export class OlmMachine {
5430
5430
  _assertClass(decryption_settings, DecryptionSettings);
5431
5431
  ptr1 = decryption_settings.__destroy_into_raw();
5432
5432
  }
5433
- const ret = wasm.olmmachine_receiveSyncChangesMsc4186(this.__wbg_ptr, ptr0, len0, changed_devices.__wbg_ptr, one_time_keys_counts, isLikeNone(unused_fallback_keys) ? 0 : addToExternrefTable0(unused_fallback_keys), ptr1);
5433
+ const ret = wasm.olmmachine_receiveSyncChanges(this.__wbg_ptr, ptr0, len0, changed_devices.__wbg_ptr, one_time_keys_counts, isLikeNone(unused_fallback_keys) ? 0 : addToExternrefTable0(unused_fallback_keys), ptr1);
5434
5434
  if (ret[2]) {
5435
5435
  throw takeFromExternrefTable0(ret[1]);
5436
5436
  }
@@ -5645,33 +5645,6 @@ export class OlmMachine {
5645
5645
  set roomKeyRequestsEnabled(enabled) {
5646
5646
  wasm.olmmachine_set_roomKeyRequestsEnabled(this.__wbg_ptr, enabled);
5647
5647
  }
5648
- /**
5649
- * Get to-device requests to share a room key with users in a room.
5650
- *
5651
- * `room_id` is the room ID. `users` is an array of `UserId`
5652
- * objects. `encryption_settings` are an `EncryptionSettings`
5653
- * object.
5654
- *
5655
- * Note: Care should be taken that only one such request at a
5656
- * time is in flight for the same room, e.g. using a lock.
5657
- *
5658
- * Returns an array of `ToDeviceRequest`s.
5659
- *
5660
- * Items inside `users` will be invalidated by this method. Be careful not
5661
- * to use the `UserId`s after this method has been called.
5662
- * @param {RoomId} room_id
5663
- * @param {UserId[]} users
5664
- * @param {EncryptionSettings} encryption_settings
5665
- * @returns {Promise<ToDeviceRequest[]>}
5666
- */
5667
- shareRoomKey(room_id, users, encryption_settings) {
5668
- _assertClass(room_id, RoomId);
5669
- const ptr0 = passArrayJsValueToWasm0(users, wasm.__wbindgen_malloc);
5670
- const len0 = WASM_VECTOR_LEN;
5671
- _assertClass(encryption_settings, EncryptionSettings);
5672
- const ret = wasm.olmmachine_shareRoomKey(this.__wbg_ptr, room_id.__wbg_ptr, ptr0, len0, encryption_settings.__wbg_ptr);
5673
- return ret;
5674
- }
5675
5648
  /**
5676
5649
  * Collect the devices belonging to the given user, and send the details
5677
5650
  * of a room key bundle to those devices.
@@ -5701,6 +5674,33 @@ export class OlmMachine {
5701
5674
  }
5702
5675
  return takeFromExternrefTable0(ret[0]);
5703
5676
  }
5677
+ /**
5678
+ * Get to-device requests to share a room key with users in a room.
5679
+ *
5680
+ * `room_id` is the room ID. `users` is an array of `UserId`
5681
+ * objects. `encryption_settings` are an `EncryptionSettings`
5682
+ * object.
5683
+ *
5684
+ * Note: Care should be taken that only one such request at a
5685
+ * time is in flight for the same room, e.g. using a lock.
5686
+ *
5687
+ * Returns an array of `ToDeviceRequest`s.
5688
+ *
5689
+ * Items inside `users` will be invalidated by this method. Be careful not
5690
+ * to use the `UserId`s after this method has been called.
5691
+ * @param {RoomId} room_id
5692
+ * @param {UserId[]} users
5693
+ * @param {EncryptionSettings} encryption_settings
5694
+ * @returns {Promise<ToDeviceRequest[]>}
5695
+ */
5696
+ shareRoomKey(room_id, users, encryption_settings) {
5697
+ _assertClass(room_id, RoomId);
5698
+ const ptr0 = passArrayJsValueToWasm0(users, wasm.__wbindgen_malloc);
5699
+ const len0 = WASM_VECTOR_LEN;
5700
+ _assertClass(encryption_settings, EncryptionSettings);
5701
+ const ret = wasm.olmmachine_shareRoomKey(this.__wbg_ptr, room_id.__wbg_ptr, ptr0, len0, encryption_settings.__wbg_ptr);
5702
+ return ret;
5703
+ }
5704
5704
  /**
5705
5705
  * Sign the given message using our device key and if available
5706
5706
  * cross-signing master key.
@@ -6624,21 +6624,6 @@ export class PkDecryption {
6624
6624
  const ptr = this.__destroy_into_raw();
6625
6625
  wasm.__wbg_pkdecryption_free(ptr, 0);
6626
6626
  }
6627
- /**
6628
- * Decrypts an encrypted message and returns the raw `Uint8Array`.
6629
- * @param {PkMessage} message
6630
- * @returns {Uint8Array}
6631
- */
6632
- decrypt(message) {
6633
- _assertClass(message, PkMessage);
6634
- const ret = wasm.pkdecryption_decrypt(this.__wbg_ptr, message.__wbg_ptr);
6635
- if (ret[3]) {
6636
- throw takeFromExternrefTable0(ret[2]);
6637
- }
6638
- var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
6639
- wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
6640
- return v1;
6641
- }
6642
6627
  /**
6643
6628
  * Decrypts an encrypted message and returns the plaintext as a UTF-8
6644
6629
  * string.
@@ -6664,6 +6649,21 @@ export class PkDecryption {
6664
6649
  wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
6665
6650
  }
6666
6651
  }
6652
+ /**
6653
+ * Decrypts an encrypted message and returns the raw `Uint8Array`.
6654
+ * @param {PkMessage} message
6655
+ * @returns {Uint8Array}
6656
+ */
6657
+ decrypt(message) {
6658
+ _assertClass(message, PkMessage);
6659
+ const ret = wasm.pkdecryption_decrypt(this.__wbg_ptr, message.__wbg_ptr);
6660
+ if (ret[3]) {
6661
+ throw takeFromExternrefTable0(ret[2]);
6662
+ }
6663
+ var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
6664
+ wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
6665
+ return v1;
6666
+ }
6667
6667
  /**
6668
6668
  * Creates a `PkDecryption` instance from a secret key.
6669
6669
  * @param {Curve25519SecretKey} key
@@ -6733,20 +6733,6 @@ export class PkEncryption {
6733
6733
  const ptr = this.__destroy_into_raw();
6734
6734
  wasm.__wbg_pkencryption_free(ptr, 0);
6735
6735
  }
6736
- /**
6737
- * Encrypts a byte message and returns an encrypted {@link PkMessage}.
6738
- * @param {Uint8Array} message
6739
- * @returns {PkMessage}
6740
- */
6741
- encrypt(message) {
6742
- const ptr0 = passArray8ToWasm0(message, wasm.__wbindgen_malloc);
6743
- const len0 = WASM_VECTOR_LEN;
6744
- const ret = wasm.pkencryption_encrypt(this.__wbg_ptr, ptr0, len0);
6745
- if (ret[2]) {
6746
- throw takeFromExternrefTable0(ret[1]);
6747
- }
6748
- return PkMessage.__wrap(ret[0]);
6749
- }
6750
6736
  /**
6751
6737
  * Encrypts a string message and returns an encrypted {@link PkMessage}.
6752
6738
  * @param {string} message
@@ -6762,10 +6748,24 @@ export class PkEncryption {
6762
6748
  return PkMessage.__wrap(ret[0]);
6763
6749
  }
6764
6750
  /**
6765
- * Creates a new `PkEncryption` instance from a public key.
6766
- * @param {Curve25519PublicKey} public_key
6767
- * @returns {PkEncryption}
6768
- */
6751
+ * Encrypts a byte message and returns an encrypted {@link PkMessage}.
6752
+ * @param {Uint8Array} message
6753
+ * @returns {PkMessage}
6754
+ */
6755
+ encrypt(message) {
6756
+ const ptr0 = passArray8ToWasm0(message, wasm.__wbindgen_malloc);
6757
+ const len0 = WASM_VECTOR_LEN;
6758
+ const ret = wasm.pkencryption_encrypt(this.__wbg_ptr, ptr0, len0);
6759
+ if (ret[2]) {
6760
+ throw takeFromExternrefTable0(ret[1]);
6761
+ }
6762
+ return PkMessage.__wrap(ret[0]);
6763
+ }
6764
+ /**
6765
+ * Creates a new `PkEncryption` instance from a public key.
6766
+ * @param {Curve25519PublicKey} public_key
6767
+ * @returns {PkEncryption}
6768
+ */
6769
6769
  static fromKey(public_key) {
6770
6770
  _assertClass(public_key, Curve25519PublicKey);
6771
6771
  const ret = wasm.pkencryption_fromKey(public_key.__wbg_ptr);
@@ -6992,20 +6992,6 @@ export class Qr {
6992
6992
  const ptr = this.__destroy_into_raw();
6993
6993
  wasm.__wbg_qr_free(ptr, 0);
6994
6994
  }
6995
- /**
6996
- * Cancel the verification flow.
6997
- *
6998
- * Returns either an `OutgoingVerificationRequest` which should be sent
6999
- * out, or `undefined` if the verification is already cancelled.
7000
- * @returns {OutgoingVerificationRequest | undefined}
7001
- */
7002
- cancel() {
7003
- const ret = wasm.qr_cancel(this.__wbg_ptr);
7004
- if (ret[2]) {
7005
- throw takeFromExternrefTable0(ret[1]);
7006
- }
7007
- return takeFromExternrefTable0(ret[0]);
7008
- }
7009
6995
  /**
7010
6996
  * Get info about the cancellation if the verification flow has
7011
6997
  * been cancelled.
@@ -7034,6 +7020,20 @@ export class Qr {
7034
7020
  }
7035
7021
  return takeFromExternrefTable0(ret[0]);
7036
7022
  }
7023
+ /**
7024
+ * Cancel the verification flow.
7025
+ *
7026
+ * Returns either an `OutgoingVerificationRequest` which should be sent
7027
+ * out, or `undefined` if the verification is already cancelled.
7028
+ * @returns {OutgoingVerificationRequest | undefined}
7029
+ */
7030
+ cancel() {
7031
+ const ret = wasm.qr_cancel(this.__wbg_ptr);
7032
+ if (ret[2]) {
7033
+ throw takeFromExternrefTable0(ret[1]);
7034
+ }
7035
+ return takeFromExternrefTable0(ret[0]);
7036
+ }
7037
7037
  /**
7038
7038
  * Confirm that the other side has scanned our QR code.
7039
7039
  *
@@ -7343,6 +7343,32 @@ export class QrCodeData {
7343
7343
  const ret = wasm.qrcodedata_mode(this.__wbg_ptr);
7344
7344
  return ret;
7345
7345
  }
7346
+ /**
7347
+ * Create new {@link QrCodeData} from a given public key, a rendezvous ID
7348
+ * and, a base homeserver URL.
7349
+ *
7350
+ * This creates a QR code which conforms to
7351
+ * {@link https://github.com/matrix-org/matrix-spec-proposals/pull/4388 MSC4388} of the data
7352
+ * format for QR login.
7353
+ * @param {Curve25519PublicKey} public_key
7354
+ * @param {string} rendezvous_id
7355
+ * @param {string} base_url
7356
+ * @param {QrCodeIntent} intent
7357
+ * @returns {QrCodeData}
7358
+ */
7359
+ static newMsc4388(public_key, rendezvous_id, base_url, intent) {
7360
+ _assertClass(public_key, Curve25519PublicKey);
7361
+ var ptr0 = public_key.__destroy_into_raw();
7362
+ const ptr1 = passStringToWasm0(rendezvous_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
7363
+ const len1 = WASM_VECTOR_LEN;
7364
+ const ptr2 = passStringToWasm0(base_url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
7365
+ const len2 = WASM_VECTOR_LEN;
7366
+ const ret = wasm.qrcodedata_newMsc4388(ptr0, ptr1, len1, ptr2, len2, intent);
7367
+ if (ret[2]) {
7368
+ throw takeFromExternrefTable0(ret[1]);
7369
+ }
7370
+ return QrCodeData.__wrap(ret[0]);
7371
+ }
7346
7372
  /**
7347
7373
  * Create new {@link QrCodeData} from a given public key, a rendezvous URL
7348
7374
  * and, optionally, a server name for the homeserver.
@@ -7373,32 +7399,6 @@ export class QrCodeData {
7373
7399
  QrCodeDataFinalization.register(this, this.__wbg_ptr, this);
7374
7400
  return this;
7375
7401
  }
7376
- /**
7377
- * Create new {@link QrCodeData} from a given public key, a rendezvous ID
7378
- * and, a base homeserver URL.
7379
- *
7380
- * This creates a QR code which conforms to
7381
- * {@link https://github.com/matrix-org/matrix-spec-proposals/pull/4388 MSC4388} of the data
7382
- * format for QR login.
7383
- * @param {Curve25519PublicKey} public_key
7384
- * @param {string} rendezvous_id
7385
- * @param {string} base_url
7386
- * @param {QrCodeIntent} intent
7387
- * @returns {QrCodeData}
7388
- */
7389
- static newMsc4388(public_key, rendezvous_id, base_url, intent) {
7390
- _assertClass(public_key, Curve25519PublicKey);
7391
- var ptr0 = public_key.__destroy_into_raw();
7392
- const ptr1 = passStringToWasm0(rendezvous_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
7393
- const len1 = WASM_VECTOR_LEN;
7394
- const ptr2 = passStringToWasm0(base_url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
7395
- const len2 = WASM_VECTOR_LEN;
7396
- const ret = wasm.qrcodedata_newMsc4388(ptr0, ptr1, len1, ptr2, len2, intent);
7397
- if (ret[2]) {
7398
- throw takeFromExternrefTable0(ret[1]);
7399
- }
7400
- return QrCodeData.__wrap(ret[0]);
7401
- }
7402
7402
  /**
7403
7403
  * Get the Curve25519 public key embedded in the {@link QrCodeData}.
7404
7404
  *
@@ -8370,20 +8370,6 @@ export class Sas {
8370
8370
  const ret = wasm.sas_canBePresented(this.__wbg_ptr);
8371
8371
  return ret !== 0;
8372
8372
  }
8373
- /**
8374
- * Cancel the verification.
8375
- *
8376
- * Returns either an `OutgoingVerificationRequest` which should be sent
8377
- * out, or `undefined` if the verification is already cancelled.
8378
- * @returns {OutgoingVerificationRequest | undefined}
8379
- */
8380
- cancel() {
8381
- const ret = wasm.sas_cancel(this.__wbg_ptr);
8382
- if (ret[2]) {
8383
- throw takeFromExternrefTable0(ret[1]);
8384
- }
8385
- return takeFromExternrefTable0(ret[0]);
8386
- }
8387
8373
  /**
8388
8374
  * Get info about the cancellation if the verification flow has
8389
8375
  * been cancelled.
@@ -8412,6 +8398,20 @@ export class Sas {
8412
8398
  }
8413
8399
  return takeFromExternrefTable0(ret[0]);
8414
8400
  }
8401
+ /**
8402
+ * Cancel the verification.
8403
+ *
8404
+ * Returns either an `OutgoingVerificationRequest` which should be sent
8405
+ * out, or `undefined` if the verification is already cancelled.
8406
+ * @returns {OutgoingVerificationRequest | undefined}
8407
+ */
8408
+ cancel() {
8409
+ const ret = wasm.sas_cancel(this.__wbg_ptr);
8410
+ if (ret[2]) {
8411
+ throw takeFromExternrefTable0(ret[1]);
8412
+ }
8413
+ return takeFromExternrefTable0(ret[0]);
8414
+ }
8415
8415
  /**
8416
8416
  * Confirm the SAS verification.
8417
8417
  *
@@ -8452,22 +8452,6 @@ export class Sas {
8452
8452
  const ret = wasm.sas_deviceId(this.__wbg_ptr);
8453
8453
  return DeviceId.__wrap(ret);
8454
8454
  }
8455
- /**
8456
- * Get the emoji version of the short auth string.
8457
- *
8458
- * Returns `undefined` if we can't yet present the short auth string,
8459
- * otherwise an array of seven `Emoji` objects.
8460
- * @returns {Emoji[] | undefined}
8461
- */
8462
- emoji() {
8463
- const ret = wasm.sas_emoji(this.__wbg_ptr);
8464
- let v1;
8465
- if (ret[0] !== 0) {
8466
- v1 = getArrayJsValueFromWasm0(ret[0], ret[1]);
8467
- wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
8468
- }
8469
- return v1;
8470
- }
8471
8455
  /**
8472
8456
  * Get the index of the emoji representing the short auth string
8473
8457
  *
@@ -8487,6 +8471,22 @@ export class Sas {
8487
8471
  }
8488
8472
  return v1;
8489
8473
  }
8474
+ /**
8475
+ * Get the emoji version of the short auth string.
8476
+ *
8477
+ * Returns `undefined` if we can't yet present the short auth string,
8478
+ * otherwise an array of seven `Emoji` objects.
8479
+ * @returns {Emoji[] | undefined}
8480
+ */
8481
+ emoji() {
8482
+ const ret = wasm.sas_emoji(this.__wbg_ptr);
8483
+ let v1;
8484
+ if (ret[0] !== 0) {
8485
+ v1 = getArrayJsValueFromWasm0(ret[0], ret[1]);
8486
+ wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
8487
+ }
8488
+ return v1;
8489
+ }
8490
8490
  /**
8491
8491
  * Get the unique ID that identifies this SAS verification flow,
8492
8492
  * be either a to-device request ID or a room event ID.
@@ -9185,16 +9185,6 @@ export class Signatures {
9185
9185
  const ret = wasm.signatures_count(this.__wbg_ptr);
9186
9186
  return ret >>> 0;
9187
9187
  }
9188
- /**
9189
- * Get the map of signatures that belong to the given user.
9190
- * @param {UserId} signer
9191
- * @returns {Map<string, MaybeSignature> | undefined}
9192
- */
9193
- get(signer) {
9194
- _assertClass(signer, UserId);
9195
- const ret = wasm.signatures_get(this.__wbg_ptr, signer.__wbg_ptr);
9196
- return ret;
9197
- }
9198
9188
  /**
9199
9189
  * Try to find an Ed25519 signature from the given signer with
9200
9190
  * the given key ID.
@@ -9208,6 +9198,16 @@ export class Signatures {
9208
9198
  const ret = wasm.signatures_getSignature(this.__wbg_ptr, signer.__wbg_ptr, key_id.__wbg_ptr);
9209
9199
  return ret === 0 ? undefined : Ed25519Signature.__wrap(ret);
9210
9200
  }
9201
+ /**
9202
+ * Get the map of signatures that belong to the given user.
9203
+ * @param {UserId} signer
9204
+ * @returns {Map<string, MaybeSignature> | undefined}
9205
+ */
9206
+ get(signer) {
9207
+ _assertClass(signer, UserId);
9208
+ const ret = wasm.signatures_get(this.__wbg_ptr, signer.__wbg_ptr);
9209
+ return ret;
9210
+ }
9211
9211
  /**
9212
9212
  * Do we hold any signatures or is our collection completely
9213
9213
  * empty.
@@ -9253,6 +9253,33 @@ export class StoreHandle {
9253
9253
  const ptr = this.__destroy_into_raw();
9254
9254
  wasm.__wbg_storehandle_free(ptr, 0);
9255
9255
  }
9256
+ /**
9257
+ * Open a crypto store based on IndexedDB, using the given key for
9258
+ * encryption.
9259
+ *
9260
+ * # Arguments
9261
+ *
9262
+ * * `store_name` - The name that should be used to open the IndexedDB
9263
+ * based database.
9264
+ *
9265
+ * * `store_key` - The key that should be used to encrypt the store, for
9266
+ * IndexedDB-based stores. Must be a 32-byte array.
9267
+ *
9268
+ * * `logger` - An optional logger instance to use for writing log messages
9269
+ * during the open operation. An instance of `JsLogger`.
9270
+ * @param {string} store_name
9271
+ * @param {Uint8Array} store_key
9272
+ * @param {JsLogger} [logger]
9273
+ * @returns {Promise<StoreHandle>}
9274
+ */
9275
+ static openWithKey(store_name, store_key, logger) {
9276
+ const ptr0 = passStringToWasm0(store_name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
9277
+ const len0 = WASM_VECTOR_LEN;
9278
+ const ptr1 = passArray8ToWasm0(store_key, wasm.__wbindgen_malloc);
9279
+ const len1 = WASM_VECTOR_LEN;
9280
+ const ret = wasm.storehandle_openWithKey(ptr0, len0, ptr1, len1, isLikeNone(logger) ? 0 : addToExternrefTable0(logger));
9281
+ return ret;
9282
+ }
9256
9283
  /**
9257
9284
  * Open a crypto store.
9258
9285
  *
@@ -9285,33 +9312,6 @@ export class StoreHandle {
9285
9312
  const ret = wasm.storehandle_open(ptr0, len0, ptr1, len1, isLikeNone(logger) ? 0 : addToExternrefTable0(logger));
9286
9313
  return ret;
9287
9314
  }
9288
- /**
9289
- * Open a crypto store based on IndexedDB, using the given key for
9290
- * encryption.
9291
- *
9292
- * # Arguments
9293
- *
9294
- * * `store_name` - The name that should be used to open the IndexedDB
9295
- * based database.
9296
- *
9297
- * * `store_key` - The key that should be used to encrypt the store, for
9298
- * IndexedDB-based stores. Must be a 32-byte array.
9299
- *
9300
- * * `logger` - An optional logger instance to use for writing log messages
9301
- * during the open operation. An instance of `JsLogger`.
9302
- * @param {string} store_name
9303
- * @param {Uint8Array} store_key
9304
- * @param {JsLogger} [logger]
9305
- * @returns {Promise<StoreHandle>}
9306
- */
9307
- static openWithKey(store_name, store_key, logger) {
9308
- const ptr0 = passStringToWasm0(store_name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
9309
- const len0 = WASM_VECTOR_LEN;
9310
- const ptr1 = passArray8ToWasm0(store_key, wasm.__wbindgen_malloc);
9311
- const len1 = WASM_VECTOR_LEN;
9312
- const ret = wasm.storehandle_openWithKey(ptr0, len0, ptr1, len1, isLikeNone(logger) ? 0 : addToExternrefTable0(logger));
9313
- return ret;
9314
- }
9315
9315
  }
9316
9316
  if (Symbol.dispose) StoreHandle.prototype[Symbol.dispose] = StoreHandle.prototype.free;
9317
9317
 
@@ -10062,30 +10062,6 @@ export class VerificationRequest {
10062
10062
  const ptr = this.__destroy_into_raw();
10063
10063
  wasm.__wbg_verificationrequest_free(ptr, 0);
10064
10064
  }
10065
- /**
10066
- * Accept the verification request.
10067
- *
10068
- * This method will accept the request and signal that it
10069
- * supports the `m.sas.v1`, the `m.qr_code.show.v1`, and
10070
- * `m.reciprocate.v1` method.
10071
- *
10072
- * `m.qr_code.show.v1` will only be signaled if the `qrcode`
10073
- * feature is enabled. This feature is disabled by default. If
10074
- * it's enabled and QR code scanning should be supported or QR
10075
- * code showing shouldn't be supported the `accept_with_methods`
10076
- * method should be used instead.
10077
- *
10078
- * It returns either a `ToDeviceRequest`, a `RoomMessageRequest`
10079
- * or `undefined`.
10080
- * @returns {OutgoingVerificationRequest | undefined}
10081
- */
10082
- accept() {
10083
- const ret = wasm.verificationrequest_accept(this.__wbg_ptr);
10084
- if (ret[2]) {
10085
- throw takeFromExternrefTable0(ret[1]);
10086
- }
10087
- return takeFromExternrefTable0(ret[0]);
10088
- }
10089
10065
  /**
10090
10066
  * Accept the verification request signaling that our client
10091
10067
  * supports the given verification methods.
@@ -10108,14 +10084,24 @@ export class VerificationRequest {
10108
10084
  return takeFromExternrefTable0(ret[0]);
10109
10085
  }
10110
10086
  /**
10111
- * Cancel the verification request.
10087
+ * Accept the verification request.
10088
+ *
10089
+ * This method will accept the request and signal that it
10090
+ * supports the `m.sas.v1`, the `m.qr_code.show.v1`, and
10091
+ * `m.reciprocate.v1` method.
10092
+ *
10093
+ * `m.qr_code.show.v1` will only be signaled if the `qrcode`
10094
+ * feature is enabled. This feature is disabled by default. If
10095
+ * it's enabled and QR code scanning should be supported or QR
10096
+ * code showing shouldn't be supported the `accept_with_methods`
10097
+ * method should be used instead.
10112
10098
  *
10113
10099
  * It returns either a `ToDeviceRequest`, a `RoomMessageRequest`
10114
10100
  * or `undefined`.
10115
10101
  * @returns {OutgoingVerificationRequest | undefined}
10116
10102
  */
10117
- cancel() {
10118
- const ret = wasm.verificationrequest_cancel(this.__wbg_ptr);
10103
+ accept() {
10104
+ const ret = wasm.verificationrequest_accept(this.__wbg_ptr);
10119
10105
  if (ret[2]) {
10120
10106
  throw takeFromExternrefTable0(ret[1]);
10121
10107
  }
@@ -10130,6 +10116,20 @@ export class VerificationRequest {
10130
10116
  const ret = wasm.verificationrequest_cancelInfo(this.__wbg_ptr);
10131
10117
  return ret === 0 ? undefined : CancelInfo.__wrap(ret);
10132
10118
  }
10119
+ /**
10120
+ * Cancel the verification request.
10121
+ *
10122
+ * It returns either a `ToDeviceRequest`, a `RoomMessageRequest`
10123
+ * or `undefined`.
10124
+ * @returns {OutgoingVerificationRequest | undefined}
10125
+ */
10126
+ cancel() {
10127
+ const ret = wasm.verificationrequest_cancel(this.__wbg_ptr);
10128
+ if (ret[2]) {
10129
+ throw takeFromExternrefTable0(ret[1]);
10130
+ }
10131
+ return takeFromExternrefTable0(ret[0]);
10132
+ }
10133
10133
  /**
10134
10134
  * Get the unique ID of this verification request.
10135
10135
  * @returns {string}
@@ -10503,11 +10503,11 @@ export function getVersions() {
10503
10503
  export function start() {
10504
10504
  wasm.start();
10505
10505
  }
10506
- export function __wbg_Error_408e67f47ca7b58b(arg0, arg1) {
10506
+ export function __wbg_Error_67e7344beaa85059(arg0, arg1) {
10507
10507
  const ret = Error(getStringFromWasm0(arg0, arg1));
10508
10508
  return ret;
10509
10509
  }
10510
- export function __wbg_Number_3890faa6d3ff057d(arg0) {
10510
+ export function __wbg_Number_c54e7112a3fa7e3e(arg0) {
10511
10511
  const ret = Number(arg0);
10512
10512
  return ret;
10513
10513
  }
@@ -10526,68 +10526,68 @@ export function __wbg_WorkerGlobalScope_8623a7c9030fbce2(arg0) {
10526
10526
  const ret = arg0.WorkerGlobalScope;
10527
10527
  return ret;
10528
10528
  }
10529
- export function __wbg___wbindgen_bigint_get_as_i64_c4ecf48528083721(arg0, arg1) {
10529
+ export function __wbg___wbindgen_bigint_get_as_i64_b482365c149396c8(arg0, arg1) {
10530
10530
  const v = arg1;
10531
10531
  const ret = typeof(v) === 'bigint' ? v : undefined;
10532
10532
  getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
10533
10533
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
10534
10534
  }
10535
- export function __wbg___wbindgen_boolean_get_c9c83ebd41b34df3(arg0) {
10535
+ export function __wbg___wbindgen_boolean_get_7a12af2b3f899c5a(arg0) {
10536
10536
  const v = arg0;
10537
10537
  const ret = typeof(v) === 'boolean' ? v : undefined;
10538
10538
  return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
10539
10539
  }
10540
- export function __wbg___wbindgen_debug_string_a57024b9c6e4a48b(arg0, arg1) {
10540
+ export function __wbg___wbindgen_debug_string_0e68cf47c9cbd9b0(arg0, arg1) {
10541
10541
  const ret = debugString(arg1);
10542
10542
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
10543
10543
  const len1 = WASM_VECTOR_LEN;
10544
10544
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
10545
10545
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
10546
10546
  }
10547
- export function __wbg___wbindgen_in_ac983077f137f2e6(arg0, arg1) {
10547
+ export function __wbg___wbindgen_in_50072d4d6e45c193(arg0, arg1) {
10548
10548
  const ret = arg0 in arg1;
10549
10549
  return ret;
10550
10550
  }
10551
- export function __wbg___wbindgen_is_bigint_8ffbbef442139384(arg0) {
10551
+ export function __wbg___wbindgen_is_bigint_60fc0336cb14f5d7(arg0) {
10552
10552
  const ret = typeof(arg0) === 'bigint';
10553
10553
  return ret;
10554
10554
  }
10555
- export function __wbg___wbindgen_is_function_5e4570eb24ffa122(arg0) {
10555
+ export function __wbg___wbindgen_is_function_fcda5e3902d732fe(arg0) {
10556
10556
  const ret = typeof(arg0) === 'function';
10557
10557
  return ret;
10558
10558
  }
10559
- export function __wbg___wbindgen_is_null_7d13f41e1a2d5140(arg0) {
10559
+ export function __wbg___wbindgen_is_null_5160b3e381865372(arg0) {
10560
10560
  const ret = arg0 === null;
10561
10561
  return ret;
10562
10562
  }
10563
- export function __wbg___wbindgen_is_object_a2790eb24c211ea0(arg0) {
10563
+ export function __wbg___wbindgen_is_object_edb6b15aa3afe12e(arg0) {
10564
10564
  const val = arg0;
10565
10565
  const ret = typeof(val) === 'object' && val !== null;
10566
10566
  return ret;
10567
10567
  }
10568
- export function __wbg___wbindgen_is_string_e6f02f0ea5f20a32(arg0) {
10568
+ export function __wbg___wbindgen_is_string_c4f7cb494a2a21f1(arg0) {
10569
10569
  const ret = typeof(arg0) === 'string';
10570
10570
  return ret;
10571
10571
  }
10572
- export function __wbg___wbindgen_is_undefined_6cff064c44e0d823(arg0) {
10572
+ export function __wbg___wbindgen_is_undefined_8c687d0b90d5b524(arg0) {
10573
10573
  const ret = arg0 === undefined;
10574
10574
  return ret;
10575
10575
  }
10576
- export function __wbg___wbindgen_jsval_eq_0a18949a61670320(arg0, arg1) {
10576
+ export function __wbg___wbindgen_jsval_eq_9fdcd3c0a860dd3b(arg0, arg1) {
10577
10577
  const ret = arg0 === arg1;
10578
10578
  return ret;
10579
10579
  }
10580
- export function __wbg___wbindgen_jsval_loose_eq_acf2776254a8d832(arg0, arg1) {
10580
+ export function __wbg___wbindgen_jsval_loose_eq_3c30021c243b64cd(arg0, arg1) {
10581
10581
  const ret = arg0 == arg1;
10582
10582
  return ret;
10583
10583
  }
10584
- export function __wbg___wbindgen_number_get_136b9679cab35cfb(arg0, arg1) {
10584
+ export function __wbg___wbindgen_number_get_1dc732b810cb937c(arg0, arg1) {
10585
10585
  const obj = arg1;
10586
10586
  const ret = typeof(obj) === 'number' ? obj : undefined;
10587
10587
  getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
10588
10588
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
10589
10589
  }
10590
- export function __wbg___wbindgen_string_get_d154f1e671052120(arg0, arg1) {
10590
+ export function __wbg___wbindgen_string_get_92ab86bb19cbc12f(arg0, arg1) {
10591
10591
  const obj = arg1;
10592
10592
  const ret = typeof(obj) === 'string' ? obj : undefined;
10593
10593
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -10595,24 +10595,24 @@ export function __wbg___wbindgen_string_get_d154f1e671052120(arg0, arg1) {
10595
10595
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
10596
10596
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
10597
10597
  }
10598
- export function __wbg___wbindgen_throw_bb96b2010945f0bc(arg0, arg1) {
10598
+ export function __wbg___wbindgen_throw_5d9e815e6fdf150f(arg0, arg1) {
10599
10599
  throw new Error(getStringFromWasm0(arg0, arg1));
10600
10600
  }
10601
- export function __wbg__wbg_cb_unref_be22cc64ae6946a0(arg0) {
10601
+ export function __wbg__wbg_cb_unref_997e73d32238e655(arg0) {
10602
10602
  arg0._wbg_cb_unref();
10603
10603
  }
10604
- export function __wbg_abort_32b500c4f9eab55d() { return handleError(function (arg0) {
10604
+ export function __wbg_abort_f692a110ee403014() { return handleError(function (arg0) {
10605
10605
  arg0.abort();
10606
10606
  }, arguments); }
10607
- export function __wbg_add_18ccb6b4b9da9cd9() { return handleError(function (arg0, arg1, arg2) {
10607
+ export function __wbg_add_410a1a7101375ac7() { return handleError(function (arg0, arg1, arg2) {
10608
10608
  const ret = arg0.add(arg1, arg2);
10609
10609
  return ret;
10610
10610
  }, arguments); }
10611
- export function __wbg_add_2b945856b580d5ab(arg0, arg1) {
10611
+ export function __wbg_add_8a5c57dd2c815678(arg0, arg1) {
10612
10612
  const ret = arg0.add(arg1);
10613
10613
  return ret;
10614
10614
  }
10615
- export function __wbg_at_facbe5ae998bba3a(arg0, arg1) {
10615
+ export function __wbg_at_157886d40f709ae7(arg0, arg1) {
10616
10616
  const ret = arg0.at(arg1);
10617
10617
  return ret;
10618
10618
  }
@@ -10620,23 +10620,23 @@ export function __wbg_backupkeys_new(arg0) {
10620
10620
  const ret = BackupKeys.__wrap(arg0);
10621
10621
  return ret;
10622
10622
  }
10623
- export function __wbg_bound_e48dc2f851c77207() { return handleError(function (arg0, arg1, arg2, arg3) {
10623
+ export function __wbg_bound_b651b81f2b3f6e0d() { return handleError(function (arg0, arg1, arg2, arg3) {
10624
10624
  const ret = IDBKeyRange.bound(arg0, arg1, arg2 !== 0, arg3 !== 0);
10625
10625
  return ret;
10626
10626
  }, arguments); }
10627
- export function __wbg_call_0f2a9af232c18fd2() { return handleError(function (arg0, arg1, arg2, arg3) {
10628
- const ret = arg0.call(arg1, arg2, arg3);
10629
- return ret;
10630
- }, arguments); }
10631
- export function __wbg_call_1c5886ab9c57d1c7() { return handleError(function (arg0, arg1) {
10627
+ export function __wbg_call_269c5566fbede3eb() { return handleError(function (arg0, arg1) {
10632
10628
  const ret = arg0.call(arg1);
10633
10629
  return ret;
10634
10630
  }, arguments); }
10635
- export function __wbg_call_35dba3c747ad7521() { return handleError(function (arg0, arg1, arg2) {
10631
+ export function __wbg_call_6bcf8d3e20937e46() { return handleError(function (arg0, arg1, arg2) {
10636
10632
  const ret = arg0.call(arg1, arg2);
10637
10633
  return ret;
10638
10634
  }, arguments); }
10639
- export function __wbg_call_39f824e18d9d2414() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
10635
+ export function __wbg_call_7bbd9cceba9949ad() { return handleError(function (arg0, arg1, arg2, arg3) {
10636
+ const ret = arg0.call(arg1, arg2, arg3);
10637
+ return ret;
10638
+ }, arguments); }
10639
+ export function __wbg_call_c1ad1cb1b78e8130() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
10640
10640
  const ret = arg0.call(arg1, arg2, arg3, arg4);
10641
10641
  return ret;
10642
10642
  }, arguments); }
@@ -10644,40 +10644,40 @@ export function __wbg_clearTimeout_3629d6209dfcc46e(arg0) {
10644
10644
  const ret = clearTimeout(arg0);
10645
10645
  return ret;
10646
10646
  }
10647
- export function __wbg_clear_07a20ccd42c66921() { return handleError(function (arg0) {
10647
+ export function __wbg_clear_dec40bfb446d8509() { return handleError(function (arg0) {
10648
10648
  const ret = arg0.clear();
10649
10649
  return ret;
10650
10650
  }, arguments); }
10651
- export function __wbg_close_0c1f30aeb9a080a7(arg0) {
10651
+ export function __wbg_close_39a0adee471336e2(arg0) {
10652
10652
  arg0.close();
10653
10653
  }
10654
- export function __wbg_code_5c2c992d8a3afb58(arg0) {
10654
+ export function __wbg_code_0589939084228780(arg0) {
10655
10655
  const ret = arg0.code;
10656
10656
  return ret;
10657
10657
  }
10658
10658
  export function __wbg_commit_ebd6d9676954e0d2() { return handleError(function (arg0) {
10659
10659
  arg0.commit();
10660
10660
  }, arguments); }
10661
- export function __wbg_continue_cbf53c725c127fe3() { return handleError(function (arg0) {
10661
+ export function __wbg_continue_b8815fef7aa0b75d() { return handleError(function (arg0) {
10662
10662
  arg0.continue();
10663
10663
  }, arguments); }
10664
- export function __wbg_count_be9295f0aceb7d6a() { return handleError(function (arg0) {
10664
+ export function __wbg_count_5d61922deb1f5d47() { return handleError(function (arg0) {
10665
10665
  const ret = arg0.count();
10666
10666
  return ret;
10667
10667
  }, arguments); }
10668
- export function __wbg_count_c48ec9dcdccef1d5() { return handleError(function (arg0) {
10668
+ export function __wbg_count_8638a559df36f5af() { return handleError(function (arg0) {
10669
10669
  const ret = arg0.count();
10670
10670
  return ret;
10671
10671
  }, arguments); }
10672
- export function __wbg_createIndex_9e2beb35a103225a() { return handleError(function (arg0, arg1, arg2, arg3) {
10672
+ export function __wbg_createIndex_9f1f61554a67494f() { return handleError(function (arg0, arg1, arg2, arg3) {
10673
10673
  const ret = arg0.createIndex(getStringFromWasm0(arg1, arg2), arg3);
10674
10674
  return ret;
10675
10675
  }, arguments); }
10676
- export function __wbg_createIndex_f8a090296c419c6c() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
10676
+ export function __wbg_createIndex_a953caa8cbe1f450() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
10677
10677
  const ret = arg0.createIndex(getStringFromWasm0(arg1, arg2), arg3, arg4);
10678
10678
  return ret;
10679
10679
  }, arguments); }
10680
- export function __wbg_createObjectStore_d3884936b845900f() { return handleError(function (arg0, arg1, arg2) {
10680
+ export function __wbg_createObjectStore_615d9f80ee29af47() { return handleError(function (arg0, arg1, arg2) {
10681
10681
  const ret = arg0.createObjectStore(getStringFromWasm0(arg1, arg2));
10682
10682
  return ret;
10683
10683
  }, arguments); }
@@ -10697,10 +10697,10 @@ export function __wbg_crypto_38df2bab126b63dc(arg0) {
10697
10697
  const ret = arg0.crypto;
10698
10698
  return ret;
10699
10699
  }
10700
- export function __wbg_debug_1ac2ea5532f70f4c(arg0, arg1) {
10700
+ export function __wbg_debug_2c140c53c812db8c(arg0, arg1) {
10701
10701
  arg0.debug(arg1);
10702
10702
  }
10703
- export function __wbg_debug_3853dbaf0bca30f9(arg0) {
10703
+ export function __wbg_debug_eb092a10b3338acb(arg0) {
10704
10704
  console.debug(arg0);
10705
10705
  }
10706
10706
  export function __wbg_decryptedroomevent_new(arg0) {
@@ -10719,14 +10719,14 @@ export function __wbg_dehydrateddevicekey_new(arg0) {
10719
10719
  const ret = DehydratedDeviceKey.__wrap(arg0);
10720
10720
  return ret;
10721
10721
  }
10722
- export function __wbg_deleteObjectStore_ed0e7d0b256bead4() { return handleError(function (arg0, arg1, arg2) {
10722
+ export function __wbg_deleteObjectStore_b2ab76420e1c3a1f() { return handleError(function (arg0, arg1, arg2) {
10723
10723
  arg0.deleteObjectStore(getStringFromWasm0(arg1, arg2));
10724
10724
  }, arguments); }
10725
- export function __wbg_delete_03ff02bcb1b57138() { return handleError(function (arg0) {
10725
+ export function __wbg_delete_8f4a65ee3c10958c() { return handleError(function (arg0) {
10726
10726
  const ret = arg0.delete();
10727
10727
  return ret;
10728
10728
  }, arguments); }
10729
- export function __wbg_delete_27b012593b3f623b() { return handleError(function (arg0, arg1) {
10729
+ export function __wbg_delete_c66e14397c562c32() { return handleError(function (arg0, arg1) {
10730
10730
  const ret = arg0.delete(arg1);
10731
10731
  return ret;
10732
10732
  }, arguments); }
@@ -10746,7 +10746,7 @@ export function __wbg_devicekeyid_new(arg0) {
10746
10746
  const ret = DeviceKeyId.__wrap(arg0);
10747
10747
  return ret;
10748
10748
  }
10749
- export function __wbg_done_669171204c3dcae2(arg0) {
10749
+ export function __wbg_done_cffed884d87aa22e(arg0) {
10750
10750
  const ret = arg0.done;
10751
10751
  return ret;
10752
10752
  }
@@ -10762,18 +10762,21 @@ export function __wbg_encryptioninfo_new(arg0) {
10762
10762
  const ret = EncryptionInfo.__wrap(arg0);
10763
10763
  return ret;
10764
10764
  }
10765
- export function __wbg_entries_71601bcb707d5078(arg0) {
10765
+ export function __wbg_entries_20b9608d57d8ddd6(arg0) {
10766
10766
  const ret = arg0.entries();
10767
10767
  return ret;
10768
10768
  }
10769
- export function __wbg_entries_7774d489e1da5f4f(arg0) {
10769
+ export function __wbg_entries_972a87586902cf87(arg0) {
10770
10770
  const ret = Object.entries(arg0);
10771
10771
  return ret;
10772
10772
  }
10773
- export function __wbg_error_24e6ac605d438e54() { return handleError(function (arg0) {
10773
+ export function __wbg_error_64279b5bdc7324ac() { return handleError(function (arg0) {
10774
10774
  const ret = arg0.error;
10775
10775
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
10776
10776
  }, arguments); }
10777
+ export function __wbg_error_756c5934221e6fee(arg0) {
10778
+ console.error(arg0);
10779
+ }
10777
10780
  export function __wbg_error_757e9472f8410341(arg0, arg1) {
10778
10781
  let deferred0_0;
10779
10782
  let deferred0_1;
@@ -10785,74 +10788,71 @@ export function __wbg_error_757e9472f8410341(arg0, arg1) {
10785
10788
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
10786
10789
  }
10787
10790
  }
10788
- export function __wbg_error_dbd3752906405f8d(arg0, arg1) {
10791
+ export function __wbg_error_f3117e880388aeb3(arg0, arg1) {
10789
10792
  arg0.error(arg1);
10790
10793
  }
10791
- export function __wbg_error_dd408a7b3cb542dd(arg0) {
10792
- console.error(arg0);
10793
- }
10794
- export function __wbg_from_74f3d90e0ff11240(arg0) {
10794
+ export function __wbg_from_a39669ce566077da(arg0) {
10795
10795
  const ret = Array.from(arg0);
10796
10796
  return ret;
10797
10797
  }
10798
- export function __wbg_getAllKeys_1de66542d233a4a5() { return handleError(function (arg0) {
10799
- const ret = arg0.getAllKeys();
10798
+ export function __wbg_getAllKeys_6ab0d073434d8877() { return handleError(function (arg0, arg1) {
10799
+ const ret = arg0.getAllKeys(arg1);
10800
10800
  return ret;
10801
10801
  }, arguments); }
10802
- export function __wbg_getAllKeys_65d7deed4f9b2d48() { return handleError(function (arg0, arg1) {
10803
- const ret = arg0.getAllKeys(arg1);
10802
+ export function __wbg_getAllKeys_7447eb3144e0ab86() { return handleError(function (arg0) {
10803
+ const ret = arg0.getAllKeys();
10804
10804
  return ret;
10805
10805
  }, arguments); }
10806
- export function __wbg_getAll_358f5970d9bee84b() { return handleError(function (arg0) {
10807
- const ret = arg0.getAll();
10806
+ export function __wbg_getAll_2437333369ac1277() { return handleError(function (arg0, arg1, arg2) {
10807
+ const ret = arg0.getAll(arg1, arg2 >>> 0);
10808
10808
  return ret;
10809
10809
  }, arguments); }
10810
- export function __wbg_getAll_6b556cfcbf040afc() { return handleError(function (arg0, arg1) {
10810
+ export function __wbg_getAll_58414036eab7517d() { return handleError(function (arg0, arg1) {
10811
10811
  const ret = arg0.getAll(arg1);
10812
10812
  return ret;
10813
10813
  }, arguments); }
10814
- export function __wbg_getAll_86c18743042fe4ca() { return handleError(function (arg0) {
10814
+ export function __wbg_getAll_81779f44fd1012a2() { return handleError(function (arg0) {
10815
10815
  const ret = arg0.getAll();
10816
10816
  return ret;
10817
10817
  }, arguments); }
10818
- export function __wbg_getAll_edf30bc7f595e7ae() { return handleError(function (arg0, arg1, arg2) {
10819
- const ret = arg0.getAll(arg1, arg2 >>> 0);
10818
+ export function __wbg_getAll_ce8eae0b0dc1a13d() { return handleError(function (arg0) {
10819
+ const ret = arg0.getAll();
10820
10820
  return ret;
10821
10821
  }, arguments); }
10822
- export function __wbg_getRandomValues_26c0cdf963e46393() { return handleError(function (arg0, arg1) {
10822
+ export function __wbg_getRandomValues_436a51d0629d84e1() { return handleError(function (arg0, arg1) {
10823
10823
  globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
10824
10824
  }, arguments); }
10825
- export function __wbg_getRandomValues_436a51d0629d84e1() { return handleError(function (arg0, arg1) {
10825
+ export function __wbg_getRandomValues_a678b7300e8ed57f() { return handleError(function (arg0, arg1) {
10826
10826
  globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
10827
10827
  }, arguments); }
10828
10828
  export function __wbg_getRandomValues_c44a50d8cfdaebeb() { return handleError(function (arg0, arg1) {
10829
10829
  arg0.getRandomValues(arg1);
10830
10830
  }, arguments); }
10831
- export function __wbg_getTime_63fb0332e6c4ec17(arg0) {
10831
+ export function __wbg_getTime_65922ba0b59d55a7(arg0) {
10832
10832
  const ret = arg0.getTime();
10833
10833
  return ret;
10834
10834
  }
10835
- export function __wbg_get_4babbbf9303c1945() { return handleError(function (arg0, arg1) {
10835
+ export function __wbg_get_0f0414f3a633bc89() { return handleError(function (arg0, arg1) {
10836
10836
  const ret = arg0.get(arg1);
10837
10837
  return ret;
10838
10838
  }, arguments); }
10839
- export function __wbg_get_94b5ec70e1f04bdd() { return handleError(function (arg0, arg1) {
10840
- const ret = arg0.get(arg1);
10839
+ export function __wbg_get_6cf5a4d4d8ad3c5a() { return handleError(function (arg0, arg1) {
10840
+ const ret = Reflect.get(arg0, arg1);
10841
10841
  return ret;
10842
10842
  }, arguments); }
10843
- export function __wbg_get_971a0c45d172643f() { return handleError(function (arg0, arg1) {
10843
+ export function __wbg_get_989d0a1309644f2b() { return handleError(function (arg0, arg1) {
10844
10844
  const ret = Reflect.get(arg0, arg1);
10845
10845
  return ret;
10846
10846
  }, arguments); }
10847
- export function __wbg_get_c0c8f8d7da0c03dd(arg0, arg1) {
10847
+ export function __wbg_get_a1a386ee18563120() { return handleError(function (arg0, arg1) {
10848
+ const ret = arg0.get(arg1);
10849
+ return ret;
10850
+ }, arguments); }
10851
+ export function __wbg_get_b1f0ab13c737f856(arg0, arg1) {
10848
10852
  const ret = arg0[arg1 >>> 0];
10849
10853
  return ret;
10850
10854
  }
10851
- export function __wbg_get_d173c0308df22d37() { return handleError(function (arg0, arg1) {
10852
- const ret = Reflect.get(arg0, arg1);
10853
- return ret;
10854
- }, arguments); }
10855
- export function __wbg_get_unchecked_e20b893aeafc3fca(arg0, arg1) {
10855
+ export function __wbg_get_unchecked_363572bdd397d473(arg0, arg1) {
10856
10856
  const ret = arg0[arg1 >>> 0];
10857
10857
  return ret;
10858
10858
  }
@@ -10868,29 +10868,29 @@ export function __wbg_inboundgroupsession_new(arg0) {
10868
10868
  const ret = InboundGroupSession.__wrap(arg0);
10869
10869
  return ret;
10870
10870
  }
10871
- export function __wbg_index_bed5a9f21dfebeea() { return handleError(function (arg0, arg1, arg2) {
10871
+ export function __wbg_index_1194cffffe28f207() { return handleError(function (arg0, arg1, arg2) {
10872
10872
  const ret = arg0.index(getStringFromWasm0(arg1, arg2));
10873
10873
  return ret;
10874
10874
  }, arguments); }
10875
- export function __wbg_indexedDB_47c354eb27472a00() { return handleError(function (arg0) {
10875
+ export function __wbg_indexedDB_2d959d90beb14c29() { return handleError(function (arg0) {
10876
10876
  const ret = arg0.indexedDB;
10877
10877
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
10878
10878
  }, arguments); }
10879
- export function __wbg_indexedDB_9e20c97c033151f3() { return handleError(function (arg0) {
10879
+ export function __wbg_indexedDB_47c354eb27472a00() { return handleError(function (arg0) {
10880
10880
  const ret = arg0.indexedDB;
10881
10881
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
10882
10882
  }, arguments); }
10883
- export function __wbg_indexedDB_ced363f3de8fb099() { return handleError(function (arg0) {
10883
+ export function __wbg_indexedDB_803e27668e681433() { return handleError(function (arg0) {
10884
10884
  const ret = arg0.indexedDB;
10885
10885
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
10886
10886
  }, arguments); }
10887
- export function __wbg_info_726982aff9befe16(arg0) {
10888
- console.info(arg0);
10889
- }
10890
- export function __wbg_info_929f1b00bd4820a9(arg0, arg1) {
10887
+ export function __wbg_info_a02f699f5146f019(arg0, arg1) {
10891
10888
  arg0.info(arg1);
10892
10889
  }
10893
- export function __wbg_instanceof_ArrayBuffer_993d02d2d254cad1(arg0) {
10890
+ export function __wbg_info_f25c01bee103395d(arg0) {
10891
+ console.info(arg0);
10892
+ }
10893
+ export function __wbg_instanceof_ArrayBuffer_d4ff01f8247925ae(arg0) {
10894
10894
  let result;
10895
10895
  try {
10896
10896
  result = arg0 instanceof ArrayBuffer;
@@ -10910,7 +10910,7 @@ export function __wbg_instanceof_CursorSys_383984afc1fa1bbc(arg0) {
10910
10910
  const ret = result;
10911
10911
  return ret;
10912
10912
  }
10913
- export function __wbg_instanceof_DomException_55a5af63fefe4042(arg0) {
10913
+ export function __wbg_instanceof_DomException_ef94c1e709e3e062(arg0) {
10914
10914
  let result;
10915
10915
  try {
10916
10916
  result = arg0 instanceof DOMException;
@@ -10920,7 +10920,7 @@ export function __wbg_instanceof_DomException_55a5af63fefe4042(arg0) {
10920
10920
  const ret = result;
10921
10921
  return ret;
10922
10922
  }
10923
- export function __wbg_instanceof_Error_61d8a02a0f3383a1(arg0) {
10923
+ export function __wbg_instanceof_Error_fe6fa771c78ee4cf(arg0) {
10924
10924
  let result;
10925
10925
  try {
10926
10926
  result = arg0 instanceof Error;
@@ -10930,7 +10930,7 @@ export function __wbg_instanceof_Error_61d8a02a0f3383a1(arg0) {
10930
10930
  const ret = result;
10931
10931
  return ret;
10932
10932
  }
10933
- export function __wbg_instanceof_IdbCursor_9bd028886fa2ccf0(arg0) {
10933
+ export function __wbg_instanceof_IdbCursor_29bd78c892b0cd1b(arg0) {
10934
10934
  let result;
10935
10935
  try {
10936
10936
  result = arg0 instanceof IDBCursor;
@@ -10940,7 +10940,7 @@ export function __wbg_instanceof_IdbCursor_9bd028886fa2ccf0(arg0) {
10940
10940
  const ret = result;
10941
10941
  return ret;
10942
10942
  }
10943
- export function __wbg_instanceof_IdbDatabase_e9dd9f20c51d8d42(arg0) {
10943
+ export function __wbg_instanceof_IdbDatabase_ae33ffa3aa7692d2(arg0) {
10944
10944
  let result;
10945
10945
  try {
10946
10946
  result = arg0 instanceof IDBDatabase;
@@ -10950,7 +10950,7 @@ export function __wbg_instanceof_IdbDatabase_e9dd9f20c51d8d42(arg0) {
10950
10950
  const ret = result;
10951
10951
  return ret;
10952
10952
  }
10953
- export function __wbg_instanceof_IdbOpenDbRequest_b913751ffb9239bb(arg0) {
10953
+ export function __wbg_instanceof_IdbOpenDbRequest_02e2ab03818fe24d(arg0) {
10954
10954
  let result;
10955
10955
  try {
10956
10956
  result = arg0 instanceof IDBOpenDBRequest;
@@ -10960,7 +10960,7 @@ export function __wbg_instanceof_IdbOpenDbRequest_b913751ffb9239bb(arg0) {
10960
10960
  const ret = result;
10961
10961
  return ret;
10962
10962
  }
10963
- export function __wbg_instanceof_IdbRequest_471b050024626dac(arg0) {
10963
+ export function __wbg_instanceof_IdbRequest_a43e52936679d71f(arg0) {
10964
10964
  let result;
10965
10965
  try {
10966
10966
  result = arg0 instanceof IDBRequest;
@@ -10970,7 +10970,7 @@ export function __wbg_instanceof_IdbRequest_471b050024626dac(arg0) {
10970
10970
  const ret = result;
10971
10971
  return ret;
10972
10972
  }
10973
- export function __wbg_instanceof_Map_9a4d6ead180ae3a9(arg0) {
10973
+ export function __wbg_instanceof_Map_1ff6a2b54c899f0d(arg0) {
10974
10974
  let result;
10975
10975
  try {
10976
10976
  result = arg0 instanceof Map;
@@ -10980,7 +10980,7 @@ export function __wbg_instanceof_Map_9a4d6ead180ae3a9(arg0) {
10980
10980
  const ret = result;
10981
10981
  return ret;
10982
10982
  }
10983
- export function __wbg_instanceof_Promise_e6e764b945c3128a(arg0) {
10983
+ export function __wbg_instanceof_Promise_f6320f682f582ddf(arg0) {
10984
10984
  let result;
10985
10985
  try {
10986
10986
  result = arg0 instanceof Promise;
@@ -10990,7 +10990,7 @@ export function __wbg_instanceof_Promise_e6e764b945c3128a(arg0) {
10990
10990
  const ret = result;
10991
10991
  return ret;
10992
10992
  }
10993
- export function __wbg_instanceof_Uint8Array_f935dbb0aa7cdeed(arg0) {
10993
+ export function __wbg_instanceof_Uint8Array_598adc0fef426aa8(arg0) {
10994
10994
  let result;
10995
10995
  try {
10996
10996
  result = arg0 instanceof Uint8Array;
@@ -11004,30 +11004,30 @@ export function __wbg_invalidtodeviceevent_new(arg0) {
11004
11004
  const ret = InvalidToDeviceEvent.__wrap(arg0);
11005
11005
  return ret;
11006
11006
  }
11007
- export function __wbg_isArray_291e8fbbc73f8b2e(arg0) {
11007
+ export function __wbg_isArray_5674713bb7b79043(arg0) {
11008
11008
  const ret = Array.isArray(arg0);
11009
11009
  return ret;
11010
11010
  }
11011
- export function __wbg_isArray_6339f732981044bf(arg0) {
11011
+ export function __wbg_isArray_ce01375355c1ee4b(arg0) {
11012
11012
  const ret = Array.isArray(arg0);
11013
11013
  return ret;
11014
11014
  }
11015
- export function __wbg_isSafeInteger_f3d6cd19ccfe4512(arg0) {
11015
+ export function __wbg_isSafeInteger_8f51c743827d1ec5(arg0) {
11016
11016
  const ret = Number.isSafeInteger(arg0);
11017
11017
  return ret;
11018
11018
  }
11019
- export function __wbg_item_754b49ed01198c29(arg0, arg1, arg2) {
11019
+ export function __wbg_item_6897d8c7b5343cb5(arg0, arg1, arg2) {
11020
11020
  const ret = arg1.item(arg2 >>> 0);
11021
11021
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
11022
11022
  var len1 = WASM_VECTOR_LEN;
11023
11023
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
11024
11024
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
11025
11025
  }
11026
- export function __wbg_iterator_5cebbb86e33c6dd6() {
11026
+ export function __wbg_iterator_22ddeb808cf55a6f() {
11027
11027
  const ret = Symbol.iterator;
11028
11028
  return ret;
11029
11029
  }
11030
- export function __wbg_key_18fe06a6310bf3fb() { return handleError(function (arg0) {
11030
+ export function __wbg_key_cbf07e72de8fe203() { return handleError(function (arg0) {
11031
11031
  const ret = arg0.key;
11032
11032
  return ret;
11033
11033
  }, arguments); }
@@ -11047,19 +11047,19 @@ export function __wbg_keysuploadrequest_new(arg0) {
11047
11047
  const ret = KeysUploadRequest.__wrap(arg0);
11048
11048
  return ret;
11049
11049
  }
11050
- export function __wbg_length_13032799523c5735(arg0) {
11050
+ export function __wbg_length_31bdaf014f5fbde2(arg0) {
11051
11051
  const ret = arg0.length;
11052
11052
  return ret;
11053
11053
  }
11054
- export function __wbg_length_36bd29c6848c2144(arg0) {
11054
+ export function __wbg_length_4e1adc0d42e23620(arg0) {
11055
11055
  const ret = arg0.length;
11056
11056
  return ret;
11057
11057
  }
11058
- export function __wbg_length_ecfa2c63d3d0d82c(arg0) {
11058
+ export function __wbg_length_ff98c95d19109ba4(arg0) {
11059
11059
  const ret = arg0.length;
11060
11060
  return ret;
11061
11061
  }
11062
- export function __wbg_lowerBound_66a1695f45ef6c88() { return handleError(function (arg0, arg1) {
11062
+ export function __wbg_lowerBound_9c881ff10d3043b1() { return handleError(function (arg0, arg1) {
11063
11063
  const ret = IDBKeyRange.lowerBound(arg0, arg1 !== 0);
11064
11064
  return ret;
11065
11065
  }, arguments); }
@@ -11071,48 +11071,56 @@ export function __wbg_megolmdecryptionerror_new(arg0) {
11071
11071
  const ret = MegolmDecryptionError.__wrap(arg0);
11072
11072
  return ret;
11073
11073
  }
11074
- export function __wbg_message_88eda073e68b1d26(arg0, arg1) {
11074
+ export function __wbg_message_1cbc5bc03dcf1dee(arg0) {
11075
+ const ret = arg0.message;
11076
+ return ret;
11077
+ }
11078
+ export function __wbg_message_d6ab3d8a5aedce1c(arg0, arg1) {
11075
11079
  const ret = arg1.message;
11076
11080
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
11077
11081
  const len1 = WASM_VECTOR_LEN;
11078
11082
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
11079
11083
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
11080
11084
  }
11081
- export function __wbg_message_c141d5e68716b595(arg0) {
11082
- const ret = arg0.message;
11083
- return ret;
11084
- }
11085
11085
  export function __wbg_msCrypto_bd5a034af96bcba6(arg0) {
11086
11086
  const ret = arg0.msCrypto;
11087
11087
  return ret;
11088
11088
  }
11089
- export function __wbg_name_facbed56940f0fec(arg0, arg1) {
11089
+ export function __wbg_name_7c7adff93f0cf4a3(arg0, arg1) {
11090
11090
  const ret = arg1.name;
11091
11091
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
11092
11092
  const len1 = WASM_VECTOR_LEN;
11093
11093
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
11094
11094
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
11095
11095
  }
11096
- export function __wbg_new_116be93542d39019() {
11097
- const ret = new Array();
11096
+ export function __wbg_new_180f1022bb6ee517(arg0) {
11097
+ const ret = new Date(arg0);
11098
+ return ret;
11099
+ }
11100
+ export function __wbg_new_1da3429bc3c4541c(arg0) {
11101
+ const ret = new Uint8Array(arg0);
11098
11102
  return ret;
11099
11103
  }
11100
11104
  export function __wbg_new_227d7c05414eb861() {
11101
11105
  const ret = new Error();
11102
11106
  return ret;
11103
11107
  }
11104
- export function __wbg_new_358857d90afd5a2d(arg0, arg1) {
11105
- const ret = new Error(getStringFromWasm0(arg0, arg1));
11108
+ export function __wbg_new_5d3e59ef841aa96f(arg0) {
11109
+ const ret = new Set(arg0);
11110
+ return ret;
11111
+ }
11112
+ export function __wbg_new_8d36e20aa758e411() {
11113
+ const ret = new Map();
11106
11114
  return ret;
11107
11115
  }
11108
- export function __wbg_new_418fb92a013d5930(arg0, arg1) {
11116
+ export function __wbg_new_8f72ed7c652bf5a2(arg0, arg1) {
11109
11117
  try {
11110
11118
  var state0 = {a: arg0, b: arg1};
11111
11119
  var cb0 = (arg0, arg1) => {
11112
11120
  const a = state0.a;
11113
11121
  state0.a = 0;
11114
11122
  try {
11115
- return wasm_bindgen_ff9af61e2d43a78a___convert__closures_____invoke___js_sys_8badcad5ae9f3759___Function_fn_wasm_bindgen_ff9af61e2d43a78a___JsValue_____wasm_bindgen_ff9af61e2d43a78a___sys__Undefined___js_sys_8badcad5ae9f3759___Function_fn_wasm_bindgen_ff9af61e2d43a78a___JsValue_____wasm_bindgen_ff9af61e2d43a78a___sys__Undefined_______true_(a, state0.b, arg0, arg1);
11123
+ return wasm_bindgen_49b719dbd852acb8___convert__closures_____invoke___js_sys_2784ec704a33ecc8___Function_fn_wasm_bindgen_49b719dbd852acb8___JsValue_____wasm_bindgen_49b719dbd852acb8___sys__Undefined___js_sys_2784ec704a33ecc8___Function_fn_wasm_bindgen_49b719dbd852acb8___JsValue_____wasm_bindgen_49b719dbd852acb8___sys__Undefined_______true_(a, state0.b, arg0, arg1);
11116
11124
  } finally {
11117
11125
  state0.a = a;
11118
11126
  }
@@ -11123,38 +11131,30 @@ export function __wbg_new_418fb92a013d5930(arg0, arg1) {
11123
11131
  state0.a = 0;
11124
11132
  }
11125
11133
  }
11126
- export function __wbg_new_77cc4f4f472aeb81(arg0) {
11127
- const ret = new Uint8Array(arg0);
11128
- return ret;
11129
- }
11130
- export function __wbg_new_cdf041679ded4c5f() {
11131
- const ret = new Map();
11132
- return ret;
11133
- }
11134
- export function __wbg_new_d29ccbc1854174b3(arg0) {
11135
- const ret = new Set(arg0);
11134
+ export function __wbg_new_a32a1ab6c6655abe(arg0, arg1) {
11135
+ const ret = new Error(getStringFromWasm0(arg0, arg1));
11136
11136
  return ret;
11137
11137
  }
11138
- export function __wbg_new_ebe3e0f6837f0879() {
11138
+ export function __wbg_new_bebc3f4757acf305() {
11139
11139
  const ret = new Object();
11140
11140
  return ret;
11141
11141
  }
11142
- export function __wbg_new_f9d6489212f3b2b3(arg0) {
11143
- const ret = new Date(arg0);
11142
+ export function __wbg_new_ffa92086ea89f79c() {
11143
+ const ret = new Array();
11144
11144
  return ret;
11145
11145
  }
11146
- export function __wbg_new_from_slice_3eea173078478cfe(arg0, arg1) {
11146
+ export function __wbg_new_from_slice_4ee02165f9de919e(arg0, arg1) {
11147
11147
  const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
11148
11148
  return ret;
11149
11149
  }
11150
- export function __wbg_new_typed_cceaf62d8d95e9f2(arg0, arg1) {
11150
+ export function __wbg_new_typed_6f8b0d724fe26c07(arg0, arg1) {
11151
11151
  try {
11152
11152
  var state0 = {a: arg0, b: arg1};
11153
11153
  var cb0 = (arg0, arg1) => {
11154
11154
  const a = state0.a;
11155
11155
  state0.a = 0;
11156
11156
  try {
11157
- return wasm_bindgen_ff9af61e2d43a78a___convert__closures_____invoke___js_sys_8badcad5ae9f3759___Function_fn_wasm_bindgen_ff9af61e2d43a78a___JsValue_____wasm_bindgen_ff9af61e2d43a78a___sys__Undefined___js_sys_8badcad5ae9f3759___Function_fn_wasm_bindgen_ff9af61e2d43a78a___JsValue_____wasm_bindgen_ff9af61e2d43a78a___sys__Undefined_______true_(a, state0.b, arg0, arg1);
11157
+ return wasm_bindgen_49b719dbd852acb8___convert__closures_____invoke___js_sys_2784ec704a33ecc8___Function_fn_wasm_bindgen_49b719dbd852acb8___JsValue_____wasm_bindgen_49b719dbd852acb8___sys__Undefined___js_sys_2784ec704a33ecc8___Function_fn_wasm_bindgen_49b719dbd852acb8___JsValue_____wasm_bindgen_49b719dbd852acb8___sys__Undefined_______true_(a, state0.b, arg0, arg1);
11158
11158
  } finally {
11159
11159
  state0.a = a;
11160
11160
  }
@@ -11165,27 +11165,27 @@ export function __wbg_new_typed_cceaf62d8d95e9f2(arg0, arg1) {
11165
11165
  state0.a = 0;
11166
11166
  }
11167
11167
  }
11168
- export function __wbg_new_with_length_3ffc1c56427c525c(arg0) {
11168
+ export function __wbg_new_with_length_5ffeddb9d9fbb96f(arg0) {
11169
11169
  const ret = new Uint8Array(arg0 >>> 0);
11170
11170
  return ret;
11171
11171
  }
11172
- export function __wbg_new_with_length_5d351ffdb6e3397d(arg0) {
11172
+ export function __wbg_new_with_length_ac9c609232fb2d1d(arg0) {
11173
11173
  const ret = new Uint8ClampedArray(arg0 >>> 0);
11174
11174
  return ret;
11175
11175
  }
11176
- export function __wbg_next_42cf16ee0dafc9e2() { return handleError(function (arg0) {
11177
- const ret = arg0.next();
11178
- return ret;
11179
- }, arguments); }
11180
- export function __wbg_next_8f26b64fa5e9f64b(arg0) {
11176
+ export function __wbg_next_95053e306b1c3aed(arg0) {
11181
11177
  const ret = arg0.next;
11182
11178
  return ret;
11183
11179
  }
11180
+ export function __wbg_next_f31ecb8646d2c605() { return handleError(function (arg0) {
11181
+ const ret = arg0.next();
11182
+ return ret;
11183
+ }, arguments); }
11184
11184
  export function __wbg_node_84ea875411254db1(arg0) {
11185
11185
  const ret = arg0.node;
11186
11186
  return ret;
11187
11187
  }
11188
- export function __wbg_now_8b265300afd5f2b9() {
11188
+ export function __wbg_now_d1fb6650485d7f3e() {
11189
11189
  const ret = Date.now();
11190
11190
  return ret;
11191
11191
  }
@@ -11193,15 +11193,15 @@ export function __wbg_now_e7c6795a7f81e10f(arg0) {
11193
11193
  const ret = arg0.now();
11194
11194
  return ret;
11195
11195
  }
11196
- export function __wbg_objectStoreNames_94ee5410bc505cae(arg0) {
11196
+ export function __wbg_objectStoreNames_0d5b2223ea497c57(arg0) {
11197
11197
  const ret = arg0.objectStoreNames;
11198
11198
  return ret;
11199
11199
  }
11200
- export function __wbg_objectStore_222b7add2b5c2770() { return handleError(function (arg0, arg1, arg2) {
11200
+ export function __wbg_objectStore_54d81e3f83434edc() { return handleError(function (arg0, arg1, arg2) {
11201
11201
  const ret = arg0.objectStore(getStringFromWasm0(arg1, arg2));
11202
11202
  return ret;
11203
11203
  }, arguments); }
11204
- export function __wbg_oldVersion_92fccbad82f5635a(arg0) {
11204
+ export function __wbg_oldVersion_bb3dbfcb7fa0f143(arg0) {
11205
11205
  const ret = arg0.oldVersion;
11206
11206
  return ret;
11207
11207
  }
@@ -11209,26 +11209,26 @@ export function __wbg_olmmachine_new(arg0) {
11209
11209
  const ret = OlmMachine.__wrap(arg0);
11210
11210
  return ret;
11211
11211
  }
11212
- export function __wbg_openCursor_1015e5f363cc8494() { return handleError(function (arg0) {
11212
+ export function __wbg_openCursor_0dd2dcacbef4f54c() { return handleError(function (arg0) {
11213
11213
  const ret = arg0.openCursor();
11214
11214
  return ret;
11215
11215
  }, arguments); }
11216
- export function __wbg_openCursor_6dd512fe9cbf9f67() { return handleError(function (arg0, arg1) {
11217
- const ret = arg0.openCursor(arg1);
11218
- return ret;
11219
- }, arguments); }
11220
- export function __wbg_openCursor_f34b182699875701() { return handleError(function (arg0) {
11216
+ export function __wbg_openCursor_5da5b1efa49865f1() { return handleError(function (arg0) {
11221
11217
  const ret = arg0.openCursor();
11222
11218
  return ret;
11223
11219
  }, arguments); }
11224
- export function __wbg_open_66c8b00ee562451f() { return handleError(function (arg0, arg1, arg2) {
11225
- const ret = arg0.open(getStringFromWasm0(arg1, arg2));
11220
+ export function __wbg_openCursor_7c6d6688eed62e99() { return handleError(function (arg0, arg1) {
11221
+ const ret = arg0.openCursor(arg1);
11226
11222
  return ret;
11227
11223
  }, arguments); }
11228
- export function __wbg_open_c5ecda93515ce190() { return handleError(function (arg0, arg1, arg2, arg3) {
11224
+ export function __wbg_open_56eb9bc2b4228b89() { return handleError(function (arg0, arg1, arg2, arg3) {
11229
11225
  const ret = arg0.open(getStringFromWasm0(arg1, arg2), arg3 >>> 0);
11230
11226
  return ret;
11231
11227
  }, arguments); }
11228
+ export function __wbg_open_bdaea92fb1357c10() { return handleError(function (arg0, arg1, arg2) {
11229
+ const ret = arg0.open(getStringFromWasm0(arg1, arg2));
11230
+ return ret;
11231
+ }, arguments); }
11232
11232
  export function __wbg_otheruseridentity_new(arg0) {
11233
11233
  const ret = OtherUserIdentity.__wrap(arg0);
11234
11234
  return ret;
@@ -11237,7 +11237,7 @@ export function __wbg_ownuseridentity_new(arg0) {
11237
11237
  const ret = OwnUserIdentity.__wrap(arg0);
11238
11238
  return ret;
11239
11239
  }
11240
- export function __wbg_parse_1cc93481b0865939() { return handleError(function (arg0, arg1) {
11240
+ export function __wbg_parse_6937a9050adfb0e1() { return handleError(function (arg0, arg1) {
11241
11241
  const ret = JSON.parse(getStringFromWasm0(arg0, arg1));
11242
11242
  return ret;
11243
11243
  }, arguments); }
@@ -11261,17 +11261,17 @@ export function __wbg_process_44c7a14e11e9f69e(arg0) {
11261
11261
  const ret = arg0.process;
11262
11262
  return ret;
11263
11263
  }
11264
- export function __wbg_prototypesetcall_8798824fd302dd72(arg0, arg1, arg2) {
11264
+ export function __wbg_prototypesetcall_a5476dff29f70ae5(arg0, arg1, arg2) {
11265
11265
  Uint8ClampedArray.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
11266
11266
  }
11267
- export function __wbg_prototypesetcall_de8e0d9553586985(arg0, arg1, arg2) {
11267
+ export function __wbg_prototypesetcall_ae9f5e7459250748(arg0, arg1, arg2) {
11268
11268
  Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
11269
11269
  }
11270
- export function __wbg_push_adb0107829f02d75(arg0, arg1) {
11270
+ export function __wbg_push_bfdf956ba476f65b(arg0, arg1) {
11271
11271
  const ret = arg0.push(arg1);
11272
11272
  return ret;
11273
11273
  }
11274
- export function __wbg_put_5e0ae8c80bb952a7() { return handleError(function (arg0, arg1, arg2) {
11274
+ export function __wbg_put_7d52c69d9da5ab22() { return handleError(function (arg0, arg1, arg2) {
11275
11275
  const ret = arg0.put(arg1, arg2);
11276
11276
  return ret;
11277
11277
  }, arguments); }
@@ -11283,17 +11283,17 @@ export function __wbg_qr_new(arg0) {
11283
11283
  const ret = Qr.__wrap(arg0);
11284
11284
  return ret;
11285
11285
  }
11286
- export function __wbg_queueMicrotask_ac694eae12e92dfb(arg0) {
11287
- queueMicrotask(arg0);
11288
- }
11289
- export function __wbg_queueMicrotask_be5fe34a8f4cad4d(arg0) {
11286
+ export function __wbg_queueMicrotask_85c90f6987555d65(arg0) {
11290
11287
  const ret = arg0.queueMicrotask;
11291
11288
  return ret;
11292
11289
  }
11290
+ export function __wbg_queueMicrotask_f6a1fa10b81d1fc0(arg0) {
11291
+ queueMicrotask(arg0);
11292
+ }
11293
11293
  export function __wbg_randomFillSync_6c25eac9869eb53c() { return handleError(function (arg0, arg1) {
11294
11294
  arg0.randomFillSync(arg1);
11295
11295
  }, arguments); }
11296
- export function __wbg_readyState_599831d0754935af(arg0) {
11296
+ export function __wbg_readyState_4f74e29bb400e81e(arg0) {
11297
11297
  const ret = arg0.readyState;
11298
11298
  return (__wbindgen_enum_IdbRequestReadyState.indexOf(ret) + 1 || 3) - 1;
11299
11299
  }
@@ -11313,11 +11313,11 @@ export function __wbg_require_b4edbdcf3e2a1ef0() { return handleError(function (
11313
11313
  const ret = module.require;
11314
11314
  return ret;
11315
11315
  }, arguments); }
11316
- export function __wbg_resolve_020f95d838c6ef25(arg0) {
11316
+ export function __wbg_resolve_35ec7e0c6af4c82c(arg0) {
11317
11317
  const ret = Promise.resolve(arg0);
11318
11318
  return ret;
11319
11319
  }
11320
- export function __wbg_result_0501bea148306f01() { return handleError(function (arg0) {
11320
+ export function __wbg_result_1ee542654b519ece() { return handleError(function (arg0) {
11321
11321
  const ret = arg0.result;
11322
11322
  return ret;
11323
11323
  }, arguments); }
@@ -11365,38 +11365,38 @@ export function __wbg_setTimeout_56bcdccbad22fd44() { return handleError(functio
11365
11365
  const ret = setTimeout(arg0, arg1);
11366
11366
  return ret;
11367
11367
  }, arguments); }
11368
- export function __wbg_set_014226dfeca53178(arg0, arg1, arg2) {
11369
- const ret = arg0.set(arg1, arg2);
11370
- return ret;
11371
- }
11372
- export function __wbg_set_5c15d3c5973de97a(arg0, arg1, arg2) {
11368
+ export function __wbg_set_0488601468e80715(arg0, arg1, arg2) {
11373
11369
  arg0.set(getArrayU8FromWasm0(arg1, arg2));
11374
11370
  }
11371
+ export function __wbg_set_13d25b81ab403f5e(arg0, arg1, arg2) {
11372
+ arg0[arg1 >>> 0] = arg2;
11373
+ }
11375
11374
  export function __wbg_set_6be42768c690e380(arg0, arg1, arg2) {
11376
11375
  arg0[arg1] = arg2;
11377
11376
  }
11378
- export function __wbg_set_a80955eb93b145c6(arg0, arg1, arg2) {
11379
- arg0[arg1 >>> 0] = arg2;
11377
+ export function __wbg_set_bf6dde4923b9b059(arg0, arg1, arg2) {
11378
+ const ret = arg0.set(arg1, arg2);
11379
+ return ret;
11380
11380
  }
11381
- export function __wbg_set_onabort_fda794cb1089d6b5(arg0, arg1) {
11381
+ export function __wbg_set_onabort_1d0052c8998c83c3(arg0, arg1) {
11382
11382
  arg0.onabort = arg1;
11383
11383
  }
11384
- export function __wbg_set_oncomplete_ff31bdacaa1b3558(arg0, arg1) {
11384
+ export function __wbg_set_oncomplete_18b4816241642ed1(arg0, arg1) {
11385
11385
  arg0.oncomplete = arg1;
11386
11386
  }
11387
- export function __wbg_set_onerror_3dff0f2abceea5e9(arg0, arg1) {
11387
+ export function __wbg_set_onerror_1938848fb2ee8cc8(arg0, arg1) {
11388
11388
  arg0.onerror = arg1;
11389
11389
  }
11390
- export function __wbg_set_onerror_41278ace6abe3973(arg0, arg1) {
11390
+ export function __wbg_set_onerror_eddf5d542c5b47d7(arg0, arg1) {
11391
11391
  arg0.onerror = arg1;
11392
11392
  }
11393
- export function __wbg_set_onsuccess_86d76d6974cd57e4(arg0, arg1) {
11393
+ export function __wbg_set_onsuccess_4e8073573d1f2b4e(arg0, arg1) {
11394
11394
  arg0.onsuccess = arg1;
11395
11395
  }
11396
- export function __wbg_set_onupgradeneeded_79b60102909f4a5e(arg0, arg1) {
11396
+ export function __wbg_set_onupgradeneeded_49d6dd635034b91f(arg0, arg1) {
11397
11397
  arg0.onupgradeneeded = arg1;
11398
11398
  }
11399
- export function __wbg_set_unique_c03185d3bf563306(arg0, arg1) {
11399
+ export function __wbg_set_unique_2cc42f748668f41d(arg0, arg1) {
11400
11400
  arg0.unique = arg1 !== 0;
11401
11401
  }
11402
11402
  export function __wbg_signatures_new(arg0) {
@@ -11418,19 +11418,19 @@ export function __wbg_stack_3b0d974bbf31e44f(arg0, arg1) {
11418
11418
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
11419
11419
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
11420
11420
  }
11421
- export function __wbg_static_accessor_GLOBAL_THIS_466428f93b4eaa76() {
11422
- const ret = typeof globalThis === 'undefined' ? null : globalThis;
11421
+ export function __wbg_static_accessor_GLOBAL_8eb4cd83130a11a0() {
11422
+ const ret = typeof global === 'undefined' ? null : global;
11423
11423
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
11424
11424
  }
11425
- export function __wbg_static_accessor_GLOBAL_c7aea38d4de089bc() {
11426
- const ret = typeof global === 'undefined' ? null : global;
11425
+ export function __wbg_static_accessor_GLOBAL_THIS_1e7044f654e934db() {
11426
+ const ret = typeof globalThis === 'undefined' ? null : globalThis;
11427
11427
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
11428
11428
  }
11429
- export function __wbg_static_accessor_SELF_42d4fae05e59267a() {
11429
+ export function __wbg_static_accessor_SELF_d8b50611246a6d92() {
11430
11430
  const ret = typeof self === 'undefined' ? null : self;
11431
11431
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
11432
11432
  }
11433
- export function __wbg_static_accessor_WINDOW_e0db14a0eba6a812() {
11433
+ export function __wbg_static_accessor_WINDOW_fd0bc376bf0f8b42() {
11434
11434
  const ret = typeof window === 'undefined' ? null : window;
11435
11435
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
11436
11436
  }
@@ -11442,27 +11442,27 @@ export function __wbg_storehandle_new(arg0) {
11442
11442
  const ret = StoreHandle.__wrap(arg0);
11443
11443
  return ret;
11444
11444
  }
11445
- export function __wbg_stringify_f93a4ebae9231922() { return handleError(function (arg0) {
11445
+ export function __wbg_stringify_54b3d9b61602aee6() { return handleError(function (arg0) {
11446
11446
  const ret = JSON.stringify(arg0);
11447
11447
  return ret;
11448
11448
  }, arguments); }
11449
- export function __wbg_subarray_a4cc58201c7359fd(arg0, arg1, arg2) {
11449
+ export function __wbg_subarray_1daff70dde20c145(arg0, arg1, arg2) {
11450
11450
  const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
11451
11451
  return ret;
11452
11452
  }
11453
- export function __wbg_target_13424fe1cdc436ac(arg0) {
11453
+ export function __wbg_target_3e80dc66a5936e87(arg0) {
11454
11454
  const ret = arg0.target;
11455
11455
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
11456
11456
  }
11457
- export function __wbg_then_7026b513a94278a8(arg0, arg1) {
11458
- const ret = arg0.then(arg1);
11457
+ export function __wbg_then_7a850dae4493f353(arg0, arg1, arg2) {
11458
+ const ret = arg0.then(arg1, arg2);
11459
11459
  return ret;
11460
11460
  }
11461
- export function __wbg_then_72819b8d4e081fb5(arg0, arg1, arg2) {
11462
- const ret = arg0.then(arg1, arg2);
11461
+ export function __wbg_then_b830475380919203(arg0, arg1) {
11462
+ const ret = arg0.then(arg1);
11463
11463
  return ret;
11464
11464
  }
11465
- export function __wbg_toString_2f0b0aec069cb718(arg0) {
11465
+ export function __wbg_toString_794a30e85c994f2a(arg0) {
11466
11466
  const ret = arg0.toString();
11467
11467
  return ret;
11468
11468
  }
@@ -11470,27 +11470,27 @@ export function __wbg_todevicerequest_new(arg0) {
11470
11470
  const ret = ToDeviceRequest.__wrap(arg0);
11471
11471
  return ret;
11472
11472
  }
11473
- export function __wbg_transaction_0458565e8cdfb620(arg0) {
11474
- const ret = arg0.transaction;
11475
- return ret;
11476
- }
11477
- export function __wbg_transaction_4c999693e6e601bf() { return handleError(function (arg0, arg1, arg2) {
11473
+ export function __wbg_transaction_3019f53fe122f6c8() { return handleError(function (arg0, arg1, arg2) {
11478
11474
  const ret = arg0.transaction(arg1, __wbindgen_enum_IdbTransactionMode[arg2]);
11479
11475
  return ret;
11480
11476
  }, arguments); }
11481
- export function __wbg_transaction_728366e915610cb0() { return handleError(function (arg0, arg1, arg2, arg3) {
11482
- const ret = arg0.transaction(getStringFromWasm0(arg1, arg2), __wbindgen_enum_IdbTransactionMode[arg3]);
11483
- return ret;
11484
- }, arguments); }
11485
- export function __wbg_transaction_77d93778cbec28c3(arg0) {
11477
+ export function __wbg_transaction_7cc4506d6cff2b51(arg0) {
11486
11478
  const ret = arg0.transaction;
11487
11479
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
11488
11480
  }
11489
- export function __wbg_update_df04b6b83954c5a0() { return handleError(function (arg0, arg1) {
11481
+ export function __wbg_transaction_83426eb500ee2f91(arg0) {
11482
+ const ret = arg0.transaction;
11483
+ return ret;
11484
+ }
11485
+ export function __wbg_transaction_a42a399637cea7ea() { return handleError(function (arg0, arg1, arg2, arg3) {
11486
+ const ret = arg0.transaction(getStringFromWasm0(arg1, arg2), __wbindgen_enum_IdbTransactionMode[arg3]);
11487
+ return ret;
11488
+ }, arguments); }
11489
+ export function __wbg_update_400214dbaa3d90bb() { return handleError(function (arg0, arg1) {
11490
11490
  const ret = arg0.update(arg1);
11491
11491
  return ret;
11492
11492
  }, arguments); }
11493
- export function __wbg_upperBound_916ed065b0d6fe6c() { return handleError(function (arg0, arg1) {
11493
+ export function __wbg_upperBound_33e5eb97e0acea4d() { return handleError(function (arg0, arg1) {
11494
11494
  const ret = IDBKeyRange.upperBound(arg0, arg1 !== 0);
11495
11495
  return ret;
11496
11496
  }, arguments); }
@@ -11510,15 +11510,15 @@ export function __wbg_utdtodeviceevent_new(arg0) {
11510
11510
  const ret = UTDToDeviceEvent.__wrap(arg0);
11511
11511
  return ret;
11512
11512
  }
11513
- export function __wbg_value_1e2369fab29b420e(arg0) {
11513
+ export function __wbg_value_481b5a1bd4c573bd() { return handleError(function (arg0) {
11514
11514
  const ret = arg0.value;
11515
11515
  return ret;
11516
- }
11517
- export function __wbg_value_496e02446340ae74() { return handleError(function (arg0) {
11516
+ }, arguments); }
11517
+ export function __wbg_value_c227f843d21da141(arg0) {
11518
11518
  const ret = arg0.value;
11519
11519
  return ret;
11520
- }, arguments); }
11521
- export function __wbg_values_d512097b1a1a9459(arg0) {
11520
+ }
11521
+ export function __wbg_values_356ab3872fe9da3c(arg0) {
11522
11522
  const ret = arg0.values();
11523
11523
  return ret;
11524
11524
  }
@@ -11526,7 +11526,7 @@ export function __wbg_verificationrequest_new(arg0) {
11526
11526
  const ret = VerificationRequest.__wrap(arg0);
11527
11527
  return ret;
11528
11528
  }
11529
- export function __wbg_version_26237923fff15d6e(arg0) {
11529
+ export function __wbg_version_b9d21acf19fbf402(arg0) {
11530
11530
  const ret = arg0.version;
11531
11531
  return ret;
11532
11532
  }
@@ -11534,58 +11534,58 @@ export function __wbg_versions_276b2795b1c6a219(arg0) {
11534
11534
  const ret = arg0.versions;
11535
11535
  return ret;
11536
11536
  }
11537
- export function __wbg_warn_917d7f727ab78481(arg0) {
11538
- console.warn(arg0);
11539
- }
11540
- export function __wbg_warn_b62de6508e8608cc(arg0, arg1) {
11537
+ export function __wbg_warn_3418d951bf7618d2(arg0, arg1) {
11541
11538
  arg0.warn(arg1);
11542
11539
  }
11543
- export function __wbindgen_cast_0000000000000001(arg0, arg1) {
11544
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 164, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
11545
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen_ff9af61e2d43a78a___convert__closures_____invoke___wasm_bindgen_ff9af61e2d43a78a___JsValue__core_ed718c3d60ebd546___result__Result_____wasm_bindgen_ff9af61e2d43a78a___JsError___true_);
11540
+ export function __wbg_warn_d3544c7814fab534(arg0) {
11541
+ console.warn(arg0);
11542
+ }
11543
+ export function __wbindgen_generic_0000000000000001(arg0, arg1) {
11544
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 166, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
11545
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_49b719dbd852acb8___convert__closures_____invoke___wasm_bindgen_49b719dbd852acb8___JsValue__core_ed718c3d60ebd546___result__Result_____wasm_bindgen_49b719dbd852acb8___JsError___true_);
11546
11546
  return ret;
11547
11547
  }
11548
- export function __wbindgen_cast_0000000000000002(arg0, arg1) {
11548
+ export function __wbindgen_generic_0000000000000002(arg0, arg1) {
11549
11549
  // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 558, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
11550
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen_ff9af61e2d43a78a___convert__closures_____invoke___web_sys_4ec35d1b8222c725___features__gen_Event__Event______true_);
11550
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_49b719dbd852acb8___convert__closures_____invoke___web_sys_fe02f73cbd69cc6___features__gen_Event__Event______true_);
11551
11551
  return ret;
11552
11552
  }
11553
- export function __wbindgen_cast_0000000000000003(arg0, arg1) {
11554
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 164, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
11555
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen_ff9af61e2d43a78a___convert__closures_____invoke___wasm_bindgen_ff9af61e2d43a78a___JsValue__core_ed718c3d60ebd546___result__Result_____wasm_bindgen_ff9af61e2d43a78a___JsError___true__2);
11553
+ export function __wbindgen_generic_0000000000000003(arg0, arg1) {
11554
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 166, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
11555
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_49b719dbd852acb8___convert__closures_____invoke___wasm_bindgen_49b719dbd852acb8___JsValue__core_ed718c3d60ebd546___result__Result_____wasm_bindgen_49b719dbd852acb8___JsError___true__590);
11556
11556
  return ret;
11557
11557
  }
11558
- export function __wbindgen_cast_0000000000000004(arg0, arg1) {
11559
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 128, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
11560
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen_ff9af61e2d43a78a___convert__closures_____invoke_______true_);
11558
+ export function __wbindgen_generic_0000000000000004(arg0, arg1) {
11559
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 130, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
11560
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_49b719dbd852acb8___convert__closures_____invoke_______true_);
11561
11561
  return ret;
11562
11562
  }
11563
- export function __wbindgen_cast_0000000000000005(arg0) {
11563
+ export function __wbindgen_generic_0000000000000005(arg0) {
11564
11564
  // Cast intrinsic for `F64 -> Externref`.
11565
11565
  const ret = arg0;
11566
11566
  return ret;
11567
11567
  }
11568
- export function __wbindgen_cast_0000000000000006(arg0) {
11568
+ export function __wbindgen_generic_0000000000000006(arg0) {
11569
11569
  // Cast intrinsic for `I64 -> Externref`.
11570
11570
  const ret = arg0;
11571
11571
  return ret;
11572
11572
  }
11573
- export function __wbindgen_cast_0000000000000007(arg0, arg1) {
11573
+ export function __wbindgen_generic_0000000000000007(arg0, arg1) {
11574
11574
  // Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
11575
11575
  const ret = getArrayU8FromWasm0(arg0, arg1);
11576
11576
  return ret;
11577
11577
  }
11578
- export function __wbindgen_cast_0000000000000008(arg0, arg1) {
11578
+ export function __wbindgen_generic_0000000000000008(arg0, arg1) {
11579
11579
  // Cast intrinsic for `Ref(String) -> Externref`.
11580
11580
  const ret = getStringFromWasm0(arg0, arg1);
11581
11581
  return ret;
11582
11582
  }
11583
- export function __wbindgen_cast_0000000000000009(arg0) {
11583
+ export function __wbindgen_generic_0000000000000009(arg0) {
11584
11584
  // Cast intrinsic for `U64 -> Externref`.
11585
11585
  const ret = BigInt.asUintN(64, arg0);
11586
11586
  return ret;
11587
11587
  }
11588
- export function __wbindgen_cast_000000000000000a(arg0, arg1) {
11588
+ export function __wbindgen_generic_000000000000000a(arg0, arg1) {
11589
11589
  var v0 = getArrayJsValueFromWasm0(arg0, arg1);
11590
11590
  wasm.__wbindgen_free(arg0, arg1 * 4, 4);
11591
11591
  // Cast intrinsic for `Vector(Externref) -> Externref`.
@@ -11601,30 +11601,30 @@ export function __wbindgen_init_externref_table() {
11601
11601
  table.set(offset + 2, true);
11602
11602
  table.set(offset + 3, false);
11603
11603
  }
11604
- function wasm_bindgen_ff9af61e2d43a78a___convert__closures_____invoke_______true_(arg0, arg1) {
11605
- wasm.wasm_bindgen_ff9af61e2d43a78a___convert__closures_____invoke_______true_(arg0, arg1);
11604
+ function wasm_bindgen_49b719dbd852acb8___convert__closures_____invoke_______true_(arg0, arg1) {
11605
+ wasm.wasm_bindgen_49b719dbd852acb8___convert__closures_____invoke_______true_(arg0, arg1);
11606
11606
  }
11607
11607
 
11608
- function wasm_bindgen_ff9af61e2d43a78a___convert__closures_____invoke___web_sys_4ec35d1b8222c725___features__gen_Event__Event______true_(arg0, arg1, arg2) {
11609
- wasm.wasm_bindgen_ff9af61e2d43a78a___convert__closures_____invoke___web_sys_4ec35d1b8222c725___features__gen_Event__Event______true_(arg0, arg1, arg2);
11608
+ function wasm_bindgen_49b719dbd852acb8___convert__closures_____invoke___web_sys_fe02f73cbd69cc6___features__gen_Event__Event______true_(arg0, arg1, arg2) {
11609
+ wasm.wasm_bindgen_49b719dbd852acb8___convert__closures_____invoke___web_sys_fe02f73cbd69cc6___features__gen_Event__Event______true_(arg0, arg1, arg2);
11610
11610
  }
11611
11611
 
11612
- function wasm_bindgen_ff9af61e2d43a78a___convert__closures_____invoke___wasm_bindgen_ff9af61e2d43a78a___JsValue__core_ed718c3d60ebd546___result__Result_____wasm_bindgen_ff9af61e2d43a78a___JsError___true_(arg0, arg1, arg2) {
11613
- const ret = wasm.wasm_bindgen_ff9af61e2d43a78a___convert__closures_____invoke___wasm_bindgen_ff9af61e2d43a78a___JsValue__core_ed718c3d60ebd546___result__Result_____wasm_bindgen_ff9af61e2d43a78a___JsError___true_(arg0, arg1, arg2);
11612
+ function wasm_bindgen_49b719dbd852acb8___convert__closures_____invoke___wasm_bindgen_49b719dbd852acb8___JsValue__core_ed718c3d60ebd546___result__Result_____wasm_bindgen_49b719dbd852acb8___JsError___true_(arg0, arg1, arg2) {
11613
+ const ret = wasm.wasm_bindgen_49b719dbd852acb8___convert__closures_____invoke___wasm_bindgen_49b719dbd852acb8___JsValue__core_ed718c3d60ebd546___result__Result_____wasm_bindgen_49b719dbd852acb8___JsError___true_(arg0, arg1, arg2);
11614
11614
  if (ret[1]) {
11615
11615
  throw takeFromExternrefTable0(ret[0]);
11616
11616
  }
11617
11617
  }
11618
11618
 
11619
- function wasm_bindgen_ff9af61e2d43a78a___convert__closures_____invoke___wasm_bindgen_ff9af61e2d43a78a___JsValue__core_ed718c3d60ebd546___result__Result_____wasm_bindgen_ff9af61e2d43a78a___JsError___true__2(arg0, arg1, arg2) {
11620
- const ret = wasm.wasm_bindgen_ff9af61e2d43a78a___convert__closures_____invoke___wasm_bindgen_ff9af61e2d43a78a___JsValue__core_ed718c3d60ebd546___result__Result_____wasm_bindgen_ff9af61e2d43a78a___JsError___true__2(arg0, arg1, arg2);
11619
+ function wasm_bindgen_49b719dbd852acb8___convert__closures_____invoke___wasm_bindgen_49b719dbd852acb8___JsValue__core_ed718c3d60ebd546___result__Result_____wasm_bindgen_49b719dbd852acb8___JsError___true__590(arg0, arg1, arg2) {
11620
+ const ret = wasm.wasm_bindgen_49b719dbd852acb8___convert__closures_____invoke___wasm_bindgen_49b719dbd852acb8___JsValue__core_ed718c3d60ebd546___result__Result_____wasm_bindgen_49b719dbd852acb8___JsError___true__590(arg0, arg1, arg2);
11621
11621
  if (ret[1]) {
11622
11622
  throw takeFromExternrefTable0(ret[0]);
11623
11623
  }
11624
11624
  }
11625
11625
 
11626
- function wasm_bindgen_ff9af61e2d43a78a___convert__closures_____invoke___js_sys_8badcad5ae9f3759___Function_fn_wasm_bindgen_ff9af61e2d43a78a___JsValue_____wasm_bindgen_ff9af61e2d43a78a___sys__Undefined___js_sys_8badcad5ae9f3759___Function_fn_wasm_bindgen_ff9af61e2d43a78a___JsValue_____wasm_bindgen_ff9af61e2d43a78a___sys__Undefined_______true_(arg0, arg1, arg2, arg3) {
11627
- wasm.wasm_bindgen_ff9af61e2d43a78a___convert__closures_____invoke___js_sys_8badcad5ae9f3759___Function_fn_wasm_bindgen_ff9af61e2d43a78a___JsValue_____wasm_bindgen_ff9af61e2d43a78a___sys__Undefined___js_sys_8badcad5ae9f3759___Function_fn_wasm_bindgen_ff9af61e2d43a78a___JsValue_____wasm_bindgen_ff9af61e2d43a78a___sys__Undefined_______true_(arg0, arg1, arg2, arg3);
11626
+ function wasm_bindgen_49b719dbd852acb8___convert__closures_____invoke___js_sys_2784ec704a33ecc8___Function_fn_wasm_bindgen_49b719dbd852acb8___JsValue_____wasm_bindgen_49b719dbd852acb8___sys__Undefined___js_sys_2784ec704a33ecc8___Function_fn_wasm_bindgen_49b719dbd852acb8___JsValue_____wasm_bindgen_49b719dbd852acb8___sys__Undefined_______true_(arg0, arg1, arg2, arg3) {
11627
+ wasm.wasm_bindgen_49b719dbd852acb8___convert__closures_____invoke___js_sys_2784ec704a33ecc8___Function_fn_wasm_bindgen_49b719dbd852acb8___JsValue_____wasm_bindgen_49b719dbd852acb8___sys__Undefined___js_sys_2784ec704a33ecc8___Function_fn_wasm_bindgen_49b719dbd852acb8___JsValue_____wasm_bindgen_49b719dbd852acb8___sys__Undefined_______true_(arg0, arg1, arg2, arg3);
11628
11628
  }
11629
11629
 
11630
11630