libsql-client-ts
libsql-client-ts copied to clipboard
Sync interval option doesn't work (mismatch with name in libsql Database constructor)
When trying to create client with sync interval, in reality automatic periodic syncs never happen, due to the fact that in sqlite3.js file, following object is passed to Database constructor:
However, constructor in file index.js from libsql package expects field
syncPeriod instead of syncInterval
Therefore value of syncPeriod is set to 0 and db doesn't do any automatic periodic syncs.