terse-sdk 0.9.19 → 0.9.20

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 +2 -2
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -80,9 +80,9 @@ Set this on the backend that issues connection grants to allow up to two minutes
80
80
  export TERSE_ACTOR_SETUP_TIMEOUT_MS=120000
81
81
  ```
82
82
 
83
- Existing generated `actors.Counter.prepareWebsocket(...)` and `ActorProxy.handle(...)` calls use this setting after you update the SDK. You do not need to regenerate the client.
83
+ Generated `actors.Counter.prepareWebsocket(...)` and `ActorProxy.handle(...)` calls read this setting. You can also pass `{ setupTimeoutMs: 120_000 }` as their second argument.
84
84
 
85
- You can also set `setupTimeoutMs` on `SocketProxy` from `terse-sdk/actors`:
85
+ `SocketProxy` from `terse-sdk/actors` accepts the same option:
86
86
 
87
87
  ```ts
88
88
  import { SocketProxy } from "terse-sdk/actors"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "terse-sdk",
3
- "version": "0.9.19",
3
+ "version": "0.9.20",
4
4
  "type": "module",
5
5
  "sideEffects": [
6
6
  "./dist/context.js"
@@ -57,7 +57,7 @@
57
57
  "durable-actors": "0.8.1",
58
58
  "little-durable": "0.1.3",
59
59
  "ms": "2.1.3",
60
- "terse-types": "0.9.19"
60
+ "terse-types": "0.9.20"
61
61
  },
62
62
  "scripts": {
63
63
  "build": "rm -rf dist && tsc",