@openmrs/esm-react-utils 5.8.2-pre.2495 → 5.8.2-pre.2496

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.
@@ -11,4 +11,4 @@ built modules 293 KiB [built]
11
11
  ./src/index.ts + 137 modules 282 KiB [built] [code generated]
12
12
  ../esm-state/dist/openmrs-esm-state.js 8.12 KiB [built] [code generated]
13
13
  + 5 modules
14
- webpack 5.88.0 compiled successfully in 8035 ms
14
+ webpack 5.88.0 compiled successfully in 8055 ms
package/mock.tsx CHANGED
@@ -140,4 +140,7 @@ export const useExtensionSlot = jest.fn();
140
140
 
141
141
  export const useForceUpdate = jest.fn();
142
142
 
143
+ // TODO: Remove this in favour of usePrimaryIdentifierCode below
143
144
  export const usePrimaryIdentifierResource = jest.fn();
145
+
146
+ export const usePrimaryIdentifierCode = jest.fn();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmrs/esm-react-utils",
3
- "version": "5.8.2-pre.2495",
3
+ "version": "5.8.2-pre.2496",
4
4
  "license": "MPL-2.0",
5
5
  "description": "React utilities for OpenMRS.",
6
6
  "browser": "dist/openmrs-esm-react-utils.js",
@@ -61,15 +61,15 @@
61
61
  "swr": "2.x"
62
62
  },
63
63
  "devDependencies": {
64
- "@openmrs/esm-api": "5.8.2-pre.2495",
65
- "@openmrs/esm-config": "5.8.2-pre.2495",
66
- "@openmrs/esm-context": "5.8.2-pre.2495",
67
- "@openmrs/esm-error-handling": "5.8.2-pre.2495",
68
- "@openmrs/esm-extensions": "5.8.2-pre.2495",
69
- "@openmrs/esm-feature-flags": "5.8.2-pre.2495",
70
- "@openmrs/esm-globals": "5.8.2-pre.2495",
71
- "@openmrs/esm-navigation": "5.8.2-pre.2495",
72
- "@openmrs/esm-utils": "5.8.2-pre.2495",
64
+ "@openmrs/esm-api": "5.8.2-pre.2496",
65
+ "@openmrs/esm-config": "5.8.2-pre.2496",
66
+ "@openmrs/esm-context": "5.8.2-pre.2496",
67
+ "@openmrs/esm-error-handling": "5.8.2-pre.2496",
68
+ "@openmrs/esm-extensions": "5.8.2-pre.2496",
69
+ "@openmrs/esm-feature-flags": "5.8.2-pre.2496",
70
+ "@openmrs/esm-globals": "5.8.2-pre.2496",
71
+ "@openmrs/esm-navigation": "5.8.2-pre.2496",
72
+ "@openmrs/esm-utils": "5.8.2-pre.2496",
73
73
  "dayjs": "^1.10.8",
74
74
  "i18next": "^21.10.0",
75
75
  "react": "^18.1.0",