http-react
Advanced tools
Comparing version 3.6.9 to 3.6.91
@@ -13,4 +13,5 @@ /** | ||
export { FetchConfig, SSRSuspense } from './components/server'; | ||
export { SSRSuspense as Suspense } from './components/server'; | ||
export { queryProvider, mutateData, revalidate, cancelRequest, getMiliseconds } from './utils'; | ||
export { defaultCache } from './internal'; | ||
export { Client, setURLParams, hasBaseUrl, isDefined, isFormData, isFunction, serialize, notNull, setQueryParams, setParamsAndQuery, actionResult, actionData, $form, $formData, $searchParams, jsonCompare, windowExists, queue, gql, getRequestHeaders as $headers } from './utils/shared'; |
@@ -10,4 +10,4 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.setURLParams = exports.Client = exports.defaultCache = exports.getMiliseconds = exports.cancelRequest = exports.revalidate = exports.mutateData = exports.queryProvider = exports.SSRSuspense = exports.FetchConfig = exports.useAction = exports.useServerMutation = exports.useServerAction = exports.useMutation = exports.useIsomorphicLayoutEffect = exports.useDebounceFetch = exports.useSuccess = exports.useRevalidating = exports.useReFetch = exports.useOnline = exports.useLoadingFirst = exports.useHasData = exports.useExpiration = exports.useFetchSuspense = exports.useRequestStart = exports.useRequestEnd = exports.useResponseTime = exports.useResolve = exports.useImperative = exports.useGql = exports.useUNLINK = exports.useText = exports.usePUT = exports.usePURGE = exports.usePOST = exports.usePATCH = exports.useOPTIONS = exports.useManualFetch = exports.useMutate = exports.useLoading = exports.useLINK = exports.useHEAD = exports.useGET = exports.useFetchId = exports.useError = exports.useDELETE = exports.useConfig = exports.useCode = exports.useBlob = exports.useData = void 0; | ||
exports.$headers = exports.gql = exports.queue = exports.windowExists = exports.jsonCompare = exports.$searchParams = exports.$formData = exports.$form = exports.actionData = exports.actionResult = exports.setParamsAndQuery = exports.setQueryParams = exports.notNull = exports.serialize = exports.isFunction = exports.isFormData = exports.isDefined = exports.hasBaseUrl = void 0; | ||
exports.Client = exports.defaultCache = exports.getMiliseconds = exports.cancelRequest = exports.revalidate = exports.mutateData = exports.queryProvider = exports.Suspense = exports.SSRSuspense = exports.FetchConfig = exports.useAction = exports.useServerMutation = exports.useServerAction = exports.useMutation = exports.useIsomorphicLayoutEffect = exports.useDebounceFetch = exports.useSuccess = exports.useRevalidating = exports.useReFetch = exports.useOnline = exports.useLoadingFirst = exports.useHasData = exports.useExpiration = exports.useFetchSuspense = exports.useRequestStart = exports.useRequestEnd = exports.useResponseTime = exports.useResolve = exports.useImperative = exports.useGql = exports.useUNLINK = exports.useText = exports.usePUT = exports.usePURGE = exports.usePOST = exports.usePATCH = exports.useOPTIONS = exports.useManualFetch = exports.useMutate = exports.useLoading = exports.useLINK = exports.useHEAD = exports.useGET = exports.useFetchId = exports.useError = exports.useDELETE = exports.useConfig = exports.useCode = exports.useBlob = exports.useData = void 0; | ||
exports.$headers = exports.gql = exports.queue = exports.windowExists = exports.jsonCompare = exports.$searchParams = exports.$formData = exports.$form = exports.actionData = exports.actionResult = exports.setParamsAndQuery = exports.setQueryParams = exports.notNull = exports.serialize = exports.isFunction = exports.isFormData = exports.isDefined = exports.hasBaseUrl = exports.setURLParams = void 0; | ||
const hooks_1 = require("./hooks"); | ||
@@ -59,2 +59,4 @@ exports.default = hooks_1.useFetch; | ||
Object.defineProperty(exports, "SSRSuspense", { enumerable: true, get: function () { return server_1.SSRSuspense; } }); | ||
var server_2 = require("./components/server"); | ||
Object.defineProperty(exports, "Suspense", { enumerable: true, get: function () { return server_2.SSRSuspense; } }); | ||
var utils_1 = require("./utils"); | ||
@@ -61,0 +63,0 @@ Object.defineProperty(exports, "queryProvider", { enumerable: true, get: function () { return utils_1.queryProvider; } }); |
{ | ||
"name": "http-react", | ||
"version": "3.6.9", | ||
"version": "3.6.91", | ||
"description": "React hooks for data fetching", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
229762
5398