@asaidimu/utils-store 2.0.1 → 2.0.3

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
@@ -83,6 +83,7 @@ type MiddlewareConfig<T> = {
83
83
  block?: false;
84
84
  action: Middleware<T>;
85
85
  });
86
+ declare const DELETE_SYMBOL: unique symbol;
86
87
 
87
88
  /**
88
89
  * Reactive Data Store Implementation
@@ -283,4 +284,4 @@ declare class StoreObserver<T extends object> {
283
284
  disconnect(): void;
284
285
  }
285
286
 
286
- export { type DebugEvent, type ObservabilityOptions, ReactiveDataStore, StoreObserver };
287
+ export { type BlockingMiddleware, DELETE_SYMBOL, type DataStore, type DebugEvent, type DeepPartial, type Middleware, type MiddlewareConfig, type MiddlewareExecution, type ObservabilityOptions, ReactiveDataStore, type StateUpdater, type StoreEvent, type StoreExecutionState, type StoreMetrics, StoreObserver };
package/index.d.ts CHANGED
@@ -83,6 +83,7 @@ type MiddlewareConfig<T> = {
83
83
  block?: false;
84
84
  action: Middleware<T>;
85
85
  });
86
+ declare const DELETE_SYMBOL: unique symbol;
86
87
 
87
88
  /**
88
89
  * Reactive Data Store Implementation
@@ -283,4 +284,4 @@ declare class StoreObserver<T extends object> {
283
284
  disconnect(): void;
284
285
  }
285
286
 
286
- export { type DebugEvent, type ObservabilityOptions, ReactiveDataStore, StoreObserver };
287
+ export { type BlockingMiddleware, DELETE_SYMBOL, type DataStore, type DebugEvent, type DeepPartial, type Middleware, type MiddlewareConfig, type MiddlewareExecution, type ObservabilityOptions, ReactiveDataStore, type StateUpdater, type StoreEvent, type StoreExecutionState, type StoreMetrics, StoreObserver };
package/index.js CHANGED
@@ -198,6 +198,7 @@ var require_events = __commonJS({
198
198
  // src/store/index.ts
199
199
  var store_exports = {};
200
200
  __export(store_exports, {
201
+ DELETE_SYMBOL: () => DELETE_SYMBOL,
201
202
  ReactiveDataStore: () => ReactiveDataStore,
202
203
  StoreObserver: () => StoreObserver
203
204
  });
@@ -1291,6 +1292,7 @@ var StoreObserver = class {
1291
1292
  };
1292
1293
  // Annotate the CommonJS export names for ESM import in node:
1293
1294
  0 && (module.exports = {
1295
+ DELETE_SYMBOL,
1294
1296
  ReactiveDataStore,
1295
1297
  StoreObserver
1296
1298
  });
package/index.mjs CHANGED
@@ -1276,6 +1276,7 @@ var StoreObserver = class {
1276
1276
  }
1277
1277
  };
1278
1278
  export {
1279
+ DELETE_SYMBOL,
1279
1280
  ReactiveDataStore,
1280
1281
  StoreObserver
1281
1282
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asaidimu/utils-store",
3
- "version": "2.0.1",
3
+ "version": "2.0.3",
4
4
  "description": "A reactive data store",
5
5
  "main": "index.js",
6
6
  "module": "index.mjs",
@@ -30,7 +30,8 @@
30
30
  },
31
31
  "dependencies": {
32
32
  "@asaidimu/events": "^1.1.1",
33
- "@asaidimu/utils-persistence": "2.0.0"
33
+ "@asaidimu/utils-persistence": "2.0.1",
34
+ "uuid": "^11.1.0"
34
35
  },
35
36
  "exports": {
36
37
  ".": {