diff --git a/dist/README.md b/dist/README.md index 24987406..6b37b503 100644 --- a/dist/README.md +++ b/dist/README.md @@ -38,7 +38,7 @@ Latest development builds from GitHub: ## Browser Usage In the browser you typically have to create two separate pages that correspond to your -`launch_uri` (Launch Page) and `redirect_uri` (Index Page). +`launch_uri` (Launch Page) and `redirectUri` (Index Page). ### As Library @@ -47,7 +47,7 @@ In the browser you typically have to create two separate pages that correspond t @@ -68,7 +68,7 @@ import FHIR from "fhirclient" // Launch Page FHIR.oauth2.authorize({ - "client_id": "my_web_app", + "clientId": "my_web_app", "scope": "patient/*.read" }); @@ -88,7 +88,7 @@ const fhirClient = require("fhirclient"); // This is what the EHR will call app.get("/launch", (req, res) => { fhirClient(req, res).authorize({ - "client_id": "my_web_app", + "clientId": "my_web_app", "scope": "patient/*.read" }); }); diff --git a/dist/package.json b/dist/package.json index 942413a8..4702e368 100644 --- a/dist/package.json +++ b/dist/package.json @@ -1,6 +1,6 @@ { "name": "fhirclient", - "version": "2.5.4", + "version": "3.0.0-beta.1", "description": "JavaScript client for Fast Healthcare Interoperability Resources", "author": "SMART Health IT (https://smarthealthit.org/)", "contributors": [ @@ -19,13 +19,7 @@ "modules.root": "lib", "types": "index.d.ts", "dependencies": { - "abortcontroller-polyfill": "^1.5.0", - "core-js": "^3.23.4", - "cross-fetch": "^3.0.5", - "debug": "^4.1.1", - "isomorphic-webcrypto": "^2.3.8", - "jose": "^4.15.5", - "js-base64": "^3.7.2" + "jose": "^4.15.5" }, "peerDependencies": { "@types/hapi": ">=18", diff --git a/package.json b/package.json index 58ce2977..17b7d024 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "build": "npm run build:library && npm run build:browser", "build:watch": "nodemon -w src -w test -w rollup.config.mjs -e ts,js -x 'npm run build'", "build:browser": "rollup --config", - "build:library": "cp src/types.d.ts dist/lib && tsc", + "build:library": "cp src/types.d.ts dist/lib && tsc -d", "build:browser:watch": "rollup --config -w", "build:library:watch": "tsc -w", "doc": "typedoc",