File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 11---
22' @powersync/common ' : patch
3+ ' @powersync/node ' : patch
4+ ' @powersync/web ' : patch
5+ ' @powersync/react-native ' : patch
36---
47
58Rust client: Properly upload CRUD entries made while offline.
Original file line number Diff line number Diff line change @@ -999,7 +999,6 @@ The next upload iteration will be delayed.`);
999999 ) ;
10001000
10011001 this . notifyCompletedUploads = ( ) => {
1002- console . log ( 'notify completed' ) ;
10031002 controlInvocations ?. enqueueData ( { command : PowerSyncControlCommand . NOTIFY_CRUD_UPLOAD_COMPLETED } ) ;
10041003 } ;
10051004 await receivingLines ;
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ export class DataStream<Data extends any = any> extends BaseObserver<DataStreamL
3939 protected isClosed : boolean ;
4040
4141 protected processingPromise : Promise < void > | null ;
42- protected notifyDataAdded : ( ( _ : null ) => void ) | null ;
42+ protected notifyDataAdded : ( ( ) => void ) | null ;
4343
4444 protected logger : ILogger ;
4545
@@ -91,7 +91,7 @@ export class DataStream<Data extends any = any> extends BaseObserver<DataStreamL
9191 }
9292
9393 this . dataQueue . push ( data ) ;
94- this . notifyDataAdded ?.( null ) ;
94+ this . notifyDataAdded ?.( ) ;
9595
9696 this . processQueue ( ) ;
9797 }
@@ -194,7 +194,7 @@ export class DataStream<Data extends any = any> extends BaseObserver<DataStreamL
194194 }
195195
196196 if ( this . dataQueue . length <= this . lowWatermark ) {
197- const dataAdded = new Promise ( ( resolve ) => {
197+ const dataAdded = new Promise < void > ( ( resolve ) => {
198198 this . notifyDataAdded = resolve ;
199199 } ) ;
200200
You can’t perform that action at this time.
0 commit comments