@openclaw/matrix 2026.8.1-beta.2 → 2026.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1014) hide show
  1. package/dist/{account-config-BZWN9tGS.js → account-config-CRsKoMqJ.js} +1 -1
  2. package/dist/{account-selection-CWuhuFn1.js → account-selection-C8nnBTxi.js} +63 -27
  3. package/dist/{accounts-BCzyubQt.js → accounts-fC57n-Jo.js} +3 -4
  4. package/dist/api.js +7 -7
  5. package/dist/{approval-handler.runtime-CJXCUdRg.js → approval-handler.runtime-BBjFZw1t.js} +9 -6
  6. package/dist/{approval-ids-7rf7etWE.js → approval-ids-DTIdXV-m.js} +1 -1
  7. package/dist/{approval-reaction-auth-wBwbEDpZ.js → approval-reaction-auth-BDONXxnF.js} +2 -2
  8. package/dist/{channel-VSrHgTON.js → channel-BkEcVUs_.js} +249 -24
  9. package/dist/channel-plugin-api.js +1 -1
  10. package/dist/{channel.runtime-pOOL0uT_.js → channel.runtime-CTLSBFsP.js} +26 -16
  11. package/dist/{channel.setup-PpxRP9Du.js → channel.setup-CSacbORr.js} +11 -12
  12. package/dist/{cli-CkTfKC_c.js → cli-DRVtgrq5.js} +15 -14
  13. package/dist/{cli-metadata-B1d1aGM5.js → cli-metadata-Ddx_y4Os.js} +1 -1
  14. package/dist/cli-metadata.js +1 -1
  15. package/dist/{client-sJesKQmp.js → client-CZ_JvrO0.js} +2 -2
  16. package/dist/{client-bootstrap-BFwT_2VT.js → client-bootstrap-D8irSL2i.js} +1 -1
  17. package/dist/{client-CeGw0G5S.js → client-kSi51NKp.js} +86 -62
  18. package/dist/{config-update-Bor_Pjsv.js → config-update-DC0fWBxc.js} +2 -3
  19. package/dist/contract-api.js +2 -2
  20. package/dist/{crypto-runtime-Bnz3zEcS.js → crypto-runtime-C4WDYxlP.js} +1 -1
  21. package/dist/{directory-live-Bvg2wAnR.js → directory-live-DKr0w35b.js} +3 -3
  22. package/dist/doctor-contract-api.js +9 -3
  23. package/dist/{draft-stream-BRi7PRRS.js → draft-stream-0CEpNrBk.js} +1 -1
  24. package/dist/{encryption-guidance-DmLY8NiO.js → encryption-guidance-D4ZdAqzM.js} +1 -1
  25. package/dist/event-helpers-XRfAbOIh.js +46 -0
  26. package/dist/helper-api.js +1 -1
  27. package/dist/{http-client-CycYxU9-.js → http-client-D8o8b9u6.js} +3 -47
  28. package/dist/{idb-persistence-BM0P27Zg.js → idb-persistence-DfgW720p.js} +1 -1
  29. package/dist/index.js +1 -1
  30. package/dist/{messages-BW0s-6Y9.js → messages-DaGRt-tu.js} +183 -27
  31. package/dist/{monitor-Ddfc-vjX.js → monitor-CLPbPcR9.js} +225 -173
  32. package/dist/plugin-entry.handlers.runtime.js +1 -1
  33. package/dist/probe.runtime-Bxpr1FFy.js +2 -0
  34. package/dist/{profile-update-BkgWYDIp.js → profile-update-zXVCMg7y.js} +2 -2
  35. package/dist/{reaction-events-nfUbFLdV.js → reaction-events-CjVUiqcY.js} +5 -5
  36. package/dist/{resolve-targets-BJAPY4Vb.js → resolve-targets-qG6gceps.js} +2 -2
  37. package/dist/{resolver.runtime-LWJELYq5.js → resolver.runtime-zX3TR3TN.js} +1 -1
  38. package/dist/{room-info-BXQA7y10.js → room-info-yheP1mod.js} +55 -1
  39. package/dist/runtime-api.js +2 -2
  40. package/dist/{sdk-DjaQFCHc.js → sdk-TZYyo0XQ.js} +74 -29
  41. package/dist/{send-ZDLU4JTk.js → send-BL_iH5Ox.js} +55 -35
  42. package/dist/session-binding-contract-api.js +2 -3
  43. package/dist/{setup-bootstrap-BaXkhgJg.js → setup-bootstrap-D8M7FmcO.js} +3 -3
  44. package/dist/{setup-core-DQn6b5vi.js → setup-core-r6L0nno-.js} +5 -5
  45. package/dist/setup-plugin-api.js +1 -1
  46. package/dist/{setup-surface-DlhJdrNI.js → setup-surface-g174ElFO.js} +14 -14
  47. package/dist/subagent-hooks-CMoZaARG.js +48 -0
  48. package/dist/subagent-hooks-api.js +1 -1
  49. package/dist/{target-ids-B-5aQxwn.js → target-ids-Nwx7cMVE.js} +11 -1
  50. package/dist/{thread-binding-api-DRbBZlhS.js → thread-binding-api-CzkeLZCU.js} +1 -1
  51. package/dist/thread-binding-api.js +1 -1
  52. package/dist/{thread-bindings-CcHZP3w2.js → thread-bindings-ERWNousC.js} +13 -9
  53. package/dist/thread-bindings-runtime.js +1 -1
  54. package/dist/{thread-bindings-shared-CKnY4LSd.js → thread-bindings-shared-oNPiyMWY.js} +1 -6
  55. package/dist/{tool-actions.runtime-DmdRL0bN.js → tool-actions.runtime-DcBCSwY4.js} +57 -65
  56. package/dist/{verification-C7ig-bQE.js → verification-4vsW_WSn.js} +2 -2
  57. package/node_modules/@matrix-org/matrix-sdk-crypto-nodejs/CHANGELOG.md +29 -3
  58. package/node_modules/@matrix-org/matrix-sdk-crypto-nodejs/README.md +23 -14
  59. package/node_modules/@matrix-org/matrix-sdk-crypto-nodejs/RELEASING.md +6 -2
  60. package/node_modules/@matrix-org/matrix-sdk-crypto-nodejs/download-lib.js +33 -14
  61. package/node_modules/@matrix-org/matrix-sdk-crypto-nodejs/index.d.ts +14 -0
  62. package/node_modules/@matrix-org/matrix-sdk-crypto-nodejs/package.json +41 -42
  63. package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/package.json +1 -1
  64. package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/pkg/matrix_sdk_crypto_wasm.d.ts +16 -4
  65. package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/pkg/matrix_sdk_crypto_wasm_bg.cjs +25 -9
  66. package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/pkg/matrix_sdk_crypto_wasm_bg.js +23 -7
  67. package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/pkg/matrix_sdk_crypto_wasm_bg.wasm +0 -0
  68. package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/pkg/matrix_sdk_crypto_wasm_bg.wasm.d.ts +1 -0
  69. package/node_modules/markdown-it/README.md +18 -294
  70. package/node_modules/markdown-it/bin/markdown-it.mjs +2 -2
  71. package/node_modules/markdown-it/dist/browser/markdown-it.esm.min.mjs +2972 -0
  72. package/node_modules/markdown-it/dist/browser/markdown-it.esm.min.mjs.map +1 -0
  73. package/node_modules/markdown-it/dist/browser/markdown-it.umd.min.js +14 -0
  74. package/node_modules/markdown-it/dist/browser/markdown-it.umd.min.js.map +1 -0
  75. package/node_modules/markdown-it/dist/markdown-it.cjs.js +4412 -0
  76. package/node_modules/markdown-it/dist/markdown-it.cjs.js.map +1 -0
  77. package/node_modules/markdown-it/dist/markdown-it.d.cts +19 -0
  78. package/node_modules/markdown-it/dist/markdown-it.d.mts +979 -0
  79. package/node_modules/markdown-it/dist/{index.cjs.js → markdown-it.mjs} +1437 -1466
  80. package/node_modules/markdown-it/dist/markdown-it.mjs.map +1 -0
  81. package/node_modules/markdown-it/node_modules/argparse/README.md +46 -41
  82. package/node_modules/markdown-it/node_modules/argparse/lib/_colorize.js +72 -0
  83. package/node_modules/markdown-it/node_modules/argparse/lib/argparse.d.ts +292 -0
  84. package/node_modules/markdown-it/node_modules/argparse/{argparse.js → lib/argparse.js} +1124 -1027
  85. package/node_modules/markdown-it/node_modules/argparse/lib/difflib.js +190 -0
  86. package/node_modules/markdown-it/node_modules/argparse/lib/sub.js +4 -4
  87. package/node_modules/markdown-it/node_modules/argparse/lib/textwrap.js +28 -28
  88. package/node_modules/markdown-it/node_modules/argparse/package.json +17 -10
  89. package/node_modules/markdown-it/node_modules/entities/dist/decode-codepoint.d.ts +8 -0
  90. package/node_modules/markdown-it/node_modules/entities/dist/decode-codepoint.d.ts.map +1 -0
  91. package/node_modules/markdown-it/node_modules/entities/dist/decode-codepoint.js +46 -0
  92. package/node_modules/markdown-it/node_modules/entities/dist/decode-codepoint.js.map +1 -0
  93. package/node_modules/markdown-it/node_modules/entities/{lib/esm → dist}/decode.d.ts +28 -45
  94. package/node_modules/markdown-it/node_modules/entities/dist/decode.d.ts.map +1 -0
  95. package/node_modules/markdown-it/node_modules/entities/{lib/esm → dist}/decode.js +189 -141
  96. package/node_modules/markdown-it/node_modules/entities/dist/decode.js.map +1 -0
  97. package/node_modules/markdown-it/node_modules/entities/{lib/esm → dist}/encode.d.ts +4 -2
  98. package/node_modules/markdown-it/node_modules/entities/dist/encode.d.ts.map +1 -0
  99. package/node_modules/markdown-it/node_modules/entities/dist/encode.js +90 -0
  100. package/node_modules/markdown-it/node_modules/entities/dist/encode.js.map +1 -0
  101. package/node_modules/markdown-it/node_modules/entities/{lib → dist}/escape.d.ts +15 -10
  102. package/node_modules/markdown-it/node_modules/entities/dist/escape.d.ts.map +1 -0
  103. package/node_modules/markdown-it/node_modules/entities/dist/escape.js +132 -0
  104. package/node_modules/markdown-it/node_modules/entities/dist/escape.js.map +1 -0
  105. package/node_modules/markdown-it/node_modules/entities/dist/generated/decode-data-html.d.ts +3 -0
  106. package/node_modules/markdown-it/node_modules/entities/dist/generated/decode-data-html.d.ts.map +1 -0
  107. package/node_modules/markdown-it/node_modules/entities/dist/generated/decode-data-html.js +5 -0
  108. package/node_modules/markdown-it/node_modules/entities/dist/generated/decode-data-html.js.map +1 -0
  109. package/node_modules/markdown-it/node_modules/entities/dist/generated/decode-data-xml.d.ts +3 -0
  110. package/node_modules/markdown-it/node_modules/entities/dist/generated/decode-data-xml.d.ts.map +1 -0
  111. package/node_modules/markdown-it/node_modules/entities/dist/generated/decode-data-xml.js +5 -0
  112. package/node_modules/markdown-it/node_modules/entities/dist/generated/decode-data-xml.js.map +1 -0
  113. package/node_modules/markdown-it/node_modules/entities/dist/generated/encode-html.d.ts +5 -0
  114. package/node_modules/markdown-it/node_modules/entities/dist/generated/encode-html.d.ts.map +1 -0
  115. package/node_modules/markdown-it/node_modules/entities/dist/generated/encode-html.js +12 -0
  116. package/node_modules/markdown-it/node_modules/entities/dist/generated/encode-html.js.map +1 -0
  117. package/node_modules/markdown-it/node_modules/entities/{lib/esm → dist}/index.d.ts +14 -21
  118. package/node_modules/markdown-it/node_modules/entities/dist/index.d.ts.map +1 -0
  119. package/node_modules/markdown-it/node_modules/entities/dist/index.js +91 -0
  120. package/node_modules/markdown-it/node_modules/entities/dist/index.js.map +1 -0
  121. package/node_modules/markdown-it/node_modules/entities/dist/internal/bin-trie-flags.d.ts +17 -0
  122. package/node_modules/markdown-it/node_modules/entities/dist/internal/bin-trie-flags.d.ts.map +1 -0
  123. package/node_modules/markdown-it/node_modules/entities/dist/internal/bin-trie-flags.js +18 -0
  124. package/node_modules/markdown-it/node_modules/entities/dist/internal/bin-trie-flags.js.map +1 -0
  125. package/node_modules/markdown-it/node_modules/entities/dist/internal/decode-shared.d.ts +7 -0
  126. package/node_modules/markdown-it/node_modules/entities/dist/internal/decode-shared.d.ts.map +1 -0
  127. package/node_modules/markdown-it/node_modules/entities/dist/internal/decode-shared.js +17 -0
  128. package/node_modules/markdown-it/node_modules/entities/dist/internal/decode-shared.js.map +1 -0
  129. package/node_modules/markdown-it/node_modules/entities/dist/internal/encode-shared.d.ts +33 -0
  130. package/node_modules/markdown-it/node_modules/entities/dist/internal/encode-shared.d.ts.map +1 -0
  131. package/node_modules/markdown-it/node_modules/entities/dist/internal/encode-shared.js +93 -0
  132. package/node_modules/markdown-it/node_modules/entities/dist/internal/encode-shared.js.map +1 -0
  133. package/node_modules/markdown-it/node_modules/entities/package.json +63 -70
  134. package/node_modules/markdown-it/node_modules/entities/readme.md +54 -45
  135. package/node_modules/markdown-it/node_modules/entities/src/decode-codepoint.ts +50 -0
  136. package/node_modules/markdown-it/node_modules/entities/src/decode.ts +671 -0
  137. package/node_modules/markdown-it/node_modules/entities/src/encode.ts +95 -0
  138. package/node_modules/markdown-it/node_modules/entities/src/escape.ts +160 -0
  139. package/node_modules/markdown-it/node_modules/entities/src/generated/decode-data-html.ts +7 -0
  140. package/node_modules/markdown-it/node_modules/entities/src/generated/decode-data-xml.ts +7 -0
  141. package/node_modules/markdown-it/node_modules/entities/src/generated/encode-html.ts +18 -0
  142. package/node_modules/markdown-it/node_modules/entities/src/index.ts +162 -0
  143. package/node_modules/markdown-it/node_modules/entities/src/internal/bin-trie-flags.ts +16 -0
  144. package/node_modules/markdown-it/node_modules/entities/src/internal/decode-shared.ts +18 -0
  145. package/node_modules/markdown-it/node_modules/entities/src/internal/encode-shared.ts +123 -0
  146. package/node_modules/markdown-it/node_modules/linkify-it/README.md +49 -86
  147. package/node_modules/markdown-it/node_modules/linkify-it/build/index.cjs.js +636 -825
  148. package/node_modules/markdown-it/node_modules/linkify-it/build/index.cjs.js.map +1 -0
  149. package/node_modules/markdown-it/node_modules/linkify-it/build/index.d.ts +236 -0
  150. package/node_modules/markdown-it/node_modules/linkify-it/build/index.mjs +538 -0
  151. package/node_modules/markdown-it/node_modules/linkify-it/build/index.mjs.map +1 -0
  152. package/node_modules/markdown-it/node_modules/linkify-it/package.json +23 -20
  153. package/node_modules/markdown-it/node_modules/uc.micro/README.md +18 -1
  154. package/node_modules/markdown-it/node_modules/uc.micro/build/index.cjs.js +13 -18
  155. package/node_modules/markdown-it/node_modules/uc.micro/build/index.d.ts +6 -0
  156. package/node_modules/markdown-it/node_modules/uc.micro/build/index.mjs +8 -0
  157. package/node_modules/markdown-it/node_modules/uc.micro/package.json +12 -17
  158. package/node_modules/markdown-it/package.json +48 -30
  159. package/node_modules/matrix-js-sdk/CHANGELOG.md +33 -0
  160. package/node_modules/matrix-js-sdk/lib/@types/PushRules.d.ts.map +1 -1
  161. package/node_modules/matrix-js-sdk/lib/@types/PushRules.js +0 -5
  162. package/node_modules/matrix-js-sdk/lib/@types/PushRules.js.map +1 -1
  163. package/node_modules/matrix-js-sdk/lib/@types/auth.d.ts +0 -5
  164. package/node_modules/matrix-js-sdk/lib/@types/auth.d.ts.map +1 -1
  165. package/node_modules/matrix-js-sdk/lib/@types/auth.js +0 -11
  166. package/node_modules/matrix-js-sdk/lib/@types/auth.js.map +1 -1
  167. package/node_modules/matrix-js-sdk/lib/@types/beacon.d.ts +1 -1
  168. package/node_modules/matrix-js-sdk/lib/@types/beacon.js +1 -1
  169. package/node_modules/matrix-js-sdk/lib/@types/beacon.js.map +1 -1
  170. package/node_modules/matrix-js-sdk/lib/@types/crypto.d.ts.map +1 -1
  171. package/node_modules/matrix-js-sdk/lib/@types/crypto.js.map +1 -1
  172. package/node_modules/matrix-js-sdk/lib/@types/event.d.ts +3 -1
  173. package/node_modules/matrix-js-sdk/lib/@types/event.d.ts.map +1 -1
  174. package/node_modules/matrix-js-sdk/lib/@types/event.js +1 -0
  175. package/node_modules/matrix-js-sdk/lib/@types/event.js.map +1 -1
  176. package/node_modules/matrix-js-sdk/lib/@types/extensible_events.d.ts.map +1 -1
  177. package/node_modules/matrix-js-sdk/lib/@types/extensible_events.js.map +1 -1
  178. package/node_modules/matrix-js-sdk/lib/@types/matrix-sdk-crypto-wasm.d.js.map +1 -1
  179. package/node_modules/matrix-js-sdk/lib/@types/media.js.map +1 -1
  180. package/node_modules/matrix-js-sdk/lib/@types/partials.d.ts.map +1 -1
  181. package/node_modules/matrix-js-sdk/lib/@types/partials.js.map +1 -1
  182. package/node_modules/matrix-js-sdk/lib/@types/requests.d.ts.map +1 -1
  183. package/node_modules/matrix-js-sdk/lib/@types/requests.js +0 -5
  184. package/node_modules/matrix-js-sdk/lib/@types/requests.js.map +1 -1
  185. package/node_modules/matrix-js-sdk/lib/@types/search.d.ts.map +1 -1
  186. package/node_modules/matrix-js-sdk/lib/@types/search.js +0 -3
  187. package/node_modules/matrix-js-sdk/lib/@types/search.js.map +1 -1
  188. package/node_modules/matrix-js-sdk/lib/@types/spaces.d.ts.map +1 -1
  189. package/node_modules/matrix-js-sdk/lib/@types/spaces.js.map +1 -1
  190. package/node_modules/matrix-js-sdk/lib/@types/synapse.d.ts.map +1 -1
  191. package/node_modules/matrix-js-sdk/lib/@types/synapse.js.map +1 -1
  192. package/node_modules/matrix-js-sdk/lib/@types/threepids.js.map +1 -1
  193. package/node_modules/matrix-js-sdk/lib/@types/type-guards.d.ts +43 -0
  194. package/node_modules/matrix-js-sdk/lib/@types/type-guards.d.ts.map +1 -0
  195. package/node_modules/matrix-js-sdk/lib/@types/type-guards.js +104 -0
  196. package/node_modules/matrix-js-sdk/lib/@types/type-guards.js.map +1 -0
  197. package/node_modules/matrix-js-sdk/lib/NamespacedValue.d.ts.map +1 -1
  198. package/node_modules/matrix-js-sdk/lib/ReEmitter.d.ts.map +1 -1
  199. package/node_modules/matrix-js-sdk/lib/ToDeviceMessageQueue.d.ts.map +1 -1
  200. package/node_modules/matrix-js-sdk/lib/ToDeviceMessageQueue.js +0 -2
  201. package/node_modules/matrix-js-sdk/lib/ToDeviceMessageQueue.js.map +1 -1
  202. package/node_modules/matrix-js-sdk/lib/autodiscovery.d.ts.map +1 -1
  203. package/node_modules/matrix-js-sdk/lib/autodiscovery.js.map +1 -1
  204. package/node_modules/matrix-js-sdk/lib/browser-index.d.ts.map +1 -1
  205. package/node_modules/matrix-js-sdk/lib/browser-index.js +3 -1
  206. package/node_modules/matrix-js-sdk/lib/browser-index.js.map +1 -1
  207. package/node_modules/matrix-js-sdk/lib/capabilityPoller.d.ts.map +1 -1
  208. package/node_modules/matrix-js-sdk/lib/client.d.ts +21 -20
  209. package/node_modules/matrix-js-sdk/lib/client.d.ts.map +1 -1
  210. package/node_modules/matrix-js-sdk/lib/client.js +38 -94
  211. package/node_modules/matrix-js-sdk/lib/client.js.map +1 -1
  212. package/node_modules/matrix-js-sdk/lib/common-crypto/CryptoBackend.d.ts.map +1 -1
  213. package/node_modules/matrix-js-sdk/lib/common-crypto/key-passphrase.d.ts.map +1 -1
  214. package/node_modules/matrix-js-sdk/lib/common-crypto/key-passphrase.js +1 -4
  215. package/node_modules/matrix-js-sdk/lib/common-crypto/key-passphrase.js.map +1 -1
  216. package/node_modules/matrix-js-sdk/lib/content-helpers.d.ts.map +1 -1
  217. package/node_modules/matrix-js-sdk/lib/crypto/store/base.d.ts.map +1 -1
  218. package/node_modules/matrix-js-sdk/lib/crypto/store/base.js +0 -9
  219. package/node_modules/matrix-js-sdk/lib/crypto/store/base.js.map +1 -1
  220. package/node_modules/matrix-js-sdk/lib/crypto/store/indexeddb-crypto-store-backend.d.ts.map +1 -1
  221. package/node_modules/matrix-js-sdk/lib/crypto/store/indexeddb-crypto-store-backend.js +2 -1
  222. package/node_modules/matrix-js-sdk/lib/crypto/store/indexeddb-crypto-store-backend.js.map +1 -1
  223. package/node_modules/matrix-js-sdk/lib/crypto/store/indexeddb-crypto-store.d.ts.map +1 -1
  224. package/node_modules/matrix-js-sdk/lib/crypto/store/indexeddb-crypto-store.js +1 -1
  225. package/node_modules/matrix-js-sdk/lib/crypto/store/indexeddb-crypto-store.js.map +1 -1
  226. package/node_modules/matrix-js-sdk/lib/crypto/store/localStorage-crypto-store.d.ts.map +1 -1
  227. package/node_modules/matrix-js-sdk/lib/crypto/store/localStorage-crypto-store.js +0 -2
  228. package/node_modules/matrix-js-sdk/lib/crypto/store/localStorage-crypto-store.js.map +1 -1
  229. package/node_modules/matrix-js-sdk/lib/crypto/store/memory-crypto-store.d.ts.map +1 -1
  230. package/node_modules/matrix-js-sdk/lib/crypto/store/memory-crypto-store.js.map +1 -1
  231. package/node_modules/matrix-js-sdk/lib/crypto-api/index.d.ts +1 -1
  232. package/node_modules/matrix-js-sdk/lib/crypto-api/index.d.ts.map +1 -1
  233. package/node_modules/matrix-js-sdk/lib/crypto-api/index.js.map +1 -1
  234. package/node_modules/matrix-js-sdk/lib/crypto-api/keybackup.d.ts +13 -6
  235. package/node_modules/matrix-js-sdk/lib/crypto-api/keybackup.d.ts.map +1 -1
  236. package/node_modules/matrix-js-sdk/lib/crypto-api/keybackup.js.map +1 -1
  237. package/node_modules/matrix-js-sdk/lib/crypto-api/verification.d.ts +23 -5
  238. package/node_modules/matrix-js-sdk/lib/crypto-api/verification.d.ts.map +1 -1
  239. package/node_modules/matrix-js-sdk/lib/crypto-api/verification.js.map +1 -1
  240. package/node_modules/matrix-js-sdk/lib/embedded.d.ts +16 -0
  241. package/node_modules/matrix-js-sdk/lib/embedded.d.ts.map +1 -1
  242. package/node_modules/matrix-js-sdk/lib/embedded.js +19 -11
  243. package/node_modules/matrix-js-sdk/lib/embedded.js.map +1 -1
  244. package/node_modules/matrix-js-sdk/lib/errors.d.ts.map +1 -1
  245. package/node_modules/matrix-js-sdk/lib/extensible_events_v1/ExtensibleEvent.d.ts.map +1 -1
  246. package/node_modules/matrix-js-sdk/lib/extensible_events_v1/InvalidEventError.d.ts.map +1 -1
  247. package/node_modules/matrix-js-sdk/lib/extensible_events_v1/MessageEvent.d.ts.map +1 -1
  248. package/node_modules/matrix-js-sdk/lib/extensible_events_v1/PollEndEvent.d.ts.map +1 -1
  249. package/node_modules/matrix-js-sdk/lib/extensible_events_v1/PollResponseEvent.d.ts.map +1 -1
  250. package/node_modules/matrix-js-sdk/lib/extensible_events_v1/PollStartEvent.d.ts.map +1 -1
  251. package/node_modules/matrix-js-sdk/lib/feature.d.ts.map +1 -1
  252. package/node_modules/matrix-js-sdk/lib/feature.js +0 -3
  253. package/node_modules/matrix-js-sdk/lib/feature.js.map +1 -1
  254. package/node_modules/matrix-js-sdk/lib/filter-component.d.ts.map +1 -1
  255. package/node_modules/matrix-js-sdk/lib/filter-component.js +2 -5
  256. package/node_modules/matrix-js-sdk/lib/filter-component.js.map +1 -1
  257. package/node_modules/matrix-js-sdk/lib/filter.d.ts.map +1 -1
  258. package/node_modules/matrix-js-sdk/lib/filter.js +0 -4
  259. package/node_modules/matrix-js-sdk/lib/filter.js.map +1 -1
  260. package/node_modules/matrix-js-sdk/lib/http-api/errors.d.ts.map +1 -1
  261. package/node_modules/matrix-js-sdk/lib/http-api/fetch.d.ts +1 -1
  262. package/node_modules/matrix-js-sdk/lib/http-api/fetch.d.ts.map +1 -1
  263. package/node_modules/matrix-js-sdk/lib/http-api/fetch.js.map +1 -1
  264. package/node_modules/matrix-js-sdk/lib/http-api/index.d.ts +1 -7
  265. package/node_modules/matrix-js-sdk/lib/http-api/index.d.ts.map +1 -1
  266. package/node_modules/matrix-js-sdk/lib/http-api/index.js +0 -15
  267. package/node_modules/matrix-js-sdk/lib/http-api/index.js.map +1 -1
  268. package/node_modules/matrix-js-sdk/lib/http-api/interface.d.ts +0 -9
  269. package/node_modules/matrix-js-sdk/lib/http-api/interface.d.ts.map +1 -1
  270. package/node_modules/matrix-js-sdk/lib/http-api/interface.js +0 -2
  271. package/node_modules/matrix-js-sdk/lib/http-api/interface.js.map +1 -1
  272. package/node_modules/matrix-js-sdk/lib/http-api/refresh.d.ts.map +1 -1
  273. package/node_modules/matrix-js-sdk/lib/http-api/refresh.js +0 -3
  274. package/node_modules/matrix-js-sdk/lib/http-api/refresh.js.map +1 -1
  275. package/node_modules/matrix-js-sdk/lib/index.d.ts.map +1 -1
  276. package/node_modules/matrix-js-sdk/lib/interactive-auth.d.ts.map +1 -1
  277. package/node_modules/matrix-js-sdk/lib/interactive-auth.js +5 -6
  278. package/node_modules/matrix-js-sdk/lib/interactive-auth.js.map +1 -1
  279. package/node_modules/matrix-js-sdk/lib/logger.d.ts.map +1 -1
  280. package/node_modules/matrix-js-sdk/lib/logger.js +0 -2
  281. package/node_modules/matrix-js-sdk/lib/logger.js.map +1 -1
  282. package/node_modules/matrix-js-sdk/lib/matrix.d.ts +1 -1
  283. package/node_modules/matrix-js-sdk/lib/matrix.d.ts.map +1 -1
  284. package/node_modules/matrix-js-sdk/lib/matrix.js +1 -1
  285. package/node_modules/matrix-js-sdk/lib/matrix.js.map +1 -1
  286. package/node_modules/matrix-js-sdk/lib/matrixrtc/CallMembership.d.ts +3 -3
  287. package/node_modules/matrix-js-sdk/lib/matrixrtc/CallMembership.d.ts.map +1 -1
  288. package/node_modules/matrix-js-sdk/lib/matrixrtc/CallMembership.js +5 -5
  289. package/node_modules/matrix-js-sdk/lib/matrixrtc/CallMembership.js.map +1 -1
  290. package/node_modules/matrix-js-sdk/lib/matrixrtc/LivekitTransport.d.ts.map +1 -1
  291. package/node_modules/matrix-js-sdk/lib/matrixrtc/MatrixRTCSession.d.ts +18 -1
  292. package/node_modules/matrix-js-sdk/lib/matrixrtc/MatrixRTCSession.d.ts.map +1 -1
  293. package/node_modules/matrix-js-sdk/lib/matrixrtc/MatrixRTCSession.js +56 -4
  294. package/node_modules/matrix-js-sdk/lib/matrixrtc/MatrixRTCSession.js.map +1 -1
  295. package/node_modules/matrix-js-sdk/lib/matrixrtc/MatrixRTCSessionManager.d.ts +14 -1
  296. package/node_modules/matrix-js-sdk/lib/matrixrtc/MatrixRTCSessionManager.d.ts.map +1 -1
  297. package/node_modules/matrix-js-sdk/lib/matrixrtc/MatrixRTCSessionManager.js +20 -1
  298. package/node_modules/matrix-js-sdk/lib/matrixrtc/MatrixRTCSessionManager.js.map +1 -1
  299. package/node_modules/matrix-js-sdk/lib/matrixrtc/MembershipManager.d.ts.map +1 -1
  300. package/node_modules/matrix-js-sdk/lib/matrixrtc/MembershipManager.js +9 -6
  301. package/node_modules/matrix-js-sdk/lib/matrixrtc/MembershipManager.js.map +1 -1
  302. package/node_modules/matrix-js-sdk/lib/matrixrtc/MembershipManagerActionScheduler.d.ts.map +1 -1
  303. package/node_modules/matrix-js-sdk/lib/matrixrtc/MembershipManagerActionScheduler.js.map +1 -1
  304. package/node_modules/matrix-js-sdk/lib/matrixrtc/RTCEncryptionManager.d.ts.map +1 -1
  305. package/node_modules/matrix-js-sdk/lib/matrixrtc/RTCEncryptionManager.js.map +1 -1
  306. package/node_modules/matrix-js-sdk/lib/matrixrtc/ToDeviceKeyTransport.d.ts.map +1 -1
  307. package/node_modules/matrix-js-sdk/lib/matrixrtc/ToDeviceKeyTransport.js.map +1 -1
  308. package/node_modules/matrix-js-sdk/lib/matrixrtc/index.d.ts +1 -1
  309. package/node_modules/matrix-js-sdk/lib/matrixrtc/index.d.ts.map +1 -1
  310. package/node_modules/matrix-js-sdk/lib/matrixrtc/index.js +1 -1
  311. package/node_modules/matrix-js-sdk/lib/matrixrtc/index.js.map +1 -1
  312. package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/common.d.ts.map +1 -1
  313. package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/rtc.d.ts +6 -3
  314. package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/rtc.d.ts.map +1 -1
  315. package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/rtc.js +7 -4
  316. package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/rtc.js.map +1 -1
  317. package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/session.d.ts.map +1 -1
  318. package/node_modules/matrix-js-sdk/lib/matrixrtc/types.d.ts +19 -6
  319. package/node_modules/matrix-js-sdk/lib/matrixrtc/types.d.ts.map +1 -1
  320. package/node_modules/matrix-js-sdk/lib/matrixrtc/types.js +11 -1
  321. package/node_modules/matrix-js-sdk/lib/matrixrtc/types.js.map +1 -1
  322. package/node_modules/matrix-js-sdk/lib/matrixrtc/utils.d.ts +0 -1
  323. package/node_modules/matrix-js-sdk/lib/matrixrtc/utils.d.ts.map +1 -1
  324. package/node_modules/matrix-js-sdk/lib/matrixrtc/utils.js +0 -1
  325. package/node_modules/matrix-js-sdk/lib/matrixrtc/utils.js.map +1 -1
  326. package/node_modules/matrix-js-sdk/lib/models/MSC3089Branch.d.ts.map +1 -1
  327. package/node_modules/matrix-js-sdk/lib/models/MSC3089TreeSpace.d.ts.map +1 -1
  328. package/node_modules/matrix-js-sdk/lib/models/beacon.d.ts.map +1 -1
  329. package/node_modules/matrix-js-sdk/lib/models/device.d.ts.map +1 -1
  330. package/node_modules/matrix-js-sdk/lib/models/event-context.d.ts.map +1 -1
  331. package/node_modules/matrix-js-sdk/lib/models/event-timeline-set.d.ts.map +1 -1
  332. package/node_modules/matrix-js-sdk/lib/models/event-timeline-set.js +3 -3
  333. package/node_modules/matrix-js-sdk/lib/models/event-timeline-set.js.map +1 -1
  334. package/node_modules/matrix-js-sdk/lib/models/event-timeline.d.ts.map +1 -1
  335. package/node_modules/matrix-js-sdk/lib/models/event.d.ts.map +1 -1
  336. package/node_modules/matrix-js-sdk/lib/models/event.js +0 -6
  337. package/node_modules/matrix-js-sdk/lib/models/event.js.map +1 -1
  338. package/node_modules/matrix-js-sdk/lib/models/invites-ignorer.d.ts.map +1 -1
  339. package/node_modules/matrix-js-sdk/lib/models/invites-ignorer.js.map +1 -1
  340. package/node_modules/matrix-js-sdk/lib/models/poll.d.ts.map +1 -1
  341. package/node_modules/matrix-js-sdk/lib/models/poll.js.map +1 -1
  342. package/node_modules/matrix-js-sdk/lib/models/read-receipt.d.ts.map +1 -1
  343. package/node_modules/matrix-js-sdk/lib/models/read-receipt.js.map +1 -1
  344. package/node_modules/matrix-js-sdk/lib/models/related-relations.d.ts.map +1 -1
  345. package/node_modules/matrix-js-sdk/lib/models/relations-container.d.ts +10 -0
  346. package/node_modules/matrix-js-sdk/lib/models/relations-container.d.ts.map +1 -1
  347. package/node_modules/matrix-js-sdk/lib/models/relations-container.js +39 -17
  348. package/node_modules/matrix-js-sdk/lib/models/relations-container.js.map +1 -1
  349. package/node_modules/matrix-js-sdk/lib/models/relations.d.ts.map +1 -1
  350. package/node_modules/matrix-js-sdk/lib/models/relations.js +1 -1
  351. package/node_modules/matrix-js-sdk/lib/models/relations.js.map +1 -1
  352. package/node_modules/matrix-js-sdk/lib/models/room-member.d.ts.map +1 -1
  353. package/node_modules/matrix-js-sdk/lib/models/room-receipts.d.ts.map +1 -1
  354. package/node_modules/matrix-js-sdk/lib/models/room-retention.d.ts.map +1 -1
  355. package/node_modules/matrix-js-sdk/lib/models/room-state.d.ts.map +1 -1
  356. package/node_modules/matrix-js-sdk/lib/models/room-state.js.map +1 -1
  357. package/node_modules/matrix-js-sdk/lib/models/room-sticky-events.d.ts.map +1 -1
  358. package/node_modules/matrix-js-sdk/lib/models/room-summary.d.ts.map +1 -1
  359. package/node_modules/matrix-js-sdk/lib/models/room.d.ts.map +1 -1
  360. package/node_modules/matrix-js-sdk/lib/models/room.js +9 -9
  361. package/node_modules/matrix-js-sdk/lib/models/room.js.map +1 -1
  362. package/node_modules/matrix-js-sdk/lib/models/search-result.d.ts.map +1 -1
  363. package/node_modules/matrix-js-sdk/lib/models/thread.d.ts +5 -2
  364. package/node_modules/matrix-js-sdk/lib/models/thread.d.ts.map +1 -1
  365. package/node_modules/matrix-js-sdk/lib/models/thread.js +36 -3
  366. package/node_modules/matrix-js-sdk/lib/models/thread.js.map +1 -1
  367. package/node_modules/matrix-js-sdk/lib/models/typed-event-emitter.d.ts.map +1 -1
  368. package/node_modules/matrix-js-sdk/lib/models/user.d.ts.map +1 -1
  369. package/node_modules/matrix-js-sdk/lib/oauth/authorize.d.ts +133 -0
  370. package/node_modules/matrix-js-sdk/lib/oauth/authorize.d.ts.map +1 -0
  371. package/node_modules/matrix-js-sdk/lib/oauth/authorize.js +193 -0
  372. package/node_modules/matrix-js-sdk/lib/oauth/authorize.js.map +1 -0
  373. package/node_modules/matrix-js-sdk/lib/oauth/discover.d.ts +58 -0
  374. package/node_modules/matrix-js-sdk/lib/oauth/discover.d.ts.map +1 -0
  375. package/node_modules/matrix-js-sdk/lib/oauth/discover.js +35 -0
  376. package/node_modules/matrix-js-sdk/lib/oauth/discover.js.map +1 -0
  377. package/node_modules/matrix-js-sdk/lib/oauth/error.d.ts +19 -0
  378. package/node_modules/matrix-js-sdk/lib/oauth/error.d.ts.map +1 -0
  379. package/node_modules/matrix-js-sdk/lib/oauth/error.js +36 -0
  380. package/node_modules/matrix-js-sdk/lib/oauth/error.js.map +1 -0
  381. package/node_modules/matrix-js-sdk/lib/oauth/index.d.ts +87 -0
  382. package/node_modules/matrix-js-sdk/lib/oauth/index.d.ts.map +1 -0
  383. package/node_modules/matrix-js-sdk/lib/oauth/index.js +236 -0
  384. package/node_modules/matrix-js-sdk/lib/oauth/index.js.map +1 -0
  385. package/node_modules/matrix-js-sdk/lib/oauth/register.d.ts +136 -0
  386. package/node_modules/matrix-js-sdk/lib/oauth/register.d.ts.map +1 -0
  387. package/node_modules/matrix-js-sdk/lib/oauth/register.js +73 -0
  388. package/node_modules/matrix-js-sdk/lib/oauth/register.js.map +1 -0
  389. package/node_modules/matrix-js-sdk/lib/oauth/tokenRefresher.d.ts +21 -0
  390. package/node_modules/matrix-js-sdk/lib/oauth/tokenRefresher.d.ts.map +1 -0
  391. package/node_modules/matrix-js-sdk/lib/oauth/tokenRefresher.js +68 -0
  392. package/node_modules/matrix-js-sdk/lib/oauth/tokenRefresher.js.map +1 -0
  393. package/node_modules/matrix-js-sdk/lib/pollingCachedValue.d.ts +77 -0
  394. package/node_modules/matrix-js-sdk/lib/pollingCachedValue.d.ts.map +1 -0
  395. package/node_modules/matrix-js-sdk/lib/pollingCachedValue.js +160 -0
  396. package/node_modules/matrix-js-sdk/lib/pollingCachedValue.js.map +1 -0
  397. package/node_modules/matrix-js-sdk/lib/pushprocessor.d.ts.map +1 -1
  398. package/node_modules/matrix-js-sdk/lib/pushprocessor.js.map +1 -1
  399. package/node_modules/matrix-js-sdk/lib/realtime-callbacks.js +0 -1
  400. package/node_modules/matrix-js-sdk/lib/realtime-callbacks.js.map +1 -1
  401. package/node_modules/matrix-js-sdk/lib/receipt-accumulator.d.ts.map +1 -1
  402. package/node_modules/matrix-js-sdk/lib/receipt-accumulator.js.map +1 -1
  403. package/node_modules/matrix-js-sdk/lib/rendezvous/MSC4108SignInWithQR.d.ts +7 -7
  404. package/node_modules/matrix-js-sdk/lib/rendezvous/MSC4108SignInWithQR.d.ts.map +1 -1
  405. package/node_modules/matrix-js-sdk/lib/rendezvous/MSC4108SignInWithQR.js +13 -14
  406. package/node_modules/matrix-js-sdk/lib/rendezvous/MSC4108SignInWithQR.js.map +1 -1
  407. package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousError.d.ts.map +1 -1
  408. package/node_modules/matrix-js-sdk/lib/rendezvous/channels/MSC4108SecureChannel.d.ts.map +1 -1
  409. package/node_modules/matrix-js-sdk/lib/rendezvous/index.d.ts.map +1 -1
  410. package/node_modules/matrix-js-sdk/lib/rendezvous/index.js.map +1 -1
  411. package/node_modules/matrix-js-sdk/lib/rendezvous/transports/MSC4108RendezvousSession.d.ts.map +1 -1
  412. package/node_modules/matrix-js-sdk/lib/rendezvous/transports/MSC4108RendezvousSession.js +0 -1
  413. package/node_modules/matrix-js-sdk/lib/rendezvous/transports/MSC4108RendezvousSession.js.map +1 -1
  414. package/node_modules/matrix-js-sdk/lib/retentionPolicy.d.ts.map +1 -1
  415. package/node_modules/matrix-js-sdk/lib/room-hierarchy.d.ts.map +1 -1
  416. package/node_modules/matrix-js-sdk/lib/rtcTransportsCachedValue.d.ts +9 -0
  417. package/node_modules/matrix-js-sdk/lib/rtcTransportsCachedValue.d.ts.map +1 -0
  418. package/node_modules/matrix-js-sdk/lib/rtcTransportsCachedValue.js +38 -0
  419. package/node_modules/matrix-js-sdk/lib/rtcTransportsCachedValue.js.map +1 -0
  420. package/node_modules/matrix-js-sdk/lib/rust-crypto/CrossSigningIdentity.d.ts.map +1 -1
  421. package/node_modules/matrix-js-sdk/lib/rust-crypto/DehydratedDeviceManager.d.ts.map +1 -1
  422. package/node_modules/matrix-js-sdk/lib/rust-crypto/DehydratedDeviceManager.js +11 -13
  423. package/node_modules/matrix-js-sdk/lib/rust-crypto/DehydratedDeviceManager.js.map +1 -1
  424. package/node_modules/matrix-js-sdk/lib/rust-crypto/KeyClaimManager.d.ts.map +1 -1
  425. package/node_modules/matrix-js-sdk/lib/rust-crypto/OutgoingRequestProcessor.d.ts.map +1 -1
  426. package/node_modules/matrix-js-sdk/lib/rust-crypto/OutgoingRequestProcessor.js +0 -2
  427. package/node_modules/matrix-js-sdk/lib/rust-crypto/OutgoingRequestProcessor.js.map +1 -1
  428. package/node_modules/matrix-js-sdk/lib/rust-crypto/OutgoingRequestsManager.d.ts.map +1 -1
  429. package/node_modules/matrix-js-sdk/lib/rust-crypto/PerSessionKeyBackupDownloader.d.ts.map +1 -1
  430. package/node_modules/matrix-js-sdk/lib/rust-crypto/PerSessionKeyBackupDownloader.js.map +1 -1
  431. package/node_modules/matrix-js-sdk/lib/rust-crypto/RoomEncryptor.d.ts.map +1 -1
  432. package/node_modules/matrix-js-sdk/lib/rust-crypto/backup.d.ts +23 -4
  433. package/node_modules/matrix-js-sdk/lib/rust-crypto/backup.d.ts.map +1 -1
  434. package/node_modules/matrix-js-sdk/lib/rust-crypto/backup.js +62 -21
  435. package/node_modules/matrix-js-sdk/lib/rust-crypto/backup.js.map +1 -1
  436. package/node_modules/matrix-js-sdk/lib/rust-crypto/device-converter.d.ts.map +1 -1
  437. package/node_modules/matrix-js-sdk/lib/rust-crypto/device-converter.js +1 -0
  438. package/node_modules/matrix-js-sdk/lib/rust-crypto/device-converter.js.map +1 -1
  439. package/node_modules/matrix-js-sdk/lib/rust-crypto/index.d.ts +17 -4
  440. package/node_modules/matrix-js-sdk/lib/rust-crypto/index.d.ts.map +1 -1
  441. package/node_modules/matrix-js-sdk/lib/rust-crypto/index.js +21 -4
  442. package/node_modules/matrix-js-sdk/lib/rust-crypto/index.js.map +1 -1
  443. package/node_modules/matrix-js-sdk/lib/rust-crypto/libolm_migration.d.ts.map +1 -1
  444. package/node_modules/matrix-js-sdk/lib/rust-crypto/libolm_migration.js +0 -2
  445. package/node_modules/matrix-js-sdk/lib/rust-crypto/libolm_migration.js.map +1 -1
  446. package/node_modules/matrix-js-sdk/lib/rust-crypto/rust-crypto.d.ts.map +1 -1
  447. package/node_modules/matrix-js-sdk/lib/rust-crypto/rust-crypto.js +0 -3
  448. package/node_modules/matrix-js-sdk/lib/rust-crypto/rust-crypto.js.map +1 -1
  449. package/node_modules/matrix-js-sdk/lib/rust-crypto/verification.d.ts.map +1 -1
  450. package/node_modules/matrix-js-sdk/lib/scheduler.d.ts.map +1 -1
  451. package/node_modules/matrix-js-sdk/lib/scheduler.js +0 -3
  452. package/node_modules/matrix-js-sdk/lib/scheduler.js.map +1 -1
  453. package/node_modules/matrix-js-sdk/lib/secret-storage.d.ts.map +1 -1
  454. package/node_modules/matrix-js-sdk/lib/serverCapabilities.d.ts.map +1 -1
  455. package/node_modules/matrix-js-sdk/lib/sliding-sync-sdk.d.ts.map +1 -1
  456. package/node_modules/matrix-js-sdk/lib/sliding-sync-sdk.js +6 -0
  457. package/node_modules/matrix-js-sdk/lib/sliding-sync-sdk.js.map +1 -1
  458. package/node_modules/matrix-js-sdk/lib/sliding-sync.d.ts.map +1 -1
  459. package/node_modules/matrix-js-sdk/lib/sliding-sync.js +3 -0
  460. package/node_modules/matrix-js-sdk/lib/sliding-sync.js.map +1 -1
  461. package/node_modules/matrix-js-sdk/lib/store/indexeddb-local-backend.d.ts.map +1 -1
  462. package/node_modules/matrix-js-sdk/lib/store/indexeddb-local-backend.js +1 -1
  463. package/node_modules/matrix-js-sdk/lib/store/indexeddb-local-backend.js.map +1 -1
  464. package/node_modules/matrix-js-sdk/lib/store/indexeddb-remote-backend.d.ts.map +1 -1
  465. package/node_modules/matrix-js-sdk/lib/store/indexeddb-store-worker.d.ts.map +1 -1
  466. package/node_modules/matrix-js-sdk/lib/store/indexeddb-store-worker.js +1 -0
  467. package/node_modules/matrix-js-sdk/lib/store/indexeddb-store-worker.js.map +1 -1
  468. package/node_modules/matrix-js-sdk/lib/store/indexeddb.d.ts.map +1 -1
  469. package/node_modules/matrix-js-sdk/lib/store/indexeddb.js +0 -2
  470. package/node_modules/matrix-js-sdk/lib/store/indexeddb.js.map +1 -1
  471. package/node_modules/matrix-js-sdk/lib/store/memory.d.ts.map +1 -1
  472. package/node_modules/matrix-js-sdk/lib/store/memory.js +7 -9
  473. package/node_modules/matrix-js-sdk/lib/store/memory.js.map +1 -1
  474. package/node_modules/matrix-js-sdk/lib/store/stub.d.ts.map +1 -1
  475. package/node_modules/matrix-js-sdk/lib/sync-accumulator.d.ts.map +1 -1
  476. package/node_modules/matrix-js-sdk/lib/sync-accumulator.js +1 -5
  477. package/node_modules/matrix-js-sdk/lib/sync-accumulator.js.map +1 -1
  478. package/node_modules/matrix-js-sdk/lib/sync.d.ts.map +1 -1
  479. package/node_modules/matrix-js-sdk/lib/sync.js +1 -1
  480. package/node_modules/matrix-js-sdk/lib/sync.js.map +1 -1
  481. package/node_modules/matrix-js-sdk/lib/testing.d.ts +2 -10
  482. package/node_modules/matrix-js-sdk/lib/testing.d.ts.map +1 -1
  483. package/node_modules/matrix-js-sdk/lib/testing.js +4 -19
  484. package/node_modules/matrix-js-sdk/lib/testing.js.map +1 -1
  485. package/node_modules/matrix-js-sdk/lib/timeline-window.d.ts.map +1 -1
  486. package/node_modules/matrix-js-sdk/lib/timeline-window.js +0 -1
  487. package/node_modules/matrix-js-sdk/lib/timeline-window.js.map +1 -1
  488. package/node_modules/matrix-js-sdk/lib/utils/internal/deriveKeys.d.ts.map +1 -1
  489. package/node_modules/matrix-js-sdk/lib/utils/internal/deriveKeys.js +0 -1
  490. package/node_modules/matrix-js-sdk/lib/utils/internal/deriveKeys.js.map +1 -1
  491. package/node_modules/matrix-js-sdk/lib/utils.d.ts +1 -1
  492. package/node_modules/matrix-js-sdk/lib/utils.d.ts.map +1 -1
  493. package/node_modules/matrix-js-sdk/lib/utils.js +1 -0
  494. package/node_modules/matrix-js-sdk/lib/utils.js.map +1 -1
  495. package/node_modules/matrix-js-sdk/lib/webrtc/call.d.ts.map +1 -1
  496. package/node_modules/matrix-js-sdk/lib/webrtc/call.js.map +1 -1
  497. package/node_modules/matrix-js-sdk/lib/webrtc/callEventHandler.d.ts.map +1 -1
  498. package/node_modules/matrix-js-sdk/lib/webrtc/callEventTypes.d.ts.map +1 -1
  499. package/node_modules/matrix-js-sdk/lib/webrtc/callEventTypes.js +0 -5
  500. package/node_modules/matrix-js-sdk/lib/webrtc/callEventTypes.js.map +1 -1
  501. package/node_modules/matrix-js-sdk/lib/webrtc/callFeed.d.ts.map +1 -1
  502. package/node_modules/matrix-js-sdk/lib/webrtc/groupCall.d.ts.map +1 -1
  503. package/node_modules/matrix-js-sdk/lib/webrtc/groupCall.js.map +1 -1
  504. package/node_modules/matrix-js-sdk/lib/webrtc/groupCallEventHandler.d.ts.map +1 -1
  505. package/node_modules/matrix-js-sdk/lib/webrtc/mediaHandler.d.ts.map +1 -1
  506. package/node_modules/matrix-js-sdk/lib/webrtc/mediaHandler.js.map +1 -1
  507. package/node_modules/matrix-js-sdk/lib/webrtc/stats/callFeedStatsReporter.d.ts.map +1 -1
  508. package/node_modules/matrix-js-sdk/lib/webrtc/stats/callStatsReportGatherer.d.ts.map +1 -1
  509. package/node_modules/matrix-js-sdk/lib/webrtc/stats/callStatsReportGatherer.js.map +1 -1
  510. package/node_modules/matrix-js-sdk/lib/webrtc/stats/connectionStatsBuilder.d.ts.map +1 -1
  511. package/node_modules/matrix-js-sdk/lib/webrtc/stats/connectionStatsReportBuilder.d.ts.map +1 -1
  512. package/node_modules/matrix-js-sdk/lib/webrtc/stats/groupCallStats.d.ts.map +1 -1
  513. package/node_modules/matrix-js-sdk/lib/webrtc/stats/media/mediaSsrcHandler.d.ts.map +1 -1
  514. package/node_modules/matrix-js-sdk/lib/webrtc/stats/media/mediaTrackHandler.d.ts.map +1 -1
  515. package/node_modules/matrix-js-sdk/lib/webrtc/stats/media/mediaTrackStats.d.ts.map +1 -1
  516. package/node_modules/matrix-js-sdk/lib/webrtc/stats/media/mediaTrackStatsHandler.d.ts.map +1 -1
  517. package/node_modules/matrix-js-sdk/lib/webrtc/stats/statsReportEmitter.d.ts.map +1 -1
  518. package/node_modules/matrix-js-sdk/lib/webrtc/stats/summaryStatsReportGatherer.d.ts.map +1 -1
  519. package/node_modules/matrix-js-sdk/lib/webrtc/stats/trackStatsBuilder.d.ts.map +1 -1
  520. package/node_modules/matrix-js-sdk/lib/webrtc/stats/transportStatsBuilder.d.ts.map +1 -1
  521. package/node_modules/matrix-js-sdk/lib/webrtc/stats/transportStatsBuilder.js.map +1 -1
  522. package/node_modules/matrix-js-sdk/lib/webrtc/stats/valueFormatter.d.ts.map +1 -1
  523. package/node_modules/matrix-js-sdk/lib/wellKnownCachedValue.d.ts +8 -0
  524. package/node_modules/matrix-js-sdk/lib/wellKnownCachedValue.d.ts.map +1 -0
  525. package/node_modules/matrix-js-sdk/lib/wellKnownCachedValue.js +34 -0
  526. package/node_modules/matrix-js-sdk/lib/wellKnownCachedValue.js.map +1 -0
  527. package/node_modules/matrix-js-sdk/node_modules/content-type/README.md +2 -0
  528. package/node_modules/matrix-js-sdk/node_modules/content-type/dist/index.d.ts +20 -0
  529. package/node_modules/matrix-js-sdk/node_modules/content-type/dist/index.js +20 -14
  530. package/node_modules/matrix-js-sdk/node_modules/content-type/dist/index.js.map +1 -1
  531. package/node_modules/matrix-js-sdk/node_modules/content-type/package.json +1 -1
  532. package/node_modules/matrix-js-sdk/node_modules/matrix-widget-api/dist/api.js +227 -131
  533. package/node_modules/matrix-js-sdk/node_modules/matrix-widget-api/dist/api.min.js +1 -1
  534. package/node_modules/matrix-js-sdk/node_modules/matrix-widget-api/lib/ClientWidgetApi.d.ts +1 -0
  535. package/node_modules/matrix-js-sdk/node_modules/matrix-widget-api/lib/ClientWidgetApi.js +142 -97
  536. package/node_modules/matrix-js-sdk/node_modules/matrix-widget-api/lib/ClientWidgetApi.js.map +1 -1
  537. package/node_modules/matrix-js-sdk/node_modules/matrix-widget-api/lib/WidgetApi.d.ts +15 -0
  538. package/node_modules/matrix-js-sdk/node_modules/matrix-widget-api/lib/WidgetApi.js +61 -19
  539. package/node_modules/matrix-js-sdk/node_modules/matrix-widget-api/lib/WidgetApi.js.map +1 -1
  540. package/node_modules/matrix-js-sdk/node_modules/matrix-widget-api/lib/driver/WidgetDriver.d.ts +15 -11
  541. package/node_modules/matrix-js-sdk/node_modules/matrix-widget-api/lib/driver/WidgetDriver.js +19 -13
  542. package/node_modules/matrix-js-sdk/node_modules/matrix-widget-api/lib/driver/WidgetDriver.js.map +1 -1
  543. package/node_modules/matrix-js-sdk/node_modules/matrix-widget-api/lib/index.d.ts +1 -0
  544. package/node_modules/matrix-js-sdk/node_modules/matrix-widget-api/lib/index.js.map +1 -1
  545. package/node_modules/matrix-js-sdk/node_modules/matrix-widget-api/lib/interfaces/ApiVersion.d.ts +2 -1
  546. package/node_modules/matrix-js-sdk/node_modules/matrix-widget-api/lib/interfaces/ApiVersion.js +2 -1
  547. package/node_modules/matrix-js-sdk/node_modules/matrix-widget-api/lib/interfaces/ApiVersion.js.map +1 -1
  548. package/node_modules/matrix-js-sdk/node_modules/matrix-widget-api/lib/interfaces/Capabilities.d.ts +5 -1
  549. package/node_modules/matrix-js-sdk/node_modules/matrix-widget-api/lib/interfaces/Capabilities.js +1 -0
  550. package/node_modules/matrix-js-sdk/node_modules/matrix-widget-api/lib/interfaces/Capabilities.js.map +1 -1
  551. package/node_modules/matrix-js-sdk/node_modules/matrix-widget-api/lib/interfaces/RtcTransportsAction.d.ts +24 -0
  552. package/node_modules/matrix-js-sdk/node_modules/matrix-widget-api/lib/interfaces/RtcTransportsAction.js +6 -0
  553. package/node_modules/matrix-js-sdk/node_modules/matrix-widget-api/lib/interfaces/RtcTransportsAction.js.map +1 -0
  554. package/node_modules/matrix-js-sdk/node_modules/matrix-widget-api/lib/interfaces/SendEventAction.d.ts +1 -0
  555. package/node_modules/matrix-js-sdk/node_modules/matrix-widget-api/lib/interfaces/SendEventAction.js.map +1 -1
  556. package/node_modules/matrix-js-sdk/node_modules/matrix-widget-api/lib/interfaces/WidgetApiAction.d.ts +5 -1
  557. package/node_modules/matrix-js-sdk/node_modules/matrix-widget-api/lib/interfaces/WidgetApiAction.js +1 -0
  558. package/node_modules/matrix-js-sdk/node_modules/matrix-widget-api/lib/interfaces/WidgetApiAction.js.map +1 -1
  559. package/node_modules/matrix-js-sdk/node_modules/matrix-widget-api/package.json +1 -1
  560. package/node_modules/matrix-js-sdk/node_modules/matrix-widget-api/src/ClientWidgetApi.ts +37 -14
  561. package/node_modules/matrix-js-sdk/node_modules/matrix-widget-api/src/WidgetApi.ts +69 -0
  562. package/node_modules/matrix-js-sdk/node_modules/matrix-widget-api/src/driver/WidgetDriver.ts +19 -12
  563. package/node_modules/matrix-js-sdk/node_modules/matrix-widget-api/src/index.ts +1 -0
  564. package/node_modules/matrix-js-sdk/node_modules/matrix-widget-api/src/interfaces/ApiVersion.ts +2 -0
  565. package/node_modules/matrix-js-sdk/node_modules/matrix-widget-api/src/interfaces/Capabilities.ts +4 -0
  566. package/node_modules/matrix-js-sdk/node_modules/matrix-widget-api/src/interfaces/RtcTransportsAction.ts +44 -0
  567. package/node_modules/matrix-js-sdk/node_modules/matrix-widget-api/src/interfaces/SendEventAction.ts +1 -0
  568. package/node_modules/matrix-js-sdk/node_modules/matrix-widget-api/src/interfaces/WidgetApiAction.ts +5 -0
  569. package/node_modules/matrix-js-sdk/package.json +10 -12
  570. package/node_modules/matrix-js-sdk/src/@types/PushRules.ts +0 -5
  571. package/node_modules/matrix-js-sdk/src/@types/auth.ts +0 -12
  572. package/node_modules/matrix-js-sdk/src/@types/beacon.ts +1 -1
  573. package/node_modules/matrix-js-sdk/src/@types/crypto.ts +2 -6
  574. package/node_modules/matrix-js-sdk/src/@types/event.ts +3 -0
  575. package/node_modules/matrix-js-sdk/src/@types/extensible_events.ts +5 -6
  576. package/node_modules/matrix-js-sdk/src/@types/matrix-sdk-crypto-wasm.d.ts +0 -1
  577. package/node_modules/matrix-js-sdk/src/@types/media.ts +1 -1
  578. package/node_modules/matrix-js-sdk/src/@types/partials.ts +0 -2
  579. package/node_modules/matrix-js-sdk/src/@types/requests.ts +0 -5
  580. package/node_modules/matrix-js-sdk/src/@types/search.ts +0 -2
  581. package/node_modules/matrix-js-sdk/src/@types/spaces.ts +0 -2
  582. package/node_modules/matrix-js-sdk/src/@types/synapse.ts +0 -2
  583. package/node_modules/matrix-js-sdk/src/@types/threepids.ts +2 -2
  584. package/node_modules/matrix-js-sdk/src/@types/type-guards.ts +126 -0
  585. package/node_modules/matrix-js-sdk/src/ToDeviceMessageQueue.ts +0 -2
  586. package/node_modules/matrix-js-sdk/src/autodiscovery.ts +2 -2
  587. package/node_modules/matrix-js-sdk/src/browser-index.ts +4 -4
  588. package/node_modules/matrix-js-sdk/src/client.ts +79 -130
  589. package/node_modules/matrix-js-sdk/src/common-crypto/key-passphrase.ts +1 -2
  590. package/node_modules/matrix-js-sdk/src/crypto/store/base.ts +1 -8
  591. package/node_modules/matrix-js-sdk/src/crypto/store/indexeddb-crypto-store-backend.ts +3 -2
  592. package/node_modules/matrix-js-sdk/src/crypto/store/indexeddb-crypto-store.ts +1 -3
  593. package/node_modules/matrix-js-sdk/src/crypto/store/localStorage-crypto-store.ts +0 -1
  594. package/node_modules/matrix-js-sdk/src/crypto/store/memory-crypto-store.ts +1 -1
  595. package/node_modules/matrix-js-sdk/src/crypto-api/index.ts +1 -1
  596. package/node_modules/matrix-js-sdk/src/crypto-api/keybackup.ts +14 -7
  597. package/node_modules/matrix-js-sdk/src/crypto-api/verification.ts +23 -5
  598. package/node_modules/matrix-js-sdk/src/embedded.ts +34 -16
  599. package/node_modules/matrix-js-sdk/src/feature.ts +0 -3
  600. package/node_modules/matrix-js-sdk/src/filter-component.ts +1 -2
  601. package/node_modules/matrix-js-sdk/src/filter.ts +0 -3
  602. package/node_modules/matrix-js-sdk/src/http-api/fetch.ts +1 -1
  603. package/node_modules/matrix-js-sdk/src/http-api/index.ts +1 -23
  604. package/node_modules/matrix-js-sdk/src/http-api/interface.ts +0 -12
  605. package/node_modules/matrix-js-sdk/src/http-api/refresh.ts +0 -1
  606. package/node_modules/matrix-js-sdk/src/interactive-auth.ts +4 -4
  607. package/node_modules/matrix-js-sdk/src/logger.ts +0 -2
  608. package/node_modules/matrix-js-sdk/src/matrix.ts +1 -1
  609. package/node_modules/matrix-js-sdk/src/matrixrtc/CallMembership.ts +5 -5
  610. package/node_modules/matrix-js-sdk/src/matrixrtc/MatrixRTCSession.ts +73 -6
  611. package/node_modules/matrix-js-sdk/src/matrixrtc/MatrixRTCSessionManager.ts +21 -2
  612. package/node_modules/matrix-js-sdk/src/matrixrtc/MembershipManager.ts +9 -6
  613. package/node_modules/matrix-js-sdk/src/matrixrtc/MembershipManagerActionScheduler.ts +1 -1
  614. package/node_modules/matrix-js-sdk/src/matrixrtc/RTCEncryptionManager.ts +2 -2
  615. package/node_modules/matrix-js-sdk/src/matrixrtc/ToDeviceKeyTransport.ts +3 -3
  616. package/node_modules/matrix-js-sdk/src/matrixrtc/index.ts +1 -1
  617. package/node_modules/matrix-js-sdk/src/matrixrtc/membershipData/rtc.ts +19 -8
  618. package/node_modules/matrix-js-sdk/src/matrixrtc/types.ts +24 -7
  619. package/node_modules/matrix-js-sdk/src/matrixrtc/utils.ts +0 -2
  620. package/node_modules/matrix-js-sdk/src/models/event-timeline-set.ts +3 -3
  621. package/node_modules/matrix-js-sdk/src/models/event.ts +7 -13
  622. package/node_modules/matrix-js-sdk/src/models/invites-ignorer.ts +1 -1
  623. package/node_modules/matrix-js-sdk/src/models/poll.ts +1 -1
  624. package/node_modules/matrix-js-sdk/src/models/read-receipt.ts +1 -1
  625. package/node_modules/matrix-js-sdk/src/models/relations-container.ts +55 -19
  626. package/node_modules/matrix-js-sdk/src/models/relations.ts +1 -1
  627. package/node_modules/matrix-js-sdk/src/models/room-state.ts +0 -3
  628. package/node_modules/matrix-js-sdk/src/models/room.ts +15 -15
  629. package/node_modules/matrix-js-sdk/src/models/thread.ts +51 -6
  630. package/node_modules/matrix-js-sdk/src/oauth/authorize.ts +274 -0
  631. package/node_modules/matrix-js-sdk/src/oauth/discover.ts +102 -0
  632. package/node_modules/matrix-js-sdk/src/{oidc → oauth}/error.ts +8 -7
  633. package/node_modules/matrix-js-sdk/src/oauth/index.ts +297 -0
  634. package/node_modules/matrix-js-sdk/src/oauth/register.ts +166 -0
  635. package/node_modules/matrix-js-sdk/src/oauth/tokenRefresher.ts +77 -0
  636. package/node_modules/matrix-js-sdk/src/pollingCachedValue.ts +184 -0
  637. package/node_modules/matrix-js-sdk/src/pushprocessor.ts +3 -3
  638. package/node_modules/matrix-js-sdk/src/realtime-callbacks.ts +0 -1
  639. package/node_modules/matrix-js-sdk/src/receipt-accumulator.ts +1 -2
  640. package/node_modules/matrix-js-sdk/src/rendezvous/MSC4108SignInWithQR.ts +14 -16
  641. package/node_modules/matrix-js-sdk/src/rendezvous/index.ts +2 -2
  642. package/node_modules/matrix-js-sdk/src/rendezvous/transports/MSC4108RendezvousSession.ts +0 -1
  643. package/node_modules/matrix-js-sdk/src/rtcTransportsCachedValue.ts +40 -0
  644. package/node_modules/matrix-js-sdk/src/rust-crypto/DehydratedDeviceManager.ts +14 -13
  645. package/node_modules/matrix-js-sdk/src/rust-crypto/OutgoingRequestProcessor.ts +0 -1
  646. package/node_modules/matrix-js-sdk/src/rust-crypto/PerSessionKeyBackupDownloader.ts +1 -1
  647. package/node_modules/matrix-js-sdk/src/rust-crypto/backup.ts +67 -33
  648. package/node_modules/matrix-js-sdk/src/rust-crypto/device-converter.ts +1 -0
  649. package/node_modules/matrix-js-sdk/src/rust-crypto/index.ts +32 -23
  650. package/node_modules/matrix-js-sdk/src/rust-crypto/libolm_migration.ts +1 -3
  651. package/node_modules/matrix-js-sdk/src/rust-crypto/rust-crypto.ts +3 -6
  652. package/node_modules/matrix-js-sdk/src/scheduler.ts +0 -3
  653. package/node_modules/matrix-js-sdk/src/sliding-sync-sdk.ts +4 -1
  654. package/node_modules/matrix-js-sdk/src/sliding-sync.ts +3 -1
  655. package/node_modules/matrix-js-sdk/src/store/indexeddb-local-backend.ts +1 -1
  656. package/node_modules/matrix-js-sdk/src/store/indexeddb-store-worker.ts +1 -0
  657. package/node_modules/matrix-js-sdk/src/store/indexeddb.ts +0 -2
  658. package/node_modules/matrix-js-sdk/src/store/memory.ts +7 -9
  659. package/node_modules/matrix-js-sdk/src/sync-accumulator.ts +1 -3
  660. package/node_modules/matrix-js-sdk/src/sync.ts +5 -6
  661. package/node_modules/matrix-js-sdk/src/testing.ts +3 -22
  662. package/node_modules/matrix-js-sdk/src/timeline-window.ts +0 -1
  663. package/node_modules/matrix-js-sdk/src/utils/internal/deriveKeys.ts +0 -1
  664. package/node_modules/matrix-js-sdk/src/utils.ts +3 -2
  665. package/node_modules/matrix-js-sdk/src/webrtc/call.ts +6 -6
  666. package/node_modules/matrix-js-sdk/src/webrtc/callEventTypes.ts +0 -5
  667. package/node_modules/matrix-js-sdk/src/webrtc/groupCall.ts +7 -7
  668. package/node_modules/matrix-js-sdk/src/webrtc/mediaHandler.ts +1 -1
  669. package/node_modules/matrix-js-sdk/src/webrtc/stats/callStatsReportGatherer.ts +2 -2
  670. package/node_modules/matrix-js-sdk/src/webrtc/stats/transportStatsBuilder.ts +1 -1
  671. package/node_modules/matrix-js-sdk/src/wellKnownCachedValue.ts +34 -0
  672. package/node_modules/music-metadata/LICENSE.txt +9 -9
  673. package/node_modules/music-metadata/README.md +878 -878
  674. package/node_modules/music-metadata/lib/ParseError.d.ts +1 -1
  675. package/node_modules/music-metadata/lib/ParseError.js +1 -1
  676. package/node_modules/music-metadata/lib/asf/AsfObject.d.ts +1 -4
  677. package/node_modules/music-metadata/lib/asf/AsfObject.js +66 -30
  678. package/node_modules/music-metadata/lib/asf/AsfParser.d.ts +5 -1
  679. package/node_modules/music-metadata/lib/asf/AsfParser.js +94 -25
  680. package/node_modules/music-metadata/lib/dsf/DsfChunk.js +2 -2
  681. package/node_modules/music-metadata/lib/dsf/DsfParser.js +38 -13
  682. package/node_modules/music-metadata/lib/mp4/AtomToken.js +2 -1
  683. package/node_modules/music-metadata/lib/mp4/MP4Parser.js +34 -7
  684. package/node_modules/music-metadata/lib/ogg/speex/SpeexStream.d.ts +7 -0
  685. package/node_modules/music-metadata/lib/ogg/speex/SpeexStream.js +13 -0
  686. package/node_modules/music-metadata/lib/riff/RiffChunk.js +1 -1
  687. package/node_modules/music-metadata/node_modules/content-type/README.md +2 -0
  688. package/node_modules/music-metadata/node_modules/content-type/dist/index.d.ts +20 -0
  689. package/node_modules/music-metadata/node_modules/content-type/dist/index.js +20 -14
  690. package/node_modules/music-metadata/node_modules/content-type/dist/index.js.map +1 -1
  691. package/node_modules/music-metadata/node_modules/content-type/package.json +1 -1
  692. package/node_modules/music-metadata/node_modules/file-type/package.json +1 -1
  693. package/node_modules/music-metadata/node_modules/file-type/readme.md +3 -0
  694. package/node_modules/music-metadata/node_modules/file-type/source/detectors/zip.js +6 -1
  695. package/node_modules/music-metadata/node_modules/file-type/source/index.d.ts +3 -0
  696. package/node_modules/music-metadata/node_modules/file-type/source/index.js +25 -13
  697. package/node_modules/music-metadata/package.json +156 -156
  698. package/node_modules/typebox/build/format/date.d.mts +1 -1
  699. package/node_modules/typebox/build/format/date.mjs +1 -1
  700. package/node_modules/typebox/build/format/date_time.d.mts +2 -2
  701. package/node_modules/typebox/build/format/date_time.mjs +3 -3
  702. package/node_modules/typebox/build/format/email.d.mts +1 -1
  703. package/node_modules/typebox/build/format/email.mjs +2 -2
  704. package/node_modules/typebox/build/format/hostname.mjs +2 -10
  705. package/node_modules/typebox/build/format/idn_email.d.mts +1 -1
  706. package/node_modules/typebox/build/format/idn_email.mjs +3 -3
  707. package/node_modules/typebox/build/format/idn_hostname.d.mts +1 -0
  708. package/node_modules/typebox/build/format/idn_hostname.mjs +3 -11
  709. package/node_modules/typebox/build/format/idna/format/bidi.d.mts +3 -0
  710. package/node_modules/typebox/build/format/idna/format/bidi.mjs +98 -0
  711. package/node_modules/typebox/build/format/idna/format/puny.d.mts +3 -0
  712. package/node_modules/typebox/build/format/idna/format/puny.mjs +144 -0
  713. package/node_modules/typebox/build/format/idna/hostname.d.mts +1 -0
  714. package/node_modules/typebox/build/format/idna/hostname.mjs +16 -0
  715. package/node_modules/typebox/build/format/idna/idn-hostname.d.mts +1 -0
  716. package/node_modules/typebox/build/format/idna/idn-hostname.mjs +23 -0
  717. package/node_modules/typebox/build/format/idna/index.d.mts +2 -0
  718. package/node_modules/typebox/build/format/idna/index.mjs +2 -0
  719. package/node_modules/typebox/build/format/idna/label/ascii.d.mts +1 -0
  720. package/node_modules/typebox/build/format/idna/label/ascii.mjs +9 -0
  721. package/node_modules/typebox/build/format/idna/label/puny.d.mts +1 -0
  722. package/node_modules/typebox/build/format/idna/label/puny.mjs +28 -0
  723. package/node_modules/typebox/build/format/idna/label/unicode.d.mts +1 -0
  724. package/node_modules/typebox/build/format/idna/label/unicode.mjs +106 -0
  725. package/node_modules/typebox/build/format/idna/pattern/pattern.d.mts +30 -0
  726. package/node_modules/typebox/build/format/idna/pattern/pattern.mjs +70 -0
  727. package/node_modules/typebox/build/format/ipv4.d.mts +0 -1
  728. package/node_modules/typebox/build/format/ipv4.mjs +2 -32
  729. package/node_modules/typebox/build/format/ipv6.mjs +2 -61
  730. package/node_modules/typebox/build/format/iri.d.mts +2 -2
  731. package/node_modules/typebox/build/format/iri.mjs +26 -8
  732. package/node_modules/typebox/build/format/iri_reference.d.mts +2 -2
  733. package/node_modules/typebox/build/format/iri_reference.mjs +9 -55
  734. package/node_modules/typebox/build/format/regex.d.mts +1 -2
  735. package/node_modules/typebox/build/format/regex.mjs +2 -6
  736. package/node_modules/typebox/build/format/time.d.mts +2 -2
  737. package/node_modules/typebox/build/format/time.mjs +19 -14
  738. package/node_modules/typebox/build/format/uri.d.mts +1 -1
  739. package/node_modules/typebox/build/format/uri.mjs +3 -130
  740. package/node_modules/typebox/build/format/uri_reference.d.mts +1 -1
  741. package/node_modules/typebox/build/format/uri_reference.mjs +2 -3
  742. package/node_modules/typebox/build/format/uri_template.d.mts +2 -3
  743. package/node_modules/typebox/build/format/uri_template.mjs +4 -5
  744. package/node_modules/typebox/build/format/url.d.mts +3 -3
  745. package/node_modules/typebox/build/format/url.mjs +4 -5
  746. package/node_modules/typebox/build/guard/emit.d.mts +3 -1
  747. package/node_modules/typebox/build/guard/emit.mjs +12 -5
  748. package/node_modules/typebox/build/guard/guard.d.mts +8 -2
  749. package/node_modules/typebox/build/guard/guard.mjs +25 -4
  750. package/node_modules/typebox/build/guard/string.d.mts +2 -2
  751. package/node_modules/typebox/build/guard/string.mjs +7 -7
  752. package/node_modules/typebox/build/schema/engine/_context.mjs +3 -3
  753. package/node_modules/typebox/build/schema/engine/_functions.mjs +1 -2
  754. package/node_modules/typebox/build/schema/engine/_regexp.d.mts +2 -0
  755. package/node_modules/typebox/build/schema/engine/_regexp.mjs +4 -0
  756. package/node_modules/typebox/build/schema/engine/_stack.mjs +12 -13
  757. package/node_modules/typebox/build/schema/engine/additionalItems.mjs +17 -7
  758. package/node_modules/typebox/build/schema/engine/additionalProperties.mjs +4 -3
  759. package/node_modules/typebox/build/schema/engine/contains.mjs +18 -6
  760. package/node_modules/typebox/build/schema/engine/enum.mjs +1 -1
  761. package/node_modules/typebox/build/schema/engine/items.mjs +26 -6
  762. package/node_modules/typebox/build/schema/engine/maxContains.mjs +3 -3
  763. package/node_modules/typebox/build/schema/engine/minContains.mjs +14 -4
  764. package/node_modules/typebox/build/schema/engine/not.mjs +4 -2
  765. package/node_modules/typebox/build/schema/engine/oneOf.mjs +7 -6
  766. package/node_modules/typebox/build/schema/engine/pattern.mjs +3 -2
  767. package/node_modules/typebox/build/schema/engine/patternProperties.mjs +4 -3
  768. package/node_modules/typebox/build/schema/engine/ref.mjs +1 -7
  769. package/node_modules/typebox/build/schema/engine/schema.mjs +13 -4
  770. package/node_modules/typebox/build/schema/engine/type.mjs +1 -1
  771. package/node_modules/typebox/build/schema/resolve/resolve.d.mts +4 -1
  772. package/node_modules/typebox/build/schema/resolve/resolve.mjs +202 -1
  773. package/node_modules/typebox/build/schema/static/propertyNames.d.mts +5 -0
  774. package/node_modules/typebox/build/schema/static/propertyNames.mjs +3 -0
  775. package/node_modules/typebox/build/schema/static/schema.d.mts +3 -0
  776. package/node_modules/typebox/build/schema/types/index.d.mts +0 -2
  777. package/node_modules/typebox/build/schema/types/index.mjs +0 -2
  778. package/node_modules/typebox/build/system/memory/clone.mjs +14 -11
  779. package/node_modules/typebox/build/system/memory/discard.mjs +6 -5
  780. package/node_modules/typebox/build/system/settings/settings.d.mts +9 -0
  781. package/node_modules/typebox/build/system/settings/settings.mjs +2 -0
  782. package/node_modules/typebox/build/type/engine/call/distribute_arguments.d.mts +6 -1
  783. package/node_modules/typebox/build/type/engine/call/distribute_arguments.mjs +16 -3
  784. package/node_modules/typebox/build/type/engine/call/instantiate.mjs +34 -4
  785. package/node_modules/typebox/build/type/engine/evaluate/broaden.d.mts +5 -5
  786. package/node_modules/typebox/build/type/engine/evaluate/broaden.mjs +20 -26
  787. package/node_modules/typebox/build/type/engine/evaluate/compare.d.mts +6 -10
  788. package/node_modules/typebox/build/type/engine/evaluate/compare.mjs +9 -13
  789. package/node_modules/typebox/build/type/engine/evaluate/composite.d.mts +7 -4
  790. package/node_modules/typebox/build/type/engine/evaluate/composite.mjs +12 -19
  791. package/node_modules/typebox/build/type/engine/evaluate/distribute.d.mts +4 -20
  792. package/node_modules/typebox/build/type/engine/evaluate/distribute.mjs +8 -20
  793. package/node_modules/typebox/build/type/engine/evaluate/evaluate.d.mts +4 -4
  794. package/node_modules/typebox/build/type/engine/evaluate/evaluate.mjs +11 -8
  795. package/node_modules/typebox/build/type/engine/evaluate/flatten.d.mts +1 -1
  796. package/node_modules/typebox/build/type/engine/evaluate/flatten.mjs +3 -4
  797. package/node_modules/typebox/build/type/engine/evaluate/narrow.d.mts +17 -2
  798. package/node_modules/typebox/build/type/engine/evaluate/narrow.mjs +26 -6
  799. package/node_modules/typebox/build/type/engine/exclude/operation.mjs +3 -4
  800. package/node_modules/typebox/build/type/engine/extract/operation.d.mts +1 -1
  801. package/node_modules/typebox/build/type/engine/extract/operation.mjs +3 -4
  802. package/node_modules/typebox/build/type/engine/priority/priority.d.mts +2 -2
  803. package/node_modules/typebox/build/type/engine/priority/priority.mjs +3 -4
  804. package/node_modules/typebox/build/type/script/mapping.d.mts +32 -29
  805. package/node_modules/typebox/build/type/script/mapping.mjs +18 -25
  806. package/node_modules/typebox/build/type/script/parser.d.mts +19 -25
  807. package/node_modules/typebox/build/type/script/parser.mjs +27 -23
  808. package/node_modules/typebox/build/value/errors/errors.d.mts +2 -2
  809. package/node_modules/typebox/build/value/errors/errors.mjs +1 -1
  810. package/node_modules/typebox/package.json +27 -27
  811. package/node_modules/typebox/readme.md +79 -82
  812. package/openclaw.plugin.json +23 -1
  813. package/package.json +10 -10
  814. package/dist/env-auth-MVS-Vv41.js +0 -64
  815. package/dist/media-text-JudlYOSc.js +0 -146
  816. package/dist/probe.runtime-Dr91B_X3.js +0 -2
  817. package/dist/route-DY6at4qJ.js +0 -161
  818. package/dist/runtime-api-BGO16Fu8.js +0 -21
  819. package/dist/subagent-hooks-dkPAF6Et.js +0 -143
  820. package/dist/timeout-abort-signal-DMrgRFIy.js +0 -2
  821. package/node_modules/markdown-it/dist/index.cjs.js.map +0 -1
  822. package/node_modules/markdown-it/dist/markdown-it.js +0 -3975
  823. package/node_modules/markdown-it/dist/markdown-it.js.map +0 -1
  824. package/node_modules/markdown-it/dist/markdown-it.min.js +0 -3
  825. package/node_modules/markdown-it/dist/markdown-it.min.js.map +0 -1
  826. package/node_modules/markdown-it/index.mjs +0 -1
  827. package/node_modules/markdown-it/lib/common/html_blocks.mjs +0 -67
  828. package/node_modules/markdown-it/lib/common/html_re.mjs +0 -25
  829. package/node_modules/markdown-it/lib/common/utils.mjs +0 -324
  830. package/node_modules/markdown-it/lib/helpers/index.mjs +0 -11
  831. package/node_modules/markdown-it/lib/helpers/parse_link_destination.mjs +0 -77
  832. package/node_modules/markdown-it/lib/helpers/parse_link_label.mjs +0 -49
  833. package/node_modules/markdown-it/lib/helpers/parse_link_title.mjs +0 -66
  834. package/node_modules/markdown-it/lib/index.mjs +0 -565
  835. package/node_modules/markdown-it/lib/parser_block.mjs +0 -134
  836. package/node_modules/markdown-it/lib/parser_core.mjs +0 -62
  837. package/node_modules/markdown-it/lib/parser_inline.mjs +0 -197
  838. package/node_modules/markdown-it/lib/presets/commonmark.mjs +0 -88
  839. package/node_modules/markdown-it/lib/presets/default.mjs +0 -47
  840. package/node_modules/markdown-it/lib/presets/zero.mjs +0 -70
  841. package/node_modules/markdown-it/lib/renderer.mjs +0 -322
  842. package/node_modules/markdown-it/lib/ruler.mjs +0 -340
  843. package/node_modules/markdown-it/lib/rules_block/blockquote.mjs +0 -209
  844. package/node_modules/markdown-it/lib/rules_block/code.mjs +0 -30
  845. package/node_modules/markdown-it/lib/rules_block/fence.mjs +0 -94
  846. package/node_modules/markdown-it/lib/rules_block/heading.mjs +0 -51
  847. package/node_modules/markdown-it/lib/rules_block/hr.mjs +0 -40
  848. package/node_modules/markdown-it/lib/rules_block/html_block.mjs +0 -80
  849. package/node_modules/markdown-it/lib/rules_block/lheading.mjs +0 -85
  850. package/node_modules/markdown-it/lib/rules_block/list.mjs +0 -331
  851. package/node_modules/markdown-it/lib/rules_block/paragraph.mjs +0 -48
  852. package/node_modules/markdown-it/lib/rules_block/reference.mjs +0 -212
  853. package/node_modules/markdown-it/lib/rules_block/state_block.mjs +0 -220
  854. package/node_modules/markdown-it/lib/rules_block/table.mjs +0 -228
  855. package/node_modules/markdown-it/lib/rules_core/block.mjs +0 -13
  856. package/node_modules/markdown-it/lib/rules_core/inline.mjs +0 -11
  857. package/node_modules/markdown-it/lib/rules_core/linkify.mjs +0 -134
  858. package/node_modules/markdown-it/lib/rules_core/normalize.mjs +0 -17
  859. package/node_modules/markdown-it/lib/rules_core/replacements.mjs +0 -101
  860. package/node_modules/markdown-it/lib/rules_core/smartquotes.mjs +0 -209
  861. package/node_modules/markdown-it/lib/rules_core/state_core.mjs +0 -17
  862. package/node_modules/markdown-it/lib/rules_core/text_join.mjs +0 -43
  863. package/node_modules/markdown-it/lib/rules_inline/autolink.mjs +0 -72
  864. package/node_modules/markdown-it/lib/rules_inline/backticks.mjs +0 -60
  865. package/node_modules/markdown-it/lib/rules_inline/balance_pairs.mjs +0 -124
  866. package/node_modules/markdown-it/lib/rules_inline/emphasis.mjs +0 -123
  867. package/node_modules/markdown-it/lib/rules_inline/entity.mjs +0 -51
  868. package/node_modules/markdown-it/lib/rules_inline/escape.mjs +0 -83
  869. package/node_modules/markdown-it/lib/rules_inline/fragments_join.mjs +0 -38
  870. package/node_modules/markdown-it/lib/rules_inline/html_inline.mjs +0 -50
  871. package/node_modules/markdown-it/lib/rules_inline/image.mjs +0 -138
  872. package/node_modules/markdown-it/lib/rules_inline/link.mjs +0 -139
  873. package/node_modules/markdown-it/lib/rules_inline/linkify.mjs +0 -63
  874. package/node_modules/markdown-it/lib/rules_inline/newline.mjs +0 -42
  875. package/node_modules/markdown-it/lib/rules_inline/state_inline.mjs +0 -154
  876. package/node_modules/markdown-it/lib/rules_inline/strikethrough.mjs +0 -127
  877. package/node_modules/markdown-it/lib/rules_inline/text.mjs +0 -86
  878. package/node_modules/markdown-it/lib/token.mjs +0 -191
  879. package/node_modules/markdown-it/node_modules/argparse/CHANGELOG.md +0 -216
  880. package/node_modules/markdown-it/node_modules/entities/lib/decode.d.ts +0 -211
  881. package/node_modules/markdown-it/node_modules/entities/lib/decode.d.ts.map +0 -1
  882. package/node_modules/markdown-it/node_modules/entities/lib/decode.js +0 -536
  883. package/node_modules/markdown-it/node_modules/entities/lib/decode.js.map +0 -1
  884. package/node_modules/markdown-it/node_modules/entities/lib/decode_codepoint.d.ts +0 -19
  885. package/node_modules/markdown-it/node_modules/entities/lib/decode_codepoint.d.ts.map +0 -1
  886. package/node_modules/markdown-it/node_modules/entities/lib/decode_codepoint.js +0 -76
  887. package/node_modules/markdown-it/node_modules/entities/lib/decode_codepoint.js.map +0 -1
  888. package/node_modules/markdown-it/node_modules/entities/lib/encode.d.ts +0 -22
  889. package/node_modules/markdown-it/node_modules/entities/lib/encode.d.ts.map +0 -1
  890. package/node_modules/markdown-it/node_modules/entities/lib/encode.js +0 -77
  891. package/node_modules/markdown-it/node_modules/entities/lib/encode.js.map +0 -1
  892. package/node_modules/markdown-it/node_modules/entities/lib/escape.d.ts.map +0 -1
  893. package/node_modules/markdown-it/node_modules/entities/lib/escape.js +0 -122
  894. package/node_modules/markdown-it/node_modules/entities/lib/escape.js.map +0 -1
  895. package/node_modules/markdown-it/node_modules/entities/lib/esm/decode.d.ts.map +0 -1
  896. package/node_modules/markdown-it/node_modules/entities/lib/esm/decode.js.map +0 -1
  897. package/node_modules/markdown-it/node_modules/entities/lib/esm/decode_codepoint.d.ts +0 -19
  898. package/node_modules/markdown-it/node_modules/entities/lib/esm/decode_codepoint.d.ts.map +0 -1
  899. package/node_modules/markdown-it/node_modules/entities/lib/esm/decode_codepoint.js +0 -71
  900. package/node_modules/markdown-it/node_modules/entities/lib/esm/decode_codepoint.js.map +0 -1
  901. package/node_modules/markdown-it/node_modules/entities/lib/esm/encode.d.ts.map +0 -1
  902. package/node_modules/markdown-it/node_modules/entities/lib/esm/encode.js +0 -69
  903. package/node_modules/markdown-it/node_modules/entities/lib/esm/encode.js.map +0 -1
  904. package/node_modules/markdown-it/node_modules/entities/lib/esm/escape.d.ts +0 -43
  905. package/node_modules/markdown-it/node_modules/entities/lib/esm/escape.d.ts.map +0 -1
  906. package/node_modules/markdown-it/node_modules/entities/lib/esm/escape.js +0 -116
  907. package/node_modules/markdown-it/node_modules/entities/lib/esm/escape.js.map +0 -1
  908. package/node_modules/markdown-it/node_modules/entities/lib/esm/generated/decode-data-html.d.ts +0 -3
  909. package/node_modules/markdown-it/node_modules/entities/lib/esm/generated/decode-data-html.d.ts.map +0 -1
  910. package/node_modules/markdown-it/node_modules/entities/lib/esm/generated/decode-data-html.js +0 -7
  911. package/node_modules/markdown-it/node_modules/entities/lib/esm/generated/decode-data-html.js.map +0 -1
  912. package/node_modules/markdown-it/node_modules/entities/lib/esm/generated/decode-data-xml.d.ts +0 -3
  913. package/node_modules/markdown-it/node_modules/entities/lib/esm/generated/decode-data-xml.d.ts.map +0 -1
  914. package/node_modules/markdown-it/node_modules/entities/lib/esm/generated/decode-data-xml.js +0 -7
  915. package/node_modules/markdown-it/node_modules/entities/lib/esm/generated/decode-data-xml.js.map +0 -1
  916. package/node_modules/markdown-it/node_modules/entities/lib/esm/generated/encode-html.d.ts +0 -8
  917. package/node_modules/markdown-it/node_modules/entities/lib/esm/generated/encode-html.d.ts.map +0 -1
  918. package/node_modules/markdown-it/node_modules/entities/lib/esm/generated/encode-html.js +0 -10
  919. package/node_modules/markdown-it/node_modules/entities/lib/esm/generated/encode-html.js.map +0 -1
  920. package/node_modules/markdown-it/node_modules/entities/lib/esm/index.d.ts.map +0 -1
  921. package/node_modules/markdown-it/node_modules/entities/lib/esm/index.js +0 -99
  922. package/node_modules/markdown-it/node_modules/entities/lib/esm/index.js.map +0 -1
  923. package/node_modules/markdown-it/node_modules/entities/lib/esm/package.json +0 -1
  924. package/node_modules/markdown-it/node_modules/entities/lib/generated/decode-data-html.d.ts +0 -3
  925. package/node_modules/markdown-it/node_modules/entities/lib/generated/decode-data-html.d.ts.map +0 -1
  926. package/node_modules/markdown-it/node_modules/entities/lib/generated/decode-data-html.js +0 -9
  927. package/node_modules/markdown-it/node_modules/entities/lib/generated/decode-data-html.js.map +0 -1
  928. package/node_modules/markdown-it/node_modules/entities/lib/generated/decode-data-xml.d.ts +0 -3
  929. package/node_modules/markdown-it/node_modules/entities/lib/generated/decode-data-xml.d.ts.map +0 -1
  930. package/node_modules/markdown-it/node_modules/entities/lib/generated/decode-data-xml.js +0 -9
  931. package/node_modules/markdown-it/node_modules/entities/lib/generated/decode-data-xml.js.map +0 -1
  932. package/node_modules/markdown-it/node_modules/entities/lib/generated/encode-html.d.ts +0 -8
  933. package/node_modules/markdown-it/node_modules/entities/lib/generated/encode-html.d.ts.map +0 -1
  934. package/node_modules/markdown-it/node_modules/entities/lib/generated/encode-html.js +0 -12
  935. package/node_modules/markdown-it/node_modules/entities/lib/generated/encode-html.js.map +0 -1
  936. package/node_modules/markdown-it/node_modules/entities/lib/index.d.ts +0 -96
  937. package/node_modules/markdown-it/node_modules/entities/lib/index.d.ts.map +0 -1
  938. package/node_modules/markdown-it/node_modules/entities/lib/index.js +0 -126
  939. package/node_modules/markdown-it/node_modules/entities/lib/index.js.map +0 -1
  940. package/node_modules/markdown-it/node_modules/linkify-it/index.mjs +0 -646
  941. package/node_modules/markdown-it/node_modules/linkify-it/lib/re.mjs +0 -193
  942. package/node_modules/markdown-it/node_modules/uc.micro/categories/Cc/regex.mjs +0 -1
  943. package/node_modules/markdown-it/node_modules/uc.micro/categories/Cf/regex.mjs +0 -1
  944. package/node_modules/markdown-it/node_modules/uc.micro/categories/P/regex.mjs +0 -1
  945. package/node_modules/markdown-it/node_modules/uc.micro/categories/S/regex.mjs +0 -1
  946. package/node_modules/markdown-it/node_modules/uc.micro/categories/Z/regex.mjs +0 -1
  947. package/node_modules/markdown-it/node_modules/uc.micro/index.mjs +0 -8
  948. package/node_modules/markdown-it/node_modules/uc.micro/properties/Any/regex.mjs +0 -1
  949. package/node_modules/matrix-js-sdk/lib/oidc/authorize.d.ts +0 -157
  950. package/node_modules/matrix-js-sdk/lib/oidc/authorize.d.ts.map +0 -1
  951. package/node_modules/matrix-js-sdk/lib/oidc/authorize.js +0 -365
  952. package/node_modules/matrix-js-sdk/lib/oidc/authorize.js.map +0 -1
  953. package/node_modules/matrix-js-sdk/lib/oidc/discovery.d.ts +0 -22
  954. package/node_modules/matrix-js-sdk/lib/oidc/discovery.d.ts.map +0 -1
  955. package/node_modules/matrix-js-sdk/lib/oidc/discovery.js +0 -65
  956. package/node_modules/matrix-js-sdk/lib/oidc/discovery.js.map +0 -1
  957. package/node_modules/matrix-js-sdk/lib/oidc/error.d.ts +0 -18
  958. package/node_modules/matrix-js-sdk/lib/oidc/error.d.ts.map +0 -1
  959. package/node_modules/matrix-js-sdk/lib/oidc/error.js +0 -35
  960. package/node_modules/matrix-js-sdk/lib/oidc/error.js.map +0 -1
  961. package/node_modules/matrix-js-sdk/lib/oidc/index.d.ts +0 -16
  962. package/node_modules/matrix-js-sdk/lib/oidc/index.d.ts.map +0 -1
  963. package/node_modules/matrix-js-sdk/lib/oidc/index.js +0 -30
  964. package/node_modules/matrix-js-sdk/lib/oidc/index.js.map +0 -1
  965. package/node_modules/matrix-js-sdk/lib/oidc/register.d.ts +0 -70
  966. package/node_modules/matrix-js-sdk/lib/oidc/register.d.ts.map +0 -1
  967. package/node_modules/matrix-js-sdk/lib/oidc/register.js +0 -134
  968. package/node_modules/matrix-js-sdk/lib/oidc/register.js.map +0 -1
  969. package/node_modules/matrix-js-sdk/lib/oidc/tokenRefresher.d.ts +0 -91
  970. package/node_modules/matrix-js-sdk/lib/oidc/tokenRefresher.d.ts.map +0 -1
  971. package/node_modules/matrix-js-sdk/lib/oidc/tokenRefresher.js +0 -173
  972. package/node_modules/matrix-js-sdk/lib/oidc/tokenRefresher.js.map +0 -1
  973. package/node_modules/matrix-js-sdk/lib/oidc/validate.d.ts +0 -78
  974. package/node_modules/matrix-js-sdk/lib/oidc/validate.d.ts.map +0 -1
  975. package/node_modules/matrix-js-sdk/lib/oidc/validate.js +0 -181
  976. package/node_modules/matrix-js-sdk/lib/oidc/validate.js.map +0 -1
  977. package/node_modules/matrix-js-sdk/node_modules/jwt-decode/LICENSE +0 -21
  978. package/node_modules/matrix-js-sdk/node_modules/jwt-decode/README.md +0 -134
  979. package/node_modules/matrix-js-sdk/node_modules/jwt-decode/build/cjs/index.d.ts +0 -23
  980. package/node_modules/matrix-js-sdk/node_modules/jwt-decode/build/cjs/index.js +0 -62
  981. package/node_modules/matrix-js-sdk/node_modules/jwt-decode/build/cjs/package.json +0 -1
  982. package/node_modules/matrix-js-sdk/node_modules/jwt-decode/build/esm/index.d.ts +0 -23
  983. package/node_modules/matrix-js-sdk/node_modules/jwt-decode/build/esm/index.js +0 -57
  984. package/node_modules/matrix-js-sdk/node_modules/jwt-decode/package.json +0 -81
  985. package/node_modules/matrix-js-sdk/node_modules/oidc-client-ts/LICENSE +0 -202
  986. package/node_modules/matrix-js-sdk/node_modules/oidc-client-ts/README.md +0 -87
  987. package/node_modules/matrix-js-sdk/node_modules/oidc-client-ts/dist/browser/oidc-client-ts.js +0 -3751
  988. package/node_modules/matrix-js-sdk/node_modules/oidc-client-ts/dist/browser/oidc-client-ts.js.map +0 -7
  989. package/node_modules/matrix-js-sdk/node_modules/oidc-client-ts/dist/browser/oidc-client-ts.min.js +0 -2
  990. package/node_modules/matrix-js-sdk/node_modules/oidc-client-ts/dist/browser/oidc-client-ts.min.js.map +0 -7
  991. package/node_modules/matrix-js-sdk/node_modules/oidc-client-ts/dist/esm/oidc-client-ts.js +0 -3671
  992. package/node_modules/matrix-js-sdk/node_modules/oidc-client-ts/dist/esm/oidc-client-ts.js.map +0 -7
  993. package/node_modules/matrix-js-sdk/node_modules/oidc-client-ts/dist/esm/package.json +0 -4
  994. package/node_modules/matrix-js-sdk/node_modules/oidc-client-ts/dist/types/oidc-client-ts.d.ts +0 -2003
  995. package/node_modules/matrix-js-sdk/node_modules/oidc-client-ts/dist/types/tsdoc-metadata.json +0 -11
  996. package/node_modules/matrix-js-sdk/node_modules/oidc-client-ts/dist/umd/oidc-client-ts.js +0 -3719
  997. package/node_modules/matrix-js-sdk/node_modules/oidc-client-ts/dist/umd/oidc-client-ts.js.map +0 -7
  998. package/node_modules/matrix-js-sdk/node_modules/oidc-client-ts/package.json +0 -75
  999. package/node_modules/matrix-js-sdk/src/oidc/authorize.ts +0 -431
  1000. package/node_modules/matrix-js-sdk/src/oidc/discovery.ts +0 -67
  1001. package/node_modules/matrix-js-sdk/src/oidc/index.ts +0 -33
  1002. package/node_modules/matrix-js-sdk/src/oidc/register.ts +0 -168
  1003. package/node_modules/matrix-js-sdk/src/oidc/tokenRefresher.ts +0 -184
  1004. package/node_modules/matrix-js-sdk/src/oidc/validate.ts +0 -265
  1005. package/node_modules/typebox/build/format/_idna.d.mts +0 -2
  1006. package/node_modules/typebox/build/format/_idna.mjs +0 -246
  1007. package/node_modules/typebox/build/format/_puny.d.mts +0 -1
  1008. package/node_modules/typebox/build/format/_puny.mjs +0 -77
  1009. package/node_modules/typebox/build/schema/resolve/ref.d.mts +0 -3
  1010. package/node_modules/typebox/build/schema/resolve/ref.mjs +0 -146
  1011. package/node_modules/typebox/build/schema/types/contentEncoding.d.mts +0 -9
  1012. package/node_modules/typebox/build/schema/types/contentEncoding.mjs +0 -13
  1013. package/node_modules/typebox/build/schema/types/contentMediaType.d.mts +0 -9
  1014. package/node_modules/typebox/build/schema/types/contentMediaType.mjs +0 -13
