@nodetool-ai/sdk 0.8.4-a24.3 → 0.8.4
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 +1 -1
- package/dist/.nodetool-build-stamp +1 -1
- package/dist/client.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@ TypeScript SDK for the NodeTool server.
|
|
|
7
7
|
no separate API definition to maintain.
|
|
8
8
|
- **`ChatSocket`** — typed event-emitter wrapper around the chat
|
|
9
9
|
WebSocket protocol (msgpack frames, with JSON fallback).
|
|
10
|
-
- Works in browsers and Node ≥
|
|
10
|
+
- Works in browsers and Node ≥22. In Node, pass a `WebSocket`
|
|
11
11
|
constructor from the [`ws`](https://www.npmjs.com/package/ws) package.
|
|
12
12
|
|
|
13
13
|
## Install
|
|
@@ -1 +1 @@
|
|
|
1
|
-
2026-10-
|
|
1
|
+
2026-10-17T11:17:09.117Z
|
package/dist/client.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ export interface CreateNodetoolClientOptions {
|
|
|
17
17
|
/**
|
|
18
18
|
* `WebSocket` constructor for environments without a global one (e.g. Node).
|
|
19
19
|
* Browsers: leave undefined to use the built-in `WebSocket`.
|
|
20
|
-
* Node
|
|
20
|
+
* Node: pass `WebSocket` from the `ws` package.
|
|
21
21
|
*/
|
|
22
22
|
WebSocket?: WebSocketCtor;
|
|
23
23
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* - `ChatSocket` — typed event-emitter wrapper around the chat WebSocket
|
|
8
8
|
* protocol (msgpack frames, with JSON fallback).
|
|
9
9
|
*
|
|
10
|
-
* Works in both browsers (native `WebSocket`/`fetch`) and Node ≥
|
|
10
|
+
* Works in both browsers (native `WebSocket`/`fetch`) and Node ≥22 (native
|
|
11
11
|
* `fetch`; pass a `WebSocket` constructor from the `ws` package).
|
|
12
12
|
*/
|
|
13
13
|
export { createNodetoolClient } from "./client.js";
|
package/dist/index.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* - `ChatSocket` — typed event-emitter wrapper around the chat WebSocket
|
|
8
8
|
* protocol (msgpack frames, with JSON fallback).
|
|
9
9
|
*
|
|
10
|
-
* Works in both browsers (native `WebSocket`/`fetch`) and Node ≥
|
|
10
|
+
* Works in both browsers (native `WebSocket`/`fetch`) and Node ≥22 (native
|
|
11
11
|
* `fetch`; pass a `WebSocket` constructor from the `ws` package).
|
|
12
12
|
*/
|
|
13
13
|
export { createNodetoolClient } from "./client.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nodetool-ai/sdk",
|
|
3
|
-
"version": "0.8.4
|
|
3
|
+
"version": "0.8.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=22.0.0"
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
"lint": "node ../../scripts/run-tsc.mjs --noEmit"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@nodetool-ai/protocol": "0.8.4
|
|
26
|
-
"@nodetool-ai/websocket": "0.8.4
|
|
25
|
+
"@nodetool-ai/protocol": "0.8.4",
|
|
26
|
+
"@nodetool-ai/websocket": "0.8.4",
|
|
27
27
|
"@trpc/client": "^11.17.0",
|
|
28
28
|
"msgpackr": "^1.10.2"
|
|
29
29
|
},
|