gemi 0.49.0-rc.1 → 0.49.0-rc.2
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/app/index.js +1 -1
- package/dist/bin/gemi.js +4 -2
- package/dist/bin/gemi.js.map +3 -3
- package/dist/{chunk-8jmxfq66.js → chunk-ff8gkrsr.js} +1 -1
- package/dist/{chunk-b2xv683r.js → chunk-qz5jz43n.js} +1 -1
- package/dist/chunk-r3hacxdr.js +79 -0
- package/dist/{chunk-w6r5jtgb.js.map → chunk-r3hacxdr.js.map} +3 -3
- package/dist/{chunk-90hx7kw2.js → chunk-thwfndp3.js} +2 -2
- package/dist/{chunk-90hx7kw2.js.map → chunk-thwfndp3.js.map} +1 -1
- package/dist/{chunk-vct7btyq.js → chunk-wetdcmvf.js} +1 -1
- package/dist/facades/index.js +1 -1
- package/dist/i18n/index.js +1 -1
- package/dist/kernel/index.js +1 -1
- package/dist/server/index.js +1 -1
- package/dist/services/router/ViewRouterServiceContainer.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-w6r5jtgb.js +0 -79
- /package/dist/{chunk-8jmxfq66.js.map → chunk-ff8gkrsr.js.map} +0 -0
- /package/dist/{chunk-b2xv683r.js.map → chunk-qz5jz43n.js.map} +0 -0
- /package/dist/{chunk-vct7btyq.js.map → chunk-wetdcmvf.js.map} +0 -0
package/dist/app/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{o as a,p as b}from"../chunk-
|
|
2
|
+
import{o as a,p as b}from"../chunk-qz5jz43n.js";import"../chunk-r3hacxdr.js";import"../chunk-x5f4e2fp.js";import"../chunk-p5r0t9jh.js";import"../chunk-xkrthw08.js";import"../chunk-4z53shav.js";import"../chunk-m0earq80.js";import"../chunk-f18weffa.js";export{b as prismaExtension,a as App};
|
|
3
3
|
|
|
4
4
|
//# debugId=15EBDBCE0B2D702364756E2164756E21
|
package/dist/bin/gemi.js
CHANGED
|
@@ -68701,6 +68701,7 @@ class ViewRouterServiceContainer extends ServiceContainer {
|
|
|
68701
68701
|
serverQueries.markRenderStart();
|
|
68702
68702
|
const deadline = new AbortController;
|
|
68703
68703
|
const deadlineTimer = setTimeout(() => deadline.abort(), STREAM_DEADLINE_MS);
|
|
68704
|
+
const isBot = isBotUserAgent(userAgent);
|
|
68704
68705
|
try {
|
|
68705
68706
|
const stream = await renderToReadableStream(import_react.createElement(import_react.Fragment, {
|
|
68706
68707
|
children: [
|
|
@@ -68723,6 +68724,7 @@ class ViewRouterServiceContainer extends ServiceContainer {
|
|
|
68723
68724
|
bootstrapScriptContent: `window.__GEMI_DATA__ = ${JSON.stringify(result.data)}; window.loaders=${loaders}`,
|
|
68724
68725
|
bootstrapModules,
|
|
68725
68726
|
signal: deadline.signal,
|
|
68727
|
+
...isBot ? { progressiveChunkSize: Number.MAX_SAFE_INTEGER } : {},
|
|
68726
68728
|
onError(error) {
|
|
68727
68729
|
if (true) {
|
|
68728
68730
|
console.error(error);
|
|
@@ -68730,7 +68732,7 @@ class ViewRouterServiceContainer extends ServiceContainer {
|
|
|
68730
68732
|
}
|
|
68731
68733
|
});
|
|
68732
68734
|
stream.allReady.catch(() => {}).finally(() => clearTimeout(deadlineTimer));
|
|
68733
|
-
if (
|
|
68735
|
+
if (isBot) {
|
|
68734
68736
|
await stream.allReady.catch(() => {});
|
|
68735
68737
|
}
|
|
68736
68738
|
return new Response(injectQueryPayloads(stream, serverQueries), {
|
|
@@ -69979,5 +69981,5 @@ program.command("app:route-manifest").action(async () => {
|
|
|
69979
69981
|
});
|
|
69980
69982
|
program.parse();
|
|
69981
69983
|
|
|
69982
|
-
//# debugId=
|
|
69984
|
+
//# debugId=98CFC1ED06DD2FFA64756E2164756E21
|
|
69983
69985
|
//# sourceMappingURL=gemi.js.map
|