@stream-io/video-client 0.0.1-alpha.13 → 0.0.1-alpha.130

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 (267) hide show
  1. package/CHANGELOG.md +71 -0
  2. package/README.md +16 -4
  3. package/dist/{index.js → index.browser.es.js} +6539 -4234
  4. package/dist/index.browser.es.js.map +1 -0
  5. package/dist/index.cjs.js +11005 -0
  6. package/dist/index.cjs.js.map +1 -0
  7. package/dist/index.d.ts +6 -7
  8. package/dist/index.es.js +10947 -0
  9. package/dist/index.es.js.map +1 -0
  10. package/dist/src/Call.d.ts +402 -0
  11. package/dist/src/CallType.d.ts +72 -0
  12. package/dist/src/StreamSfuClient.d.ts +42 -13
  13. package/dist/src/StreamVideoClient.d.ts +66 -85
  14. package/dist/src/coordinator/connection/client.d.ts +17 -21
  15. package/dist/src/coordinator/connection/connection.d.ts +9 -8
  16. package/dist/src/coordinator/connection/connection_fallback.d.ts +3 -2
  17. package/dist/src/coordinator/connection/insights.d.ts +0 -1
  18. package/dist/src/coordinator/connection/token_manager.d.ts +6 -5
  19. package/dist/src/coordinator/connection/types.d.ts +26 -24
  20. package/dist/src/coordinator/connection/utils.d.ts +5 -1
  21. package/dist/src/{devices.d.ts → devices/devices.d.ts} +22 -0
  22. package/dist/src/devices/index.d.ts +1 -0
  23. package/dist/src/events/__tests__/call-permissions.test.d.ts +1 -0
  24. package/dist/src/events/__tests__/call.test.d.ts +1 -0
  25. package/dist/src/events/call-permissions.d.ts +18 -0
  26. package/dist/src/events/call.d.ts +14 -18
  27. package/dist/src/events/callEventHandlers.d.ts +5 -0
  28. package/dist/src/events/index.d.ts +8 -0
  29. package/dist/src/events/internal.d.ts +4 -4
  30. package/dist/src/events/moderation.d.ts +14 -0
  31. package/dist/src/events/participant.d.ts +6 -7
  32. package/dist/src/events/reactions.d.ts +8 -0
  33. package/dist/src/events/recording.d.ts +10 -0
  34. package/dist/src/events/speaker.d.ts +4 -4
  35. package/dist/src/gen/coordinator/index.d.ts +2570 -983
  36. package/dist/src/gen/video/sfu/event/events.d.ts +101 -30
  37. package/dist/src/gen/video/sfu/models/models.d.ts +287 -8
  38. package/dist/src/helpers/ViewportTracker.d.ts +36 -0
  39. package/dist/src/helpers/browsers.d.ts +4 -0
  40. package/dist/src/helpers/platforms.d.ts +4 -0
  41. package/dist/src/helpers/sound-detector.d.ts +1 -1
  42. package/dist/src/permissions/PermissionsContext.d.ts +38 -0
  43. package/dist/src/permissions/index.d.ts +1 -0
  44. package/dist/src/rpc/createClient.d.ts +1 -1
  45. package/dist/src/rpc/index.d.ts +0 -1
  46. package/dist/src/rtc/Dispatcher.d.ts +10 -0
  47. package/dist/src/rtc/__tests__/mocks/webrtc.mocks.d.ts +1 -0
  48. package/dist/src/rtc/__tests__/publisher.test.d.ts +1 -0
  49. package/dist/src/rtc/codecs.d.ts +2 -2
  50. package/dist/src/rtc/flows/__tests__/latency.test.d.ts +1 -0
  51. package/dist/src/rtc/flows/join.d.ts +10 -0
  52. package/dist/src/rtc/flows/latency.d.ts +26 -0
  53. package/dist/src/rtc/helpers/tracks.d.ts +4 -2
  54. package/dist/src/rtc/index.d.ts +7 -0
  55. package/dist/src/rtc/publisher.d.ts +20 -9
  56. package/dist/src/rtc/signal.d.ts +1 -1
  57. package/dist/src/rtc/subscriber.d.ts +4 -2
  58. package/dist/src/rtc/videoLayers.d.ts +1 -11
  59. package/dist/src/sdk-info.d.ts +3 -0
  60. package/dist/src/sorting/__tests__/participant-data.d.ts +2 -0
  61. package/dist/src/sorting/__tests__/sorting.test.d.ts +1 -0
  62. package/dist/src/sorting/comparator.d.ts +37 -0
  63. package/dist/src/sorting/index.d.ts +3 -0
  64. package/dist/src/sorting/participants.d.ts +65 -0
  65. package/dist/src/sorting/presets.d.ts +13 -0
  66. package/dist/src/stats/state-store-stats-reporter.d.ts +3 -3
  67. package/dist/src/store/CallState.d.ts +345 -0
  68. package/dist/src/store/__tests__/CallState.test.d.ts +1 -0
  69. package/dist/src/store/index.d.ts +1 -0
  70. package/dist/src/store/rxUtils.d.ts +12 -1
  71. package/dist/src/store/stateStore.d.ts +68 -115
  72. package/dist/src/types.d.ts +160 -0
  73. package/index.ts +6 -15
  74. package/package.json +31 -19
  75. package/src/Call.ts +1466 -0
  76. package/src/CallType.ts +123 -0
  77. package/src/StreamSfuClient.ts +194 -58
  78. package/src/StreamVideoClient.ts +216 -394
  79. package/src/__tests__/StreamVideoClient.test.ts +4 -78
  80. package/src/coordinator/connection/client.ts +76 -83
  81. package/src/coordinator/connection/connection.ts +50 -25
  82. package/src/coordinator/connection/connection_fallback.ts +6 -3
  83. package/src/coordinator/connection/errors.ts +10 -0
  84. package/src/coordinator/connection/token_manager.ts +18 -10
  85. package/src/coordinator/connection/types.ts +34 -27
  86. package/src/coordinator/connection/utils.ts +8 -4
  87. package/src/{devices.ts → devices/devices.ts} +112 -5
  88. package/src/devices/index.ts +1 -0
  89. package/src/events/__tests__/call-permissions.test.ts +109 -0
  90. package/src/events/__tests__/call.test.ts +188 -0
  91. package/src/events/call-permissions.ts +69 -0
  92. package/src/events/call.ts +40 -141
  93. package/src/events/callEventHandlers.ts +80 -0
  94. package/src/events/index.ts +8 -0
  95. package/src/events/internal.ts +6 -6
  96. package/src/events/moderation.ts +35 -0
  97. package/src/events/participant.ts +14 -32
  98. package/src/events/reactions.ts +30 -0
  99. package/src/events/recording.ts +22 -0
  100. package/src/events/speaker.ts +9 -9
  101. package/src/gen/coordinator/index.ts +2390 -829
  102. package/src/gen/video/sfu/event/events.ts +2984 -1570
  103. package/src/gen/video/sfu/models/models.ts +2227 -897
  104. package/src/helpers/ViewportTracker.ts +112 -0
  105. package/src/helpers/browsers.ts +12 -2
  106. package/src/helpers/platforms.ts +7 -0
  107. package/src/helpers/sound-detector.ts +17 -2
  108. package/src/permissions/PermissionsContext.ts +63 -0
  109. package/src/permissions/index.ts +1 -0
  110. package/src/rpc/createClient.ts +3 -2
  111. package/src/rpc/index.ts +0 -1
  112. package/src/rtc/Dispatcher.ts +33 -0
  113. package/src/rtc/__tests__/mocks/webrtc.mocks.ts +42 -0
  114. package/src/rtc/__tests__/publisher.test.ts +142 -0
  115. package/src/rtc/codecs.ts +28 -15
  116. package/src/rtc/flows/__tests__/latency.test.ts +46 -0
  117. package/src/rtc/flows/join.ts +110 -0
  118. package/src/rtc/flows/latency.ts +91 -0
  119. package/src/rtc/helpers/tracks.ts +35 -3
  120. package/src/rtc/index.ts +7 -0
  121. package/src/rtc/publisher.ts +173 -52
  122. package/src/rtc/signal.ts +23 -23
  123. package/src/rtc/subscriber.ts +43 -27
  124. package/src/rtc/videoLayers.ts +3 -3
  125. package/src/sdk-info.ts +11 -0
  126. package/src/sorting/__tests__/participant-data.ts +99 -0
  127. package/src/sorting/__tests__/sorting.test.ts +46 -0
  128. package/src/sorting/comparator.ts +62 -0
  129. package/src/sorting/index.ts +3 -0
  130. package/src/sorting/participants.ts +135 -0
  131. package/src/sorting/presets.ts +62 -0
  132. package/src/stats/state-store-stats-reporter.ts +6 -10
  133. package/src/store/CallState.ts +565 -0
  134. package/src/store/__tests__/CallState.test.ts +105 -0
  135. package/src/store/index.ts +1 -0
  136. package/src/store/rxUtils.ts +24 -7
  137. package/src/store/stateStore.ts +137 -246
  138. package/src/{rtc/types.ts → types.ts} +113 -11
  139. package/coverage/lcov-report/base.css +0 -224
  140. package/coverage/lcov-report/block-navigation.js +0 -87
  141. package/coverage/lcov-report/favicon.png +0 -0
  142. package/coverage/lcov-report/index.html +0 -296
  143. package/coverage/lcov-report/prettify.css +0 -1
  144. package/coverage/lcov-report/prettify.js +0 -2
  145. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  146. package/coverage/lcov-report/sorter.js +0 -196
  147. package/coverage/lcov-report/src/Batcher.ts.html +0 -214
  148. package/coverage/lcov-report/src/CallDropScheduler.ts.html +0 -661
  149. package/coverage/lcov-report/src/StreamSfuClient.ts.html +0 -640
  150. package/coverage/lcov-report/src/StreamVideoClient.ts.html +0 -1633
  151. package/coverage/lcov-report/src/config/defaultConfigs.ts.html +0 -130
  152. package/coverage/lcov-report/src/config/index.html +0 -116
  153. package/coverage/lcov-report/src/coordinator/StreamCoordinatorClient.ts.html +0 -424
  154. package/coverage/lcov-report/src/coordinator/connection/base64.ts.html +0 -325
  155. package/coverage/lcov-report/src/coordinator/connection/client.ts.html +0 -2527
  156. package/coverage/lcov-report/src/coordinator/connection/connection.ts.html +0 -2338
  157. package/coverage/lcov-report/src/coordinator/connection/connection_fallback.ts.html +0 -802
  158. package/coverage/lcov-report/src/coordinator/connection/errors.ts.html +0 -295
  159. package/coverage/lcov-report/src/coordinator/connection/index.html +0 -251
  160. package/coverage/lcov-report/src/coordinator/connection/insights.ts.html +0 -349
  161. package/coverage/lcov-report/src/coordinator/connection/signing.ts.html +0 -397
  162. package/coverage/lcov-report/src/coordinator/connection/token_manager.ts.html +0 -565
  163. package/coverage/lcov-report/src/coordinator/connection/types.ts.html +0 -418
  164. package/coverage/lcov-report/src/coordinator/connection/utils.ts.html +0 -529
  165. package/coverage/lcov-report/src/coordinator/index.html +0 -116
  166. package/coverage/lcov-report/src/events/call.ts.html +0 -583
  167. package/coverage/lcov-report/src/events/index.html +0 -161
  168. package/coverage/lcov-report/src/events/internal.ts.html +0 -226
  169. package/coverage/lcov-report/src/events/participant.ts.html +0 -376
  170. package/coverage/lcov-report/src/events/speaker.ts.html +0 -271
  171. package/coverage/lcov-report/src/gen/google/protobuf/index.html +0 -131
  172. package/coverage/lcov-report/src/gen/google/protobuf/struct.ts.html +0 -1528
  173. package/coverage/lcov-report/src/gen/google/protobuf/timestamp.ts.html +0 -958
  174. package/coverage/lcov-report/src/gen/video/sfu/event/events.ts.html +0 -5971
  175. package/coverage/lcov-report/src/gen/video/sfu/event/index.html +0 -116
  176. package/coverage/lcov-report/src/gen/video/sfu/models/index.html +0 -116
  177. package/coverage/lcov-report/src/gen/video/sfu/models/models.ts.html +0 -3271
  178. package/coverage/lcov-report/src/index.html +0 -161
  179. package/coverage/lcov-report/src/rpc/index.html +0 -131
  180. package/coverage/lcov-report/src/rpc/index.ts.html +0 -91
  181. package/coverage/lcov-report/src/rpc/latency.ts.html +0 -214
  182. package/coverage/lcov-report/src/rtc/Call.ts.html +0 -1840
  183. package/coverage/lcov-report/src/rtc/CallMetadata.ts.html +0 -157
  184. package/coverage/lcov-report/src/rtc/Dispatcher.ts.html +0 -223
  185. package/coverage/lcov-report/src/rtc/IceTrickleBuffer.ts.html +0 -148
  186. package/coverage/lcov-report/src/rtc/callEventHandlers.ts.html +0 -196
  187. package/coverage/lcov-report/src/rtc/codecs.ts.html +0 -268
  188. package/coverage/lcov-report/src/rtc/helpers/iceCandidate.ts.html +0 -133
  189. package/coverage/lcov-report/src/rtc/helpers/index.html +0 -131
  190. package/coverage/lcov-report/src/rtc/helpers/tracks.ts.html +0 -139
  191. package/coverage/lcov-report/src/rtc/index.html +0 -251
  192. package/coverage/lcov-report/src/rtc/publisher.ts.html +0 -1000
  193. package/coverage/lcov-report/src/rtc/signal.ts.html +0 -187
  194. package/coverage/lcov-report/src/rtc/subscriber.ts.html +0 -340
  195. package/coverage/lcov-report/src/rtc/videoLayers.ts.html +0 -394
  196. package/coverage/lcov-report/src/stats/index.html +0 -116
  197. package/coverage/lcov-report/src/stats/state-store-stats-reporter.ts.html +0 -1177
  198. package/coverage/lcov-report/src/store/index.html +0 -146
  199. package/coverage/lcov-report/src/store/index.ts.html +0 -91
  200. package/coverage/lcov-report/src/store/rxUtils.ts.html +0 -211
  201. package/coverage/lcov-report/src/store/stateStore.ts.html +0 -1108
  202. package/coverage/lcov.info +0 -11475
  203. package/coverage/tmp/coverage-2198-1676024259073-2.json +0 -1
  204. package/dist/index.js.map +0 -1
  205. package/dist/src/Batcher.d.ts +0 -12
  206. package/dist/src/CallDropScheduler.d.ts +0 -44
  207. package/dist/src/config/defaultConfigs.d.ts +0 -2
  208. package/dist/src/config/types.d.ts +0 -29
  209. package/dist/src/coordinator/StreamCoordinatorClient.d.ts +0 -19
  210. package/dist/src/coordinator/connection/events.d.ts +0 -10
  211. package/dist/src/gen/google/protobuf/descriptor.d.ts +0 -1650
  212. package/dist/src/gen/google/protobuf/duration.d.ts +0 -113
  213. package/dist/src/gen/video/coordinator/broadcast_v1/broadcast.d.ts +0 -66
  214. package/dist/src/gen/video/coordinator/call_v1/call.d.ts +0 -254
  215. package/dist/src/gen/video/coordinator/client_v1_rpc/client_rpc.client.d.ts +0 -351
  216. package/dist/src/gen/video/coordinator/client_v1_rpc/client_rpc.d.ts +0 -1488
  217. package/dist/src/gen/video/coordinator/client_v1_rpc/envelopes.d.ts +0 -143
  218. package/dist/src/gen/video/coordinator/client_v1_rpc/websocket.d.ts +0 -292
  219. package/dist/src/gen/video/coordinator/edge_v1/edge.d.ts +0 -183
  220. package/dist/src/gen/video/coordinator/event_v1/event.d.ts +0 -411
  221. package/dist/src/gen/video/coordinator/geofence_v1/geofence.d.ts +0 -63
  222. package/dist/src/gen/video/coordinator/member_v1/member.d.ts +0 -59
  223. package/dist/src/gen/video/coordinator/participant_v1/participant.d.ts +0 -103
  224. package/dist/src/gen/video/coordinator/push_v1/push.d.ts +0 -240
  225. package/dist/src/gen/video/coordinator/stat_v1/stat.d.ts +0 -308
  226. package/dist/src/gen/video/coordinator/user_v1/user.d.ts +0 -112
  227. package/dist/src/gen/video/coordinator/utils_v1/utils.d.ts +0 -47
  228. package/dist/src/rpc/latency.d.ts +0 -9
  229. package/dist/src/rtc/Call.d.ts +0 -180
  230. package/dist/src/rtc/CallMetadata.d.ts +0 -9
  231. package/dist/src/rtc/callEventHandlers.d.ts +0 -5
  232. package/dist/src/rtc/types.d.ts +0 -84
  233. package/dist/src/stats/coordinator-stats-reporter.d.ts +0 -10
  234. package/generate-openapi.sh +0 -32
  235. package/openapitools.json +0 -7
  236. package/rollup.config.mjs +0 -48
  237. package/src/Batcher.ts +0 -43
  238. package/src/CallDropScheduler.ts +0 -192
  239. package/src/config/defaultConfigs.ts +0 -15
  240. package/src/config/types.ts +0 -30
  241. package/src/coordinator/StreamCoordinatorClient.ts +0 -113
  242. package/src/coordinator/connection/events.ts +0 -13
  243. package/src/gen/google/protobuf/descriptor.ts +0 -3466
  244. package/src/gen/google/protobuf/duration.ts +0 -232
  245. package/src/gen/video/coordinator/broadcast_v1/broadcast.ts +0 -154
  246. package/src/gen/video/coordinator/call_v1/call.ts +0 -651
  247. package/src/gen/video/coordinator/client_v1_rpc/client_rpc.client.ts +0 -463
  248. package/src/gen/video/coordinator/client_v1_rpc/client_rpc.ts +0 -3819
  249. package/src/gen/video/coordinator/client_v1_rpc/envelopes.ts +0 -424
  250. package/src/gen/video/coordinator/client_v1_rpc/websocket.ts +0 -719
  251. package/src/gen/video/coordinator/edge_v1/edge.ts +0 -532
  252. package/src/gen/video/coordinator/event_v1/event.ts +0 -1171
  253. package/src/gen/video/coordinator/geofence_v1/geofence.ts +0 -128
  254. package/src/gen/video/coordinator/member_v1/member.ts +0 -138
  255. package/src/gen/video/coordinator/participant_v1/participant.ts +0 -261
  256. package/src/gen/video/coordinator/push_v1/push.ts +0 -651
  257. package/src/gen/video/coordinator/stat_v1/stat.ts +0 -656
  258. package/src/gen/video/coordinator/user_v1/user.ts +0 -277
  259. package/src/gen/video/coordinator/utils_v1/utils.ts +0 -98
  260. package/src/rpc/latency.ts +0 -43
  261. package/src/rtc/Call.ts +0 -585
  262. package/src/rtc/CallMetadata.ts +0 -24
  263. package/src/rtc/callEventHandlers.ts +0 -37
  264. package/src/stats/coordinator-stats-reporter.ts +0 -167
  265. package/tsconfig.json +0 -25
  266. package/typedoc.json +0 -11
  267. package/vite.config.ts +0 -11
