libsql-js
libsql-js copied to clipboard
Sync example fails with latest libSQL
With https://github.com/libsql/libsql-js/pull/54, the sync example fails as follows:
penberg@vonneumann sync % node example.js
2023-11-01T09:20:21.706640Z INFO libsql_replication::replicator: Attempting to perform handshake with primary.
2023-11-01T09:20:21.706790Z INFO libsql::replication::remote_client: Attempting to perform handshake with primary.
2023-11-01T09:20:21.972033Z ERROR libsql_replication::replicator: error connecting to primary. retrying. error: Replicator client error: invalid length: expected length 32 for simple format, found 0