@@ -30,12 +30,11 @@ import {
30
30
  import { type CryptoCallbacks } from "../crypto-api/index.ts";
31
31
 
32
32
  /**
33
- * Create a new `RustCrypto` implementation
33
+ * The arguments used to initialise RustCrypto, passed in to initRustCrypto.
34
34
  *
35
- * @param args - Parameter object
36
35
  * @internal
37
36
  */
38
- export async function initRustCrypto(args: {
37
+ export interface InitRustCryptoArgs {
39
38
  /** A `Logger` instance that will be used for debug output. */
40
39
  logger: Logger;
41
40
 
@@ -96,7 +95,23 @@ export async function initRustCrypto(args: {
96
95
  * Whether to enable support for encrypting state events.
97
96
  */
98
97
  enableEncryptedStateEvents?: boolean;
99
- }): Promise<RustCrypto> {
98
+
99
+ /**
100
+ * Optional PEM-formatted string that provides CA certificates. These will
101
+ * be used to check X.509 signatures on user identities. Any user identity
102
+ * that has a valid signature according to the supplied CAs will be
103
+ * considered verified, without any manual verification taking place.
104
+ */
105
+ caCertsPem?: string;
106
+ }
107
+
108
+ /**
109
+ * Create a new `RustCrypto` implementation
110
+ *
111
+ * @param args - InitRustCryptoArgs
112
+ * @internal
113
+ */
114
+ export async function initRustCrypto(args: InitRustCryptoArgs): Promise<RustCrypto> {
100
115
  const { logger } = args;
101
116
 
102
117
  // initialise the rust matrix-sdk-crypto-wasm, if it hasn't already been done
@@ -124,17 +139,7 @@ export async function initRustCrypto(args: {
124
139
  });
125
140
  }
126
141
 
127
- const rustCrypto = await initOlmMachine(
128
- logger,
129
- args.http,
130
- args.userId,
131
- args.deviceId,
132
- args.secretStorage,
133
- args.cryptoCallbacks,
134
- storeHandle,
135
- args.legacyCryptoStore,
136
- args.enableEncryptedStateEvents,
137
- );
142
+ const rustCrypto = await initOlmMachine(args, storeHandle);
138
143
 
139
144
  storeHandle.free();
140
145
 
@@ -143,15 +148,18 @@ export async function initRustCrypto(args: {
143
148
  }
144
149
 
145
150
  async function initOlmMachine(
146
- logger: Logger,
147
- http: MatrixHttpApi<IHttpOpts & { onlyData: true }>,
148
- userId: string,
149
- deviceId: string,
150
- secretStorage: ServerSideSecretStorage,
151
- cryptoCallbacks: CryptoCallbacks,
151
+ {
152
+ logger,
153
+ http,
154
+ userId,
155
+ deviceId,
156
+ secretStorage,
157
+ cryptoCallbacks,
158
+ legacyCryptoStore,
159
+ enableEncryptedStateEvents,
160
+ caCertsPem,
161
+ }: InitRustCryptoArgs,
152
162
  storeHandle: StoreHandle,
153
- legacyCryptoStore?: CryptoStore,
154
- enableEncryptedStateEvents?: boolean,
155
163
  ): Promise<RustCrypto> {
156
164
  logger.debug("Init OlmMachine");
157
165
 
@@ -160,6 +168,7 @@ async function initOlmMachine(
160
168
  new RustSdkCryptoJs.DeviceId(deviceId),
161
169
  storeHandle,
162
170
  logger,
171
+ caCertsPem,
163
172
  );
164
173
 
165
174
  // A final migration step, now that we have an OlmMachine.
@@ -251,7 +251,6 @@ async function migrateOlmSessions(
251
251
  storeHandle: RustSdkCryptoJs.StoreHandle,
252
252
  onBatchDone: (batchSize: number) => void,
253
253
  ): Promise<void> {
254
- // eslint-disable-next-line no-constant-condition
255
254
  while (true) {
256
255
  const batch = await legacyStore.getEndToEndSessionsBatch();
257
256
  if (batch === null) return;
@@ -279,7 +278,6 @@ async function migrateMegolmSessions(
279
278
  storeHandle: RustSdkCryptoJs.StoreHandle,
280
279
  onBatchDone: (batchSize: number) => void,
281
280
  ): Promise<void> {
282
- // eslint-disable-next-line no-constant-condition
283
281
  while (true) {
284
282
  const batch = await legacyStore.getEndToEndInboundGroupSessionsBatch();
285
283
  if (batch === null) return;
@@ -489,7 +487,7 @@ export async function migrateLegacyLocalTrustIfNeeded(args: {
489
487
  if (rustSeenMSK && rustSeenMSK == legacyLocallyTrustedMSK) {
490
488
  logger.info(`Post Migration: Migrating legacy trusted MSK: ${legacyLocallyTrustedMSK} to locally verified.`);
491
489
  // Let's mark the user identity as locally verified as part of the migration.
492
- await rustOwnIdentity!.verify();
490
+ await rustOwnIdentity.verify();
493
491
  // As well as marking the MSK as trusted, `OlmMachine.verify` returns a
494
492
  // `SignatureUploadRequest` which will publish a signature of the MSK using
495
493
  // this device. In this case, we ignore the request: since the user hasn't
@@ -1407,9 +1407,6 @@ export class RustCrypto extends TypedEventEmitter<RustCryptoEvents, CryptoEventH
1407
1407
  if (await this.secretStorageHasAESKey()) {
1408
1408
  await this.secretStorage.store("m.megolm_backup.v1", backupInfo.decryptionKey.toBase64());
1409
1409
  }
1410
-
1411
- // we can check and start async
1412
- void this.checkKeyBackupAndEnable();
1413
1410
  }
1414
1411
 
1415
1412
  /**
@@ -2332,11 +2329,11 @@ class EventDecryptor {
2332
2329
  }
2333
2330
 
2334
2331
  try {
2335
- const res = (await this.olmMachine.decryptRoomEvent(
2332
+ const res = await this.olmMachine.decryptRoomEvent(
2336
2333
  stringifyEvent(event),
2337
2334
  new RustSdkCryptoJs.RoomId(event.getRoomId()!),
2338
2335
  new RustSdkCryptoJs.DecryptionSettings(trustRequirement),
2339
- )) as RustSdkCryptoJs.DecryptedRoomEvent;
2336
+ );
2340
2337
 
2341
2338
  // Success. We can remove the event from the pending list, if
2342
2339
  // that hasn't already happened.
@@ -2380,7 +2377,7 @@ class EventDecryptor {
2380
2377
  err.code === RustSdkCryptoJs.DecryptionErrorCode.MissingRoomKey ||
2381
2378
  err.code === RustSdkCryptoJs.DecryptionErrorCode.UnknownMessageIndex
2382
2379
  ) {
2383
- this.perSessionBackupDownloader.onDecryptionKeyMissingError(event.getRoomId()!, content.session_id!);
2380
+ this.perSessionBackupDownloader.onDecryptionKeyMissingError(event.getRoomId()!, content.session_id);
2384
2381
 
2385
2382
  // If the server is telling us our membership at the time the event
2386
2383
  // was sent, and it isn't "join", we use a different error code.
@@ -40,14 +40,12 @@ interface IQueueEntry<T> {
40
40
  */
41
41
  type ProcessFunction<T> = (event: MatrixEvent) => Promise<T>;
42
42
 
43
- // eslint-disable-next-line camelcase
44
43
  export class MatrixScheduler<T = ISendEventResponse> {
45
44
  /**
46
45
  * Default retry algorithm for the matrix scheduler. Retries events up to 4 times with exponential backoff.
47
46
  * @param attempts - Number of attempts that have been made, including the one that just failed (ie. starting at 1)
48
47
  * @see retryAlgorithm
49
48
  */
50
- // eslint-disable-next-line @typescript-eslint/naming-convention
51
49
  public static RETRY_BACKOFF_RATELIMIT(event: MatrixEvent | null, attempts: number, err: MatrixError): number {
52
50
  return calculateRetryBackoff(err, attempts, false);
53
51
  }
@@ -57,7 +55,6 @@ export class MatrixScheduler<T = ISendEventResponse> {
57
55
  * concurrently.
58
56
  * @see queueAlgorithm
59
57
  */
60
- // eslint-disable-next-line @typescript-eslint/naming-convention
61
58
  public static QUEUE_MESSAGES(event: MatrixEvent): string | null {
62
59
  // enqueue messages or events that associate with another event (redactions and relations)
63
60
  if (event.getType() === EventType.RoomMessage || event.hasAssociation()) {
@@ -199,6 +199,7 @@ class ExtensionAccountData implements Extension<ExtensionAccountDataRequest, Ext
199
199
  this.processGlobalAccountData(data.global);
200
200
  }
201
201
 
202
+ // oxlint-disable-next-line guard-for-in
202
203
  for (const roomId in data.rooms) {
203
204
  const accountDataEvents = mapEvents(this.client, roomId, data.rooms[roomId]);
204
205
  const room = this.client.getRoom(roomId);
@@ -266,6 +267,7 @@ class ExtensionTyping implements Extension<ExtensionTypingRequest, ExtensionTypi
266
267
  return;
267
268
  }
268
269
 
270
+ // oxlint-disable-next-line guard-for-in
269
271
  for (const roomId in data.rooms) {
270
272
  processEphemeralEvents(this.client, roomId, [data.rooms[roomId]]);
271
273
  }
@@ -302,6 +304,7 @@ class ExtensionReceipts implements Extension<ExtensionReceiptsRequest, Extension
302
304
  return;
303
305
  }
304
306
 
307
+ // oxlint-disable-next-line guard-for-in
305
308
  for (const roomId in data.rooms) {
306
309
  processEphemeralEvents(this.client, roomId, [data.rooms[roomId]]);
307
310
  }
@@ -363,7 +366,7 @@ export class SlidingSyncSdk {
363
366
  }
364
367
  room = _createAndReEmitRoom(this.client, roomId, this.opts);
365
368
  }
366
- await this.processRoomData(this.client, room!, roomData);
369
+ await this.processRoomData(this.client, room, roomData);
367
370
  }
368
371
 
369
372
  private onLifecycle(state: SlidingSyncState, resp: MSC3575SlidingSyncResponse | null, err?: Error): void {
@@ -479,6 +479,7 @@ export class SlidingSync extends TypedEventEmitter<SlidingSyncEvent, SlidingSync
479
479
 
480
480
  private async getExtensionRequest(isInitial: boolean): Promise<Record<string, object | undefined>> {
481
481
  const ext: Record<string, object | undefined> = {};
482
+ // oxlint-disable-next-line guard-for-in
482
483
  for (const extName in this.extensions) {
483
484
  ext[extName] = await this.extensions[extName].onRequest(isInitial);
484
485
  }
@@ -655,8 +656,9 @@ export class SlidingSync extends TypedEventEmitter<SlidingSyncEvent, SlidingSync
655
656
  }
656
657
  await this.onPreExtensionsResponse(resp.extensions);
657
658
 
659
+ // oxlint-disable-next-line guard-for-in
658
660
  for (const roomId in resp.rooms) {
659
- await this.invokeRoomDataListeners(roomId, resp!.rooms[roomId]);
661
+ await this.invokeRoomDataListeners(roomId, resp.rooms[roomId]);
660
662
  }
661
663
 
662
664
  this.invokeLifecycleListeners(SlidingSyncState.Complete, resp);
@@ -289,7 +289,7 @@ export class LocalIndexedDBStoreBackend implements IIndexedDBBackend {
289
289
  * @param membershipEvents - the membership events to store
290
290
  */
291
291
  public async setOutOfBandMembers(roomId: string, membershipEvents: IStateEventWithRoomId[]): Promise<void> {
292
- logger.log(`LL: backend about to store ${membershipEvents.length}` + ` members for ${roomId}`);
292
+ logger.log(`LL: backend about to store ${membershipEvents.length} members for ${roomId}`);
293
293
  const tx = this.db!.transaction(["oob_membership_events"], "readwrite");
294
294
  const store = tx.objectStore("oob_membership_events");
295
295
  membershipEvents.forEach((e) => {
@@ -137,6 +137,7 @@ export class IndexedDBStoreWorker {
137
137
  seq: msg.seq,
138
138
  // Can't be an Error because they're not structured cloneable
139
139
  error: "Unrecognised command",
140
+ // oxlint-disable-next-line unicorn/require-post-message-target-origin
140
141
  });
141
142
  return;
142
143
  }
@@ -14,8 +14,6 @@ See the License for the specific language governing permissions and
14
14
  limitations under the License.
15
15
  */
16
16
 
17
- /* eslint-disable @babel/no-invalid-this */
18
-
19
17
  import { MemoryStore, type IOpts as IBaseOpts } from "./memory.ts";
20
18
  import { LocalIndexedDBStoreBackend } from "./indexeddb-local-backend.ts";
21
19
  import { RemoteIndexedDBStoreBackend } from "./indexeddb-remote-backend.ts";
@@ -259,7 +259,9 @@ export class MemoryStore implements IStore {
259
259
  if (isValidFilterId(value)) {
260
260
  return value;
261
261
  }
262
- } catch {}
262
+ } catch {
263
+ // Do nothing
264
+ }
263
265
  return null;
264
266
  }
265
267
 
@@ -277,7 +279,9 @@ export class MemoryStore implements IStore {
277
279
  } else {
278
280
  this.localStorage.removeItem(key);
279
281
  }
280
- } catch {}
282
+ } catch {
283
+ // Do nothing
284
+ }
281
285
  }
282
286
 
283
287
  /**
@@ -288,13 +292,7 @@ export class MemoryStore implements IStore {
288
292
  */
289
293
  public storeAccountDataEvents(events: MatrixEvent[]): void {
290
294
  events.forEach((event) => {
291
- // MSC3391: an event with content of {} should be interpreted as deleted
292
- const isDeleted = !Object.keys(event.getContent()).length;
293
- if (isDeleted) {
294
- this.accountData.delete(event.getType());
295
- } else {
296
- this.accountData.set(event.getType(), event);
297
- }
295
+ this.accountData.set(event.getType(), event);
298
296
  });
299
297
  }
300
298
 
@@ -54,7 +54,6 @@ export interface IEphemeral {
54
54
  events: IMinimalEvent[];
55
55
  }
56
56
 
57
- /* eslint-disable camelcase */
58
57
  interface UnreadNotificationCounts {
59
58
  highlight_count?: number;
60
59
  notification_count?: number;
@@ -210,7 +209,6 @@ export interface ISyncResponse {
210
209
  "device_unused_fallback_key_types"?: string[];
211
210
  "org.matrix.msc2732.device_unused_fallback_key_types"?: string[];
212
211
  }
213
- /* eslint-enable camelcase */
214
212
 
215
213
  export enum Category {
216
214
  Invite = "invite",
@@ -607,7 +605,7 @@ export class SyncAccumulator {
607
605
  for (let i = startIndex; i < currentData._timeline.length; i++) {
608
606
  if (currentData._timeline[i].token) {
609
607
  // keep all events after this, including this one
610
- currentData._timeline = currentData._timeline.slice(i, currentData._timeline.length);
608
+ currentData._timeline = currentData._timeline.slice(i);
611
609
  break;
612
610
  }
613
611
  }
@@ -170,9 +170,7 @@ interface ISyncParams {
170
170
  "filter"?: string;
171
171
  "timeout": number;
172
172
  "since"?: string;
173
- // eslint-disable-next-line camelcase
174
173
  "full_state"?: boolean;
175
- // eslint-disable-next-line camelcase
176
174
  "set_presence"?: SetPresence;
177
175
  "_cacheBuster"?: string | number; // not part of the API itself
178
176
  "org.matrix.msc4222.use_state_after"?: boolean; // https://github.com/matrix-org/matrix-spec-proposals/pull/4222
@@ -1121,7 +1119,8 @@ export class SyncApi {
1121
1119
 
1122
1120
  // handle presence events (User objects)
1123
1121
  if (Array.isArray(data.presence?.events)) {
1124
- data.presence!.events.filter(noUnsafeEventProps)
1122
+ data.presence.events
1123
+ .filter(noUnsafeEventProps)
1125
1124
  .map(client.getEventMapper())
1126
1125
  .forEach(function (presenceEvent) {
1127
1126
  let user = client.store.getUser(presenceEvent.getSender()!);
@@ -1140,7 +1139,7 @@ export class SyncApi {
1140
1139
  if (Array.isArray(data.account_data?.events)) {
1141
1140
  const events = data.account_data.events.filter(noUnsafeEventProps).map(client.getEventMapper());
1142
1141
  const prevEventsMap = events.reduce<Record<string, MatrixEvent | undefined>>((m, c) => {
1143
- m[c.getType()!] = client.store.getAccountData(c.getType());
1142
+ m[c.getType()] = client.store.getAccountData(c.getType());
1144
1143
  return m;
1145
1144
  }, {});
1146
1145
  client.store.storeAccountDataEvents(events);
@@ -1153,7 +1152,7 @@ export class SyncApi {
1153
1152
  const rules = accountDataEvent.getContent<IPushRules>();
1154
1153
  client.setPushRules(rules);
1155
1154
  }
1156
- const prevEvent = prevEventsMap[accountDataEvent.getType()!];
1155
+ const prevEvent = prevEventsMap[accountDataEvent.getType()];
1157
1156
  client.emit(ClientEvent.AccountData, accountDataEvent, prevEvent);
1158
1157
  return accountDataEvent;
1159
1158
  });
@@ -1764,7 +1763,7 @@ export class SyncApi {
1764
1763
  // fire listeners
1765
1764
  member.setMembershipEvent(inviteEvent, room.currentState);
1766
1765
  },
1767
- function (err) {
1766
+ function () {
1768
1767
  // OH WELL.
1769
1768
  },
1770
1769
  );
@@ -27,7 +27,7 @@ import { type RoomMember } from "./models/room-member.ts";
27
27
  import { EventType } from "./@types/event.ts";
28
28
  import { type DecryptionFailureCode } from "./crypto-api/index.ts";
29
29
  import { DecryptionError, type EventDecryptionResult } from "./common-crypto/CryptoBackend.ts";
30
- import { OAuthGrantType, type OidcClientConfig, type ValidatedAuthMetadata } from "./oidc/index.ts";
30
+ import { OAuthGrantType, type ValidatedAuthMetadata } from "./oauth/index.ts";
31
31
 
32
32
  /**
33
33
  * Create a {@link MatrixEvent}.
@@ -195,26 +195,7 @@ export async function decryptExistingEvent(
195
195
  * @returns OidcClientConfig
196
196
  * @experimental
197
197
  */
198
- export const makeDelegatedAuthConfig = (
199
- issuer = "https://auth.org/",
200
- additionalGrantTypes: string[] = [],
201
- ): OidcClientConfig => {
202
- const metadata = mockOpenIdConfiguration(issuer, additionalGrantTypes);
203
-
204
- return {
205
- ...metadata,
206
- signingKeys: null,
207
- };
208
- };
209
-
210
- /**
211
- * Useful for mocking <issuer>/.well-known/openid-configuration
212
- * @param issuer used as the base for all other urls
213
- * @param additionalGrantTypes to add to the default grant types
214
- * @returns ValidatedAuthMetadata
215
- * @experimental
216
- */
217
- export const mockOpenIdConfiguration = (
198
+ export const makeDelegatedAuthMetadata = (
218
199
  issuer = "https://auth.org/",
219
200
  additionalGrantTypes: string[] = [],
220
201
  ): ValidatedAuthMetadata => ({
@@ -224,8 +205,8 @@ export const mockOpenIdConfiguration = (
224
205
  authorization_endpoint: issuer + "auth",
225
206
  registration_endpoint: issuer + "registration",
226
207
  device_authorization_endpoint: issuer + "device",
227
- jwks_uri: issuer + "jwks",
228
208
  response_types_supported: ["code"],
229
209
  grant_types_supported: [OAuthGrantType.AuthorizationCode, OAuthGrantType.RefreshToken, ...additionalGrantTypes],
230
210
  code_challenge_methods_supported: ["S256"],
211
+ response_modes_supported: ["query", "fragment"],
231
212
  });
@@ -394,7 +394,6 @@ export class TimelineWindow {
394
394
  // iterate through each timeline between this.start and this.end
395
395
  // (inclusive).
396
396
  let timeline: EventTimeline | null = this.start.timeline;
397
- // eslint-disable-next-line no-constant-condition
398
397
  while (timeline) {
399
398
  const events = timeline.getEvents();
400
399
 
@@ -31,7 +31,6 @@ export async function deriveKeys(key: Uint8Array<ArrayBuffer>, name: string): Pr
31
31
  {
32
32
  name: "HKDF",
33
33
  salt: zeroSalt,
34
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
35
34
  // @ts-ignore: https://github.com/microsoft/TypeScript-DOM-lib-generator/pull/879
36
35
  info: new TextEncoder().encode(name),
37
36
  hash: "SHA-256",
@@ -37,6 +37,7 @@ const interns = new Map<string, string>();
37
37
  export function internaliseString(str: string): string {
38
38
  // Unwrap strings before entering the map, if we somehow got a wrapped
39
39
  // string as our input. This should only happen from tests.
40
+ // oxlint-disable-next-line unicorn/no-instanceof-builtins
40
41
  if ((str as unknown) instanceof String) {
41
42
  str = str.toString();
42
43
  }
@@ -682,7 +683,7 @@ export function recursivelyAssign<T1 extends T2, T2 extends Record<string, any>>
682
683
  continue;
683
684
  }
684
685
  }
685
- return target as T1 & T2;
686
+ return target;
686
687
  }
687
688
 
688
689
  function getContentTimestampWithFallback(event: MatrixEvent): number {
@@ -740,7 +741,7 @@ export function recursiveMapToObject(map: Map<any, any>): Record<any, any> {
740
741
  return Object.fromEntries(targetMap.entries());
741
742
  }
742
743
 
743
- export function unsafeProp<K extends keyof any | undefined>(prop: K): boolean {
744
+ export function unsafeProp(prop: keyof any | undefined): boolean {
744
745
  return prop === "__proto__" || prop === "prototype" || prop === "constructor";
745
746
  }
746
747
 
@@ -1054,9 +1054,9 @@ export class MatrixCall extends TypedEventEmitter<CallEvent, CallEventHandlerMap
1054
1054
  logger.warn(
1055
1055
  `Call ${this.callId} shouldAnswerWithMediaType() unable to answer with ${type}=${wantedValue} because the other side doesn't support it. Answering with ${type}=${valueOfTheOtherSide}.`,
1056
1056
  );
1057
- return valueOfTheOtherSide!;
1057
+ return valueOfTheOtherSide;
1058
1058
  }
1059
- return wantedValue ?? valueOfTheOtherSide!;
1059
+ return wantedValue ?? valueOfTheOtherSide;
1060
1060
  }
1061
1061
 
1062
1062
  /**
@@ -2038,10 +2038,10 @@ export class MatrixCall extends TypedEventEmitter<CallEvent, CallEventHandlerMap
2038
2038
  this.remoteSDPStreamMetadata = recursivelyAssign(this.remoteSDPStreamMetadata || {}, metadata, true);
2039
2039
  for (const feed of this.getRemoteFeeds()) {
2040
2040
  const streamId = feed.stream.id;
2041
- const metadata = this.remoteSDPStreamMetadata![streamId];
2041
+ const metadata = this.remoteSDPStreamMetadata[streamId];
2042
2042
 
2043
2043
  feed.setAudioVideoMuted(metadata?.audio_muted, metadata?.video_muted);
2044
- feed.purpose = this.remoteSDPStreamMetadata![streamId]?.purpose;
2044
+ feed.purpose = this.remoteSDPStreamMetadata[streamId]?.purpose;
2045
2045
  }
2046
2046
  }
2047
2047
 
@@ -2286,7 +2286,7 @@ export class MatrixCall extends TypedEventEmitter<CallEvent, CallEventHandlerMap
2286
2286
  logger.debug(
2287
2287
  `Call ${this.callId} onIceConnectionStateChanged() ice restart (state=${this.peerConn?.iceConnectionState})`,
2288
2288
  );
2289
- this.peerConn!.restartIce();
2289
+ this.peerConn.restartIce();
2290
2290
  } else {
2291
2291
  logger.info(
2292
2292
  `Call ${this.callId} onIceConnectionStateChanged() hanging up call (ICE failed and no ICE restart method)`,
@@ -2533,7 +2533,7 @@ export class MatrixCall extends TypedEventEmitter<CallEvent, CallEventHandlerMap
2533
2533
  this,
2534
2534
  );
2535
2535
 
2536
- await this.client.sendEvent(this.roomId!, eventType, realContent);
2536
+ await this.client.sendEvent(this.roomId, eventType, realContent);
2537
2537
  }
2538
2538
  }
2539
2539
 
@@ -1,6 +1,3 @@
1
- // allow non-camelcase as these are events type that go onto the wire
2
- /* eslint-disable camelcase */
3
-
4
1
  import { type CallErrorCode } from "./call.ts";
5
2
  import { NamespacedValue } from "../NamespacedValue.ts";
6
3
 
@@ -97,5 +94,3 @@ export interface MCallCandidates extends MCallBase {
97
94
  export interface MCallHangupReject extends MCallBase {
98
95
  reason?: CallErrorCode;
99
96
  }
100
-
101
- /* eslint-enable camelcase */
@@ -1323,7 +1323,7 @@ export class GroupCall extends TypedEventEmitter<
1323
1323
  */
1324
1324
 
1325
1325
  public getUserMediaFeed(userId: string, deviceId: string): CallFeed | undefined {
1326
- return this.userMediaFeeds.find((f) => f.userId === userId && f.deviceId! === deviceId);
1326
+ return this.userMediaFeeds.find((f) => f.userId === userId && f.deviceId === deviceId);
1327
1327
  }
1328
1328
 
1329
1329
  private addUserMediaFeed(callFeed: CallFeed): void {
@@ -1334,7 +1334,7 @@ export class GroupCall extends TypedEventEmitter<
1334
1334
 
1335
1335
  private replaceUserMediaFeed(existingFeed: CallFeed, replacementFeed: CallFeed): void {
1336
1336
  const feedIndex = this.userMediaFeeds.findIndex(
1337
- (f) => f.userId === existingFeed.userId && f.deviceId! === existingFeed.deviceId,
1337
+ (f) => f.userId === existingFeed.userId && f.deviceId === existingFeed.deviceId,
1338
1338
  );
1339
1339
 
1340
1340
  if (feedIndex === -1) {
@@ -1350,7 +1350,7 @@ export class GroupCall extends TypedEventEmitter<
1350
1350
 
1351
1351
  private removeUserMediaFeed(callFeed: CallFeed): void {
1352
1352
  const feedIndex = this.userMediaFeeds.findIndex(
1353
- (f) => f.userId === callFeed.userId && f.deviceId! === callFeed.deviceId,
1353
+ (f) => f.userId === callFeed.userId && f.deviceId === callFeed.deviceId,
1354
1354
  );
1355
1355
 
1356
1356
  if (feedIndex === -1) {
@@ -1397,7 +1397,7 @@ export class GroupCall extends TypedEventEmitter<
1397
1397
  */
1398
1398
 
1399
1399
  public getScreenshareFeed(userId: string, deviceId: string): CallFeed | undefined {
1400
- return this.screenshareFeeds.find((f) => f.userId === userId && f.deviceId! === deviceId);
1400
+ return this.screenshareFeeds.find((f) => f.userId === userId && f.deviceId === deviceId);
1401
1401
  }
1402
1402
 
1403
1403
  private addScreenshareFeed(callFeed: CallFeed): void {
@@ -1407,7 +1407,7 @@ export class GroupCall extends TypedEventEmitter<
1407
1407
 
1408
1408
  private replaceScreenshareFeed(existingFeed: CallFeed, replacementFeed: CallFeed): void {
1409
1409
  const feedIndex = this.screenshareFeeds.findIndex(
1410
- (f) => f.userId === existingFeed.userId && f.deviceId! === existingFeed.deviceId,
1410
+ (f) => f.userId === existingFeed.userId && f.deviceId === existingFeed.deviceId,
1411
1411
  );
1412
1412
 
1413
1413
  if (feedIndex === -1) {
@@ -1422,7 +1422,7 @@ export class GroupCall extends TypedEventEmitter<
1422
1422
 
1423
1423
  private removeScreenshareFeed(callFeed: CallFeed): void {
1424
1424
  const feedIndex = this.screenshareFeeds.findIndex(
1425
- (f) => f.userId === callFeed.userId && f.deviceId! === callFeed.deviceId,
1425
+ (f) => f.userId === callFeed.userId && f.deviceId === callFeed.deviceId,
1426
1426
  );
1427
1427
 
1428
1428
  if (feedIndex === -1) {
@@ -1469,7 +1469,7 @@ export class GroupCall extends TypedEventEmitter<
1469
1469
  const content = e.getContent<Record<any, unknown>>();
1470
1470
  const calls: Record<any, unknown>[] = Array.isArray(content["m.calls"]) ? content["m.calls"] : [];
1471
1471
  const call = calls.find((call) => call["m.call_id"] === this.groupCallId);
1472
- const devices: Record<any, unknown>[] = Array.isArray(call?.["m.devices"]) ? call!["m.devices"] : [];
1472
+ const devices: Record<any, unknown>[] = Array.isArray(call?.["m.devices"]) ? call["m.devices"] : [];
1473
1473
 
1474
1474
  // Filter out invalid and expired devices
1475
1475
  let validDevices = devices.filter(
@@ -93,7 +93,7 @@ export class MediaHandler extends TypedEventEmitter<
93
93
  public async setAudioSettings(opts: AudioSettings): Promise<void> {
94
94
  logger.info(`MediaHandler setAudioSettings() running (opts=${JSON.stringify(opts)})`);
95
95
 
96
- this.audioSettings = Object.assign({}, opts) as AudioSettings;
96
+ this.audioSettings = Object.assign({}, opts);
97
97
  await this.updateLocalUsermediaStreams();
98
98
  }
99
99
 
@@ -56,7 +56,7 @@ export class CallStatsReportGatherer {
56
56
  receivedVideoMedia: 0,
57
57
  audioTrackSummary: { count: 0, muted: 0, maxPacketLoss: 0, maxJitter: 0, concealedAudio: 0, totalAudio: 0 },
58
58
  videoTrackSummary: { count: 0, muted: 0, maxPacketLoss: 0, maxJitter: 0, concealedAudio: 0, totalAudio: 0 },
59
- } as CallStatsReportSummary;
59
+ } satisfies CallStatsReportSummary;
60
60
  if (this.isActive) {
61
61
  const statsPromise = this.pc.getStats();
62
62
  if (typeof statsPromise?.then === "function") {
@@ -96,7 +96,7 @@ export class CallStatsReportGatherer {
96
96
  }
97
97
 
98
98
  private processStatsReport(groupCallId: string, localUserId: string): void {
99
- const byteSentStatsReport: ByteSentStatsReport = new Map<TrackID, ByteSend>() as ByteSentStatsReport;
99
+ const byteSentStatsReport: ByteSentStatsReport = new Map<TrackID, ByteSend>();
100
100
  byteSentStatsReport.callId = this.callId;
101
101
  byteSentStatsReport.opponentMemberId = this.opponentMemberId;
102
102
 
@@ -40,7 +40,7 @@ export class TransportStatsBuilder {
40
40
  remoteCandidateType: remoteUsedCandidate.candidateType,
41
41
  networkType: localUsedCandidate.networkType,
42
42
  rtt: now.currentRoundTripTime ? now.currentRoundTripTime * 1000 : NaN,
43
- } as TransportStats);
43
+ });
44
44
  }
45
45
  }
46
46
  return conferenceStatsTransport;
@@ -0,0 +1,34 @@
1
+ /*
2
+ Copyright 2026 The Matrix.org Foundation C.I.C.
3
+
4
+ Licensed under the Apache License, Version 2.0 (the "License");
5
+ you may not use this file except in compliance with the License.
6
+ You may obtain a copy of the License at
7
+
8
+ http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+ Unless required by applicable law or agreed to in writing, software
11
+ distributed under the License is distributed on an "AS IS" BASIS,
12
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ See the License for the specific language governing permissions and
14
+ limitations under the License.
15
+ */
16
+
17
+ import { PollingCachedValue } from "./pollingCachedValue.ts";
18
+ import { ClientEvent, type IClientWellKnown, type MatrixClient } from "./client.ts";
19
+ import { type Logger } from "./logger.ts";
20
+ import { AutoDiscovery } from "./autodiscovery.ts";
21
+
22
+ /**
23
+ * Builds a cache for the well-known configuration of the given client.
24
+ */
25
+ export function createWellKnownCachedValue(client: MatrixClient, logger: Logger): PollingCachedValue<IClientWellKnown> {
26
+ return new PollingCachedValue({
27
+ name: "WellKnown",
28
+ logger,
29
+ // No expiration by default
30
+ ttlMillis: undefined,
31
+ fetch: () => AutoDiscovery.getRawClientConfig(client.getDomain() ?? undefined),
32
+ onValueCached: (wellKnown) => client.emit(ClientEvent.ClientWellKnown, wellKnown),
33
+ });
34
+ }