@openmrs/esm-context 6.3.1-pre.3104 → 6.3.1-pre.3106

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,3 +1,3 @@
1
- [0] Successfully compiled: 3 files with swc (233.02ms)
1
+ [0] Successfully compiled: 3 files with swc (264.73ms)
2
2
  [0] swc --strip-leading-paths src -d dist exited with code 0
3
3
  [1] tsc --project tsconfig.build.json exited with code 0
package/dist/context.d.ts CHANGED
@@ -20,12 +20,6 @@ export declare function registerContext<T extends {} = {}>(namespace: string, in
20
20
  * will remove the namespace and all associated data.
21
21
  */
22
22
  export declare function unregisterContext(namespace: string): void;
23
- /**
24
- * Returns an _immutable_ version of the state of the namespace as it is currently
25
- *
26
- * @typeParam T The type of the value stored in the namespace
27
- * @param namespace The namespace to load properties from
28
- */
29
23
  export declare function getContext<T extends {} = {}>(namespace: string): Readonly<T> | null;
30
24
  /**
31
25
  * Updates a namespace in the global context. If the namespace does not exist, it is registered.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmrs/esm-context",
3
- "version": "6.3.1-pre.3104",
3
+ "version": "6.3.1-pre.3106",
4
4
  "license": "MPL-2.0",
5
5
  "description": "Utilities for managing the current execution context",
6
6
  "type": "module",
@@ -53,8 +53,8 @@
53
53
  "@openmrs/esm-state": "6.x"
54
54
  },
55
55
  "devDependencies": {
56
- "@openmrs/esm-globals": "6.3.1-pre.3104",
57
- "@openmrs/esm-state": "6.3.1-pre.3104",
56
+ "@openmrs/esm-globals": "6.3.1-pre.3106",
57
+ "@openmrs/esm-state": "6.3.1-pre.3106",
58
58
  "@swc/cli": "^0.7.7",
59
59
  "@swc/core": "^1.11.29",
60
60
  "concurrently": "^9.1.2",
package/src/context.ts CHANGED
@@ -51,12 +51,6 @@ export function unregisterContext(namespace: string) {
51
51
  });
52
52
  }
53
53
 
54
- /**
55
- * Returns an _immutable_ version of the state of the namespace as it is currently
56
- *
57
- * @typeParam T The type of the value stored in the namespace
58
- * @param namespace The namespace to load properties from
59
- */
60
54
  export function getContext<T extends {} = {}>(namespace: string): Readonly<T> | null;
61
55
  /**
62
56
  * Returns an _immutable_ version of the state of the namespace as it is currently