@rangojs/router 0.0.0-experimental.34 → 0.0.0-experimental.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.
@@ -1745,7 +1745,7 @@ import { resolve } from "node:path";
1745
1745
  // package.json
1746
1746
  var package_default = {
1747
1747
  name: "@rangojs/router",
1748
- version: "0.0.0-experimental.34",
1748
+ version: "0.0.0-experimental.35",
1749
1749
  description: "Django-inspired RSC router with composable URL patterns",
1750
1750
  keywords: [
1751
1751
  "react",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rangojs/router",
3
- "version": "0.0.0-experimental.34",
3
+ "version": "0.0.0-experimental.35",
4
4
  "description": "Django-inspired RSC router with composable URL patterns",
5
5
  "keywords": [
6
6
  "react",
@@ -1213,9 +1213,7 @@ export async function resolveAllSegmentsWithRevalidation<TEnv>(
1213
1213
  ),
1214
1214
  (seg) => ({ segments: [seg], matchedIds: [seg.id] }),
1215
1215
  deps,
1216
- telemetry
1217
- ? { request, url: context.url, routeKey, isPartial: true, telemetry }
1218
- : undefined,
1216
+ { request, url: context.url, routeKey, isPartial: true, telemetry },
1219
1217
  pathname,
1220
1218
  );
1221
1219
  doneEntry();
@@ -83,6 +83,7 @@ export async function handleRscRendering<TEnv>(
83
83
  slots: result.slots,
84
84
  handles: handleStore.stream(),
85
85
  version: ctx.version,
86
+ prefetchCacheTTL: ctx.router.prefetchCacheTTL,
86
87
  },
87
88
  };
88
89
  }
@@ -143,6 +144,7 @@ export async function handleRscRendering<TEnv>(
143
144
  rootLayout: ctx.router.rootLayout,
144
145
  handles: handleStore.stream(),
145
146
  version: ctx.version,
147
+ prefetchCacheTTL: ctx.router.prefetchCacheTTL,
146
148
  themeConfig: ctx.router.themeConfig,
147
149
  initialTheme: reqCtx.theme,
148
150
  },