package/CHANGELOG.md ADDED
@@ -0,0 +1,71 @@
1
+ # Changelog
2
+
3
+ This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
+
5
+ ## [0.0.1-alpha.130](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.129...client0.0.1-alpha.130) (2023-05-10)
6
+
7
+
8
+
9
+ ## [0.0.1-alpha.129](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.128...client0.0.1-alpha.129) (2023-05-09)
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * bugfixes in event handling and blocking users ([#476](https://github.com/GetStream/stream-video-js/issues/476)) ([5e9a4fb](https://github.com/GetStream/stream-video-js/commit/5e9a4fb2819cc087f3e095b93488fa9c4df018a4))
15
+
16
+
17
+
18
+ ## [0.0.1-alpha.128](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.127...client0.0.1-alpha.128) (2023-05-09)
19
+
20
+
21
+ ### Reverts
22
+
23
+ * Revert "chore: Avoid non-atomic pushes resulting in invalid version tags" ([24be283](https://github.com/GetStream/stream-video-js/commit/24be28300a5f5d452338457d60b1e34682027be6))
24
+
25
+
26
+
27
+ ## [0.0.1-alpha.127](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.126...client0.0.1-alpha.127) (2023-05-09)
28
+
29
+
30
+ ### Bug Fixes
31
+
32
+ * **permissions:** add shortcut APIs ([#475](https://github.com/GetStream/stream-video-js/issues/475)) ([466614c](https://github.com/GetStream/stream-video-js/commit/466614ccf7f15cb16fffc97d5aa05318d2adf7e7))
33
+ * preserve last used deviceId when muting ([#470](https://github.com/GetStream/stream-video-js/issues/470)) ([b4ed2d0](https://github.com/GetStream/stream-video-js/commit/b4ed2d0cce1456a748f070bc01a68df574683862))
34
+
35
+
36
+
37
+ ## [0.0.1-alpha.126](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.125...client0.0.1-alpha.126) (2023-05-08)
38
+
39
+
40
+ ### Features
41
+
42
+ * **latency:** breadth-first time-boxed latency measurement ([#467](https://github.com/GetStream/stream-video-js/issues/467)) ([6d66003](https://github.com/GetStream/stream-video-js/commit/6d660032064667586902a9b410ee6dabfcc6b7ba))
43
+
44
+
45
+
46
+ ## [0.0.1-alpha.125](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.124...client0.0.1-alpha.125) (2023-05-08)
47
+
48
+
49
+
50
+ ## [0.0.1-alpha.124](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.123...client0.0.1-alpha.124) (2023-05-05)
51
+
52
+
53
+
54
+ ## [0.0.1-alpha.123](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.122...client0.0.1-alpha.123) (2023-05-05)
55
+
56
+
57
+ ### Features
58
+
59
+ * **core:** replace useActiveCall() with useCall() ([#450](https://github.com/GetStream/stream-video-js/issues/450)) ([f3b169b](https://github.com/GetStream/stream-video-js/commit/f3b169b2971a95b47cda6956f009d38cc068a793))
60
+
61
+
62
+
63
+ ## [0.0.1-alpha.122](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.121...client0.0.1-alpha.122) (2023-05-04)
64
+
65
+
66
+
67
+ ## [0.0.1-alpha.121](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.120...client0.0.1-alpha.121) (2023-05-04)
68
+
69
+
70
+
71
+ ## [0.0.1-alpha.120](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.119...client0.0.1-alpha.120) (2023-05-04)
package/README.md CHANGED
@@ -4,11 +4,23 @@
4
4
 
5
5
  This package holds the autogenerated Protobuf code and clients.
6
6
 
7
- ## Generate the client
7
+ ## Generate Coordinator Models from OpenAPI spec (Dev Mode):
8
8
 
9
- 1. Follow the instructions in [GetStream/video-proto](https://github.com/getstream/video-proto)
10
- 2. Copy the generated files into `./src/gen/` and commit them to this repository
9
+ We have a shell script which will generate the Coordinator models from the OpenAPI spec.
10
+ This script expects the following directory structure to be set up:
11
+
12
+ - `chat` - the `chat` repository
13
+ - `stream-video-js` - current repository
14
+ - `cd stream-video-js/packages/client && yarn generate:open-api`
11
15
 
12
16
  ## Documentation
13
17
 
14
- API reference documentation can be generated using the `yarn run generate-docs:client`, the generated documentation will be inside the `generated-docs` folder.
18
+ API reference documentation can be generated using the `yarn run generate-docs:client`,
19
+ the generated documentation will be inside the `generated-docs` folder.
20
+
21
+ To view the documentation locally, run the following in the root of the respective SDK React/React Native.
22
+
23
+ ```bash
24
+ yarn generate-docs
25
+ `npx stream-chat-docusaurus -s`
26
+ ```