@trpc/react-query
Advanced tools
Comparing version 10.0.0-rc.1 to 10.0.0-rc.2
@@ -8,3 +8,3 @@ 'use strict'; | ||
var React = require('react'); | ||
var createHooksInternal = require('./createHooksInternal-e8214d72.js'); | ||
var createHooksInternal = require('./createHooksInternal-fdad8a31.js'); | ||
require('@tanstack/react-query'); | ||
@@ -11,0 +11,0 @@ require('./getArrayQueryKey-a2092b3c.js'); |
@@ -5,3 +5,3 @@ 'use strict'; | ||
var createHooksInternal = require('../createHooksInternal-e8214d72.js'); | ||
var createHooksInternal = require('../createHooksInternal-fdad8a31.js'); | ||
var queryClient = require('../queryClient-83576230.js'); | ||
@@ -8,0 +8,0 @@ require('@trpc/server/shared'); |
@@ -0,1 +1,2 @@ | ||
/// <reference types="react" /> | ||
import { QueryClient } from '@tanstack/react-query'; | ||
@@ -25,3 +26,13 @@ import { AnyRouter, MaybePromise } from '@trpc/server'; | ||
}; | ||
/** | ||
* Override the default context provider | ||
* @default undefined | ||
*/ | ||
context?: React.Context<any>; | ||
/** | ||
* Override the default React Query context | ||
* @default undefined | ||
*/ | ||
reactQueryContext?: React.Context<QueryClient | undefined>; | ||
} | ||
//# sourceMappingURL=types.d.ts.map |
{ | ||
"name": "@trpc/react-query", | ||
"version": "10.0.0-rc.1", | ||
"version": "10.0.0-rc.2", | ||
"description": "tRPC React lib", | ||
@@ -54,4 +54,4 @@ "author": "KATT", | ||
"@tanstack/react-query": "^4.3.8", | ||
"@trpc/client": "10.0.0-rc.1", | ||
"@trpc/server": "10.0.0-rc.1", | ||
"@trpc/client": "10.0.0-rc.2", | ||
"@trpc/server": "10.0.0-rc.2", | ||
"react": ">=16.8.0", | ||
@@ -62,4 +62,4 @@ "react-dom": ">=16.8.0" | ||
"@tanstack/react-query": "^4.3.8", | ||
"@trpc/client": "10.0.0-rc.1", | ||
"@trpc/server": "10.0.0-rc.1", | ||
"@trpc/client": "10.0.0-rc.2", | ||
"@trpc/server": "10.0.0-rc.2", | ||
"@types/express": "^4.17.12", | ||
@@ -76,3 +76,3 @@ "@types/node": "^18.7.20", | ||
}, | ||
"gitHead": "90a92b9a52bf3f7371584dd227f6846375848062" | ||
"gitHead": "ec301f0318a226a8c41796d0d00d11318d9f0d2c" | ||
} |
@@ -27,2 +27,13 @@ import { QueryClient } from '@tanstack/react-query'; | ||
}; | ||
/** | ||
* Override the default context provider | ||
* @default undefined | ||
*/ | ||
context?: React.Context<any>; | ||
/** | ||
* Override the default React Query context | ||
* @default undefined | ||
*/ | ||
reactQueryContext?: React.Context<QueryClient | undefined>; | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
160733
3356