@decathlon/moon
Advanced tools
Comparing version 4.0.0-beta.10 to 4.0.0-beta.11
@@ -521,4 +521,5 @@ import { QueryCache, MutationCache, QueryClient, QueryClientProvider, hashQueryKey, InfiniteQueryObserver, QueryObserver, notifyManager, QueriesObserver, useQuery as useQuery$1, useMutation as useMutation$1, useInfiniteQuery as useInfiniteQuery$1 } from 'react-query'; | ||
var queryOptions = useMemo(function () { return store.defaultQueryObserverOptions(queryConfig); }, [queryConfig, store]); | ||
function fetch(_key, newPageProps) { | ||
var queryVariables = __assign(__assign({}, variables), newPageProps); | ||
function fetch(_a) { | ||
var pageParam = _a.pageParam; | ||
var queryVariables = __assign(__assign({}, variables), pageParam); | ||
return client.query(source, endPoint, queryVariables, options); | ||
@@ -525,0 +526,0 @@ } |
@@ -522,4 +522,5 @@ 'use strict'; | ||
var queryOptions = React.useMemo(function () { return store.defaultQueryObserverOptions(queryConfig); }, [queryConfig, store]); | ||
function fetch(_key, newPageProps) { | ||
var queryVariables = __assign(__assign({}, variables), newPageProps); | ||
function fetch(_a) { | ||
var pageParam = _a.pageParam; | ||
var queryVariables = __assign(__assign({}, variables), pageParam); | ||
return client.query(source, endPoint, queryVariables, options); | ||
@@ -526,0 +527,0 @@ } |
{ | ||
"name": "@decathlon/moon", | ||
"version": "4.0.0-beta.10", | ||
"version": "4.0.0-beta.11", | ||
"description": "A featured, production ready caching REST client for every React UI", | ||
@@ -24,3 +24,3 @@ "author": "Decathlon", | ||
"react": "^17.0.1", | ||
"react-query": "3.2.0-beta.20" | ||
"react-query": "3.2.0-beta.21" | ||
}, | ||
@@ -57,3 +57,3 @@ "scripts": { | ||
}, | ||
"gitHead": "78e11c293aa7ffb4a78eb1c1cddb049d3ea17704" | ||
"gitHead": "e2e82e359ac3b624d30fbcf81f21001852b2cb20" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
161620
1384