@openmrs/esm-api 6.3.1-pre.3092 → 6.3.1-pre.3104
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/.turbo/turbo-build.log
CHANGED
package/dist/current-user.d.ts
CHANGED
|
@@ -19,7 +19,7 @@ export declare const sessionStore: import("zustand").StoreApi<SessionStore>;
|
|
|
19
19
|
* Subsequent values will be produced whenever the user object is
|
|
20
20
|
* updated.
|
|
21
21
|
*
|
|
22
|
-
* @param
|
|
22
|
+
* @param opts An object with `includeAuthStatus` boolean
|
|
23
23
|
* property that defaults to `false`. When `includeAuthStatus` is set
|
|
24
24
|
* to `true`, the entire response object from the API will be provided.
|
|
25
25
|
* When `includeAuthStatus` is set to `false`, only the `user` property
|
package/dist/openmrs-fetch.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { Observable } from 'rxjs';
|
|
|
3
3
|
import type { FetchResponse } from './types';
|
|
4
4
|
export declare const restBaseUrl = "/ws/rest/v1";
|
|
5
5
|
export declare const fhirBaseUrl = "/ws/fhir2/R4";
|
|
6
|
-
export declare const sessionEndpoint
|
|
6
|
+
export declare const sessionEndpoint = "/ws/rest/v1/session";
|
|
7
7
|
/**
|
|
8
8
|
* Append `path` to the OpenMRS SPA base.
|
|
9
9
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openmrs/esm-api",
|
|
3
|
-
"version": "6.3.1-pre.
|
|
3
|
+
"version": "6.3.1-pre.3104",
|
|
4
4
|
"license": "MPL-2.0",
|
|
5
5
|
"description": "The javascript module for interacting with the OpenMRS API",
|
|
6
6
|
"type": "module",
|
|
@@ -61,10 +61,10 @@
|
|
|
61
61
|
"@openmrs/esm-navigation": "6.x"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@openmrs/esm-config": "6.3.1-pre.
|
|
65
|
-
"@openmrs/esm-error-handling": "6.3.1-pre.
|
|
66
|
-
"@openmrs/esm-globals": "6.3.1-pre.
|
|
67
|
-
"@openmrs/esm-navigation": "6.3.1-pre.
|
|
64
|
+
"@openmrs/esm-config": "6.3.1-pre.3104",
|
|
65
|
+
"@openmrs/esm-error-handling": "6.3.1-pre.3104",
|
|
66
|
+
"@openmrs/esm-globals": "6.3.1-pre.3104",
|
|
67
|
+
"@openmrs/esm-navigation": "6.3.1-pre.3104",
|
|
68
68
|
"@swc/cli": "^0.7.7",
|
|
69
69
|
"@swc/core": "^1.11.29",
|
|
70
70
|
"concurrently": "^9.1.2",
|
package/src/current-user.ts
CHANGED
|
@@ -33,7 +33,7 @@ let lastFetchTimeMillis = 0;
|
|
|
33
33
|
* Subsequent values will be produced whenever the user object is
|
|
34
34
|
* updated.
|
|
35
35
|
*
|
|
36
|
-
* @param
|
|
36
|
+
* @param opts An object with `includeAuthStatus` boolean
|
|
37
37
|
* property that defaults to `false`. When `includeAuthStatus` is set
|
|
38
38
|
* to `true`, the entire response object from the API will be provided.
|
|
39
39
|
* When `includeAuthStatus` is set to `false`, only the `user` property
|