@asaidimu/utils-store 10.2.7 → 10.2.8

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.
Files changed (2) hide show
  1. package/index.d.ts +2 -3
  2. package/package.json +5 -5
package/index.d.ts CHANGED
@@ -1,7 +1,6 @@
1
1
  import { EventBus, SubscribeOptions, SubscribeOptions as SubscribeOptions$1 } from "@asaidimu/utils-events";
2
2
  import { SystemLogger } from "@asaidimu/utils-logger";
3
3
  import { SimplePersistence } from "@asaidimu/utils-persistence";
4
- import { SimplePersistence as SimplePersistence$1 } from "@asaidimu/utils-persistence/types.ts";
5
4
 
6
5
  //#region src/store/types.d.ts
7
6
  /**
@@ -966,13 +965,13 @@ declare class StoreObserver<T extends object> {
966
965
  * @param persistence An object implementing the SimplePersistence interface.
967
966
  * @returns A promise that resolves to true if the session was saved successfully.
968
967
  */
969
- saveSession(persistence: SimplePersistence$1<ObserverSessionData<T>>): Promise<boolean>;
968
+ saveSession(persistence: SimplePersistence<ObserverSessionData<T>>): Promise<boolean>;
970
969
  /**
971
970
  * Loads a previously saved observer session and restores the state to the latest saved snapshot.
972
971
  * @param persistence An object implementing the SimplePersistence interface.
973
972
  * @returns A promise that resolves to true if a session was loaded.
974
973
  */
975
- loadSession(persistence: SimplePersistence$1<ObserverSessionData<T>>): Promise<boolean>;
974
+ loadSession(persistence: SimplePersistence<ObserverSessionData<T>>): Promise<boolean>;
976
975
  /**
977
976
  * Exports the current session data as a JSON file, initiating a browser download.
978
977
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asaidimu/utils-store",
3
- "version": "10.2.7",
3
+ "version": "10.2.8",
4
4
  "description": "A reactive data store",
5
5
  "main": "index.js",
6
6
  "module": "index.mjs",
@@ -29,11 +29,11 @@
29
29
  "access": "public"
30
30
  },
31
31
  "dependencies": {
32
- "@asaidimu/utils-events": "^1.0.0",
33
- "@asaidimu/utils-logger": "^1.0.4",
32
+ "@asaidimu/utils-events": "^1.2.3",
33
+ "@asaidimu/utils-logger": "^1.0.5",
34
34
  "uuid": "^14.0.0",
35
- "@asaidimu/utils-sync": "^1.0.0",
36
- "@asaidimu/utils-persistence": "^6.1.12"
35
+ "@asaidimu/utils-sync": "^2.3.2",
36
+ "@asaidimu/utils-persistence": "^6.1.13"
37
37
  },
38
38
  "exports": {
39
39
  ".": {