Socket
Socket
Sign inDemoInstall

@medplum/react-hooks

Package Overview
Dependencies
Maintainers
3
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@medplum/react-hooks - npm Package Compare versions

Comparing version 3.0.4 to 3.0.5

10

dist/cjs/index.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc