@voltro/web 0.55.0 → 0.56.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/CHANGELOG.md +497 -0
- package/dist/{frameworkBoot-CnE9vzLQ.js → frameworkBoot-BfJpdpZp.js} +145 -124
- package/dist/frameworkBoot.d.ts +27 -2
- package/dist/frameworkBoot.js +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/index.js +1 -1
- package/dist/mount.d.ts +5 -0
- package/dist/mount.js +3 -2
- package/package.json +3 -3
package/dist/mount.d.ts
CHANGED
|
@@ -56,6 +56,11 @@ export declare interface MountOptions {
|
|
|
56
56
|
* PascalCase because it is a React component reference rendered
|
|
57
57
|
* as <Devtools/>. */
|
|
58
58
|
readonly Devtools?: ComponentType;
|
|
59
|
+
/** When each api connects — `'eager'` (default) or `'lazy'` (on the first
|
|
60
|
+
* hook that asks for it). Set from `app.config.ts`'s `web.api.connect` by
|
|
61
|
+
* the generated entry; see `VoltroRuntimeProvider`'s `connect` for the
|
|
62
|
+
* measurements behind it. */
|
|
63
|
+
readonly connect?: 'eager' | 'lazy';
|
|
59
64
|
}
|
|
60
65
|
|
|
61
66
|
export declare const noticeIslandsShipTheFullBundle: (isDev: boolean) => void;
|
package/dist/mount.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./frameworkBoot-
|
|
1
|
+
import { t as e } from "./frameworkBoot-BfJpdpZp.js";
|
|
2
2
|
import { hydrateIslandsOnPage as t } from "./islands.js";
|
|
3
3
|
import { o as n, r, t as i } from "./routerState-Cr6fTbka.js";
|
|
4
4
|
import { StrictMode as a } from "react";
|
|
@@ -29,7 +29,8 @@ var d = () => !1, f = "__voltroIslandsBundleNoticeShown", p = (e) => {
|
|
|
29
29
|
let S = /* @__PURE__ */ u(a, { children: /* @__PURE__ */ u(e, {
|
|
30
30
|
App: f,
|
|
31
31
|
apis: _,
|
|
32
|
-
...h.Devtools ? { Devtools: h.Devtools } : {}
|
|
32
|
+
...h.Devtools ? { Devtools: h.Devtools } : {},
|
|
33
|
+
...h.connect ? { connect: h.connect } : {}
|
|
33
34
|
}) });
|
|
34
35
|
b ? s(g, S) : o(g).render(S);
|
|
35
36
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voltro/web",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.56.0",
|
|
4
4
|
"description": "The Voltro web framework — file-based routing, render modes (SSR / SSG / islands), the page-export contract, data hooks, and the browser mount.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"voltro",
|
|
@@ -63,8 +63,8 @@
|
|
|
63
63
|
"node": ">=24.0.0"
|
|
64
64
|
},
|
|
65
65
|
"dependencies": {
|
|
66
|
-
"@voltro/client": "0.
|
|
67
|
-
"@voltro/ui": "0.
|
|
66
|
+
"@voltro/client": "0.56.0",
|
|
67
|
+
"@voltro/ui": "0.56.0"
|
|
68
68
|
},
|
|
69
69
|
"peerDependencies": {
|
|
70
70
|
"@effect/platform": "^0.97.0",
|