@medplum/core 0.9.24 → 0.9.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.js +9 -9
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/index.min.js.map +1 -1
- package/dist/esm/base-schema.json.js +4872 -0
- package/dist/esm/base-schema.json.js.map +1 -0
- package/dist/{types → esm}/cache.d.ts +0 -0
- package/dist/esm/cache.js +70 -0
- package/dist/esm/cache.js.map +1 -0
- package/dist/{types → esm}/client.d.ts +21 -13
- package/dist/esm/client.js +1450 -0
- package/dist/esm/client.js.map +1 -0
- package/dist/{types → esm}/crypto.d.ts +0 -0
- package/dist/esm/crypto.js +23 -0
- package/dist/esm/crypto.js.map +1 -0
- package/dist/{types → esm}/eventtarget.d.ts +0 -0
- package/dist/esm/eventtarget.js +41 -0
- package/dist/esm/eventtarget.js.map +1 -0
- package/dist/{types → esm}/fhirpath/atoms.d.ts +0 -0
- package/dist/esm/fhirpath/atoms.js +329 -0
- package/dist/esm/fhirpath/atoms.js.map +1 -0
- package/dist/{types → esm}/fhirpath/date.d.ts +0 -0
- package/dist/esm/fhirpath/date.js +24 -0
- package/dist/esm/fhirpath/date.js.map +1 -0
- package/dist/{types → esm}/fhirpath/functions.d.ts +0 -0
- package/dist/esm/fhirpath/functions.js +1503 -0
- package/dist/esm/fhirpath/functions.js.map +1 -0
- package/dist/{types → esm}/fhirpath/index.d.ts +0 -0
- package/dist/{types → esm}/fhirpath/parse.d.ts +0 -0
- package/dist/esm/fhirpath/parse.js +258 -0
- package/dist/esm/fhirpath/parse.js.map +1 -0
- package/dist/{types → esm}/fhirpath/tokenize.d.ts +0 -0
- package/dist/esm/fhirpath/tokenize.js +185 -0
- package/dist/esm/fhirpath/tokenize.js.map +1 -0
- package/dist/{types → esm}/fhirpath/utils.d.ts +0 -0
- package/dist/esm/fhirpath/utils.js +372 -0
- package/dist/esm/fhirpath/utils.js.map +1 -0
- package/dist/{types → esm}/format.d.ts +0 -0
- package/dist/esm/format.js +51 -0
- package/dist/esm/format.js.map +1 -0
- package/dist/{types → esm}/hl7.d.ts +0 -0
- package/dist/esm/hl7.js +111 -0
- package/dist/esm/hl7.js.map +1 -0
- package/dist/{types → esm}/index.d.ts +0 -0
- package/dist/esm/index.js +15 -10763
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/index.min.js.map +1 -1
- package/dist/{types → esm}/jwt.d.ts +0 -0
- package/dist/esm/jwt.js +35 -0
- package/dist/esm/jwt.js.map +1 -0
- package/dist/esm/node_modules/tslib/package.json +1 -0
- package/dist/esm/node_modules/tslib/tslib.es6.js +40 -0
- package/dist/esm/node_modules/tslib/tslib.es6.js.map +1 -0
- package/dist/{types → esm}/outcomes.d.ts +0 -0
- package/dist/esm/outcomes.js +151 -0
- package/dist/esm/outcomes.js.map +1 -0
- package/dist/{types → esm}/readablepromise.d.ts +0 -0
- package/dist/esm/readablepromise.js +87 -0
- package/dist/esm/readablepromise.js.map +1 -0
- package/dist/{types → esm}/search.d.ts +0 -0
- package/dist/esm/search.js +207 -0
- package/dist/esm/search.js.map +1 -0
- package/dist/{types → esm}/searchparams.d.ts +0 -0
- package/dist/esm/searchparams.js +145 -0
- package/dist/esm/searchparams.js.map +1 -0
- package/dist/{types → esm}/storage.d.ts +0 -0
- package/dist/esm/storage.js +94 -0
- package/dist/esm/storage.js.map +1 -0
- package/dist/{types → esm}/types.d.ts +0 -0
- package/dist/esm/types.js +223 -0
- package/dist/esm/types.js.map +1 -0
- package/dist/{types → esm}/utils.d.ts +0 -0
- package/dist/esm/utils.js +590 -0
- package/dist/esm/utils.js.map +1 -0
- package/package.json +5 -5
- package/cody-pdf-test.js +0 -32
- package/wget-log +0 -6
package/dist/cjs/index.js
CHANGED
|
@@ -6360,13 +6360,13 @@
|
|
|
6360
6360
|
* 2) New Patient registration
|
|
6361
6361
|
*
|
|
6362
6362
|
* @category Authentication
|
|
6363
|
-
* @param
|
|
6363
|
+
* @param newUserRequest Register request including email and password.
|
|
6364
6364
|
* @returns Promise to the authentication response.
|
|
6365
6365
|
*/
|
|
6366
|
-
startNewUser(
|
|
6366
|
+
startNewUser(newUserRequest) {
|
|
6367
6367
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6368
6368
|
yield __classPrivateFieldGet(this, _MedplumClient_instances, "m", _MedplumClient_startPkce).call(this);
|
|
6369
|
-
return this.post('auth/newuser', Object.assign(Object.assign({},
|
|
6369
|
+
return this.post('auth/newuser', Object.assign(Object.assign({}, newUserRequest), { codeChallengeMethod: 'S256', codeChallenge: __classPrivateFieldGet(this, _MedplumClient_storage, "f").getString('codeChallenge') }));
|
|
6370
6370
|
});
|
|
6371
6371
|
}
|
|
6372
6372
|
/**
|
|
@@ -6374,13 +6374,13 @@
|
|
|
6374
6374
|
*
|
|
6375
6375
|
* This requires a partial login from `startNewUser` or `startNewGoogleUser`.
|
|
6376
6376
|
*
|
|
6377
|
-
* @param
|
|
6377
|
+
* @param newProjectRequest Register request including email and password.
|
|
6378
6378
|
* @param login The partial login to complete. This should come from the `startNewUser` method.
|
|
6379
6379
|
* @returns Promise to the authentication response.
|
|
6380
6380
|
*/
|
|
6381
|
-
startNewProject(
|
|
6381
|
+
startNewProject(newProjectRequest, login) {
|
|
6382
6382
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6383
|
-
return this.post('auth/newproject', Object.assign(Object.assign({},
|
|
6383
|
+
return this.post('auth/newproject', Object.assign(Object.assign({}, newProjectRequest), login));
|
|
6384
6384
|
});
|
|
6385
6385
|
}
|
|
6386
6386
|
/**
|
|
@@ -6388,13 +6388,13 @@
|
|
|
6388
6388
|
*
|
|
6389
6389
|
* This requires a partial login from `startNewUser` or `startNewGoogleUser`.
|
|
6390
6390
|
*
|
|
6391
|
-
* @param
|
|
6391
|
+
* @param newPatientRequest Register request including email and password.
|
|
6392
6392
|
* @param login The partial login to complete. This should come from the `startNewUser` method.
|
|
6393
6393
|
* @returns Promise to the authentication response.
|
|
6394
6394
|
*/
|
|
6395
|
-
startNewPatient(
|
|
6395
|
+
startNewPatient(newPatientRequest, login) {
|
|
6396
6396
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6397
|
-
return this.post('auth/newpatient', Object.assign(Object.assign({},
|
|
6397
|
+
return this.post('auth/newpatient', Object.assign(Object.assign({}, newPatientRequest), login));
|
|
6398
6398
|
});
|
|
6399
6399
|
}
|
|
6400
6400
|
/**
|