valdres 0.2.0-pre.26 → 0.2.0-pre.27

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1025,6 +1025,7 @@ class Transaction {
1025
1025
  setAtoms(this.atomMap, this.data, initializedAtomsSet);
1026
1026
  if (this.deleteSet?.size) {
1027
1027
  deleteAtomFamilyAtoms(this.deleteSet, this.data);
1028
+ propagateDeletedAtoms([...this.deleteSet], this.data);
1028
1029
  }
1029
1030
  if (this._scopedTransactions) {
1030
1031
  for (const [, scopedTxn] of this._scopedTransactions) {
@@ -1518,9 +1519,9 @@ var isFamilySelector = (state) => isFamilyState(state) && isSelector(state);
1518
1519
 
1519
1520
  // src/index.ts
1520
1521
  if (globalThis.__valdres__) {
1521
- throw new Error(`Error! An instance of valdres is already loaded. Loaded: ${globalThis.__valdres__}. Attempted to load: ${"0.2.0-pre.26"}`);
1522
+ throw new Error(`Error! An instance of valdres is already loaded. Loaded: ${globalThis.__valdres__}. Attempted to load: ${"0.2.0-pre.27"}`);
1522
1523
  } else {
1523
- globalThis.__valdres__ = "0.2.0-pre.26";
1524
+ globalThis.__valdres__ = "0.2.0-pre.27";
1524
1525
  }
1525
1526
  export {
1526
1527
  store,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valdres",
3
- "version": "0.2.0-pre.26",
3
+ "version": "0.2.0-pre.27",
4
4
  "license": "MIT",
5
5
  "author": {
6
6
  "name": "Eigil Sagafos"