@stream-io/node-sdk 0.1.7 → 0.1.8

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 (86) hide show
  1. package/README.md +8 -2
  2. package/dist/index.cjs.js +170 -515
  3. package/dist/index.cjs.js.map +1 -1
  4. package/dist/index.d.ts +6 -6
  5. package/dist/index.es.js +170 -515
  6. package/dist/index.es.js.map +1 -1
  7. package/dist/src/StreamCall.d.ts +7 -10
  8. package/dist/src/StreamChannel.d.ts +4 -4
  9. package/dist/src/StreamChatClient.d.ts +8 -8
  10. package/dist/src/StreamClient.d.ts +11 -11
  11. package/dist/src/StreamVideoClient.d.ts +4 -4
  12. package/dist/src/gen/chat/apis/ChannelTypesApi.d.ts +1 -1
  13. package/dist/src/gen/chat/apis/ChannelsApi.d.ts +12 -40
  14. package/dist/src/gen/chat/apis/CustomCommandsApi.d.ts +1 -1
  15. package/dist/src/gen/chat/apis/DefaultApi.d.ts +1 -1
  16. package/dist/src/gen/chat/apis/DevicesApi.d.ts +1 -1
  17. package/dist/src/gen/chat/apis/EventsApi.d.ts +2 -19
  18. package/dist/src/gen/chat/apis/FilesApi.d.ts +1 -1
  19. package/dist/src/gen/chat/apis/GDPRApi.d.ts +1 -1
  20. package/dist/src/gen/chat/apis/ImportsApi.d.ts +1 -1
  21. package/dist/src/gen/chat/apis/MessagesApi.d.ts +2 -2
  22. package/dist/src/gen/chat/apis/ModerationApi.d.ts +1 -1
  23. package/dist/src/gen/chat/apis/PermissionsV2Api.d.ts +1 -1
  24. package/dist/src/gen/chat/apis/PushApi.d.ts +1 -1
  25. package/dist/src/gen/chat/apis/ReactionsApi.d.ts +1 -1
  26. package/dist/src/gen/chat/apis/ServerSideApi.d.ts +1 -1
  27. package/dist/src/gen/chat/apis/SettingsApi.d.ts +1 -1
  28. package/dist/src/gen/chat/apis/TasksApi.d.ts +1 -1
  29. package/dist/src/gen/chat/apis/TestingApi.d.ts +1 -1
  30. package/dist/src/gen/chat/apis/UsersApi.d.ts +1 -1
  31. package/dist/src/gen/chat/models/index.d.ts +141 -160
  32. package/dist/src/gen/chat/runtime.d.ts +1 -1
  33. package/dist/src/gen/video/apis/DefaultApi.d.ts +2 -76
  34. package/dist/src/gen/video/apis/ServerSideApi.d.ts +1 -1
  35. package/dist/src/gen/video/models/index.d.ts +0 -271
  36. package/dist/src/gen/video/runtime.d.ts +1 -1
  37. package/dist/src/utils/create-token.d.ts +1 -1
  38. package/index.ts +6 -6
  39. package/package.json +26 -6
  40. package/src/StreamCall.ts +15 -19
  41. package/src/StreamChannel.ts +177 -75
  42. package/src/StreamChatClient.ts +82 -45
  43. package/src/StreamClient.ts +78 -75
  44. package/src/StreamVideoClient.ts +8 -8
  45. package/src/gen/chat/apis/ChannelTypesApi.ts +1 -1
  46. package/src/gen/chat/apis/ChannelsApi.ts +35 -160
  47. package/src/gen/chat/apis/CustomCommandsApi.ts +1 -1
  48. package/src/gen/chat/apis/DefaultApi.ts +1 -1
  49. package/src/gen/chat/apis/DevicesApi.ts +1 -1
  50. package/src/gen/chat/apis/EventsApi.ts +1 -74
  51. package/src/gen/chat/apis/FilesApi.ts +13 -13
  52. package/src/gen/chat/apis/GDPRApi.ts +1 -1
  53. package/src/gen/chat/apis/ImportsApi.ts +1 -1
  54. package/src/gen/chat/apis/MessagesApi.ts +56 -56
  55. package/src/gen/chat/apis/ModerationApi.ts +1 -1
  56. package/src/gen/chat/apis/PermissionsV2Api.ts +1 -1
  57. package/src/gen/chat/apis/PushApi.ts +1 -1
  58. package/src/gen/chat/apis/ReactionsApi.ts +1 -1
  59. package/src/gen/chat/apis/ServerSideApi.ts +1 -1
  60. package/src/gen/chat/apis/SettingsApi.ts +1 -1
  61. package/src/gen/chat/apis/TasksApi.ts +1 -1
  62. package/src/gen/chat/apis/TestingApi.ts +1 -1
  63. package/src/gen/chat/apis/UsersApi.ts +1 -1
  64. package/src/gen/chat/apis/index.ts +8 -9
  65. package/src/gen/chat/models/index.ts +141 -160
  66. package/src/gen/chat/runtime.ts +1 -1
  67. package/src/gen/video/apis/DefaultApi.ts +1 -303
  68. package/src/gen/video/apis/ServerSideApi.ts +1 -1
  69. package/src/gen/video/models/index.ts +0 -269
  70. package/src/gen/video/runtime.ts +1 -1
  71. package/src/types.ts +1 -1
  72. package/src/utils/create-token.ts +1 -1
  73. package/dist/__tests__/block-lists.test.d.ts +0 -1
  74. package/dist/__tests__/call-members.test.d.ts +0 -1
  75. package/dist/__tests__/call-types.test.d.ts +0 -1
  76. package/dist/__tests__/call.test.d.ts +0 -1
  77. package/dist/__tests__/channel-types.test.d.ts +0 -1
  78. package/dist/__tests__/channel.test.d.ts +0 -1
  79. package/dist/__tests__/command.test.d.ts +0 -1
  80. package/dist/__tests__/create-test-client.d.ts +0 -3
  81. package/dist/__tests__/create-token.test.d.ts +0 -1
  82. package/dist/__tests__/devices-push.test.d.ts +0 -1
  83. package/dist/__tests__/messages.test.d.ts +0 -1
  84. package/dist/__tests__/permissions-app-settings.test.d.ts +0 -1
  85. package/dist/__tests__/user-compat.test.d.ts +0 -1
  86. package/dist/__tests__/users.test.d.ts +0 -1
package/README.md CHANGED
@@ -7,6 +7,14 @@
7
7
  - [Register](https://getstream.io/chat/trial/) to get an API key for Stream
8
8
  - [Docs](https://getstream.io/video/docs/api/)
9
9
 
10
+ ## Package requirements
11
+
12
+ The package is tested against these environments:
13
+
14
+ - Node.js@18
15
+ - Node.js@20
16
+ - Bun@1
17
+
10
18
  ## What is Stream?
11
19
 
12
20
  Stream allows developers to rapidly deploy scalable feeds, chat messaging and video with an industry leading 99.999% uptime SLA guarantee.
@@ -21,8 +29,6 @@ Stream is free for most side and hobby projects. To qualify, your project/compan
21
29
 
22
30
  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).
23
31
 
24
- Minimum supported Node version: v18.
25
-
26
32
  ## Contributing
27
33
 
28
34
  - How can I submit a sample app?