11 Replies
Are you using Hono?
Not openNextJS
GitHub
GitHub - JussMor/fazTenant
Contribute to JussMor/fazTenant development by creating an account on GitHub.
I can't find a "createClient" in the Better Auth codebase.
Hmm.
Thanks, I'll check it out.
The following example shows how to make a query to your Turso database in a Worker. The credentials needed to connect to Turso have been automatically added as secrets to your Worker through the integration.
import { Client as LibsqlClient, createClient } from "@libsql/client/web";
Cloudflare Docs
Turso · Cloudflare Workers docs
Turso is an edge-hosted, distributed database based on libSQL, an open-source fork of SQLite. Turso was designed to minimize query latency for applications where queries comes from anywhere in the world.
This is what i find interesting not sure if the problem is the way how i do the import
Do you think you can try what they did?
I think the problem can be solved adding a layer of compatibility but how can I do one some example?
Because it’s something like coudflare offer the layer and doesn’t let you bundle another one
I'm not too sure, sorry.
Solved was easy tomorrow I published the package