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 CHANGED
@@ -1,4 +1,4 @@
1
1
  // @bun
2
- import{o as a,p as b}from"../chunk-b2xv683r.js";import"../chunk-w6r5jtgb.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};
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 (isBotUserAgent(userAgent)) {
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=8FF3EC642A31F68D64756E2164756E21
69984
+ //# debugId=98CFC1ED06DD2FFA64756E2164756E21
69983
69985
  //# sourceMappingURL=gemi.js.map