@emeryld/rrroutes-client 2.5.7 → 2.5.8

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.
@@ -36,7 +36,7 @@ export declare function splitMultipartBody(body: Record<string, any> | undefined
36
36
  regularBody: any[] | Record<string, any> | undefined;
37
37
  multipartFiles: Record<string, unknown>;
38
38
  };
39
- export declare function toFormData(body: Record<string, any>, fields?: FileField[]): FormData;
39
+ export declare function toFormData(body: Record<string, unknown>, bodyFiles?: readonly FileField[]): FormData;
40
40
  /**
41
41
  * Validate that the query is a flat Record<string, string>.
42
42
  * Throws if any value is non-string or the structure is not a plain object.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emeryld/rrroutes-client",
3
- "version": "2.5.7",
3
+ "version": "2.5.8",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
@@ -19,7 +19,7 @@
19
19
  "dist"
20
20
  ],
21
21
  "dependencies": {
22
- "@emeryld/rrroutes-contract": "^2.5.8",
22
+ "@emeryld/rrroutes-contract": "^2.5.9",
23
23
  "zod": "^4.3.6"
24
24
  },
25
25
  "peerDependencies": {