Skip to content

Commit

Permalink
updated changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
stevensJourney committed Oct 30, 2023
1 parent 5e0e090 commit 6a8fea3
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
2 changes: 2 additions & 0 deletions .changeset/chilled-walls-promise.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
2 changes: 1 addition & 1 deletion apps/supabase-todolist
4 changes: 2 additions & 2 deletions packages/powersync-sdk-react-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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"
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2134,10 +2134,10 @@
"@types/yargs" "^17.0.8"
chalk "^4.0.0"

"@journeyapps/[email protected].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/[email protected].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"

Expand Down

0 comments on commit 6a8fea3

Please sign in to comment.