Socket
Socket
Sign inDemoInstall

libsql-stateless-easy

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

libsql-stateless-easy - npm Package Compare versions

Comparing version 1.6.0-alpha.2 to 1.6.0

3

dist/parsers.js

@@ -64,2 +64,5 @@ import { Base64 } from "js-base64";

lastInsertRowid: (res.last_insert_rowid) ? BigInt(res.last_insert_rowid) : undefined,
rowsRead: res.rows_read,
rowsWritten: res.rows_written,
queryDurationMS: res.query_duration_ms
};

@@ -66,0 +69,0 @@ return {

@@ -85,2 +85,14 @@ import type { libsqlConfig as LIBlibsqlConfig } from "libsql-stateless";

toJSON(): any;
/** Rows read during processing query.
* Might not be available on older server versions.
*/
rowsRead: number;
/** Rows written during processing query.
* Might not be available on older server versions.
*/
rowsWritten: number;
/** Wall time of work done by server.
* Might not be available on older server versions.
*/
queryDurationMS: number;
}

@@ -87,0 +99,0 @@ /** Transaction mode.

4

package.json
{
"name": "libsql-stateless-easy",
"version": "1.6.0-alpha.2",
"version": "1.6.0",
"homepage": "https://github.com/DaBigBlob/libsql-stateless-easy#readme",

@@ -63,4 +63,4 @@ "repository": {

"js-base64": "^3.7.5",
"libsql-stateless": "^2.8.0-alpha.2"
"libsql-stateless": "^2.8.3"
}
}

@@ -5,3 +5,3 @@ # libsql-stateless-easy

- ✅ **Supported runtime environments:** Web API (browser, serverless), Bun, Node.js (>=18)
- ✅ **Is extremely light:** 15KB (minified)/ 4.6KB (minified+gzipped)
- ✅ **Is extremely light:** 11KB (minified)/ 4.2KB (minified+gzipped)
- ✅ **Is built for:** Quick stateless query execution. (Mainly for serverless and edge functions.)

@@ -93,2 +93,5 @@ - ✅ Supports everything in `@libsql/client/web` **except `interactive transactions`.

} from "libsql-stateless-easy";
```
```
> NOTE: current API level is that of latest stable [libsql-stateless](https://github.com/DaBigBlob/libsql-stateless).
Read [this section](https://github.com/DaBigBlob/libsql-stateless/?tab=readme-ov-file#api-level).
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc