@openmrs/esm-globals 3.4.1-pre.146 → 3.4.1-pre.149

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.
@@ -1,4 +1,4 @@
1
- @openmrs/esm-globals:build: cache hit, replaying output 68b180a362606c3a
1
+ @openmrs/esm-globals:build: cache hit, replaying output cbd116041c2ff02c
2
2
  @openmrs/esm-globals:build: $ webpack --mode=production
3
3
  @openmrs/esm-globals:build: asset openmrs-esm-globals.js 3.52 KiB [emitted] [minimized] (name: main) 1 related asset
4
4
  @openmrs/esm-globals:build: runtime modules 1.76 KiB 6 modules
@@ -9,4 +9,4 @@
9
9
  @openmrs/esm-globals:build:  ../../../node_modules/systemjs-webpack-interop/auto-public-path/auto-public-path.js 846 bytes [built] [code generated]
10
10
  @openmrs/esm-globals:build:  ./src/index.ts + 2 modules 2.97 KiB [built] [code generated]
11
11
  @openmrs/esm-globals:build:  ../../../node_modules/systemjs-webpack-interop/public-path.js 2.36 KiB [built] [code generated]
12
- @openmrs/esm-globals:build: webpack 5.70.0 compiled successfully in 12377 ms
12
+ @openmrs/esm-globals:build: webpack 5.70.0 compiled successfully in 17173 ms
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmrs/esm-globals",
3
- "version": "3.4.1-pre.146",
3
+ "version": "3.4.1-pre.149",
4
4
  "license": "MPL-2.0",
5
5
  "browser": "dist/openmrs-esm-globals.js",
6
6
  "main": "src/index.ts",
@@ -38,5 +38,5 @@
38
38
  "devDependencies": {
39
39
  "single-spa": "^5.9.3"
40
40
  },
41
- "gitHead": "778740715dc4112e140f372d75da1b57523babc6"
41
+ "gitHead": "b6c06cecaa56b82534d0478fc565c6a4968991fd"
42
42
  }
package/src/types.ts CHANGED
@@ -110,9 +110,10 @@ export interface ComponentDefinition {
110
110
  */
111
111
  offline?: boolean | object;
112
112
  /**
113
- * Defines the access privilege required for this component, if any.
113
+ * Defines the access privilege(s) required for this component, if any.
114
+ * If more than one privilege is provided, the user must have all specified permissions.
114
115
  */
115
- privilege?: string;
116
+ privilege?: string | string[];
116
117
  /**
117
118
  * Defines resources that are loaded when the component should mount.
118
119
  */