@exodus/atoms 7.4.0 → 7.4.1
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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [7.4.1](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/atoms@7.4.0...@exodus/atoms@7.4.1) (2024-05-27)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- use isSoleWritter when creating cache atom ([#7144](https://github.com/ExodusMovement/exodus-hydra/issues/7144)) ([f056c24](https://github.com/ExodusMovement/exodus-hydra/commit/f056c24facf36320a3e3a9f9fd05cf9f03c092bd))
|
|
11
|
+
|
|
6
12
|
## [7.4.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/atoms@7.3.3...@exodus/atoms@7.4.0) (2024-05-24)
|
|
7
13
|
|
|
8
14
|
### Features
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import createStorageAtomFactory from '../factories/storage.js';
|
|
2
2
|
const getCacheAtom = ({ storage, key }) => {
|
|
3
3
|
const createStorageAtom = createStorageAtomFactory({ storage });
|
|
4
|
-
return createStorageAtom({ key });
|
|
4
|
+
return createStorageAtom({ key, isSoleWriter: true });
|
|
5
5
|
};
|
|
6
6
|
const enhanceAtom = (params) => {
|
|
7
7
|
const { atom, logger } = params;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/atoms",
|
|
3
|
-
"version": "7.4.
|
|
3
|
+
"version": "7.4.1",
|
|
4
4
|
"description": "Abstraction for encapsulating a piece of data behind a simple unified interface: get, set, observe",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"@types/lodash": "^4.14.200",
|
|
46
46
|
"@types/minimalistic-assert": "^1.0.2"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "ddf3d3995d6204d6fb711f6c9cf1490352b567af"
|
|
49
49
|
}
|