@servicetitan/ajax-handlers
Advanced tools
Comparing version 23.0.0 to 23.1.0
import { SymbolToken } from '@servicetitan/react-ioc'; | ||
import { ComponentType, FC } from 'react'; | ||
import { ComponentType, FC, PropsWithChildren } from 'react'; | ||
interface IWithMicroserviceOptions { | ||
@@ -10,6 +10,6 @@ /** | ||
export declare const RETRY_LIMIT = 3; | ||
export declare function withMicroservice<T>(baseURL: string, authURL: string, tokens: SymbolToken<string>[], UnwrappedComponent: ComponentType<T>, extraHeaders?: { | ||
export declare function withMicroservice<T>(baseURL: string, authURL: string, tokens: SymbolToken<string>[], UnwrappedComponent: ComponentType<PropsWithChildren<T>>, extraHeaders?: { | ||
[key: string]: any; | ||
}, options?: IWithMicroserviceOptions): FC<T>; | ||
}, options?: IWithMicroserviceOptions): FC<PropsWithChildren<T>>; | ||
export {}; | ||
//# sourceMappingURL=with-microservice.d.ts.map |
{ | ||
"name": "@servicetitan/ajax-handlers", | ||
"version": "23.0.0", | ||
"version": "23.1.0", | ||
"description": "", | ||
@@ -21,16 +21,15 @@ "repository": { | ||
"devDependencies": { | ||
"@servicetitan/react-ioc": "23.0.0", | ||
"@servicetitan/react-ioc": "23.1.0", | ||
"@testing-library/dom": "^8.20.1", | ||
"@testing-library/jest-dom": "^6.4.2", | ||
"@testing-library/react": "^12.1.5", | ||
"@testing-library/react-hooks": "^8.0.1", | ||
"@testing-library/react": "^14.2.1", | ||
"@types/js-cookie": "~3.0.3", | ||
"axios": "~0.27.2", | ||
"msw": "^1.3.1", | ||
"react": "~17.0.2" | ||
"react": "~18.2.0" | ||
}, | ||
"peerDependencies": { | ||
"@servicetitan/react-ioc": "23.0.0", | ||
"@servicetitan/react-ioc": "23.1.0", | ||
"axios": "~0.27.2", | ||
"react": "~17.0.2" | ||
"react": ">=17.0.2" | ||
}, | ||
@@ -43,3 +42,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "45876ed36415ad78d3ec4ef3783d6df1430504d3" | ||
"gitHead": "7267270e54cdb3a2926f61feb4939d057e82adb3" | ||
} |
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
124590
8
2366