@stream-io/video-client 0.0.1-alpha.14 → 0.0.1-alpha.141

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 (270) hide show
  1. package/CHANGELOG.md +150 -0
  2. package/README.md +16 -4
  3. package/dist/{index.js → index.browser.es.js} +7040 -4010
  4. package/dist/index.browser.es.js.map +1 -0
  5. package/dist/index.cjs.js +11174 -0
  6. package/dist/index.cjs.js.map +1 -0
  7. package/dist/index.d.ts +6 -6
  8. package/dist/index.es.js +11116 -0
  9. package/dist/index.es.js.map +1 -0
  10. package/dist/src/Call.d.ts +404 -0
  11. package/dist/src/CallType.d.ts +72 -0
  12. package/dist/src/StreamSfuClient.d.ts +43 -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 +30 -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/__tests__/recording.test.d.ts +1 -0
  26. package/dist/src/events/call-permissions.d.ts +18 -0
  27. package/dist/src/events/call.d.ts +14 -18
  28. package/dist/src/events/callEventHandlers.d.ts +5 -0
  29. package/dist/src/events/index.d.ts +8 -0
  30. package/dist/src/events/internal.d.ts +9 -4
  31. package/dist/src/events/moderation.d.ts +14 -0
  32. package/dist/src/events/participant.d.ts +6 -7
  33. package/dist/src/events/reactions.d.ts +8 -0
  34. package/dist/src/events/recording.d.ts +15 -0
  35. package/dist/src/events/speaker.d.ts +4 -4
  36. package/dist/src/gen/coordinator/index.d.ts +2724 -942
  37. package/dist/src/gen/video/sfu/event/events.d.ts +101 -30
  38. package/dist/src/gen/video/sfu/models/models.d.ts +287 -8
  39. package/dist/src/helpers/ViewportTracker.d.ts +36 -0
  40. package/dist/src/helpers/__tests__/sdp-munging.test.d.ts +1 -0
  41. package/dist/src/helpers/browsers.d.ts +4 -0
  42. package/dist/src/helpers/platforms.d.ts +4 -0
  43. package/dist/src/helpers/sdp-munging.d.ts +25 -0
  44. package/dist/src/helpers/sound-detector.d.ts +1 -1
  45. package/dist/src/permissions/PermissionsContext.d.ts +38 -0
  46. package/dist/src/permissions/index.d.ts +1 -0
  47. package/dist/src/rpc/createClient.d.ts +1 -1
  48. package/dist/src/rpc/index.d.ts +0 -1
  49. package/dist/src/rtc/Dispatcher.d.ts +6 -3
  50. package/dist/src/rtc/__tests__/mocks/webrtc.mocks.d.ts +1 -0
  51. package/dist/src/rtc/__tests__/publisher.test.d.ts +1 -0
  52. package/dist/src/rtc/codecs.d.ts +2 -2
  53. package/dist/src/rtc/flows/join.d.ts +18 -0
  54. package/dist/src/rtc/helpers/tracks.d.ts +4 -2
  55. package/dist/src/rtc/index.d.ts +7 -0
  56. package/dist/src/rtc/publisher.d.ts +24 -9
  57. package/dist/src/rtc/signal.d.ts +1 -1
  58. package/dist/src/rtc/subscriber.d.ts +4 -2
  59. package/dist/src/rtc/videoLayers.d.ts +1 -11
  60. package/dist/src/sdk-info.d.ts +3 -0
  61. package/dist/src/sorting/__tests__/participant-data.d.ts +2 -0
  62. package/dist/src/sorting/__tests__/sorting.test.d.ts +1 -0
  63. package/dist/src/sorting/comparator.d.ts +37 -0
  64. package/dist/src/sorting/index.d.ts +3 -0
  65. package/dist/src/sorting/participants.d.ts +65 -0
  66. package/dist/src/sorting/presets.d.ts +13 -0
  67. package/dist/src/stats/state-store-stats-reporter.d.ts +3 -3
  68. package/dist/src/store/CallState.d.ts +347 -0
  69. package/dist/src/store/__tests__/CallState.test.d.ts +1 -0
  70. package/dist/src/store/index.d.ts +1 -0
  71. package/dist/src/store/rxUtils.d.ts +12 -1
  72. package/dist/src/store/stateStore.d.ts +68 -115
  73. package/dist/src/types.d.ts +164 -0
  74. package/index.ts +6 -7
  75. package/package.json +36 -24
  76. package/src/Call.ts +1465 -0
  77. package/src/CallType.ts +123 -0
  78. package/src/StreamSfuClient.ts +188 -82
  79. package/src/StreamVideoClient.ts +216 -394
  80. package/src/__tests__/StreamVideoClient.test.ts +4 -78
  81. package/src/coordinator/connection/client.ts +76 -83
  82. package/src/coordinator/connection/connection.ts +50 -25
  83. package/src/coordinator/connection/connection_fallback.ts +6 -3
  84. package/src/coordinator/connection/errors.ts +10 -0
  85. package/src/coordinator/connection/token_manager.ts +18 -10
  86. package/src/coordinator/connection/types.ts +38 -27
  87. package/src/coordinator/connection/utils.ts +8 -4
  88. package/src/{devices.ts → devices/devices.ts} +112 -5
  89. package/src/devices/index.ts +1 -0
  90. package/src/events/__tests__/call-permissions.test.ts +109 -0
  91. package/src/events/__tests__/call.test.ts +188 -0
  92. package/src/events/__tests__/recording.test.ts +54 -0
  93. package/src/events/call-permissions.ts +69 -0
  94. package/src/events/call.ts +40 -141
  95. package/src/events/callEventHandlers.ts +86 -0
  96. package/src/events/index.ts +8 -0
  97. package/src/events/internal.ts +21 -6
  98. package/src/events/moderation.ts +35 -0
  99. package/src/events/participant.ts +14 -32
  100. package/src/events/reactions.ts +30 -0
  101. package/src/events/recording.ts +52 -0
  102. package/src/events/speaker.ts +9 -9
  103. package/src/gen/coordinator/index.ts +2686 -925
  104. package/src/gen/video/sfu/event/events.ts +2984 -1570
  105. package/src/gen/video/sfu/models/models.ts +2227 -897
  106. package/src/helpers/ViewportTracker.ts +112 -0
  107. package/src/helpers/__tests__/sdp-munging.test.ts +278 -0
  108. package/src/helpers/browsers.ts +12 -2
  109. package/src/helpers/platforms.ts +7 -0
  110. package/src/helpers/sdp-munging.ts +233 -0
  111. package/src/helpers/sound-detector.ts +17 -2
  112. package/src/permissions/PermissionsContext.ts +63 -0
  113. package/src/permissions/index.ts +1 -0
  114. package/src/rpc/createClient.ts +3 -2
  115. package/src/rpc/index.ts +0 -1
  116. package/src/rtc/Dispatcher.ts +30 -3
  117. package/src/rtc/__tests__/mocks/webrtc.mocks.ts +42 -0
  118. package/src/rtc/__tests__/publisher.test.ts +144 -0
  119. package/src/rtc/codecs.ts +51 -18
  120. package/src/rtc/flows/join.ts +107 -0
  121. package/src/rtc/helpers/tracks.ts +35 -3
  122. package/src/rtc/index.ts +7 -0
  123. package/src/rtc/publisher.ts +204 -52
  124. package/src/rtc/signal.ts +23 -23
  125. package/src/rtc/subscriber.ts +43 -27
  126. package/src/rtc/videoLayers.ts +3 -3
  127. package/src/sdk-info.ts +11 -0
  128. package/src/sorting/__tests__/participant-data.ts +99 -0
  129. package/src/sorting/__tests__/sorting.test.ts +46 -0
  130. package/src/sorting/comparator.ts +62 -0
  131. package/src/sorting/index.ts +3 -0
  132. package/src/sorting/participants.ts +135 -0
  133. package/src/sorting/presets.ts +62 -0
  134. package/src/stats/state-store-stats-reporter.ts +6 -10
  135. package/src/store/CallState.ts +565 -0
  136. package/src/store/__tests__/CallState.test.ts +105 -0
  137. package/src/store/index.ts +1 -0
  138. package/src/store/rxUtils.ts +24 -7
  139. package/src/store/stateStore.ts +137 -246
  140. package/src/types.ts +213 -0
  141. package/coverage/lcov-report/base.css +0 -224
  142. package/coverage/lcov-report/block-navigation.js +0 -87
  143. package/coverage/lcov-report/favicon.png +0 -0
  144. package/coverage/lcov-report/index.html +0 -296
  145. package/coverage/lcov-report/prettify.css +0 -1
  146. package/coverage/lcov-report/prettify.js +0 -2
  147. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  148. package/coverage/lcov-report/sorter.js +0 -196
  149. package/coverage/lcov-report/src/Batcher.ts.html +0 -214
  150. package/coverage/lcov-report/src/CallDropScheduler.ts.html +0 -661
  151. package/coverage/lcov-report/src/StreamSfuClient.ts.html +0 -640
  152. package/coverage/lcov-report/src/StreamVideoClient.ts.html +0 -1633
  153. package/coverage/lcov-report/src/config/defaultConfigs.ts.html +0 -130
  154. package/coverage/lcov-report/src/config/index.html +0 -116
  155. package/coverage/lcov-report/src/coordinator/StreamCoordinatorClient.ts.html +0 -421
  156. package/coverage/lcov-report/src/coordinator/connection/base64.ts.html +0 -325
  157. package/coverage/lcov-report/src/coordinator/connection/client.ts.html +0 -2527
  158. package/coverage/lcov-report/src/coordinator/connection/connection.ts.html +0 -2338
  159. package/coverage/lcov-report/src/coordinator/connection/connection_fallback.ts.html +0 -802
  160. package/coverage/lcov-report/src/coordinator/connection/errors.ts.html +0 -295
  161. package/coverage/lcov-report/src/coordinator/connection/index.html +0 -251
  162. package/coverage/lcov-report/src/coordinator/connection/insights.ts.html +0 -349
  163. package/coverage/lcov-report/src/coordinator/connection/signing.ts.html +0 -397
  164. package/coverage/lcov-report/src/coordinator/connection/token_manager.ts.html +0 -565
  165. package/coverage/lcov-report/src/coordinator/connection/types.ts.html +0 -418
  166. package/coverage/lcov-report/src/coordinator/connection/utils.ts.html +0 -529
  167. package/coverage/lcov-report/src/coordinator/index.html +0 -116
  168. package/coverage/lcov-report/src/events/call.ts.html +0 -583
  169. package/coverage/lcov-report/src/events/index.html +0 -161
  170. package/coverage/lcov-report/src/events/internal.ts.html +0 -226
  171. package/coverage/lcov-report/src/events/participant.ts.html +0 -376
  172. package/coverage/lcov-report/src/events/speaker.ts.html +0 -271
  173. package/coverage/lcov-report/src/gen/google/protobuf/index.html +0 -131
  174. package/coverage/lcov-report/src/gen/google/protobuf/struct.ts.html +0 -1528
  175. package/coverage/lcov-report/src/gen/google/protobuf/timestamp.ts.html +0 -958
  176. package/coverage/lcov-report/src/gen/video/sfu/event/events.ts.html +0 -5971
  177. package/coverage/lcov-report/src/gen/video/sfu/event/index.html +0 -116
  178. package/coverage/lcov-report/src/gen/video/sfu/models/index.html +0 -116
  179. package/coverage/lcov-report/src/gen/video/sfu/models/models.ts.html +0 -3271
  180. package/coverage/lcov-report/src/index.html +0 -161
  181. package/coverage/lcov-report/src/rpc/index.html +0 -131
  182. package/coverage/lcov-report/src/rpc/index.ts.html +0 -91
  183. package/coverage/lcov-report/src/rpc/latency.ts.html +0 -214
  184. package/coverage/lcov-report/src/rtc/Call.ts.html +0 -1840
  185. package/coverage/lcov-report/src/rtc/CallMetadata.ts.html +0 -157
  186. package/coverage/lcov-report/src/rtc/Dispatcher.ts.html +0 -223
  187. package/coverage/lcov-report/src/rtc/IceTrickleBuffer.ts.html +0 -148
  188. package/coverage/lcov-report/src/rtc/callEventHandlers.ts.html +0 -196
  189. package/coverage/lcov-report/src/rtc/codecs.ts.html +0 -268
  190. package/coverage/lcov-report/src/rtc/helpers/iceCandidate.ts.html +0 -133
  191. package/coverage/lcov-report/src/rtc/helpers/index.html +0 -131
  192. package/coverage/lcov-report/src/rtc/helpers/tracks.ts.html +0 -139
  193. package/coverage/lcov-report/src/rtc/index.html +0 -251
  194. package/coverage/lcov-report/src/rtc/publisher.ts.html +0 -1000
  195. package/coverage/lcov-report/src/rtc/signal.ts.html +0 -187
  196. package/coverage/lcov-report/src/rtc/subscriber.ts.html +0 -340
  197. package/coverage/lcov-report/src/rtc/videoLayers.ts.html +0 -394
  198. package/coverage/lcov-report/src/stats/index.html +0 -116
  199. package/coverage/lcov-report/src/stats/state-store-stats-reporter.ts.html +0 -1177
  200. package/coverage/lcov-report/src/store/index.html +0 -146
  201. package/coverage/lcov-report/src/store/index.ts.html +0 -91
  202. package/coverage/lcov-report/src/store/rxUtils.ts.html +0 -211
  203. package/coverage/lcov-report/src/store/stateStore.ts.html +0 -1108
  204. package/coverage/lcov.info +0 -11474
  205. package/coverage/tmp/coverage-2156-1676026077097-2.json +0 -1
  206. package/dist/index.js.map +0 -1
  207. package/dist/src/Batcher.d.ts +0 -12
  208. package/dist/src/CallDropScheduler.d.ts +0 -44
  209. package/dist/src/config/defaultConfigs.d.ts +0 -2
  210. package/dist/src/config/types.d.ts +0 -29
  211. package/dist/src/coordinator/StreamCoordinatorClient.d.ts +0 -19
  212. package/dist/src/coordinator/connection/events.d.ts +0 -10
  213. package/dist/src/gen/google/protobuf/descriptor.d.ts +0 -1650
  214. package/dist/src/gen/google/protobuf/duration.d.ts +0 -113
  215. package/dist/src/gen/video/coordinator/broadcast_v1/broadcast.d.ts +0 -66
  216. package/dist/src/gen/video/coordinator/call_v1/call.d.ts +0 -254
  217. package/dist/src/gen/video/coordinator/client_v1_rpc/client_rpc.client.d.ts +0 -351
  218. package/dist/src/gen/video/coordinator/client_v1_rpc/client_rpc.d.ts +0 -1488
  219. package/dist/src/gen/video/coordinator/client_v1_rpc/envelopes.d.ts +0 -143
  220. package/dist/src/gen/video/coordinator/client_v1_rpc/websocket.d.ts +0 -292
  221. package/dist/src/gen/video/coordinator/edge_v1/edge.d.ts +0 -183
  222. package/dist/src/gen/video/coordinator/event_v1/event.d.ts +0 -411
  223. package/dist/src/gen/video/coordinator/geofence_v1/geofence.d.ts +0 -63
  224. package/dist/src/gen/video/coordinator/member_v1/member.d.ts +0 -59
  225. package/dist/src/gen/video/coordinator/participant_v1/participant.d.ts +0 -103
  226. package/dist/src/gen/video/coordinator/push_v1/push.d.ts +0 -240
  227. package/dist/src/gen/video/coordinator/stat_v1/stat.d.ts +0 -308
  228. package/dist/src/gen/video/coordinator/user_v1/user.d.ts +0 -112
  229. package/dist/src/gen/video/coordinator/utils_v1/utils.d.ts +0 -47
  230. package/dist/src/rpc/latency.d.ts +0 -9
  231. package/dist/src/rtc/Call.d.ts +0 -180
  232. package/dist/src/rtc/CallMetadata.d.ts +0 -9
  233. package/dist/src/rtc/callEventHandlers.d.ts +0 -5
  234. package/dist/src/rtc/types.d.ts +0 -84
  235. package/dist/src/stats/coordinator-stats-reporter.d.ts +0 -10
  236. package/generate-openapi.sh +0 -32
  237. package/openapitools.json +0 -7
  238. package/rollup.config.mjs +0 -48
  239. package/src/Batcher.ts +0 -43
  240. package/src/CallDropScheduler.ts +0 -192
  241. package/src/config/defaultConfigs.ts +0 -15
  242. package/src/config/types.ts +0 -30
  243. package/src/coordinator/StreamCoordinatorClient.ts +0 -112
  244. package/src/coordinator/connection/events.ts +0 -13
  245. package/src/gen/google/protobuf/descriptor.ts +0 -3466
  246. package/src/gen/google/protobuf/duration.ts +0 -232
  247. package/src/gen/video/coordinator/broadcast_v1/broadcast.ts +0 -154
  248. package/src/gen/video/coordinator/call_v1/call.ts +0 -651
  249. package/src/gen/video/coordinator/client_v1_rpc/client_rpc.client.ts +0 -463
  250. package/src/gen/video/coordinator/client_v1_rpc/client_rpc.ts +0 -3819
  251. package/src/gen/video/coordinator/client_v1_rpc/envelopes.ts +0 -424
  252. package/src/gen/video/coordinator/client_v1_rpc/websocket.ts +0 -719
  253. package/src/gen/video/coordinator/edge_v1/edge.ts +0 -532
  254. package/src/gen/video/coordinator/event_v1/event.ts +0 -1171
  255. package/src/gen/video/coordinator/geofence_v1/geofence.ts +0 -128
  256. package/src/gen/video/coordinator/member_v1/member.ts +0 -138
  257. package/src/gen/video/coordinator/participant_v1/participant.ts +0 -261
  258. package/src/gen/video/coordinator/push_v1/push.ts +0 -651
  259. package/src/gen/video/coordinator/stat_v1/stat.ts +0 -656
  260. package/src/gen/video/coordinator/user_v1/user.ts +0 -277
  261. package/src/gen/video/coordinator/utils_v1/utils.ts +0 -98
  262. package/src/rpc/latency.ts +0 -43
  263. package/src/rtc/Call.ts +0 -585
  264. package/src/rtc/CallMetadata.ts +0 -24
  265. package/src/rtc/callEventHandlers.ts +0 -37
  266. package/src/rtc/types.ts +0 -105
  267. package/src/stats/coordinator-stats-reporter.ts +0 -167
  268. package/tsconfig.json +0 -25
  269. package/typedoc.json +0 -11
  270. package/vite.config.ts +0 -11
