@ariesclark/state
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -50,5 +50,2 @@ import { Flatten, Keys } from "@ariesclark/utils/dist/objects"; | ||
initialState: Readonly<T>; | ||
private current; | ||
private subscribers; | ||
private dirtyKeys; | ||
/** | ||
@@ -79,3 +76,2 @@ * Create a new maintained state. | ||
set<K extends Keys<Current<T>>>(key: K, value: Current<T>[K]): void; | ||
private _dispatch; | ||
private dispatch; | ||
@@ -82,0 +78,0 @@ /** |
@@ -19,5 +19,13 @@ "use strict"; | ||
this.computeMap = computeMap; | ||
/** | ||
* @internal | ||
*/ | ||
this.subscribers = utils_1.objects.create(); | ||
/** | ||
* @internal | ||
*/ | ||
this.dirtyKeys = new Set(); | ||
// eslint-disable-next-line @typescript-eslint/member-ordering | ||
/** | ||
* @internal | ||
*/ | ||
this._dispatch = null; | ||
@@ -24,0 +32,0 @@ this.initialState = Object.freeze(utils_1.objects.create(initialState)); |
{ | ||
"name": "@ariesclark/state", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "A cool state container", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
224
0
10954