@openmrs/esm-globals 5.1.0 → 5.1.1-pre.1001

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,6 +1,6 @@
1
- @openmrs/esm-globals:build: cache hit, replaying output d2cd07be8c8f9c68
1
+ @openmrs/esm-globals:build: cache hit, replaying output cda323db5175801d
2
2
  @openmrs/esm-globals:build: asset openmrs-esm-globals.js 2.07 KiB [emitted] [minimized] (name: main) 1 related asset
3
3
  @openmrs/esm-globals:build: runtime modules 670 bytes 3 modules
4
4
  @openmrs/esm-globals:build: orphan modules 2.81 KiB [orphan] 2 modules
5
5
  @openmrs/esm-globals:build: ./src/index.ts + 1 modules 2.85 KiB [built] [code generated]
6
- @openmrs/esm-globals:build: webpack 5.88.0 compiled successfully in 10590 ms
6
+ @openmrs/esm-globals:build: webpack 5.88.0 compiled successfully in 13993 ms
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmrs/esm-globals",
3
- "version": "5.1.0",
3
+ "version": "5.1.1-pre.1001",
4
4
  "license": "MPL-2.0",
5
5
  "browser": "dist/openmrs-esm-globals.js",
6
6
  "main": "src/index.ts",
@@ -39,5 +39,5 @@
39
39
  "devDependencies": {
40
40
  "single-spa": "^5.9.3"
41
41
  },
42
- "gitHead": "b3a3b5208270447ef1fd85b2f7e4ce55e717b9ec"
42
+ "gitHead": "72fcc253e861b297cb796cfad0c9c44150c4de4c"
43
43
  }
package/src/types.ts CHANGED
@@ -28,19 +28,19 @@ declare global {
28
28
  */
29
29
  initializeSpa(config: SpaConfig): void;
30
30
  /**
31
- * Gets the API base path.
31
+ * Gets the API base path, e.g. /openmrs
32
32
  */
33
33
  openmrsBase: string;
34
34
  /**
35
- * Gets the SPA base path.
35
+ * Gets the SPA base path, e.g. /openmrs/spa
36
36
  */
37
37
  spaBase: string;
38
38
  /**
39
- * Gets the determined SPA environment.
39
+ * Set by the app shell. Indicates whether the app shell is running in production, development, or test mode.
40
40
  */
41
41
  spaEnv: SpaEnvironment;
42
42
  /**
43
- * Gets the published SPA version.
43
+ * The build number of the app shell. Set when the app shell is built by webpack.
44
44
  */
45
45
  spaVersion?: string;
46
46
  /**