@readyfor/api-client-base 0.328.0-pr1239.f1cffa5 → 0.328.0
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/fetcher.d.ts +1 -1
- package/dist/zod.d.ts +1 -1
- package/package.json +2 -2
package/dist/fetcher.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
|
|
3
|
-
declare const createJsonFetcher: <T = never>(schema: z.ZodType<T>, customRequestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<T>;
|
|
3
|
+
declare const createJsonFetcher: <T = never>(schema: z.ZodType<T, any, any>, customRequestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<T>;
|
|
4
4
|
declare const createTextFetcher: (customRequestInit?: RequestInit) => (input: RequestInfo, requestInit?: RequestInit) => Promise<string>;
|
|
5
5
|
type BlobFetcherResponse = {
|
|
6
6
|
body: Blob;
|
package/dist/zod.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
|
|
3
|
-
declare const schemaForType: <T>() => <S extends z.ZodType<T>>(arg: S) => S;
|
|
3
|
+
declare const schemaForType: <T>() => <S extends z.ZodType<T, any, any>>(arg: S) => S;
|
|
4
4
|
declare const isZodError: (obj: unknown) => obj is z.ZodError;
|
|
5
5
|
|
|
6
6
|
export { isZodError, schemaForType };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@readyfor/api-client-base",
|
|
3
|
-
"version": "0.328.0
|
|
3
|
+
"version": "0.328.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"qs": "^6.15.0",
|
|
32
|
-
"zod": "^
|
|
32
|
+
"zod": "^3.24.1"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@types/qs": "6.15.0",
|