houdini-react 1.3.2 → 1.3.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.
|
@@ -4,6 +4,7 @@ export type MutationHandler<_Result, _Input, _Optimistic extends GraphQLObject>
|
|
|
4
4
|
metadata?: App.Metadata;
|
|
5
5
|
fetch?: typeof globalThis.fetch;
|
|
6
6
|
optimisticResponse?: _Optimistic;
|
|
7
|
+
abortController?: AbortController;
|
|
7
8
|
}) => Promise<QueryResult<_Result, _Input>>;
|
|
8
9
|
export declare function useMutation<_Result extends GraphQLObject, _Input extends GraphQLVariables, _Optimistic extends GraphQLObject>({ artifact, }: {
|
|
9
10
|
artifact: MutationArtifact;
|
|
@@ -4,6 +4,7 @@ export type MutationHandler<_Result, _Input, _Optimistic extends GraphQLObject>
|
|
|
4
4
|
metadata?: App.Metadata;
|
|
5
5
|
fetch?: typeof globalThis.fetch;
|
|
6
6
|
optimisticResponse?: _Optimistic;
|
|
7
|
+
abortController?: AbortController;
|
|
7
8
|
}) => Promise<QueryResult<_Result, _Input>>;
|
|
8
9
|
export declare function useMutation<_Result extends GraphQLObject, _Input extends GraphQLVariables, _Optimistic extends GraphQLObject>({ artifact, }: {
|
|
9
10
|
artifact: MutationArtifact;
|
|
@@ -4,6 +4,7 @@ export type MutationHandler<_Result, _Input, _Optimistic extends GraphQLObject>
|
|
|
4
4
|
metadata?: App.Metadata;
|
|
5
5
|
fetch?: typeof globalThis.fetch;
|
|
6
6
|
optimisticResponse?: _Optimistic;
|
|
7
|
+
abortController?: AbortController;
|
|
7
8
|
}) => Promise<QueryResult<_Result, _Input>>;
|
|
8
9
|
export declare function useMutation<_Result extends GraphQLObject, _Input extends GraphQLVariables, _Optimistic extends GraphQLObject>({ artifact, }: {
|
|
9
10
|
artifact: MutationArtifact;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "houdini-react",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.3",
|
|
4
4
|
"description": "The React plugin for houdini",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"typescript",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"recast": "^0.23.1",
|
|
43
43
|
"rollup": "^4.28.1",
|
|
44
44
|
"use-deep-compare-effect": "^1.8.1",
|
|
45
|
-
"houdini": "^1.4.
|
|
45
|
+
"houdini": "^1.4.3"
|
|
46
46
|
},
|
|
47
47
|
"files": [
|
|
48
48
|
"build"
|