@protobase/cli 0.81.1 → 0.81.2

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.
@@ -1,4 +1,4 @@
1
1
  //#region package.json
2
- var version = "0.81.1";
2
+ var version = "0.81.2";
3
3
  //#endregion
4
4
  export { version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@protobase/cli",
3
- "version": "0.81.1",
3
+ "version": "0.81.2",
4
4
  "description": "The protobase command: scaffold, doctor, dev, build and serve a Protobase project.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -43,13 +43,13 @@
43
43
  "dependencies": {
44
44
  "@better-auth/core": "^1.7.12",
45
45
  "@hono/node-server": "^2.1.3",
46
- "@protobase/config": "0.81.1",
47
- "@protobase/layout": "0.81.1",
48
- "@protobase/query": "0.81.1",
49
- "@protobase/schema": "0.81.1",
50
- "@protobase/server": "0.81.1",
51
- "@protobase/ui": "0.81.1",
52
- "@protobase/workflows": "0.81.1",
46
+ "@protobase/config": "0.81.2",
47
+ "@protobase/layout": "0.81.2",
48
+ "@protobase/query": "0.81.2",
49
+ "@protobase/schema": "0.81.2",
50
+ "@protobase/server": "0.81.2",
51
+ "@protobase/ui": "0.81.2",
52
+ "@protobase/workflows": "0.81.2",
53
53
  "@react-email/render": "^2.1.0",
54
54
  "@scalar/hono-api-reference": "^0.12.10",
55
55
  "@sentry/vite-plugin": "^11.10.0",
@@ -281,7 +281,7 @@ Each send is `POST <url>/send`, with the credential as a bearer token, never thr
281
281
  { "message": { "title": "Task assigned", "url": "https://app.example.com/tasks/42" }, "devices": [{ "handle": "…", "user": "user-1" }] }
282
282
  ```
283
283
 
284
- The relay answers a `2xx` with a result for each handle, `ok`, `gone`, `retry` or `refused`, as [senders](#senders) answer: `{ "results": [{ "handle": "…", "result": "ok" }] }`. A handle the relay answers `gone` removes its device. A handle it does not answer, and every handle of any other answer, such as a wrong credential, a `429` or `5xx` (after its `Retry-After`) or no answer within ten seconds, is retried, so a mistake in the configuration removes no device. A device stored with a token that is not a relay handle, or whose user id is not 1 to 256 characters without a control character, as a store takes it, is `refused` with no request, and the other devices are sent as usual. <gap>A send cannot keep the notification's text from the relay because content-free or encrypted relay payloads are not implemented.</gap>
284
+ The relay answers a `2xx` with a result for each handle, `ok`, `gone`, `retry` or `refused`, as [senders](#senders) answer: `{ "results": [{ "handle": "…", "result": "ok" }] }`. A handle the relay answers `gone` removes its device. A handle it does not answer, and every handle of any other answer, such as a wrong credential, a `429` or `5xx` (after its `Retry-After`) or no answer within ten seconds, is retried, so a mistake in the configuration removes no device. A device stored with a token that is not a relay handle, or whose user id is longer than the 256 characters a store takes, is `refused` with no request, and the other devices are sent as usual. <gap>A send cannot keep the notification's text from the relay because content-free or encrypted relay payloads are not implemented.</gap>
285
285
 
286
286
  `relaySender(readRelaySettings(process.env)!)` from `@protobase/server` is the built-in sender, to list beside [your own senders](#senders). `relaySendRequest` and `relaySendAnswer` check the request and answer shapes.
287
287