@openmrs/esm-globals 3.4.1-pre.133 → 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,12 +1,12 @@
1
- @openmrs/esm-globals:build: cache hit, replaying output dc01dae615328b80
2
- @openmrs/esm-globals:build: $ webpack --mode=production
3
- @openmrs/esm-globals:build: asset openmrs-esm-globals.js 3.52 KiB [emitted] [minimized] (name: main) 1 related asset
4
- @openmrs/esm-globals:build: runtime modules 1.76 KiB 6 modules
5
- @openmrs/esm-globals:build: orphan modules 2.91 KiB [orphan] 3 modules
6
- @openmrs/esm-globals:build: cacheable modules 6.25 KiB
7
- @openmrs/esm-globals:build:  modules by path ../../../node_modules/systemjs-webpack-interop/auto-public-path/*.js 935 bytes
8
- @openmrs/esm-globals:build:  ../../../node_modules/systemjs-webpack-interop/auto-public-path/1.js 89 bytes [built] [code generated]
9
- @openmrs/esm-globals:build:  ../../../node_modules/systemjs-webpack-interop/auto-public-path/auto-public-path.js 846 bytes [built] [code generated]
10
- @openmrs/esm-globals:build:  ./src/index.ts + 2 modules 2.97 KiB [built] [code generated]
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 13415 ms
1
+ @openmrs/esm-globals:build: cache hit, replaying output cbd116041c2ff02c
2
+ @openmrs/esm-globals:build: $ webpack --mode=production
3
+ @openmrs/esm-globals:build: asset openmrs-esm-globals.js 3.52 KiB [emitted] [minimized] (name: main) 1 related asset
4
+ @openmrs/esm-globals:build: runtime modules 1.76 KiB 6 modules
5
+ @openmrs/esm-globals:build: orphan modules 2.91 KiB [orphan] 3 modules
6
+ @openmrs/esm-globals:build: cacheable modules 6.25 KiB
7
+ @openmrs/esm-globals:build:  modules by path ../../../node_modules/systemjs-webpack-interop/auto-public-path/*.js 935 bytes
8
+ @openmrs/esm-globals:build:  ../../../node_modules/systemjs-webpack-interop/auto-public-path/1.js 89 bytes [built] [code generated]
9
+ @openmrs/esm-globals:build:  ../../../node_modules/systemjs-webpack-interop/auto-public-path/auto-public-path.js 846 bytes [built] [code generated]
10
+ @openmrs/esm-globals:build:  ./src/index.ts + 2 modules 2.97 KiB [built] [code generated]
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 17173 ms
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmrs/esm-globals",
3
- "version": "3.4.1-pre.133",
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": "a39d44591042d755a1b8164bef7b2b49a05890ff"
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
  */