package/CHANGELOG.md ADDED
@@ -0,0 +1,150 @@
1
+ # Changelog
2
+
3
+ This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
+
5
+ ## [0.0.1-alpha.141](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.140...client0.0.1-alpha.141) (2023-05-15)
6
+
7
+
8
+
9
+ ## [0.0.1-alpha.140](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.139...client0.0.1-alpha.140) (2023-05-15)
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * restore previous call state if `join` fails ([#500](https://github.com/GetStream/stream-video-js/issues/500)) ([0fc8927](https://github.com/GetStream/stream-video-js/commit/0fc892765cbd72a740134ddb06b2d851ac54f299)), closes [#499](https://github.com/GetStream/stream-video-js/issues/499)
15
+
16
+
17
+
18
+ ## [0.0.1-alpha.139](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.138...client0.0.1-alpha.139) (2023-05-15)
19
+
20
+
21
+ ### Features
22
+
23
+ * faster join flow ([#499](https://github.com/GetStream/stream-video-js/issues/499)) ([898341b](https://github.com/GetStream/stream-video-js/commit/898341b26495412acea7d9e08c0c8f9b0b54e3b3))
24
+
25
+
26
+
27
+ ## [0.0.1-alpha.138](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.137...client0.0.1-alpha.138) (2023-05-15)
28
+
29
+
30
+
31
+ ## [0.0.1-alpha.137](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.136...client0.0.1-alpha.137) (2023-05-12)
32
+
33
+
34
+
35
+ ## [0.0.1-alpha.136](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.135...client0.0.1-alpha.136) (2023-05-12)
36
+
37
+
38
+ ### Features
39
+
40
+ * Livestream sample app ([#489](https://github.com/GetStream/stream-video-js/issues/489)) ([bf6e6e5](https://github.com/GetStream/stream-video-js/commit/bf6e6e54dab884828ca08208f25b1285cf3f1944))
41
+
42
+
43
+
44
+ ## [0.0.1-alpha.135](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.134...client0.0.1-alpha.135) (2023-05-12)
45
+
46
+
47
+ ### Bug Fixes
48
+
49
+ * disable sdp munging ([#491](https://github.com/GetStream/stream-video-js/issues/491)) ([5bca195](https://github.com/GetStream/stream-video-js/commit/5bca195dbb99efb77c5d7106a251e88d9a045498)), closes [#395](https://github.com/GetStream/stream-video-js/issues/395)
50
+
51
+
52
+ ### Features
53
+
54
+ * enable codec preferring through sdp munging ([#395](https://github.com/GetStream/stream-video-js/issues/395)) ([a5db5a8](https://github.com/GetStream/stream-video-js/commit/a5db5a831ccfc833ecfc29e22540be0f0121287d))
55
+
56
+
57
+
58
+ ## [0.0.1-alpha.134](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.133...client0.0.1-alpha.134) (2023-05-11)
59
+
60
+
61
+ ### Features
62
+
63
+ * server-side participant counting ([#481](https://github.com/GetStream/stream-video-js/issues/481)) ([3410c25](https://github.com/GetStream/stream-video-js/commit/3410c25ec1449f4d39b44080ad64238b38446612))
64
+
65
+
66
+
67
+ ## [0.0.1-alpha.133](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.132...client0.0.1-alpha.133) (2023-05-11)
68
+
69
+
70
+
71
+ ## [0.0.1-alpha.132](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.131...client0.0.1-alpha.132) (2023-05-11)
72
+
73
+
74
+
75
+ ## [0.0.1-alpha.131](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.130...client0.0.1-alpha.131) (2023-05-10)
76
+
77
+
78
+ ### Features
79
+
80
+ * call broadcasting events and apis ([#478](https://github.com/GetStream/stream-video-js/issues/478)) ([8aa4fcb](https://github.com/GetStream/stream-video-js/commit/8aa4fcbbe00b43d4d9f977daa2fd297436e83b51))
81
+
82
+
83
+
84
+ ## [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)
85
+
86
+
87
+
88
+ ## [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)
89
+
90
+
91
+ ### Bug Fixes
92
+
93
+ * 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))
94
+
95
+
96
+
97
+ ## [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)
98
+
99
+
100
+ ### Reverts
101
+
102
+ * Revert "chore: Avoid non-atomic pushes resulting in invalid version tags" ([24be283](https://github.com/GetStream/stream-video-js/commit/24be28300a5f5d452338457d60b1e34682027be6))
103
+
104
+
105
+
106
+ ## [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)
107
+
108
+
109
+ ### Bug Fixes
110
+
111
+ * **permissions:** add shortcut APIs ([#475](https://github.com/GetStream/stream-video-js/issues/475)) ([466614c](https://github.com/GetStream/stream-video-js/commit/466614ccf7f15cb16fffc97d5aa05318d2adf7e7))
112
+ * 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))
113
+
114
+
115
+
116
+ ## [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)
117
+
118
+
119
+ ### Features
120
+
121
+ * **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))
122
+
123
+
124
+
125
+ ## [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)
126
+
127
+
128
+
129
+ ## [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)
130
+
131
+
132
+
133
+ ## [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)
134
+
135
+
136
+ ### Features
137
+
138
+ * **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))
139
+
140
+
141
+
142
+ ## [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)
143
+
144
+
145
+
146
+ ## [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)
147
+
148
+
149
+
150
+ ## [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
+ ```