okno 1.0.0-beta.38 → 1.0.0-beta.40
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/astro/index.js +1 -1
- package/dist/codegen/modules-instant.d.ts +5 -2
- package/dist/codegen/modules-instant.d.ts.map +1 -1
- package/dist/{dispatch-oBWbJ5Pl.js → dispatch-Bj6gNKBL.js} +380 -374
- package/dist/editor/index.js +15399 -15259
- package/dist/engine/materialize.d.ts +62 -0
- package/dist/engine/materialize.d.ts.map +1 -0
- package/dist/index.js +1 -1
- package/dist/local/dispatch.d.ts.map +1 -1
- package/dist/next/index.js +1 -1
- package/dist/{plugin-Bgk7L4b7.js → plugin-sAwHmkG8.js} +45 -42
- package/dist/runtime/instant.d.ts +31 -26
- package/dist/runtime/instant.d.ts.map +1 -1
- package/dist/runtime/instant.js +231 -111
- package/dist/runtime/wrap.d.ts.map +1 -1
- package/dist/runtime/wrap.js +22 -20
- package/dist/vite/index.js +1 -1
- package/package.json +1 -1
- package/src/runtime/instant.test.ts +278 -0
- package/src/runtime/instant.ts +257 -146
- package/src/runtime/wrap.ts +12 -0
package/dist/astro/index.js
CHANGED
|
@@ -16,6 +16,9 @@ export declare function buildInstantGlobalsModule(oknoDir: string, used?: Set<st
|
|
|
16
16
|
export declare function buildInstantCollectionsModule(oknoDir: string, used?: Set<string>): Promise<string>;
|
|
17
17
|
export declare function buildInstantStringsModule(oknoDir: string): string;
|
|
18
18
|
/** The `okno:instant-middleware` module — Astro middleware that fetches the
|
|
19
|
-
* snapshot and
|
|
20
|
-
|
|
19
|
+
* snapshot and serves it as ISR-like SSR (version-keyed edge cache + HTTP
|
|
20
|
+
* validators + AsyncLocalStorage scope). All logic lives in the tested,
|
|
21
|
+
* self-contained `__oknoInstantMiddleware` runtime helper; this only binds the
|
|
22
|
+
* project's snapshot URL. */
|
|
23
|
+
export declare function buildInstantMiddlewareModule(snapshotUrl: string, apiUrl: string): string;
|
|
21
24
|
//# sourceMappingURL=modules-instant.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modules-instant.d.ts","sourceRoot":"","sources":["../../src/codegen/modules-instant.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AA8BH,wBAAsB,uBAAuB,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,GAAE,GAAG,CAAC,MAAM,CAAa,GAAG,OAAO,CAAC,MAAM,CAAC,CAE7G;AAED,wBAAsB,yBAAyB,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,GAAE,GAAG,CAAC,MAAM,CAAa,GAAG,OAAO,CAAC,MAAM,CAAC,CAE/G;AA4BD,wBAAsB,6BAA6B,CAClD,OAAO,EAAE,MAAM,EACf,IAAI,GAAE,GAAG,CAAC,MAAM,CAAa,GAC3B,OAAO,CAAC,MAAM,CAAC,CAiCjB;AAED,wBAAgB,yBAAyB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAajE;AAED;
|
|
1
|
+
{"version":3,"file":"modules-instant.d.ts","sourceRoot":"","sources":["../../src/codegen/modules-instant.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AA8BH,wBAAsB,uBAAuB,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,GAAE,GAAG,CAAC,MAAM,CAAa,GAAG,OAAO,CAAC,MAAM,CAAC,CAE7G;AAED,wBAAsB,yBAAyB,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,GAAE,GAAG,CAAC,MAAM,CAAa,GAAG,OAAO,CAAC,MAAM,CAAC,CAE/G;AA4BD,wBAAsB,6BAA6B,CAClD,OAAO,EAAE,MAAM,EACf,IAAI,GAAE,GAAG,CAAC,MAAM,CAAa,GAC3B,OAAO,CAAC,MAAM,CAAC,CAiCjB;AAED,wBAAgB,yBAAyB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAajE;AAED;;;;8BAI8B;AAC9B,wBAAgB,4BAA4B,CAAC,WAAW,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CASxF"}
|