diff --git a/packages/adapter/package.json b/packages/adapter/package.json index c3fe59d..7c365f5 100644 --- a/packages/adapter/package.json +++ b/packages/adapter/package.json @@ -29,7 +29,7 @@ "@types/node": "17.0.39", "rimraf": "^3.0.2", "typescript": "^4.7.3", - "node-fetch": "^3.2.10" + "undici": "5.14.0" }, "dependencies": { "esbuild": "^0.14.42" diff --git a/packages/adapter/src/files/ambient.d.ts b/packages/adapter/src/files/ambient.d.ts index 3b00e9e..e399090 100644 --- a/packages/adapter/src/files/ambient.d.ts +++ b/packages/adapter/src/files/ambient.d.ts @@ -1,4 +1,4 @@ export { } declare global { - export { Request,HeadersInit, Response, Headers } from 'node-fetch' + export { HeadersInit, Response, Request, Headers } from 'undici'; } \ No newline at end of file