reykit 1.0.65 → 1.0.67
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/index.js +1 -1
- package/dist/net.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -27632,7 +27632,7 @@ async function NE(Z, W) {
|
|
|
27632
27632
|
headers: et,
|
|
27633
27633
|
method: jt,
|
|
27634
27634
|
check: Kt
|
|
27635
|
-
} = W;
|
|
27635
|
+
} = W ?? {};
|
|
27636
27636
|
if (F && (F = Object.fromEntries(
|
|
27637
27637
|
Object.entries(F).map(
|
|
27638
27638
|
([re, Bl]) => [re, String(Bl)]
|
package/dist/net.d.ts
CHANGED
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
* Note: `Error.message` is response body string, `Error.cause` is `Response` instance.
|
|
24
24
|
* - `undefined` : False.
|
|
25
25
|
*/
|
|
26
|
-
export declare function request(url: string, option
|
|
26
|
+
export declare function request(url: string, option?: {
|
|
27
27
|
params?: Record<string, string | number | boolean>;
|
|
28
28
|
body?: URLSearchParams | File | FormData | Blob | Record<string, any> | string;
|
|
29
29
|
headers?: Record<string, string | number | boolean>;
|