@exodus/atoms 10.3.0 → 10.3.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
+ ## [10.3.1](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/atoms@10.3.0...@exodus/atoms@10.3.1) (2026-04-04)
7
+
8
+ ### Bug Fixes
9
+
10
+ - fix(atoms): clear timeout promise on observer rejection (#15848)
11
+
6
12
  ## [10.3.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/atoms@10.2.2...@exodus/atoms@10.3.0) (2026-04-03)
7
13
 
8
14
  ### Features
@@ -10,7 +10,7 @@ const timeoutObservers = ({ atom, timeout }) => {
10
10
  await Promise.race([
11
11
  observer(...args),
12
12
  timeoutPromise,
13
- ]).then(() => timeoutPromise.clear());
13
+ ]).finally(() => timeoutPromise.clear());
14
14
  });
15
15
  return {
16
16
  ...atom,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/atoms",
3
- "version": "10.3.0",
3
+ "version": "10.3.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",
@@ -56,5 +56,5 @@
56
56
  "publishConfig": {
57
57
  "provenance": false
58
58
  },
59
- "gitHead": "d208a04e76309bf9f6b24cb5403250fff4b0e78f"
59
+ "gitHead": "b20b2bab316125c2d54fde410c2380d960fc1ab7"
60
60
  }