create-caspian-app 0.2.0-beta.52 → 0.2.0-beta.54

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/dist/main.py CHANGED
@@ -248,6 +248,7 @@ class RPCMiddleware:
248
248
  # Route Registration
249
249
  # ====
250
250
 
251
+
251
252
  _route_module_cache = {}
252
253
  _route_signature_cache = {}
253
254
 
@@ -1 +1,13 @@
1
- import"/js/pp-reactive-v2.js";
1
+ import "/js/pp-reactive-v2.js";
2
+
3
+ const pp = (globalThis).pp;
4
+
5
+ if (document.readyState !== "loading") {
6
+ pp?.mount?.();
7
+ } else {
8
+ document.addEventListener(
9
+ "DOMContentLoaded",
10
+ () => pp?.mount?.(),
11
+ { once: true },
12
+ );
13
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-caspian-app",
3
- "version": "0.2.0-beta.52",
3
+ "version": "0.2.0-beta.54",
4
4
  "description": "Scaffold a new Caspian project (FastAPI-powered reactive Python framework).",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",