use @libsql/client instead of @libsql/hrana-client
This repo still uses the internal @libsql/hrana-client library. This PR updates it to use @libsql/client for parity.
This is a very impactful change as we are using Kysely for our ORM, and having access to the full set of @libsql/client features (e.g. embedded replicas) would be a big win. cc @penberg
@jkonowitch I've got a fork up at @ottomated/kysely-libsql if you want to use that in the meantime. You'll also need to apply this patch: https://github.com/libsql/hrana-client-ts/pull/14
Depends on https://github.com/tursodatabase/libsql-client-ts/pull/219 being merged
Can this be merged now, @penberg ?
I see that the feature hasn't been released yet. Hopefully this can all go through soon!
Yes, thanks for the ping @ottomated! Let me try to publish a new version to npm registry now.
@penberg I have another commit to this repo ready to go for when the next version of @libsql/client is published (the PR was merged but not released) https://github.com/tursodatabase/libsql-client-ts/blob/main/CHANGELOG.md