@medplum/mock 1.0.4 → 1.0.6
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/README.md +3 -2
- package/dist/cjs/{index.js → index.cjs} +250 -232
- package/dist/cjs/index.cjs.map +1 -0
- package/dist/{esm/index.min.js → cjs/index.min.cjs} +2 -2
- package/dist/cjs/index.min.cjs.map +1 -0
- package/dist/cjs/mocks/smart.d.ts +2 -0
- package/dist/cjs/repo.d.ts +1 -2
- package/dist/esm/index.min.mjs +2 -0
- package/dist/esm/index.min.mjs.map +1 -0
- package/dist/esm/{index.js → index.mjs} +248 -229
- package/dist/esm/index.mjs.map +1 -0
- package/dist/esm/mocks/smart.d.ts +2 -0
- package/dist/esm/repo.d.ts +1 -2
- package/dist/types/mocks/smart.d.ts +2 -0
- package/dist/types/repo.d.ts +1 -2
- package/package.json +8 -15
- package/rollup.config.mjs +4 -4
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/index.min.js +0 -2
- package/dist/cjs/index.min.js.map +0 -1
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/index.min.js.map +0 -1
package/README.md
CHANGED
|
@@ -17,6 +17,7 @@ npm install @medplum/mock
|
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
Note the following peer dependencies:
|
|
20
|
+
|
|
20
21
|
- [@medplum/core](https://www.npmjs.com/package/@medplum/core)
|
|
21
22
|
|
|
22
23
|
## Usage
|
|
@@ -33,7 +34,7 @@ Read a `Patient` resource:
|
|
|
33
34
|
const patient = await client.readResource('Patient', '123');
|
|
34
35
|
```
|
|
35
36
|
|
|
36
|
-
`MockClient` is API compatible with `MedplumClient` in [@medplum/core](https://www.npmjs.com/package/@medplum/core).
|
|
37
|
+
`MockClient` is API compatible with `MedplumClient` in [@medplum/core](https://www.npmjs.com/package/@medplum/core). Please refer to `MedplumClient` for full documentation on client capabilities.
|
|
37
38
|
|
|
38
39
|
## About Medplum
|
|
39
40
|
|
|
@@ -41,4 +42,4 @@ Medplum is a healthcare platform that helps you quickly develop high-quality com
|
|
|
41
42
|
|
|
42
43
|
## License
|
|
43
44
|
|
|
44
|
-
Apache 2.0. Copyright © Medplum
|
|
45
|
+
Apache 2.0. Copyright © Medplum 2023
|