@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/__tests__/src/store.test.ts +18 -0
- package/dist/commonjs/Reactor.js +2 -2
- package/dist/commonjs/Reactor.js.map +1 -1
- package/dist/esm/Reactor.js +2 -2
- package/dist/esm/Reactor.js.map +1 -1
- package/dist/standalone/index.js +3 -3
- package/dist/standalone/index.umd.cjs +2 -2
- package/package.json +2 -2
- package/src/Reactor.js +2 -2
package/dist/standalone/index.js
CHANGED
|
@@ -3639,7 +3639,7 @@ function Kt(t) {
|
|
|
3639
3639
|
}, e;
|
|
3640
3640
|
}, {});
|
|
3641
3641
|
}
|
|
3642
|
-
const Rn = "v0.22.86-experimental.split-store.
|
|
3642
|
+
const Rn = "v0.22.86-experimental.split-store.20249342206.1";
|
|
3643
3643
|
function Mi(t, e) {
|
|
3644
3644
|
return {
|
|
3645
3645
|
info: t ? (...n) => console.info(...n, e()) : () => {
|
|
@@ -5364,7 +5364,7 @@ class oo {
|
|
|
5364
5364
|
b.push(_);
|
|
5365
5365
|
}
|
|
5366
5366
|
if (b.length) {
|
|
5367
|
-
const g = Object.values(this.ensureAttrs());
|
|
5367
|
+
const g = Object.values(this.ensureAttrs().attrs);
|
|
5368
5368
|
this._setAttrs([...g, ...b]), this._setAttrs(b);
|
|
5369
5369
|
}
|
|
5370
5370
|
this._finishTransaction("synced", d), this._cleanupPendingMutationsTimeout();
|
|
@@ -5918,7 +5918,7 @@ class oo {
|
|
|
5918
5918
|
notifyAttrsSubs() {
|
|
5919
5919
|
if (!this.attrs) return;
|
|
5920
5920
|
const e = this.optimisticAttrs();
|
|
5921
|
-
this.attrsCbs.forEach((n) => n(e));
|
|
5921
|
+
this.attrsCbs.forEach((n) => n(e.attrs));
|
|
5922
5922
|
}
|
|
5923
5923
|
notifyConnectionStatusSubs(e) {
|
|
5924
5924
|
this.connectionStatusCbs.forEach((n) => n(e));
|