@scalar/object-utils
Advanced tools
Comparing version 1.1.10 to 1.1.11
# @scalar/object-utils | ||
## 1.1.11 | ||
### Patch Changes | ||
- 0e19781: feat: fix reactivitiy of references + client | ||
## 1.1.10 | ||
@@ -4,0 +10,0 @@ |
@@ -20,2 +20,4 @@ import { Mutation } from '../mutator-record/mutations.js'; | ||
redo: (uid: string) => void; | ||
/** Destructive, clears the record */ | ||
reset: () => void; | ||
}; | ||
@@ -22,0 +24,0 @@ export type Mutators<T extends object & { |
@@ -63,2 +63,10 @@ import { Mutation } from './mutations.js'; | ||
}, | ||
/** Destructive, clears the record */ | ||
reset: () => { | ||
Object.keys(entityMap).forEach((uid) => { | ||
delete entityMap[uid]; | ||
delete mutationMap[uid]; | ||
}); | ||
onChange(); | ||
}, | ||
}; | ||
@@ -65,0 +73,0 @@ } |
@@ -16,3 +16,3 @@ { | ||
], | ||
"version": "1.1.10", | ||
"version": "1.1.11", | ||
"engines": { | ||
@@ -77,3 +77,3 @@ "node": ">=18" | ||
"type-fest": "^4.20.0", | ||
"vite": "^5.2.10", | ||
"vite": "^5.4.9", | ||
"@scalar/build-tooling": "0.1.11" | ||
@@ -80,0 +80,0 @@ }, |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
57981
977