@medplum/core 0.9.1 → 0.9.2
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 +158 -29
- package/dist/cjs/index.js +54 -26
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/index.min.js +1 -1
- package/dist/cjs/index.min.js.map +1 -1
- package/dist/esm/index.js +54 -27
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/index.min.js +1 -1
- package/dist/esm/index.min.js.map +1 -1
- package/dist/types/search.d.ts +2 -1
- package/dist/types/utils.d.ts +2 -3
- package/package.json +2 -2
package/dist/types/search.d.ts
CHANGED
package/dist/types/utils.d.ts
CHANGED
|
@@ -91,18 +91,17 @@ export declare function stringify(value: any, pretty?: boolean): string;
|
|
|
91
91
|
/**
|
|
92
92
|
* Resource equality.
|
|
93
93
|
* Ignores meta.versionId and meta.lastUpdated.
|
|
94
|
-
* See: https://dmitripavlutin.com/how-to-compare-objects-in-javascript/#4-deep-equality
|
|
95
94
|
* @param object1 The first object.
|
|
96
95
|
* @param object2 The second object.
|
|
97
96
|
* @returns True if the objects are equal.
|
|
98
97
|
*/
|
|
99
|
-
export declare function deepEquals(object1:
|
|
98
|
+
export declare function deepEquals(object1: unknown, object2: unknown, path?: string): boolean;
|
|
100
99
|
/**
|
|
101
100
|
* Returns true if the input is an object.
|
|
102
101
|
* @param object The candidate object.
|
|
103
102
|
* @returns True if the input is a non-null non-undefined object.
|
|
104
103
|
*/
|
|
105
|
-
export declare function isObject(obj: unknown): obj is
|
|
104
|
+
export declare function isObject(obj: unknown): obj is Record<string, unknown>;
|
|
106
105
|
/**
|
|
107
106
|
* Returns true if the input array is an array of strings.
|
|
108
107
|
* @param arr Input array.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@medplum/core",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.2",
|
|
4
4
|
"description": "Medplum TS/JS Library",
|
|
5
5
|
"author": "Medplum <hello@medplum.com>",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"test": "jest"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"@medplum/fhirtypes": "0.9.
|
|
20
|
+
"@medplum/fhirtypes": "0.9.2",
|
|
21
21
|
"fast-json-patch": "3.1.1"
|
|
22
22
|
},
|
|
23
23
|
"main": "dist/cjs/index.js",
|