@exodus/atoms
Advanced tools
Comparing version 7.4.0 to 7.4.1
@@ -6,2 +6,8 @@ # Change Log | ||
## [7.4.1](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/atoms@7.4.0...@exodus/atoms@7.4.1) (2024-05-27) | ||
### Bug Fixes | ||
- use isSoleWritter when creating cache atom ([#7144](https://github.com/ExodusMovement/exodus-hydra/issues/7144)) ([f056c24](https://github.com/ExodusMovement/exodus-hydra/commit/f056c24facf36320a3e3a9f9fd05cf9f03c092bd)) | ||
## [7.4.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/atoms@7.3.3...@exodus/atoms@7.4.0) (2024-05-24) | ||
@@ -8,0 +14,0 @@ |
import createStorageAtomFactory from '../factories/storage.js'; | ||
const getCacheAtom = ({ storage, key }) => { | ||
const createStorageAtom = createStorageAtomFactory({ storage }); | ||
return createStorageAtom({ key }); | ||
return createStorageAtom({ key, isSoleWriter: true }); | ||
}; | ||
@@ -6,0 +6,0 @@ const enhanceAtom = (params) => { |
{ | ||
"name": "@exodus/atoms", | ||
"version": "7.4.0", | ||
"version": "7.4.1", | ||
"description": "Abstraction for encapsulating a piece of data behind a simple unified interface: get, set, observe", | ||
@@ -48,3 +48,3 @@ "type": "module", | ||
}, | ||
"gitHead": "240b0901d2a97ec1fe86be7c450cc289e28c98bf" | ||
"gitHead": "ddf3d3995d6204d6fb711f6c9cf1490352b567af" | ||
} |
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
67075