@tinkered/bun 0.21.2 → 0.22.0

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 CHANGED
@@ -119,6 +119,21 @@ takes a bytes POST. Each answer:
119
119
  A bytes POST is for a key with a
120
120
  bytes field.
121
121
 
122
+ Two services with one address fail the start
123
+ with `DuplicateAddress`. The fault names both:
124
+
125
+ ```
126
+ two boards, each with a cell named "flows":
127
+
128
+ DuplicateAddress
129
+ address: "flows"
130
+ services: ["approvals.flows", "admin.flows"]
131
+ ```
132
+
133
+ - The fix is a rename of one cell.
134
+ - `strict: false` lets the first in the list
135
+ win, with a warning at start.
136
+
122
137
  The client:
123
138
 
124
139
  ```ts
package/dist/index.mjs CHANGED
@@ -13,7 +13,7 @@ function createWs() {
13
13
  const services = tag({ label: "ws.services" }).required;
14
14
  const strict = tag({
15
15
  label: "ws.strict",
16
- default: false
16
+ default: true
17
17
  });
18
18
  /** The public origin a socket comes from. Unset, it is the request URL's own origin; behind a
19
19
  * TLS proxy that is `http://<host>`, so the app binds its public `https` origin here. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tinkered/bun",
3
- "version": "0.21.2",
3
+ "version": "0.22.0",
4
4
  "description": "Tinker on Bun: the host on Bun.serve, rpc over one WebSocket, and Bun's own databases (Bun.SQL, bun:sqlite).",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -24,7 +24,7 @@
24
24
  "access": "public"
25
25
  },
26
26
  "dependencies": {
27
- "@tinkered/core": "^0.21.2"
27
+ "@tinkered/core": "^0.22.0"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@hughescr/stryker-bun-runner": "1.6.0",