@js-smart/ng-kit 20.3.1 → 20.4.0

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.ts CHANGED
@@ -830,8 +830,9 @@ interface MatSnackBarOptions {
830
830
  * @since 17.1.0
831
831
  */
832
832
  declare class Store<T extends object> {
833
- _data: _angular_core.WritableSignal<T | undefined>;
834
- data: _angular_core.Signal<T | undefined>;
833
+ _data: _angular_core.WritableSignal<T | null>;
834
+ data: _angular_core.Signal<T | null>;
835
+ initialize(initialData: T): void;
835
836
  /**
836
837
  * Update the data in the store with the new data
837
838
  *
@@ -841,6 +842,8 @@ declare class Store<T extends object> {
841
842
  * @since 17.1.0
842
843
  */
843
844
  update(newData: T): void;
845
+ clear(): void;
846
+ getData(): T | null;
844
847
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<Store<any>, never>;
845
848
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<Store<any>>;
846
849
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@js-smart/ng-kit",
3
- "version": "20.3.1",
3
+ "version": "20.4.0",
4
4
  "license": "MIT",
5
5
  "author": "Pavan Kumar Jadda",
6
6
  "private": false,