@durable-streams/cli 0.2.1 → 0.2.3

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 (2) hide show
  1. package/README.md +5 -5
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -51,8 +51,8 @@ This will start a Durable Streams server at `http://localhost:4437` with live re
51
51
  ### Terminal 2: Use the CLI
52
52
 
53
53
  ```bash
54
- # Set the server URL (optional, defaults to http://localhost:4437)
55
- export STREAM_URL=http://localhost:4437
54
+ # Set the server URL (optional, defaults to http://localhost:4437/v1/stream)
55
+ export STREAM_URL=http://localhost:4437/v1/stream
56
56
 
57
57
  # Create a stream
58
58
  durable-stream-dev create my-stream
@@ -68,7 +68,7 @@ durable-stream-dev read my-stream
68
68
 
69
69
  ### Environment Variables
70
70
 
71
- - `STREAM_URL` - Base URL of the stream server (default: `http://localhost:4437`)
71
+ - `STREAM_URL` - Base URL of the stream server (default: `http://localhost:4437/v1/stream`)
72
72
  - `STREAM_AUTH` - Authorization header value (e.g., `Bearer my-token`)
73
73
 
74
74
  ### Global Options
@@ -154,11 +154,11 @@ durable-stream-dev --auth "ApiKey abc123" read my-stream
154
154
  pnpm start:dev
155
155
 
156
156
  # Terminal 2: Set up the stream
157
- export STREAM_URL=http://localhost:4437
157
+ export STREAM_URL=http://localhost:4437/v1/stream
158
158
  durable-stream-dev create test-stream
159
159
 
160
160
  # Terminal 3: Start reading (will show data as it arrives)
161
- export STREAM_URL=http://localhost:4437
161
+ export STREAM_URL=http://localhost:4437/v1/stream
162
162
  durable-stream-dev read test-stream
163
163
 
164
164
  # Back in Terminal 2: Write data and watch it appear in Terminal 3
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@durable-streams/cli",
3
3
  "description": "CLI tool for working with Durable Streams",
4
- "version": "0.2.1",
4
+ "version": "0.2.3",
5
5
  "author": "Durable Stream contributors",
6
6
  "bin": {
7
7
  "cli": "./dist/index.js",
@@ -12,7 +12,7 @@
12
12
  "url": "https://github.com/durable-streams/durable-streams/issues"
13
13
  },
14
14
  "dependencies": {
15
- "@durable-streams/client": "0.2.1"
15
+ "@durable-streams/client": "0.2.3"
16
16
  },
17
17
  "devDependencies": {
18
18
  "@types/node": "^22.15.21",
@@ -20,7 +20,7 @@
20
20
  "tsx": "^4.19.2",
21
21
  "typescript": "^5.5.2",
22
22
  "vitest": "^3.1.3",
23
- "@durable-streams/server": "0.2.1"
23
+ "@durable-streams/server": "0.2.3"
24
24
  },
25
25
  "engines": {
26
26
  "node": ">=18.0.0"