Skip to content
Source
Sign inSign up
TanStack/db

fix: preserve Temporal values in offline transactions #1579

Closedcdemetriou-prod(GitHub profile, opens in a new tab)wants to merge 4 commits intomain fromrefs/pull/1579/headopened

Showing 9 changed files with 16 additions and 1 deletion (loading 5).

x
0 of 9 viewed, 9 left
5 additions and 0 deletions.changeset/quiet-temporal-dragons.mdAdded
View file
@@ -0,0 +1,5 @@
+---
+"@tanstack/offline-transactions": patch
+---
+​
+Preserve Temporal values when serializing and restoring offline transactions.
1 addition and 0 deletionspackages/offline-transactions/package.jsonModified
View file
@@ -79,6 +79,7 @@
"@types/node": "^25.2.2",
"eslint": "^9.39.2",
"react-native": "0.79.6",
+ "temporal-polyfill": "^0.3.0",
"typescript": "^5.9.2",
"vitest": "^3.2.4"
10 additions and 1 deletionpackages/offline-transactions/src/OfflineExecutor.tsModified
View file
@@ -7,6 +7,7 @@
import { OutboxManager } from './outbox/OutboxManager'
import { KeyScheduler } from './executor/KeyScheduler'