@unrouted/fetch
Advanced tools
Comparing version 0.5.0 to 0.6.0
@@ -1,2 +0,2 @@ | ||
import { FetchOptions } from 'ohmyfetch'; | ||
import { FetchOptions } from 'ofetch'; | ||
import { GetRoutes, PostRoutes, PutRoutes, PatchRoutes, DeleteRoutes, OptionsRoutes } from '@unrouted/core'; | ||
@@ -18,2 +18,2 @@ | ||
export { $delete, $get, $options, $patch, $post, $put, MiddlewareOf, RoutesKey, TypedInternalResponse, ValueOf }; | ||
export { $delete, $get, $options, $patch, $post, $put, type MiddlewareOf, type RoutesKey, type TypedInternalResponse, type ValueOf }; |
{ | ||
"name": "@unrouted/fetch", | ||
"version": "0.5.0", | ||
"version": "0.6.0", | ||
"author": "Harlan Wilton <harlan@harlanzw.com>", | ||
@@ -20,4 +20,4 @@ "license": "MIT", | ||
"types": "./dist/index.d.ts", | ||
"require": "./dist/index.cjs", | ||
"import": "./dist/index.mjs" | ||
"import": "./dist/index.mjs", | ||
"require": "./dist/index.cjs" | ||
} | ||
@@ -29,10 +29,10 @@ }, | ||
"files": [ | ||
"dist", | ||
"*.d.ts" | ||
"*.d.ts", | ||
"dist" | ||
], | ||
"dependencies": { | ||
"ohmyfetch": "^0.4.21" | ||
"ofetch": "^1.3.3" | ||
}, | ||
"devDependencies": { | ||
"@unrouted/core": "0.5.0" | ||
"@unrouted/core": "0.6.0" | ||
}, | ||
@@ -39,0 +39,0 @@ "scripts": { |
@@ -11,3 +11,2 @@ # @unrouted/core | ||
const unrouted = await createUnrouted({ /* user options */ }, { /* provider options */ }) | ||
``` | ||
@@ -14,0 +13,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
7755
7
16
+ Addedofetch@^1.3.3
+ Addeddestr@2.0.3(transitive)
+ Addednode-fetch-native@1.6.6(transitive)
+ Addedofetch@1.4.1(transitive)
+ Addedufo@1.5.4(transitive)
- Removedohmyfetch@^0.4.21
- Removed@fastify/busboy@2.1.1(transitive)
- Removeddestr@1.2.2(transitive)
- Removednode-fetch-native@0.1.8(transitive)
- Removedohmyfetch@0.4.21(transitive)
- Removedufo@0.8.6(transitive)
- Removedundici@5.28.5(transitive)