@protobase/cli 0.92.0 → 0.93.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.
@@ -1,4 +1,4 @@
1
1
  //#region package.json
2
- var version = "0.92.0";
2
+ var version = "0.93.0";
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.92.0",
3
+ "version": "0.93.0",
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.92.0",
47
- "@protobase/layout": "0.92.0",
48
- "@protobase/query": "0.92.0",
49
- "@protobase/schema": "0.92.0",
50
- "@protobase/server": "0.92.0",
51
- "@protobase/ui": "0.92.0",
52
- "@protobase/workflows": "0.92.0",
46
+ "@protobase/config": "0.93.0",
47
+ "@protobase/layout": "0.93.0",
48
+ "@protobase/query": "0.93.0",
49
+ "@protobase/schema": "0.93.0",
50
+ "@protobase/server": "0.93.0",
51
+ "@protobase/ui": "0.93.0",
52
+ "@protobase/workflows": "0.93.0",
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",
@@ -351,7 +351,7 @@ export default defineUi({
351
351
  })
352
352
  ```
353
353
 
354
- `invoke(name, { method?, body?, path?, query?, headers?, cache? })` sends a `GET`, or a `POST` with a JSON `body`; `cache` is the browser's fetch cache mode, such as `no-store` for an answer only its caller may see. It resolves to the parsed JSON, to text for a `text/*` answer or one without a content type, to a `Blob` of any other type, or to `undefined` for a `204`. A function sends a file, such as a PDF, as a plain `Response` with its type and name: `new Response(bytes, { headers: { 'content-type': 'application/pdf', 'content-disposition': 'attachment; filename="invoice.pdf"' } })`, and `invoke` gives the caller that `Blob`, with its `type`. A problem rejects with an `ApiError`, as any call of the client does. Outside the admin, `createClient` from `@protobase/client` gives the same `invoke`, or you can call the URL with `fetch` and an `Authorization: Bearer` header.
354
+ `invoke(name, { method?, body?, path?, query?, headers?, cache? })` sends a `GET`, or a `POST` with a JSON `body`; `cache` is the browser's fetch cache mode other than `only-if-cached`, such as `no-store` for an answer only its caller may see. It resolves to the parsed JSON, to text for a `text/*` answer or one without a content type, to a `Blob` of any other type, or to `undefined` for a `204`. A function sends a file, such as a PDF, as a plain `Response` with its type and name: `new Response(bytes, { headers: { 'content-type': 'application/pdf', 'content-disposition': 'attachment; filename="invoice.pdf"' } })`, and `invoke` gives the caller that `Blob`, with its `type`. A problem rejects with an `ApiError`, as any call of the client does. Outside the admin, `createClient` from `@protobase/client` gives the same `invoke`, or you can call the URL with `fetch` and an `Authorization: Bearer` header.
355
355
 
356
356
  ## Hono apps
357
357