@@ -266,8 +266,8 @@ export const NODE_SQLITE_NON_MERGEABLE_VARIANTS: Variants = {
266266 async ( client : Client ) => client . close ( ) ,
267267 ] ,
268268 electricSql : [
269- async ( ) : Promise < Electric > =>
270- await suppressWarnings (
269+ ( ) : Promise < Electric > =>
270+ suppressWarnings (
271271 async ( ) =>
272272 await electrify (
273273 await ElectricDatabase . init ( ':memory:' ) ,
@@ -321,8 +321,8 @@ export const NODE_SQLITE_NON_MERGEABLE_VARIANTS: Variants = {
321321 true ,
322322 ] ,
323323 crSqliteWasm : [
324- async ( ) : Promise < DB > =>
325- await suppressWarnings ( async ( ) => await ( await initWasm ( ) ) . open ( ) ) ,
324+ ( ) : Promise < DB > =>
325+ suppressWarnings ( async ( ) => await ( await initWasm ( ) ) . open ( ) ) ,
326326 [ 'getDb' , ( db : DB ) => db ] ,
327327 (
328328 store : Store ,
@@ -363,22 +363,22 @@ export const NODE_POSTGRESQL_VARIANTS: Variants = {
363363 return [ sql , cmdSql , name ] ;
364364 } ,
365365 [ 'getSql' , ( [ sql ] : SqlClientsAndName ) => sql ] ,
366- async (
366+ (
367367 store : Store ,
368368 [ sql ] : SqlClientsAndName ,
369369 storeTableOrConfig ?: string | DatabasePersisterConfig ,
370370 onSqlCommand ?: ( sql : string , args ?: any [ ] ) => void ,
371371 onIgnoredError ?: ( error : any ) => void ,
372372 ) =>
373- await ( createPostgresPersister as any ) (
373+ ( createPostgresPersister as any ) (
374374 store ,
375375 sql ,
376376 storeTableOrConfig ,
377377 onSqlCommand ,
378378 onIgnoredError ,
379379 ) ,
380- async ( [ , cmdSql ] : SqlClientsAndName , sqlStr : string , args : any [ ] = [ ] ) =>
381- await cmdSql . unsafe ( sqlStr , args ) ,
380+ ( [ , cmdSql ] : SqlClientsAndName , sqlStr : string , args : any [ ] = [ ] ) =>
381+ cmdSql . unsafe ( sqlStr , args ) ,
382382 async ( [ sql , cmdSql , name ] : SqlClientsAndName ) => {
383383 cmdSql . release ( ) ;
384384 await sql . end ( { timeout : 0.1 } ) ;
0 commit comments