@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.
- package/README.md +8 -2
- package/dist/index.cjs.js +170 -515
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +6 -6
- package/dist/index.es.js +170 -515
- package/dist/index.es.js.map +1 -1
- package/dist/src/StreamCall.d.ts +7 -10
- package/dist/src/StreamChannel.d.ts +4 -4
- package/dist/src/StreamChatClient.d.ts +8 -8
- package/dist/src/StreamClient.d.ts +11 -11
- package/dist/src/StreamVideoClient.d.ts +4 -4
- package/dist/src/gen/chat/apis/ChannelTypesApi.d.ts +1 -1
- package/dist/src/gen/chat/apis/ChannelsApi.d.ts +12 -40
- package/dist/src/gen/chat/apis/CustomCommandsApi.d.ts +1 -1
- package/dist/src/gen/chat/apis/DefaultApi.d.ts +1 -1
- package/dist/src/gen/chat/apis/DevicesApi.d.ts +1 -1
- package/dist/src/gen/chat/apis/EventsApi.d.ts +2 -19
- package/dist/src/gen/chat/apis/FilesApi.d.ts +1 -1
- package/dist/src/gen/chat/apis/GDPRApi.d.ts +1 -1
- package/dist/src/gen/chat/apis/ImportsApi.d.ts +1 -1
- package/dist/src/gen/chat/apis/MessagesApi.d.ts +2 -2
- package/dist/src/gen/chat/apis/ModerationApi.d.ts +1 -1
- package/dist/src/gen/chat/apis/PermissionsV2Api.d.ts +1 -1
- package/dist/src/gen/chat/apis/PushApi.d.ts +1 -1
- package/dist/src/gen/chat/apis/ReactionsApi.d.ts +1 -1
- package/dist/src/gen/chat/apis/ServerSideApi.d.ts +1 -1
- package/dist/src/gen/chat/apis/SettingsApi.d.ts +1 -1
- package/dist/src/gen/chat/apis/TasksApi.d.ts +1 -1
- package/dist/src/gen/chat/apis/TestingApi.d.ts +1 -1
- package/dist/src/gen/chat/apis/UsersApi.d.ts +1 -1
- package/dist/src/gen/chat/models/index.d.ts +141 -160
- package/dist/src/gen/chat/runtime.d.ts +1 -1
- package/dist/src/gen/video/apis/DefaultApi.d.ts +2 -76
- package/dist/src/gen/video/apis/ServerSideApi.d.ts +1 -1
- package/dist/src/gen/video/models/index.d.ts +0 -271
- package/dist/src/gen/video/runtime.d.ts +1 -1
- package/dist/src/utils/create-token.d.ts +1 -1
- package/index.ts +6 -6
- package/package.json +26 -6
- package/src/StreamCall.ts +15 -19
- package/src/StreamChannel.ts +177 -75
- package/src/StreamChatClient.ts +82 -45
- package/src/StreamClient.ts +78 -75
- package/src/StreamVideoClient.ts +8 -8
- package/src/gen/chat/apis/ChannelTypesApi.ts +1 -1
- package/src/gen/chat/apis/ChannelsApi.ts +35 -160
- package/src/gen/chat/apis/CustomCommandsApi.ts +1 -1
- package/src/gen/chat/apis/DefaultApi.ts +1 -1
- package/src/gen/chat/apis/DevicesApi.ts +1 -1
- package/src/gen/chat/apis/EventsApi.ts +1 -74
- package/src/gen/chat/apis/FilesApi.ts +13 -13
- package/src/gen/chat/apis/GDPRApi.ts +1 -1
- package/src/gen/chat/apis/ImportsApi.ts +1 -1
- package/src/gen/chat/apis/MessagesApi.ts +56 -56
- package/src/gen/chat/apis/ModerationApi.ts +1 -1
- package/src/gen/chat/apis/PermissionsV2Api.ts +1 -1
- package/src/gen/chat/apis/PushApi.ts +1 -1
- package/src/gen/chat/apis/ReactionsApi.ts +1 -1
- package/src/gen/chat/apis/ServerSideApi.ts +1 -1
- package/src/gen/chat/apis/SettingsApi.ts +1 -1
- package/src/gen/chat/apis/TasksApi.ts +1 -1
- package/src/gen/chat/apis/TestingApi.ts +1 -1
- package/src/gen/chat/apis/UsersApi.ts +1 -1
- package/src/gen/chat/apis/index.ts +8 -9
- package/src/gen/chat/models/index.ts +141 -160
- package/src/gen/chat/runtime.ts +1 -1
- package/src/gen/video/apis/DefaultApi.ts +1 -303
- package/src/gen/video/apis/ServerSideApi.ts +1 -1
- package/src/gen/video/models/index.ts +0 -269
- package/src/gen/video/runtime.ts +1 -1
- package/src/types.ts +1 -1
- package/src/utils/create-token.ts +1 -1
- package/dist/__tests__/block-lists.test.d.ts +0 -1
- package/dist/__tests__/call-members.test.d.ts +0 -1
- package/dist/__tests__/call-types.test.d.ts +0 -1
- package/dist/__tests__/call.test.d.ts +0 -1
- package/dist/__tests__/channel-types.test.d.ts +0 -1
- package/dist/__tests__/channel.test.d.ts +0 -1
- package/dist/__tests__/command.test.d.ts +0 -1
- package/dist/__tests__/create-test-client.d.ts +0 -3
- package/dist/__tests__/create-token.test.d.ts +0 -1
- package/dist/__tests__/devices-push.test.d.ts +0 -1
- package/dist/__tests__/messages.test.d.ts +0 -1
- package/dist/__tests__/permissions-app-settings.test.d.ts +0 -1
- package/dist/__tests__/user-compat.test.d.ts +0 -1
- 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?
|