@proscom/prostore-apollo-react
Advanced tools
Comparing version 0.0.16 to 0.0.17
{ | ||
"name": "@proscom/prostore-apollo-react", | ||
"version": "0.0.16", | ||
"version": "0.0.17", | ||
"description": "> TODO: description", | ||
@@ -29,5 +29,5 @@ "author": "Andrew Starostin <a.starostin@proscom.ru>", | ||
"dependencies": { | ||
"@proscom/prostore": "^0.0.16", | ||
"@proscom/prostore-apollo": "^0.0.16", | ||
"@proscom/prostore-react": "^0.0.16" | ||
"@proscom/prostore": "^0.0.17", | ||
"@proscom/prostore-apollo": "^0.0.17", | ||
"@proscom/prostore-react": "^0.0.17" | ||
}, | ||
@@ -45,3 +45,3 @@ "peerDependencies": { | ||
"sideEffects": false, | ||
"gitHead": "9e41c54db0c137f99f25d2c62297c44e0e0fd66e" | ||
"gitHead": "a0492daf329032cbf4a042351a4e7211a1fe8eb2" | ||
} |
import { DependencyList, useMemo } from 'react'; | ||
import { | ||
GraphqlQueryStore, | ||
IGraphqlQueryStoreParams | ||
GraphqlQueryStore, IGraphqlQueryOptions, | ||
IGraphqlQueryStoreParams, | ||
} from '@proscom/prostore-apollo'; | ||
@@ -14,2 +14,3 @@ import { useRequestStore } from '@proscom/prostore-react'; | ||
variables?: Vars; | ||
options?: IGraphqlQueryOptions<Vars>; | ||
} | ||
@@ -20,3 +21,4 @@ | ||
queryOptions, | ||
variables | ||
variables, | ||
options | ||
}: IUseGraphqlQueryParams<Vars, Data>) { | ||
@@ -34,3 +36,3 @@ const actualClient = useContextApolloClient(client); | ||
return useRequestStore(store, variables); | ||
return useRequestStore(store, variables, options); | ||
} | ||
@@ -37,0 +39,0 @@ |
import { DependencyList, useMemo } from 'react'; | ||
import { | ||
GraphqlWatchQueryStore, | ||
IGraphqlWatchQueryStoreParams | ||
GraphqlWatchQueryStore, IGraphqlWatchQueryOptions, | ||
IGraphqlWatchQueryStoreParams, | ||
} from '@proscom/prostore-apollo'; | ||
@@ -14,2 +14,3 @@ import { useRequestStore } from '@proscom/prostore-react'; | ||
variables?: Vars; | ||
options?: IGraphqlWatchQueryOptions<Vars> | ||
} | ||
@@ -27,3 +28,4 @@ | ||
queryOptions, | ||
variables | ||
variables, | ||
options | ||
}: IUseGraphqlWatchQueryParams<Vars, Data>) { | ||
@@ -41,3 +43,3 @@ const actualClient = useContextApolloClient(client); | ||
return useRequestStore(store, variables); | ||
return useRequestStore(store, variables, options); | ||
} | ||
@@ -44,0 +46,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
33852
591
+ Added@proscom/prostore@0.0.17(transitive)
+ Added@proscom/prostore-apollo@0.0.17(transitive)
+ Added@proscom/prostore-react@0.0.17(transitive)
- Removed@proscom/prostore@0.0.16(transitive)
- Removed@proscom/prostore-apollo@0.0.16(transitive)
- Removed@proscom/prostore-react@0.0.16(transitive)
Updated@proscom/prostore@^0.0.17