primarycare-binder 1.1.54 → 1.1.55

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/index.cjs.js CHANGED
@@ -25560,9 +25560,11 @@ var generateJSON$5 = function generateJSON(data) {
25560
25560
 
25561
25561
  if (data.statushistory) {
25562
25562
  statushistory.map(function (val) {
25563
- var _val$PersonID, _val$PersonID$;
25563
+ if (typeof val.PersonID !== "string") {
25564
+ var _val$PersonID, _val$PersonID$;
25564
25565
 
25565
- val.PersonID = val === null || val === void 0 ? void 0 : (_val$PersonID = val.PersonID) === null || _val$PersonID === void 0 ? void 0 : (_val$PersonID$ = _val$PersonID[0]) === null || _val$PersonID$ === void 0 ? void 0 : _val$PersonID$._id;
25566
+ val.PersonID = val === null || val === void 0 ? void 0 : (_val$PersonID = val.PersonID) === null || _val$PersonID === void 0 ? void 0 : (_val$PersonID$ = _val$PersonID[0]) === null || _val$PersonID$ === void 0 ? void 0 : _val$PersonID$._id;
25567
+ }
25566
25568
  });
25567
25569
  }
25568
25570
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "primarycare-binder",
3
- "version": "1.1.54",
3
+ "version": "1.1.55",
4
4
  "description": "",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",