hook-fetch 2.1.1 → 2.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -106,6 +106,6 @@ declare enum Method {
|
|
|
106
106
|
}
|
|
107
107
|
//#endregion
|
|
108
108
|
//#region src/index.d.ts
|
|
109
|
-
type HookFetchRequest$1 = HookFetchRequest
|
|
109
|
+
type HookFetchRequest$1<T = unknown, E = unknown> = HookFetchRequest<T, E>;
|
|
110
110
|
//#endregion
|
|
111
111
|
export { ContentType, HookFetchRequest$1 as HookFetchRequest, HookFetchRequest as HookFetchRequest$1, Method, StatusCode, del, get, head, hookFetch, options, patch, post, put, request, upload };
|
package/types/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { AfterResponseHandler, BaseOptions, BaseRequestOptions, BeforeRequestHandler, BeforeStreamHandler, DeleteOptions, FetchPluginContext, FetchResponseType, GetOptions, HeadOptions, HookFetchPlugin, OnErrorHandler, OnFinallyHandler, OptionProps, OptionsOptions, PatchOptions, PostOptions, PutOptions, RequestConfig, RequestMethod, RequestMethodWithBody, RequestMethodWithParams, RequestOptions, RequestUseOptions, RequestWithBodyFnOptions, RequestWithBodyOptions, RequestWithParamsFnOptions, RequestWithParamsOptions, ResponseError, ResponseErrorOptions, StreamContext, TransformStreamChunkHandler } from "./types-BHb7QtsB.js";
|
|
2
|
-
import { ContentType, HookFetchRequest, Method, StatusCode, del, get, head, hookFetch, options, patch, post, put, request, upload } from "./index-
|
|
2
|
+
import { ContentType, HookFetchRequest, Method, StatusCode, del, get, head, hookFetch, options, patch, post, put, request, upload } from "./index-CBM7mIGe.js";
|
|
3
3
|
export { AfterResponseHandler, BaseOptions, BaseRequestOptions, BeforeRequestHandler, BeforeStreamHandler, ContentType, DeleteOptions, FetchPluginContext, FetchResponseType, GetOptions, HeadOptions, HookFetchPlugin, HookFetchRequest, Method, OnErrorHandler, OnFinallyHandler, OptionProps, OptionsOptions, PatchOptions, PostOptions, PutOptions, RequestConfig, RequestMethod, RequestMethodWithBody, RequestMethodWithParams, RequestOptions, RequestUseOptions, RequestWithBodyFnOptions, RequestWithBodyOptions, RequestWithParamsFnOptions, RequestWithParamsOptions, ResponseError, ResponseErrorOptions, StatusCode, StreamContext, TransformStreamChunkHandler, hookFetch as default, del, get, head, options, patch, post, put, request, upload };
|
package/types/react/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ResponseError, StreamContext } from "../types-BHb7QtsB.js";
|
|
2
|
-
import { HookFetchRequest$1 as HookFetchRequest } from "../index-
|
|
2
|
+
import { HookFetchRequest$1 as HookFetchRequest } from "../index-CBM7mIGe.js";
|
|
3
3
|
import * as react0 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/react/index.d.ts
|
package/types/vue/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ResponseError, StreamContext } from "../types-BHb7QtsB.js";
|
|
2
|
-
import { HookFetchRequest$1 as HookFetchRequest } from "../index-
|
|
2
|
+
import { HookFetchRequest$1 as HookFetchRequest } from "../index-CBM7mIGe.js";
|
|
3
3
|
import * as vue0 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/vue/index.d.ts
|