@medplum/react-hooks
Advanced tools
Comparing version 3.0.4 to 3.0.5
@@ -18,3 +18,3 @@ /// <reference types="react" /> | ||
medplum: MedplumClient; | ||
navigate: MepdlumNavigateFunction; | ||
navigate: MedplumNavigateFunction; | ||
profile?: ProfileResource; | ||
@@ -24,2 +24,4 @@ loading: boolean; | ||
export declare type MedplumNavigateFunction = (path: string) => void; | ||
/** | ||
@@ -38,8 +40,6 @@ * The MedplumProvider component provides Medplum context state. | ||
readonly medplum: MedplumClient; | ||
readonly navigate?: MepdlumNavigateFunction; | ||
readonly navigate?: MedplumNavigateFunction; | ||
readonly children: ReactNode; | ||
} | ||
export declare type MepdlumNavigateFunction = (path: string) => void; | ||
export declare const reactContext: Context<MedplumContext | undefined>; | ||
@@ -66,3 +66,3 @@ | ||
*/ | ||
export declare function useMedplumNavigate(): MepdlumNavigateFunction; | ||
export declare function useMedplumNavigate(): MedplumNavigateFunction; | ||
@@ -69,0 +69,0 @@ /** |
@@ -18,3 +18,3 @@ /// <reference types="react" /> | ||
medplum: MedplumClient; | ||
navigate: MepdlumNavigateFunction; | ||
navigate: MedplumNavigateFunction; | ||
profile?: ProfileResource; | ||
@@ -24,2 +24,4 @@ loading: boolean; | ||
export declare type MedplumNavigateFunction = (path: string) => void; | ||
/** | ||
@@ -38,8 +40,6 @@ * The MedplumProvider component provides Medplum context state. | ||
readonly medplum: MedplumClient; | ||
readonly navigate?: MepdlumNavigateFunction; | ||
readonly navigate?: MedplumNavigateFunction; | ||
readonly children: ReactNode; | ||
} | ||
export declare type MepdlumNavigateFunction = (path: string) => void; | ||
export declare const reactContext: Context<MedplumContext | undefined>; | ||
@@ -66,3 +66,3 @@ | ||
*/ | ||
export declare function useMedplumNavigate(): MepdlumNavigateFunction; | ||
export declare function useMedplumNavigate(): MedplumNavigateFunction; | ||
@@ -69,0 +69,0 @@ /** |
{ | ||
"name": "@medplum/react-hooks", | ||
"version": "3.0.4", | ||
"version": "3.0.5", | ||
"description": "Medplum React Hooks Library", | ||
@@ -60,6 +60,6 @@ "keywords": [ | ||
"devDependencies": { | ||
"@medplum/core": "*", | ||
"@medplum/definitions": "*", | ||
"@medplum/fhirtypes": "*", | ||
"@medplum/mock": "*", | ||
"@medplum/core": "3.0.5", | ||
"@medplum/definitions": "3.0.5", | ||
"@medplum/fhirtypes": "3.0.5", | ||
"@medplum/mock": "3.0.5", | ||
"@testing-library/dom": "9.3.4", | ||
@@ -81,3 +81,3 @@ "@testing-library/jest-dom": "6.4.2", | ||
"peerDependencies": { | ||
"@medplum/core": "*", | ||
"@medplum/core": "3.0.5", | ||
"react": "^17.0.2 || ^18.0.0", | ||
@@ -84,0 +84,0 @@ "react-dom": "^17.0.2 || ^18.0.0" |
@@ -66,3 +66,3 @@ # Medplum React Hooks Library | ||
medplum: MedplumClient; | ||
navigate: MepdlumNavigateFunction; | ||
navigate: MedplumNavigateFunction; | ||
profile?: ProfileResource; | ||
@@ -69,0 +69,0 @@ loading: boolean; |
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
61220