@asaidimu/utils-cache 3.0.0 → 3.0.2

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/index.d.mts CHANGED
@@ -16,7 +16,7 @@ interface SimplePersistence<T> {
16
16
  * @returns The retrieved state of type `T`, or `null` if no data is found or if an error occurs during retrieval/parsing.
17
17
  * For asynchronous implementations, this returns a `Promise<T | null>`.
18
18
  */
19
- get(): (T | null) | (Promise<T | null>);
19
+ get(): (T | null) | Promise<T | null>;
20
20
  /**
21
21
  * Subscribes to changes in the global persisted data that originate from *other* instances of your application (e.g., other tabs or independent components using the same persistence layer).
22
22
  *
package/index.d.ts CHANGED
@@ -16,7 +16,7 @@ interface SimplePersistence<T> {
16
16
  * @returns The retrieved state of type `T`, or `null` if no data is found or if an error occurs during retrieval/parsing.
17
17
  * For asynchronous implementations, this returns a `Promise<T | null>`.
18
18
  */
19
- get(): (T | null) | (Promise<T | null>);
19
+ get(): (T | null) | Promise<T | null>;
20
20
  /**
21
21
  * Subscribes to changes in the global persisted data that originate from *other* instances of your application (e.g., other tabs or independent components using the same persistence layer).
22
22
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asaidimu/utils-cache",
3
- "version": "3.0.0",
3
+ "version": "3.0.2",
4
4
  "description": "Resource and cache management utilities for @asaidimu applications.",
5
5
  "main": "index.js",
6
6
  "module": "index.mjs",
@@ -30,7 +30,7 @@
30
30
  "access": "public"
31
31
  },
32
32
  "dependencies": {
33
- "@asaidimu/utils-persistence": "2.2.2",
33
+ "@asaidimu/utils-persistence": "3.0.0",
34
34
  "uuid": "^11.1.0",
35
35
  "@asaidimu/events": "^1.1.1"
36
36
  },