@bool-ts/core 1.6.6 → 1.6.7

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.
@@ -15,6 +15,6 @@ export type TBoolFactoryOptions = Required<{
15
15
  queryParser: Parameters<typeof Qs.parse>[1];
16
16
  }>;
17
17
  export declare const controllerCreator: (controllerConstructor: new (...args: any[]) => unknown, group: RouterGroup, prefix?: string) => RouterGroup;
18
- export declare const argumentsResolution: (data: unknown, zodSchema: Zod.Schema, argumentIndex: number, funcName: string | symbol) => Promise<unknown>;
18
+ export declare const argumentsResolution: (data: unknown, zodSchema: Zod.Schema, argumentIndex: number, funcName: string | symbol) => Promise<any>;
19
19
  export declare const BoolFactory: (target: new (...args: any[]) => unknown, options: TBoolFactoryOptions) => Promise<import("bun").Server | undefined>;
20
20
  export default BoolFactory;
@@ -58,7 +58,7 @@ export const argumentsResolution = async (data, zodSchema, argumentIndex, funcNa
58
58
  data: validation.error.issues
59
59
  });
60
60
  }
61
- return data;
61
+ return validation.data;
62
62
  }
63
63
  catch (error) {
64
64
  if (error instanceof HttpClientError) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bool-ts/core",
3
- "version": "1.6.6",
3
+ "version": "1.6.7",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {