Loading docs/why.md +1 −1 Original line number Diff line number Diff line Loading @@ -178,7 +178,7 @@ Works with virtually any JavaScript/TypeScript web framework: - [Hono](./manual/integration.md#hono) - [Fresh](./manual/integration.md#fresh) - [SvelteKit](./manual/integration.md#sveltekit) - Next.js - [Next.js](./manual/integration.md#next.js) - [h3](./manual/integration.md#h3)/Nitro … and many more! Loading packages/next/package.json +5 −3 Original line number Diff line number Diff line Loading @@ -30,17 +30,19 @@ ], "type": "module", "main": "./dist/index.js", "module": "./dist/index.mjs", "module": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { ".": { "require": { "types": "./dist/index.d.ts", "import": "./dist/index.js", "default": "./dist/index.js" }, "import": { "types": "./dist/index.d.mts", "default": "./dist/index.mjs" "types": "./dist/index.d.ts", "import": "./dist/index.js", "default": "./dist/index.js" } }, "./package.json": "./package.json" Loading packages/next/src/index.ts +2 −2 Original line number Diff line number Diff line Loading @@ -10,7 +10,6 @@ * @since 1.9.0 */ import type { Federation, FederationFetchOptions } from "@fedify/fedify"; import { notFound } from "next/navigation"; import { NextResponse } from "next/server"; interface ContextDataFactory<TContextData> { Loading Loading @@ -125,12 +124,13 @@ export function integrateFederation<TContextData>( request, { contextData: await contextDataFactory(request), onNotFound: notFound, onNotFound, onNotAcceptable, ...errorHandlers, }, ); } const onNotFound = () => new Response("Not found", { status: 404 }); const onNotAcceptable = () => new Response("Not acceptable", { status: 406, Loading pnpm-lock.yaml +173 −166 File changed.Preview size limit exceeded, changes collapsed. Show changes pnpm-workspace.yaml +2 −2 Original line number Diff line number Diff line Loading @@ -35,7 +35,7 @@ catalog: express: ^4.0.0 h3: ^1.15.0 ioredis: ^5.6.1 next: ^15.4.2-canary next: ^15.4.6 postgres: ^3.4.7 tsdown: ^0.12.9 typescript: ^5.8.3 typescript: ^5.9.2 Loading
docs/why.md +1 −1 Original line number Diff line number Diff line Loading @@ -178,7 +178,7 @@ Works with virtually any JavaScript/TypeScript web framework: - [Hono](./manual/integration.md#hono) - [Fresh](./manual/integration.md#fresh) - [SvelteKit](./manual/integration.md#sveltekit) - Next.js - [Next.js](./manual/integration.md#next.js) - [h3](./manual/integration.md#h3)/Nitro … and many more! Loading
packages/next/package.json +5 −3 Original line number Diff line number Diff line Loading @@ -30,17 +30,19 @@ ], "type": "module", "main": "./dist/index.js", "module": "./dist/index.mjs", "module": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { ".": { "require": { "types": "./dist/index.d.ts", "import": "./dist/index.js", "default": "./dist/index.js" }, "import": { "types": "./dist/index.d.mts", "default": "./dist/index.mjs" "types": "./dist/index.d.ts", "import": "./dist/index.js", "default": "./dist/index.js" } }, "./package.json": "./package.json" Loading
packages/next/src/index.ts +2 −2 Original line number Diff line number Diff line Loading @@ -10,7 +10,6 @@ * @since 1.9.0 */ import type { Federation, FederationFetchOptions } from "@fedify/fedify"; import { notFound } from "next/navigation"; import { NextResponse } from "next/server"; interface ContextDataFactory<TContextData> { Loading Loading @@ -125,12 +124,13 @@ export function integrateFederation<TContextData>( request, { contextData: await contextDataFactory(request), onNotFound: notFound, onNotFound, onNotAcceptable, ...errorHandlers, }, ); } const onNotFound = () => new Response("Not found", { status: 404 }); const onNotAcceptable = () => new Response("Not acceptable", { status: 406, Loading
pnpm-workspace.yaml +2 −2 Original line number Diff line number Diff line Loading @@ -35,7 +35,7 @@ catalog: express: ^4.0.0 h3: ^1.15.0 ioredis: ^5.6.1 next: ^15.4.2-canary next: ^15.4.6 postgres: ^3.4.7 tsdown: ^0.12.9 typescript: ^5.8.3 typescript: ^5.9.2