Visal .In
Visal .In
Since we only need to encrypt password, I quickly wrote one here (https://github.com/invisal/god-crypto). You can use as the following ```typescript import { RSA } from "https://github.com/invisal/god-crypto/raw/master/mod.ts"; const publicKey = RSA.parseKey("public_key_that_mysql_send_to_you");...
@wenjoy Nice job. If you want to integrate, you can simply change a few line of code and it will work. In your `src/auth_plugin/crypt.ts`, You just change to the following...
I also have this issue: ```javascript const { createClient } = require("@libsql/client/web"); const value = new Array(5000).fill(1).join(""); client .batch([`INSERT INTO some_table("content") VALUES("${value}")`]) .then(console.log) .catch(console.error); ``` I try to find the...
Have you tried ``` npm install @libsql/sqlite3 ``` Then ```typescript export const AppDataSource = new DataSource({ type: "sqlite", driver: require("@libsql/sqlite3"), flags: 0x00000040, // this is required to make it work...
I believe you may use https://www.electronjs.org/docs/latest/api/utility-process In the main process, you can do. ```javascript // Main process const { app, BrowserWindow, utilityProcess, } = require("electron"); const child = utilityProcess.fork(path.join(__dirname, "process.js"));...
> Why is there a login flow anyway? 🤔 @prologic This is good question. LibSQL Studio can operate without login, but those who login got a few extra benefits such...
@otoolep While, the console provides CORS error message, it is not possible for Javascript to catch that error. https://stackoverflow.com/a/19325710 Maybe when user fail to connect for some reason, we can...
I haven't tried Dataflare. But it looks very good. Drop table should be done during this weekend as well. :)
After discuss in Discord: https://discord.com/channels/933071162680958986/1225640840396017725 We find the root cause of this problem. Batch is using `stored_sql`. In the Turso code, the `stored_sql` only support up to 5kb only. https://github.com/tursodatabase/libsql/blob/e9d637e051685f92b0da43849507b5ef4232fbeb/libsql-server/src/hrana/http/request.rs#L10...
I am new here. But I believe we need to remove this one line https://github.com/tursodatabase/libsql-client-ts/blob/db1daf4e71a63977e15a49fdcdb23f01e6eb4f27/packages/libsql-client/src/sqlite3.ts#L58C34-L58C65 If it is true, let assign it to me.