matrix-js-sdk 27.1.0 → 27.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/browser-matrix.js +722 -442
  3. package/dist/browser-matrix.js.map +29 -23
  4. package/dist/browser-matrix.min.js +5 -5
  5. package/dist/browser-matrix.min.js.map +1 -1
  6. package/git-revision.txt +1 -1
  7. package/lib/@types/requests.d.ts +10 -0
  8. package/lib/@types/requests.d.ts.map +1 -1
  9. package/lib/@types/requests.js.map +1 -1
  10. package/lib/client.d.ts +19 -1
  11. package/lib/client.d.ts.map +1 -1
  12. package/lib/client.js +54 -19
  13. package/lib/client.js.map +1 -1
  14. package/lib/crypto/OlmDevice.js +1 -1
  15. package/lib/crypto/OlmDevice.js.map +1 -1
  16. package/lib/crypto/backup.d.ts +8 -0
  17. package/lib/crypto/backup.d.ts.map +1 -1
  18. package/lib/crypto/backup.js +16 -0
  19. package/lib/crypto/backup.js.map +1 -1
  20. package/lib/crypto/deviceinfo.d.ts +2 -0
  21. package/lib/crypto/deviceinfo.d.ts.map +1 -1
  22. package/lib/crypto/deviceinfo.js +2 -0
  23. package/lib/crypto/deviceinfo.js.map +1 -1
  24. package/lib/crypto/index.d.ts +20 -2
  25. package/lib/crypto/index.d.ts.map +1 -1
  26. package/lib/crypto/index.js +34 -2
  27. package/lib/crypto/index.js.map +1 -1
  28. package/lib/crypto/verification/request/InRoomChannel.d.ts +1 -1
  29. package/lib/crypto/verification/request/InRoomChannel.d.ts.map +1 -1
  30. package/lib/crypto/verification/request/InRoomChannel.js +2 -2
  31. package/lib/crypto/verification/request/InRoomChannel.js.map +1 -1
  32. package/lib/crypto-api/keybackup.d.ts +19 -1
  33. package/lib/crypto-api/keybackup.d.ts.map +1 -1
  34. package/lib/crypto-api/keybackup.js.map +1 -1
  35. package/lib/crypto-api.d.ts +38 -1
  36. package/lib/crypto-api.d.ts.map +1 -1
  37. package/lib/crypto-api.js.map +1 -1
  38. package/lib/matrix.d.ts +13 -5
  39. package/lib/matrix.d.ts.map +1 -1
  40. package/lib/matrix.js +95 -0
  41. package/lib/matrix.js.map +1 -1
  42. package/lib/models/room.d.ts.map +1 -1
  43. package/lib/models/room.js +2 -0
  44. package/lib/models/room.js.map +1 -1
  45. package/lib/rust-crypto/backup.d.ts +20 -0
  46. package/lib/rust-crypto/backup.d.ts.map +1 -0
  47. package/lib/rust-crypto/backup.js +57 -0
  48. package/lib/rust-crypto/backup.js.map +1 -0
  49. package/lib/rust-crypto/rust-crypto.d.ts +36 -2
  50. package/lib/rust-crypto/rust-crypto.d.ts.map +1 -1
  51. package/lib/rust-crypto/rust-crypto.js +107 -7
  52. package/lib/rust-crypto/rust-crypto.js.map +1 -1
  53. package/lib/sync.d.ts +2 -0
  54. package/lib/sync.d.ts.map +1 -1
  55. package/lib/sync.js +13 -1
  56. package/lib/sync.js.map +1 -1
  57. package/lib/timeline-window.d.ts.map +1 -1
  58. package/lib/timeline-window.js +4 -1
  59. package/lib/timeline-window.js.map +1 -1
  60. package/lib/webrtc/groupCallEventHandler.js +1 -1
  61. package/lib/webrtc/groupCallEventHandler.js.map +1 -1
  62. package/package.json +5 -5
  63. package/src/@types/requests.ts +12 -0
  64. package/src/client.ts +55 -25
  65. package/src/crypto/OlmDevice.ts +1 -1
  66. package/src/crypto/backup.ts +14 -0
  67. package/src/crypto/deviceinfo.ts +2 -0
  68. package/src/crypto/index.ts +36 -3
  69. package/src/crypto/verification/request/InRoomChannel.ts +2 -2
  70. package/src/crypto-api/keybackup.ts +21 -1
  71. package/src/crypto-api.ts +42 -1
  72. package/src/matrix.ts +13 -4
  73. package/src/models/room.ts +2 -0
  74. package/src/rust-crypto/backup.ts +55 -0
  75. package/src/rust-crypto/rust-crypto.ts +131 -8
  76. package/src/sync.ts +19 -3
  77. package/src/timeline-window.ts +4 -1
  78. package/src/webrtc/groupCallEventHandler.ts +1 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,20 @@
1
+ Changes in [27.2.0](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v27.2.0) (2023-08-15)
2
+ ==================================================================================================
3
+
4
+ ## 🦖 Deprecations
5
+ * **The Browserify artifact is being deprecated, scheduled for removal in the October 10th release cycle. (#3189)**
6
+
7
+ ## ✨ Features
8
+ * Allow knocking rooms ([\#3647](https://github.com/matrix-org/matrix-js-sdk/pull/3647)). Contributed by @charlynguyen.
9
+ * Bump pagination limit to account for threaded events ([\#3638](https://github.com/matrix-org/matrix-js-sdk/pull/3638)).
10
+ * ElementR: Add `CryptoApi.findVerificationRequestDMInProgress` ([\#3601](https://github.com/matrix-org/matrix-js-sdk/pull/3601)). Contributed by @florianduros.
11
+ * Export more into the public interface ([\#3614](https://github.com/matrix-org/matrix-js-sdk/pull/3614)).
12
+
13
+ ## 🐛 Bug Fixes
14
+ * Fix wrong handling of encrypted rooms when loading them from sync accumulator ([\#3640](https://github.com/matrix-org/matrix-js-sdk/pull/3640)). Fixes vector-im/element-web#25803.
15
+ * Skip processing thread roots and fetching threads list when support is disabled ([\#3642](https://github.com/matrix-org/matrix-js-sdk/pull/3642)).
16
+ * Ensure we don't overinflate the total notification count ([\#3634](https://github.com/matrix-org/matrix-js-sdk/pull/3634)). Fixes vector-im/element-web#25803.
17
+
1
18
  Changes in [27.1.0](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v27.1.0) (2023-08-01)
2
19
  ==================================================================================================
3
20