@stream-io/node-sdk 0.3.0 → 0.4.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 (70) hide show
  1. package/README.md +1 -1
  2. package/dist/index.cjs.js +4140 -9282
  3. package/dist/index.cjs.js.map +1 -1
  4. package/dist/index.d.ts +2 -3
  5. package/dist/index.es.js +4140 -9206
  6. package/dist/index.es.js.map +1 -1
  7. package/dist/src/BaseApi.d.ts +10 -0
  8. package/dist/src/StreamCall.d.ts +5 -37
  9. package/dist/src/StreamChannel.d.ts +7 -34
  10. package/dist/src/StreamChatClient.d.ts +2 -25
  11. package/dist/src/StreamClient.d.ts +51 -59
  12. package/dist/src/StreamModerationClient.d.ts +3 -0
  13. package/dist/src/StreamVideoClient.d.ts +2 -18
  14. package/dist/src/gen/chat/ChannelApi.d.ts +33 -0
  15. package/dist/src/gen/chat/ChatApi.d.ts +241 -0
  16. package/dist/src/gen/common/CommonApi.d.ts +99 -0
  17. package/dist/src/gen/model-decoders/index.d.ts +3 -0
  18. package/dist/src/gen/models/index.d.ts +3878 -0
  19. package/dist/src/gen/moderation/ModerationApi.d.ts +38 -0
  20. package/dist/src/gen/video/CallApi.d.ts +56 -0
  21. package/dist/src/gen/video/VideoApi.d.ts +151 -0
  22. package/dist/src/types.d.ts +25 -0
  23. package/dist/src/utils/create-token.d.ts +2 -0
  24. package/dist/src/utils/rate-limit.d.ts +2 -0
  25. package/index.ts +2 -3
  26. package/package.json +12 -4
  27. package/src/BaseApi.ts +115 -0
  28. package/src/StreamCall.ts +9 -199
  29. package/src/StreamChannel.ts +23 -246
  30. package/src/StreamChatClient.ts +3 -122
  31. package/src/StreamClient.ts +101 -345
  32. package/src/StreamModerationClient.ts +3 -0
  33. package/src/StreamVideoClient.ts +3 -95
  34. package/src/gen/chat/ChannelApi.ts +270 -0
  35. package/src/gen/chat/ChatApi.ts +1857 -0
  36. package/src/gen/common/CommonApi.ts +1004 -0
  37. package/src/gen/model-decoders/index.ts +1897 -0
  38. package/src/gen/models/index.ts +6790 -0
  39. package/src/gen/moderation/ModerationApi.ts +476 -0
  40. package/src/gen/video/CallApi.ts +309 -0
  41. package/src/gen/video/VideoApi.ts +1011 -0
  42. package/src/types.ts +35 -0
  43. package/src/utils/create-token.ts +6 -1
  44. package/src/utils/rate-limit.ts +21 -0
  45. package/dist/src/gen/chat/apis/ProductchatApi.d.ts +0 -1750
  46. package/dist/src/gen/chat/apis/index.d.ts +0 -1
  47. package/dist/src/gen/chat/index.d.ts +0 -3
  48. package/dist/src/gen/chat/models/index.d.ts +0 -14865
  49. package/dist/src/gen/chat/runtime.d.ts +0 -180
  50. package/dist/src/gen/video/apis/ProductvideoApi.d.ts +0 -648
  51. package/dist/src/gen/video/apis/index.d.ts +0 -1
  52. package/dist/src/gen/video/index.d.ts +0 -3
  53. package/dist/src/gen/video/models/index.d.ts +0 -5011
  54. package/dist/src/gen/video/runtime.d.ts +0 -180
  55. package/src/gen/chat/.openapi-generator/FILES +0 -6
  56. package/src/gen/chat/.openapi-generator/VERSION +0 -1
  57. package/src/gen/chat/.openapi-generator-ignore +0 -23
  58. package/src/gen/chat/apis/ProductchatApi.ts +0 -7007
  59. package/src/gen/chat/apis/index.ts +0 -3
  60. package/src/gen/chat/index.ts +0 -5
  61. package/src/gen/chat/models/index.ts +0 -14766
  62. package/src/gen/chat/runtime.ts +0 -415
  63. package/src/gen/video/.openapi-generator/FILES +0 -6
  64. package/src/gen/video/.openapi-generator/VERSION +0 -1
  65. package/src/gen/video/.openapi-generator-ignore +0 -23
  66. package/src/gen/video/apis/ProductvideoApi.ts +0 -2575
  67. package/src/gen/video/apis/index.ts +0 -3
  68. package/src/gen/video/index.ts +0 -5
  69. package/src/gen/video/models/index.ts +0 -5000
  70. package/src/gen/video/runtime.ts +0 -415
package/README.md CHANGED
@@ -26,7 +26,7 @@ Stream provides UI components and state handling that make it easy to build vide
26
26
 
27
27
  Stream is free for most side and hobby projects. To qualify, your project/company needs to have < 5 team members and < $10k in monthly revenue. Makers get $100 in monthly credit for video for free.
28
28
 
29
- ## Repo Overview 😎
29
+ ## 😎 Repo Overview 😎
30
30
 
31
31
  This repo contains the Node server-side SDK developed by the team and Stream community. For a feature overview please visit our [roadmap](https://github.com/GetStream/protocol/discussions/177).
32
32