@cordisjs/plugin-http
Advanced tools
+2
-2
@@ -125,4 +125,4 @@ import { Context, Service, z } from 'cordis'; | ||
| }; | ||
| decoder<K extends keyof HTTP.ResponseTypes>(type: K, decoder: HTTP.Decoder<HTTP.ResponseTypes[K]>): () => Promise<void>; | ||
| proxy(name: string[], factory: (url: URL) => Dispatcher): () => Promise<void>; | ||
| decoder<K extends keyof HTTP.ResponseTypes>(type: K, decoder: HTTP.Decoder<HTTP.ResponseTypes[K]>): import("cordis").Disposable<void | Promise<void>>; | ||
| proxy(name: string[], factory: (url: URL) => Dispatcher): import("cordis").Disposable<void | Promise<void>>; | ||
| extend(config?: HTTP.Config): any; | ||
@@ -129,0 +129,0 @@ resolveConfig(init?: HTTP.RequestConfig): HTTP.RequestConfig; |
+3
-3
| { | ||
| "name": "@cordisjs/plugin-http", | ||
| "description": "Fetch-based axios-style HTTP client", | ||
| "version": "1.0.3", | ||
| "version": "1.1.0", | ||
| "type": "module", | ||
@@ -41,3 +41,3 @@ "main": "lib/index.js", | ||
| "peerDependencies": { | ||
| "cordis": "^4.0.0-alpha.8", | ||
| "cordis": "^4.0.0-beta.0", | ||
| "undici": "^7.5.0" | ||
@@ -51,3 +51,3 @@ }, | ||
| "devDependencies": { | ||
| "cordis": "^4.0.0-alpha.8", | ||
| "cordis": "^4.0.0-beta.0", | ||
| "undici": "^7.5.0" | ||
@@ -54,0 +54,0 @@ }, |
24647
0.24%