@chaibuilder/pages 0.4.10-beta.2 → 0.4.10-beta.3

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +3 -3
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -55,10 +55,10 @@ export declare const useChaiCurrentPage: () => {
55
55
  };
56
56
 
57
57
  export declare const useChaiFetch: () => ({ url, method, body, headers, }: {
58
- method: "GET" | "POST" | "PUT" | "DELETE";
58
+ method?: "GET" | "POST" | "PUT" | "DELETE";
59
59
  url: string;
60
- body: any;
61
- headers: Record<string, string>;
60
+ body?: any;
61
+ headers?: Record<string, string>;
62
62
  }) => Promise<any>;
63
63
 
64
64
  export declare const useChaiUserInfo: (currentEditor: string) => UseQueryResult< {
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "author": "Suraj Air",
4
4
  "license": "Private",
5
5
  "homepage": "https://chaibuilder.com",
6
- "version": "0.4.10-beta.2",
6
+ "version": "0.4.10-beta.3",
7
7
  "type": "module",
8
8
  "files": [
9
9
  "dist"