Socket
Socket
Sign inDemoInstall

@medplum/core

Package Overview
Dependencies
Maintainers
1
Versions
186
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@medplum/core - npm Package Compare versions

Comparing version 0.3.0 to 0.4.0

dist/cjs/index.js

16

package.json
{
"name": "@medplum/core",
"version": "0.3.0",
"version": "0.4.0",
"description": "Medplum TS/JS Library",

@@ -15,10 +15,16 @@ "author": "Medplum <hello@medplum.com>",

"clean": "rimraf dist",
"build": "npm run clean && tsc",
"build": "npm run clean && tsc && npm run rollup",
"rollup": "rollup --config rollup.config.js",
"test": "jest"
},
"devDependencies": {
"@medplum/fhirtypes": "0.3.0"
"@medplum/fhirtypes": "0.4.0"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"exports": {
"require": "./dist/cjs/index.js",
"import": "./dist/esm/index.js"
},
"types": "dist/types/index.d.ts",
"sideEffects": false,

@@ -25,0 +31,0 @@ "keywords": [

@@ -51,6 +51,8 @@ # Medplum

After that, you can use the `signIn()` method:
After that, you can use the `startLogin()` method:
```typescript
medplum.signIn(email, password, role, scope).then((user) => console.log(user));
const loginResult = await medplum.startLogin(email, password, remember);
const profile = await medplum.processCode(loginResult.code);
console.log(profile);
```

@@ -57,0 +59,0 @@

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