Skip to content

Commit

Permalink
Merge pull request #6 from robsoden/react-native-quick-sqlite-upgrade
Browse files Browse the repository at this point in the history
upgraded react-native-quick-sqlite to latest (8.0.4)
  • Loading branch information
Braden1996 authored May 27, 2024
2 parents 65c1c46 + 06f32d0 commit 60649c7
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion packages/example/mobile-react-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"react-dom": "18.2.0",
"react-native": "0.71.2",
"react-native-flipper": "0.174.0",
"react-native-quick-sqlite": "8.0.0-beta.2",
"react-native-quick-sqlite": "8.0.4",
"react-native-sse": "^1.1.0",
"replicache": "12.2.0",
"replicache-react": "^2.10.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/react-native-quick-sqlite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"react-native-builder-bob": "^0.20.3"
},
"peerDependencies": {
"react-native-quick-sqlite": ">=8.0.0-beta.2"
"react-native-quick-sqlite": ">=8.0.4"
},
"react-native-builder-bob": {
"source": "src",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { ReplicacheGenericSQLiteTransaction } from "@react-native-replicache/rep
import * as QuickSQLite from "react-native-quick-sqlite";

export class ReplicacheQuickSQLiteTransaction extends ReplicacheGenericSQLiteTransaction {
private _tx: QuickSQLite.TransactionAsync | null = null;
private _tx: QuickSQLite.Transaction | null = null;
private _transactionCommittedSubscriptions = new Set<() => void>();
private _txCommitted = false;
private _transactionEndedSubscriptions = new Set<{
Expand All @@ -20,7 +20,7 @@ export class ReplicacheQuickSQLiteTransaction extends ReplicacheGenericSQLiteTra
return await new Promise<void>((resolve, reject) => {
let didResolve = false;
try {
this.db.transactionAsync(async (tx) => {
this.db.transaction(async (tx) => {
didResolve = true;
this._tx = tx;
resolve();
Expand Down
12 changes: 6 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2565,7 +2565,7 @@ __metadata:
react-dom: 18.2.0
react-native: 0.71.2
react-native-flipper: 0.174.0
react-native-quick-sqlite: 8.0.0-beta.2
react-native-quick-sqlite: 8.0.4
react-native-sse: ^1.1.0
replicache: 12.2.0
replicache-react: ^2.10.0
Expand Down Expand Up @@ -2651,7 +2651,7 @@ __metadata:
"@types/react": ^18.0.28
react-native-builder-bob: ^0.20.3
peerDependencies:
react-native-quick-sqlite: ">=8.0.0-beta.2"
react-native-quick-sqlite: ">=8.0.4"
languageName: unknown
linkType: soft

Expand Down Expand Up @@ -10812,13 +10812,13 @@ __metadata:
languageName: node
linkType: hard

"react-native-quick-sqlite@npm:8.0.0-beta.2":
version: 8.0.0-beta.2
resolution: "react-native-quick-sqlite@npm:8.0.0-beta.2"
"react-native-quick-sqlite@npm:8.0.4":
version: 8.0.4
resolution: "react-native-quick-sqlite@npm:8.0.4"
peerDependencies:
react: "*"
react-native: "*"
checksum: 402ae1131910a4676d97fdf5049e20fc2a26c3677524b508ce025d404e14bf28b2e4d1243e4597a199eb4031bb148924a89895168ef7161b1d30f8a67ada3ed4
checksum: 034f8d1ea8a497af6d45d287d6173bd1b61e2120983a952ec7f46872a413a493dcf7f099943f0e91b2b951da832c740d0e1f216481619c7664107bf562a2df99
languageName: node
linkType: hard

Expand Down

0 comments on commit 60649c7

Please sign in to comment.