@zodios/react
Advanced tools
Comparing version 10.4.4 to 10.4.5
@@ -20,5 +20,7 @@ import * as _zodios_core_lib_zodios_types from '@zodios/core/lib/zodios.types'; | ||
declare class ZodiosHooksClass<Api extends ZodiosEndpointDefinitions> { | ||
private readonly apiName; | ||
private readonly zodios; | ||
private readonly options; | ||
protected readonly apiName: string; | ||
protected readonly zodios: ZodiosInstance<Api>; | ||
protected readonly options: { | ||
shouldAbortOnUnmount?: boolean; | ||
}; | ||
constructor(apiName: string, zodios: ZodiosInstance<Api>, options?: { | ||
@@ -25,0 +27,0 @@ shouldAbortOnUnmount?: boolean; |
{ | ||
"name": "@zodios/react", | ||
"description": "React hooks for zodios", | ||
"version": "10.4.4", | ||
"version": "10.4.5", | ||
"main": "lib/index.js", | ||
@@ -51,6 +51,6 @@ "module": "lib/index.mjs", | ||
"devDependencies": { | ||
"@tanstack/react-query": "4.24.4", | ||
"@testing-library/dom": "8.20.0", | ||
"@tanstack/react-query": "4.29.5", | ||
"@testing-library/dom": "9.2.0", | ||
"@testing-library/jest-dom": "5.16.5", | ||
"@testing-library/react": "13.4.0", | ||
"@testing-library/react": "14.0.0", | ||
"@testing-library/react-hooks": "8.0.1", | ||
@@ -60,26 +60,26 @@ "@testing-library/user-event": "14.4.3", | ||
"@types/cors": "2.8.13", | ||
"@types/express": "4.17.16", | ||
"@types/jest": "29.4.0", | ||
"@types/node": "18.11.18", | ||
"@types/react": "18.0.27", | ||
"@zodios/core": "10.7.5", | ||
"axios": "1.3.1", | ||
"@types/express": "4.17.17", | ||
"@types/jest": "29.5.1", | ||
"@types/node": "18.16.2", | ||
"@types/react": "18.2.0", | ||
"@zodios/core": "10.9.0", | ||
"axios": "1.4.0", | ||
"cors": "2.8.5", | ||
"express": "4.18.2", | ||
"jest": "29.4.1", | ||
"jest-environment-jsdom": "29.4.1", | ||
"jest": "29.5.0", | ||
"jest-environment-jsdom": "29.5.0", | ||
"react": "18.2.0", | ||
"react-dom": "18.2.0", | ||
"react-test-renderer": "18.2.0", | ||
"rimraf": "4.1.2", | ||
"ts-jest": "29.0.5", | ||
"rimraf": "5.0.0", | ||
"ts-jest": "29.1.0", | ||
"ts-node": "10.9.1", | ||
"tsup": "6.3.0", | ||
"typescript": "4.9.4", | ||
"zod": "3.20.2" | ||
"typescript": "5.0.4", | ||
"zod": "3.21.4" | ||
}, | ||
"resolutions": { | ||
"@types/react": "18.0.27" | ||
"@types/react": "18.2.0" | ||
}, | ||
"dependencies": {} | ||
} |
38137
390