libsql-client-ts icon indicating copy to clipboard operation
libsql-client-ts copied to clipboard

TypeScript/JavaScript client API for libSQL

Results 116 libsql-client-ts issues
Sort by recently updated
recently updated
newest added

The following error message: ``` LibsqlError: URL_SCHEME_NOT_SUPPORTED: The client that uses Web standard APIs supports only "libsql:", "wss:", "ws:", "https:" and "http:" URLs, got "file:". For more information, please read...

It mentions in libsql main lib that the sqlite session extension is available. How do we use it in typescript? Thanks!

Hi, I was just setting up a existing project which was working recently but it's now giving me this error - ``` LibsqlError: SERVER_ERROR: Server returned HTTP status 503 at...

Let's go through all the sync examples and make sure they work with the new sync protocol.

bug
developer experience

Hello! 👋 Today I went into a rabbit hole that led me to find out that objects returned by queries in this library are not "plain" JSONs, they contain some...

The current implementation runs in the main thread, making OPFS unavailable. https://github.com/tursodatabase/libsql-client-ts/blob/fbf8f63866304bcd8a3f364f03e6bba79eb62010/packages/libsql-client-wasm/src/wasm.ts#L34 - https://github.com/sqlite/sqlite-wasm#in-a-wrapped-worker-with-opfs-if-available - https://github.com/sqlite/sqlite-wasm#in-the-main-thread-without-opfs

I am experiencing a rust panic within the libsql/client source code - here is the source code of our usage https://github.com/Makespace/members-app/blob/5a8b052587a07cdee2216b48aa8d470a4341f460/src/init-dependencies/google/get-cached-sheet-data.ts#L96 ```typescript await dbClient.execute({ sql: ` INSERT INTO cached_sheet_data (cached_at,...

It seems that the libsql not working in nextjs15 and middleware(edge runtime). the sample code not working in nextjs15 and edge runtime: ```ts const tursoClient = createClient({ url: `file:local.db`, syncInterval:...

While I bet this is not the intended usage, I've come to like libsql for the ability to be hosted (through a proxy of some sorts) on a single subdomain...