@qwik.dev/core 2.0.0-beta.32 → 2.0.0-beta.35
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/backpatch/index.mjs +2 -2
- package/dist/backpatch/package.json +1 -1
- package/dist/backpatch-executor.debug.js +12 -6
- package/dist/backpatch-executor.js +1 -1
- package/dist/build/package.json +1 -1
- package/dist/cli.mjs +26 -22
- package/dist/core-internal.d.ts +137 -5
- package/dist/core.min.mjs +9 -2
- package/dist/core.mjs +672 -321
- package/dist/core.mjs.map +1 -1
- package/dist/core.prod.mjs +3274 -3131
- package/dist/loader/package.json +1 -1
- package/dist/optimizer.d.ts +2 -2
- package/dist/optimizer.mjs +2392 -1565
- package/dist/preloader.mjs +1 -293
- package/dist/server-modules.d.ts +1 -0
- package/dist/server.d.ts +0 -54
- package/dist/server.mjs +194 -620
- package/dist/server.prod.mjs +404 -864
- package/dist/testing/index.d.ts +3 -1
- package/dist/testing/index.mjs +1128 -3723
- package/dist/testing/package.json +1 -1
- package/dist/worker/index.d.mts +21 -0
- package/dist/worker/index.mjs +318 -0
- package/dist/worker/package.json +9 -0
- package/dist/worker/worker.js +13 -0
- package/dist/worker/worker.node.js +15 -0
- package/dist/worker/worker.shared.js +63 -0
- package/handlers.mjs +18 -1
- package/package.json +10 -4
- package/public.d.ts +5 -0
- package/worker.d.ts +2 -0
package/dist/testing/index.d.ts
CHANGED
|
@@ -75,6 +75,7 @@ declare interface Container {
|
|
|
75
75
|
readonly $locale$: string;
|
|
76
76
|
readonly $getObjectById$: (id: number | string) => any;
|
|
77
77
|
readonly $serverData$: Record<string, any>;
|
|
78
|
+
readonly $instanceHash$: string | null;
|
|
78
79
|
$currentUniqueId$: number;
|
|
79
80
|
$buildBase$: string | null;
|
|
80
81
|
$renderPromise$: Promise<void> | null;
|
|
@@ -843,7 +844,8 @@ declare type StoreTarget = Record<string | symbol, any>;
|
|
|
843
844
|
|
|
844
845
|
/** @internal */
|
|
845
846
|
declare interface StreamWriter {
|
|
846
|
-
write(chunk: string): void
|
|
847
|
+
write(chunk: string): ValueOrPromise<void>;
|
|
848
|
+
waitForDrain?(): ValueOrPromise<void>;
|
|
847
849
|
}
|
|
848
850
|
|
|
849
851
|
/** @internal */
|