@readyfor/api-client-base 0.178.0-pr942.18f2a81 → 0.178.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/{chunk-GD73YYGW.mjs → chunk-C5P5R2CL.mjs} +1 -2
- package/dist/fetcher.js +1 -2
- package/dist/fetcher.mjs +1 -1
- package/dist/index.js +1 -2
- package/dist/index.mjs +1 -1
- package/package.json +10 -9
|
@@ -68,8 +68,7 @@ var createVoidFetcher = (customRequestInit = {}) => (input, requestInit = {}) =>
|
|
|
68
68
|
}).then(async (res) => {
|
|
69
69
|
if (res.ok) return;
|
|
70
70
|
const code = Object.values(errorStatusCode).includes(res.status) ? res.status : 999;
|
|
71
|
-
|
|
72
|
-
throw new HTTPError(code, body);
|
|
71
|
+
throw new HTTPError(code);
|
|
73
72
|
});
|
|
74
73
|
|
|
75
74
|
export {
|
package/dist/fetcher.js
CHANGED
|
@@ -159,8 +159,7 @@ var createVoidFetcher = (customRequestInit = {}) => (input, requestInit = {}) =>
|
|
|
159
159
|
}).then(async (res) => {
|
|
160
160
|
if (res.ok) return;
|
|
161
161
|
const code = Object.values(errorStatusCode).includes(res.status) ? res.status : 999;
|
|
162
|
-
|
|
163
|
-
throw new HTTPError(code, body);
|
|
162
|
+
throw new HTTPError(code);
|
|
164
163
|
});
|
|
165
164
|
// Annotate the CommonJS export names for ESM import in node:
|
|
166
165
|
0 && (module.exports = {
|
package/dist/fetcher.mjs
CHANGED
package/dist/index.js
CHANGED
|
@@ -196,8 +196,7 @@ var createVoidFetcher = (customRequestInit = {}) => (input, requestInit = {}) =>
|
|
|
196
196
|
}).then(async (res) => {
|
|
197
197
|
if (res.ok) return;
|
|
198
198
|
const code = Object.values(errorStatusCode).includes(res.status) ? res.status : 999;
|
|
199
|
-
|
|
200
|
-
throw new HTTPError(code, body);
|
|
199
|
+
throw new HTTPError(code);
|
|
201
200
|
});
|
|
202
201
|
|
|
203
202
|
// src/requestUrl.ts
|
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@readyfor/api-client-base",
|
|
3
|
-
"version": "0.178.0
|
|
3
|
+
"version": "0.178.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -20,21 +20,24 @@
|
|
|
20
20
|
"require": "./dist/react/index.js"
|
|
21
21
|
}
|
|
22
22
|
},
|
|
23
|
+
"scripts": {
|
|
24
|
+
"build": "tsup"
|
|
25
|
+
},
|
|
23
26
|
"dependencies": {
|
|
24
|
-
"qs": "6.
|
|
27
|
+
"qs": "6.13.1",
|
|
25
28
|
"zod": "^3.24.1"
|
|
26
29
|
},
|
|
27
30
|
"devDependencies": {
|
|
28
|
-
"@types/qs": "6.9.
|
|
31
|
+
"@types/qs": "6.9.17",
|
|
29
32
|
"@types/react": "^18.3.12",
|
|
30
33
|
"@types/use-sync-external-store": "0.0.6",
|
|
31
34
|
"react": "^18.3.1",
|
|
32
|
-
"swr": "
|
|
35
|
+
"swr": "2.2.5",
|
|
33
36
|
"use-sync-external-store": "1.2.2"
|
|
34
37
|
},
|
|
35
38
|
"peerDependencies": {
|
|
36
39
|
"react": "^18.3.1",
|
|
37
|
-
"swr": "^2.
|
|
40
|
+
"swr": "^2.2.5",
|
|
38
41
|
"use-sync-external-store": "1.2.2"
|
|
39
42
|
},
|
|
40
43
|
"peerDependenciesMeta": {
|
|
@@ -60,7 +63,5 @@
|
|
|
60
63
|
"src"
|
|
61
64
|
]
|
|
62
65
|
},
|
|
63
|
-
"
|
|
64
|
-
|
|
65
|
-
}
|
|
66
|
-
}
|
|
66
|
+
"gitHead": "f14ad1907c3a6102cd5cb48ea4817ca76fae7b73"
|
|
67
|
+
}
|