frappe-react-sdk 1.2.3 → 1.2.5
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/frappe-react-sdk.es.js +380 -381
- package/dist/frappe-react-sdk.umd.js +9 -9
- package/dist/lib/index.d.ts +3 -3
- package/package.json +2 -2
package/dist/lib/index.d.ts
CHANGED
|
@@ -88,10 +88,10 @@ export declare const getDocListQueryString: (args?: GetDocListArgs) => string;
|
|
|
88
88
|
*
|
|
89
89
|
* @typeParam T - The type definition of the document object
|
|
90
90
|
*/
|
|
91
|
-
export declare const useFrappeGetDocList: <T = any
|
|
92
|
-
data:
|
|
91
|
+
export declare const useFrappeGetDocList: <T = any, K = FrappeDoc<T>>(doctype: string, args?: GetDocListArgs<K> | undefined, swrKey?: Key, options?: SWRConfiguration) => {
|
|
92
|
+
data: T[] | undefined;
|
|
93
93
|
error: Error | undefined;
|
|
94
|
-
mutate: import("swr/_internal").KeyedMutator<
|
|
94
|
+
mutate: import("swr/_internal").KeyedMutator<T[]>;
|
|
95
95
|
isValidating: boolean;
|
|
96
96
|
isLoading: boolean;
|
|
97
97
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "frappe-react-sdk",
|
|
3
3
|
"description": "React hooks for Frappe Framework",
|
|
4
|
-
"version": "1.2.
|
|
4
|
+
"version": "1.2.5",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "The Commit Company",
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
}
|
|
90
90
|
},
|
|
91
91
|
"dependencies": {
|
|
92
|
-
"frappe-js-sdk": "^1.3.
|
|
92
|
+
"frappe-js-sdk": "^1.3.4",
|
|
93
93
|
"socket.io-client": "^4.5.1",
|
|
94
94
|
"swr": "^2.2.0"
|
|
95
95
|
}
|