@instantdb/core 0.22.86-experimental.split-store.20247643606.1 → 0.22.86-experimental.split-store.20249342206.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instantdb/core",
3
- "version": "0.22.86-experimental.split-store.20247643606.1",
3
+ "version": "0.22.86-experimental.split-store.20249342206.1",
4
4
  "description": "Instant's core local abstraction",
5
5
  "homepage": "https://github.com/instantdb/instant/tree/main/client/packages/core",
6
6
  "repository": {
@@ -53,7 +53,7 @@
53
53
  "dependencies": {
54
54
  "mutative": "^1.0.10",
55
55
  "uuid": "^11.1.0",
56
- "@instantdb/version": "0.22.86-experimental.split-store.20247643606.1"
56
+ "@instantdb/version": "0.22.86-experimental.split-store.20249342206.1"
57
57
  },
58
58
  "scripts": {
59
59
  "test": "vitest",
package/src/Reactor.js CHANGED
@@ -744,7 +744,7 @@ export default class Reactor {
744
744
  }
745
745
  }
746
746
  if (newAttrs.length) {
747
- const existingAttrs = Object.values(this.ensureAttrs());
747
+ const existingAttrs = Object.values(this.ensureAttrs().attrs);
748
748
  this._setAttrs([...existingAttrs, ...newAttrs]);
749
749
  this._setAttrs(newAttrs);
750
750
  }
@@ -1919,7 +1919,7 @@ export default class Reactor {
1919
1919
  notifyAttrsSubs() {
1920
1920
  if (!this.attrs) return;
1921
1921
  const oas = this.optimisticAttrs();
1922
- this.attrsCbs.forEach((cb) => cb(oas));
1922
+ this.attrsCbs.forEach((cb) => cb(oas.attrs));
1923
1923
  }
1924
1924
 
1925
1925
  notifyConnectionStatusSubs(status) {