From 6a8fea379bb2c67cb2dca2de63b47f217d9a4cc1 Mon Sep 17 00:00:00 2001 From: Steven Ontong Date: Mon, 30 Oct 2023 13:30:05 +0200 Subject: [PATCH] updated changeset --- .changeset/chilled-walls-promise.md | 2 ++ apps/supabase-todolist | 2 +- packages/powersync-sdk-react-native/package.json | 4 ++-- yarn.lock | 8 ++++---- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.changeset/chilled-walls-promise.md b/.changeset/chilled-walls-promise.md index ca8247b0..e4fd2496 100644 --- a/.changeset/chilled-walls-promise.md +++ b/.changeset/chilled-walls-promise.md @@ -7,3 +7,5 @@ Updated logic to correspond with React Native Quick SQLite concurrent transactio API changes include: - Removal of synchronous DB operations in transactions: `execute`, `commit`, `rollback` are now async functions. `executeAsync`, `commitAsync` and `rollbackAsync` have been removed. +- Transaction contexts now have `get`, `getAll` and `getOptional` helpers. +- Added a default lock timeout of 2 minutes to aide with potential recursive lock/transaction requests. \ No newline at end of file diff --git a/apps/supabase-todolist b/apps/supabase-todolist index c9552550..ce42b594 160000 --- a/apps/supabase-todolist +++ b/apps/supabase-todolist @@ -1 +1 @@ -Subproject commit c9552550e7f7de168a0ad7bdfbfc58f7ca0c9c13 +Subproject commit ce42b594b73fc97e0f9cbd99f0f3938bb75b9935 diff --git a/packages/powersync-sdk-react-native/package.json b/packages/powersync-sdk-react-native/package.json index f5c9dc82..13fc13a6 100644 --- a/packages/powersync-sdk-react-native/package.json +++ b/packages/powersync-sdk-react-native/package.json @@ -24,7 +24,7 @@ }, "homepage": "https://docs.powersync.co/", "peerDependencies": { - "@journeyapps/react-native-quick-sqlite": "0.0.0-dev-20231030064733", + "@journeyapps/react-native-quick-sqlite": "0.0.2", "base-64": "^1.0.0", "react": "*", "react-native-fetch-api": "^3.0.0", @@ -40,7 +40,7 @@ "async-lock": "^1.4.0" }, "devDependencies": { - "@journeyapps/react-native-quick-sqlite": "0.0.0-dev-20231030064733", + "@journeyapps/react-native-quick-sqlite": "0.0.2", "@types/async-lock": "^1.4.0", "react": "18.2.0", "typescript": "^4.1.3" diff --git a/yarn.lock b/yarn.lock index 3190fcbe..d004bfa7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2134,10 +2134,10 @@ "@types/yargs" "^17.0.8" chalk "^4.0.0" -"@journeyapps/react-native-quick-sqlite@0.0.0-dev-20231030064733": - version "0.0.0-dev-20231030064733" - resolved "https://registry.npmjs.org/@journeyapps/react-native-quick-sqlite/-/react-native-quick-sqlite-0.0.0-dev-20231030064733.tgz#33008ee214a52726d4e4429af7e196bbea2e4293" - integrity sha512-IR7fWhMY/SRAdBINie67OncupRSluIAH2LyR3YEOMJGbXvVbPtDGieT1fXIiUZ2VFbhbIhXOTusgZ4RADmbFiQ== +"@journeyapps/react-native-quick-sqlite@0.0.2": + version "0.0.2" + resolved "https://registry.npmjs.org/@journeyapps/react-native-quick-sqlite/-/react-native-quick-sqlite-0.0.2.tgz#a6bb13de4446a11163d4dca441928f187f7ef859" + integrity sha512-5kYfBCHKr8qNdgxTFces6huXeigeTpkfcVMSjuZgPW+4ljHsH7brdocvBKmx8iHz2Q7pZ7cIyV0RZ0oz/htnLA== dependencies: lodash "^4.17.21"