create-caspian-app 1.0.18 → 1.0.19

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 +3 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -229,11 +229,11 @@ There is no `pp-if`, `pp-show`, `pp-else`, or `pp-key`. Conditionals are `hidden
229
229
  | `pp-style="{cssText}"` | Any element | Dynamic inline style (string) |
230
230
  | `pp-spread="{...obj}"` | Any element | Spread object into attributes |
231
231
  | `<token.provider value="{v}">` (lowercase) | Anywhere | Context provider |
232
- | `pp-spa="true"` / `pp-spa="false"` | `<body>` / an `<a>` | SPA navigation opt-in/out |
232
+ | `pp-spa="false"` | An `<a>` | Opt one link out of SPA navigation, which starts automatically on mount |
233
233
  | `pp-reset-scroll="true"`, `pp-scroll-key="name"` | A scroll container | Scroll restoration control |
234
234
  | `pp-loading-content`, `pp-loading-url`, `pp-loading-transition` | Navigation regions | Loading UI |
235
235
 
236
- Never handwrite runtime-managed attributes (`pp-component`, `type="text/pp"`, `pp-owner`, `pp-ref-owner`, `pp-ref-forward`, `data-pp-*`, …). The render pipeline and the browser runtime write those.
236
+ Never handwrite runtime-managed attributes (`pp-component`, `pp-owner`, `pp-ref-owner`, `pp-ref-forward`, `data-pp-*`, …). Component logic belongs in a plain, untyped `<script>`; the render pipeline and browser runtime capture it safely.
237
237
 
238
238
  #### The single-root rule
239
239
 
@@ -412,7 +412,7 @@ await pp.rpc(name, data?, optionsOrAbort?)
412
412
  - Server redirect headers are honored through `pp.redirect()`.
413
413
  - Passing `true` as the third argument means `{ abortPrevious: true }`.
414
414
 
415
- Options: `abortPrevious`, `onStream`, `onStreamError`, `onStreamComplete`, `onUploadProgress`, `onUploadComplete`.
415
+ Options: `abortPrevious`, `url`, `csrfUrl`, `credentials`, `onStream`, `onStreamError`, `onStreamComplete`, `onUploadProgress`, `onUploadComplete`.
416
416
 
417
417
  **Payload safety:** RPC keys are filtered against the function signature, so a parameter is client-settable only when it is declared. Declaring `**kwargs` opts into the whole payload — do that deliberately.
418
418
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-caspian-app",
3
- "version": "1.0.18",
3
+ "version": "1.0.19",
4
4
  "description": "Scaffold a new Caspian project (FastAPI-powered reactive Python framework).",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",