@cloudcommerce/api 2.12.0 → 2.12.1
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/lib/api.d.ts +1 -4
- package/package.json +1 -1
package/lib/api.d.ts
CHANGED
|
@@ -31,10 +31,7 @@ declare const def: {
|
|
|
31
31
|
headers: Headers | Record<string, string>;
|
|
32
32
|
};
|
|
33
33
|
};
|
|
34
|
-
declare const setMiddleware: (middleware:
|
|
35
|
-
url: any;
|
|
36
|
-
headers: Headers | Record<string, string>;
|
|
37
|
-
}) => void;
|
|
34
|
+
declare const setMiddleware: (middleware: typeof def.middleware) => void;
|
|
38
35
|
declare const api: {
|
|
39
36
|
<T extends Config & {
|
|
40
37
|
body?: any;
|