@warp-drive/experiments 0.2.6-alpha.6 → 0.2.6-alpha.8
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/dist/data-worker.js +1 -0
- package/package.json +5 -5
package/dist/data-worker.js
CHANGED
|
@@ -286,6 +286,7 @@ function updateCacheForSuccess(store, request, document) {
|
|
|
286
286
|
if (isMutation(request)) {
|
|
287
287
|
const record = request.data?.record || request.records?.[0];
|
|
288
288
|
if (record) {
|
|
289
|
+
// @ts-expect-error while this is valid, we should update the CacheHandler for transactional saves
|
|
289
290
|
response = store.cache.didCommit(record, document);
|
|
290
291
|
|
|
291
292
|
// a mutation combined with a 204 has no cache impact when no known records were involved
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@warp-drive/experiments",
|
|
3
|
-
"description": "Experimental features for
|
|
4
|
-
"version": "0.2.6-alpha.
|
|
3
|
+
"description": "Experimental features for WarpDrive",
|
|
4
|
+
"version": "0.2.6-alpha.8",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Chris Thoburn <runspired@users.noreply.github.com>",
|
|
7
7
|
"repository": {
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
],
|
|
45
45
|
"peerDependencies": {
|
|
46
46
|
"@sqlite.org/sqlite-wasm": "3.46.0-build2",
|
|
47
|
-
"@warp-drive/core": "5.8.0-alpha.
|
|
47
|
+
"@warp-drive/core": "5.8.0-alpha.8"
|
|
48
48
|
},
|
|
49
49
|
"peerDependenciesMeta": {
|
|
50
50
|
"@sqlite.org/sqlite-wasm": {
|
|
@@ -59,8 +59,8 @@
|
|
|
59
59
|
"@babel/plugin-transform-typescript": "^7.28.0",
|
|
60
60
|
"@babel/preset-env": "^7.28.3",
|
|
61
61
|
"@babel/preset-typescript": "^7.27.1",
|
|
62
|
-
"@warp-drive/internal-config": "5.8.0-alpha.
|
|
63
|
-
"@warp-drive/core": "5.8.0-alpha.
|
|
62
|
+
"@warp-drive/internal-config": "5.8.0-alpha.8",
|
|
63
|
+
"@warp-drive/core": "5.8.0-alpha.8",
|
|
64
64
|
"@sqlite.org/sqlite-wasm": "3.46.0-build2",
|
|
65
65
|
"typescript": "^5.9.2",
|
|
66
66
|
"vite": "^7.1.3"
|