@instantdb/core 0.22.86-experimental.split-store.20249342206.1 → 0.22.86-experimental.split-store.20249702529.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 +11 -4
- package/dist/commonjs/store.d.ts.map +1 -1
- package/dist/commonjs/store.js +1 -0
- package/dist/commonjs/store.js.map +1 -1
- package/dist/esm/store.d.ts.map +1 -1
- package/dist/esm/store.js +1 -0
- package/dist/esm/store.js.map +1 -1
- package/dist/standalone/index.js +66 -66
- package/dist/standalone/index.umd.cjs +1 -1
- package/package.json +2 -2
- package/src/store.ts +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instantdb/core",
|
|
3
|
-
"version": "0.22.86-experimental.split-store.
|
|
3
|
+
"version": "0.22.86-experimental.split-store.20249702529.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.
|
|
56
|
+
"@instantdb/version": "0.22.86-experimental.split-store.20249702529.1"
|
|
57
57
|
},
|
|
58
58
|
"scripts": {
|
|
59
59
|
"test": "vitest",
|
package/src/store.ts
CHANGED
|
@@ -519,6 +519,7 @@ function mergeTriple(store: Store, attrsStore: AttrsStore, rawTriple: Triple) {
|
|
|
519
519
|
];
|
|
520
520
|
|
|
521
521
|
setInMap(store.eav, [eid, aid], new Map([[updatedValue, enhancedTriple]]));
|
|
522
|
+
setInMap(store.aev, [aid, eid], new Map([[updatedValue, enhancedTriple]]));
|
|
522
523
|
}
|
|
523
524
|
|
|
524
525
|
function deleteEntity(store: Store, attrsStore: AttrsStore, args: any[]) {
|