Skip to content

Commit bd8214b

Browse files
Update packages
1 parent 59a9e36 commit bd8214b

File tree

3 files changed

+62
-18
lines changed

3 files changed

+62
-18
lines changed

demos/react-supabase-todolist-tanstackdb/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
"@powersync/react": "workspace:*",
1919
"@powersync/web": "workspace:*",
2020
"@supabase/supabase-js": "^2.39.7",
21-
"@tanstack/db": "0.4.16",
22-
"@tanstack/powersync-db-collection": "link:/Users/stevenontong/Documents/platform_code/powersync/temp-tanstack-db/packages/powersync-db-collection",
23-
"@tanstack/react-db": "0.1.38",
21+
"@tanstack/db": "^0.4.17",
22+
"@tanstack/powersync-db-collection": "^0.1.0",
23+
"@tanstack/react-db": "^0.1.39",
2424
"formik": "^2.4.6",
2525
"lodash": "^4.17.21",
2626
"react": "^18.2.0",

demos/react-supabase-todolist-tanstackdb/src/components/providers/SystemProvider.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ export const listsCollection = createCollection(
2727
schema: ListsSchema,
2828
deserializationSchema: ListsDeserializationSchema,
2929
onDeserializationError: (error) => {
30-
// TODO handle deserialization error
30+
// This should be fixed in development
31+
console.error(`Could not deserialize lists collection! ${error.issues.map((i) => i.message).join(', ')}`);
3132
}
3233
})
3334
);
@@ -39,7 +40,8 @@ export const todosCollection = createCollection(
3940
schema: TodosSchema,
4041
deserializationSchema: TodosDeserializationSchema,
4142
onDeserializationError: (error) => {
42-
// TODO handle deserialization error
43+
// This should be fixed in development
44+
console.error(`Could not deserialize todos collection! ${error.issues.map((i) => i.message).join(', ')}`);
4345
}
4446
})
4547
);

pnpm-lock.yaml

Lines changed: 55 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)