@next-core/http
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -7,4 +7,4 @@ import { HttpAbortError, HttpFetchError, HttpParseError, HttpResponseError } from "./errors.js"; | ||
data?: unknown; | ||
meta?: unknown; | ||
options?: HttpOptions; | ||
[key: symbol]: unknown; | ||
} | ||
@@ -17,6 +17,3 @@ export interface HttpResponse<T = unknown> { | ||
} | ||
export interface HttpError { | ||
config: HttpRequestConfig; | ||
error: HttpFetchError | HttpResponseError | HttpParseError | HttpAbortError; | ||
} | ||
export type HttpError = HttpFetchError | HttpResponseError | HttpParseError | HttpAbortError; | ||
export interface HttpAdapter { | ||
@@ -23,0 +20,0 @@ (config: HttpRequestConfig): Promise<HttpResponse<unknown>>; |
{ | ||
"name": "@next-core/http", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "> TODO: description", | ||
@@ -45,3 +45,3 @@ "homepage": "https://github.com/easyops-cn/next-core/tree/v3/packages/http", | ||
}, | ||
"gitHead": "3aa3336e81687b4c2e3e633c02cc2c802a1201d8" | ||
"gitHead": "77e71491fb621a73e40d4a39ef564d327febde97" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
87401
941