@opendray/sdk 2.13.3 → 2.14.1
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 +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -42,8 +42,8 @@ for await (const frame of subscribeEvents(client, { topics: ["session.*"] })) {
|
|
|
42
42
|
| Sessions | `createSession`, `listSessions`, `getSession`, `deleteSession`, `sendInput`, `resizeSession`, `getSessionBuffer` |
|
|
43
43
|
| Providers | `listProviders`, `setProviderConfig` |
|
|
44
44
|
| Channels | `listChannels` |
|
|
45
|
-
| Event stream | `subscribeEvents(client, { topics })
|
|
46
|
-
| Session stream | `streamSession(client, id, { onOutput, onEnded })
|
|
45
|
+
| Event stream | `subscribeEvents(client, { topics })`, async iterable, auto-reconnect |
|
|
46
|
+
| Session stream | `streamSession(client, id, { onOutput, onEnded })`, bidirectional terminal WS |
|
|
47
47
|
|
|
48
48
|
Errors thrown by REST calls are `OpendrayError` instances with `status` and `body`.
|
|
49
49
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opendray/sdk",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.14.1",
|
|
4
4
|
"description": "TypeScript client for the opendray gateway: REST + WebSocket access to sessions, channels, integrations, and events.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://opendray.dev",
|