@zyzgroup/core-web 0.1.61 → 0.1.63
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/dist/zyzgroup_core_web.iife.js +1 -1
- package/dist/zyzgroup_core_web.iife.js.map +1 -1
- package/dist/zyzgroup_core_web.js +8 -4
- package/dist/zyzgroup_core_web.js.map +1 -1
- package/dist/zyzgroup_core_web.umd.cjs +1 -1
- package/dist/zyzgroup_core_web.umd.cjs.map +1 -1
- package/package.json +1 -1
- package/types/axios.d.ts +4 -3
- package/types/axios.d.ts.map +1 -1
package/package.json
CHANGED
package/types/axios.d.ts
CHANGED
|
@@ -13,15 +13,16 @@ export declare class FetchWithAxios {
|
|
|
13
13
|
private canceler;
|
|
14
14
|
constructor(config?: FetchWithAxiosRequestConfig);
|
|
15
15
|
request<T = any>(config: FetchWithAxiosRequestConfig): Promise<AxiosResponse<T>>;
|
|
16
|
+
cancel(config: FetchWithAxiosRequestConfig): void;
|
|
16
17
|
get<T = any>(url: string, config?: FetchWithAxiosRequestConfig): Promise<AxiosResponse<T, any>>;
|
|
17
18
|
delete<T = any>(url: string, config?: FetchWithAxiosRequestConfig): Promise<AxiosResponse<T, any>>;
|
|
18
19
|
head<T = any>(url: string, config?: FetchWithAxiosRequestConfig): Promise<AxiosResponse<T, any>>;
|
|
19
20
|
options<T = any>(url: string, config?: FetchWithAxiosRequestConfig): Promise<AxiosResponse<T, any>>;
|
|
20
|
-
post<T = any>(url: string, data?:
|
|
21
|
+
post<T = any>(url: string, data?: any, config?: FetchWithAxiosRequestConfig): Promise<AxiosResponse<T, any>>;
|
|
21
22
|
postBlob<T = any>(url: string, data: FormData, config?: FetchWithAxiosRequestConfig): Promise<AxiosResponse<T, any>>;
|
|
22
23
|
postForm<T = any>(url: string, formEl: HTMLFormElement, config?: FetchWithAxiosRequestConfig): Promise<AxiosResponse<T, any>>;
|
|
23
|
-
put<T = any>(url: string, data?:
|
|
24
|
-
patch<T = any>(url: string, data?:
|
|
24
|
+
put<T = any>(url: string, data?: any, config?: FetchWithAxiosRequestConfig): Promise<AxiosResponse<T, any>>;
|
|
25
|
+
patch<T = any>(url: string, data?: any, config?: FetchWithAxiosRequestConfig): Promise<AxiosResponse<T, any>>;
|
|
25
26
|
getUri(config?: FetchWithAxiosRequestConfig): string;
|
|
26
27
|
}
|
|
27
28
|
//# sourceMappingURL=axios.d.ts.map
|
package/types/axios.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"axios.d.ts","sourceRoot":"","sources":["../src/axios.ts"],"names":[],"mappings":"AAAA,OAAc,EACZ,KAAK,kBAAkB,EACvB,KAAK,aAAa,EAClB,KAAK,UAAU,EAEhB,MAAM,OAAO,CAAC;AACf,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,aAAa,EAClB,KAAK,UAAU,EAChB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"axios.d.ts","sourceRoot":"","sources":["../src/axios.ts"],"names":[],"mappings":"AAAA,OAAc,EACZ,KAAK,kBAAkB,EACvB,KAAK,aAAa,EAClB,KAAK,UAAU,EAEhB,MAAM,OAAO,CAAC;AACf,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,aAAa,EAClB,KAAK,UAAU,EAChB,MAAM,OAAO,CAAC;AAoCf,MAAM,WAAW,2BAA4B,SAAQ,kBAAkB;IAErE,WAAW,CAAC,EAAE;QACZ,OAAO,CAAC,EAAE,CAAC,MAAM,EAAE,kBAAkB,KAAK,IAAI,CAAC;QAC/C,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAC;QAC3C,QAAQ,CAAC,EAAE,CAAC,QAAQ,EAAE,aAAa,KAAK,IAAI,CAAC;QAC7C,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAC;KAC7C,CAAC;CACH;AAED,qBAAa,cAAc;IACzB,OAAO,CAAC,QAAQ,CAAgB;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