giraffeql 2.2.7 → 2.2.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.
@@ -15,7 +15,7 @@ export declare type ValidatorFunction = ({ req, query, args, fieldPath, rootReso
15
15
  args: any;
16
16
  fieldPath: string[];
17
17
  rootResolver: GiraffeqlRootResolverType;
18
- }) => void | Promise<void>;
18
+ }) => void | void[] | Promise<void | void[]>;
19
19
  export declare type ValidMethod = "all" | "get" | "post" | "put" | "delete" | "patch" | "options" | "head";
20
20
  export interface GiraffeqlResponse {
21
21
  data: unknown;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "giraffeql",
3
- "version": "2.2.7",
3
+ "version": "2.2.8",
4
4
  "description": "Methods and APIs for querying backends using JSON",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",