@medplum/core
Advanced tools
Comparing version 0.3.0 to 0.4.0
{ | ||
"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 @@ |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
639182
4411
128
24