@libsql/client
Advanced tools
Comparing version 0.3.2-pre.0 to 0.3.2-pre.1
@@ -293,3 +293,3 @@ "use strict"; | ||
else if (typeof value === "boolean") { | ||
return value ? 1 : 0; | ||
return value ? 1n : 0n; | ||
} | ||
@@ -296,0 +296,0 @@ else if (value instanceof ArrayBuffer) { |
@@ -269,3 +269,3 @@ import Database from "better-sqlite3"; | ||
else if (typeof value === "boolean") { | ||
return value ? 1 : 0; | ||
return value ? 1n : 0n; | ||
} | ||
@@ -272,0 +272,0 @@ else if (value instanceof ArrayBuffer) { |
{ | ||
"name": "@libsql/client", | ||
"version": "0.3.2-pre.0", | ||
"version": "0.3.2-pre.1", | ||
"keywords": [ | ||
@@ -26,7 +26,7 @@ "libsql", | ||
"type": "module", | ||
"main": "lib-cjs/index.js", | ||
"types": "lib-esm/index.d.ts", | ||
"main": "lib-cjs/node.js", | ||
"types": "lib-esm/node.d.ts", | ||
"exports": { | ||
".": { | ||
"types": "./lib-esm/index.d.ts", | ||
"types": "./lib-esm/node.d.ts", | ||
"import": { | ||
@@ -37,6 +37,12 @@ "workerd": "./lib-esm/web.js", | ||
"netlify": "./lib-esm/web.js", | ||
"default": "./lib-esm/index.js" | ||
"node": "./lib-esm/node.js", | ||
"default": "./lib-esm/node.js" | ||
}, | ||
"require": "./lib-cjs/index.js" | ||
"require": "./lib-cjs/node.js" | ||
}, | ||
"./node": { | ||
"types": "./lib-esm/node.d.ts", | ||
"import": "./lib-esm/node.js", | ||
"require": "./lib-cjs/node.js" | ||
}, | ||
"./http": { | ||
@@ -65,2 +71,3 @@ "types": "./lib-esm/http.d.ts", | ||
"*": { | ||
".": ["./lib-esm/node.d.ts"], | ||
"http": ["./lib-esm/http.d.ts"], | ||
@@ -67,0 +74,0 @@ "hrana": ["./lib-esm/hrana.d.ts"], |
@@ -33,2 +33,3 @@ # JavaScript & TypeScript SDK for libSQL | ||
- CloudFlare Workers | ||
- Vercel Edge Functions | ||
- Netlify Edge Functions | ||
@@ -40,8 +41,2 @@ | ||
For environments that only support HTTP, including Vercel Edge Functions: | ||
```typescript | ||
import { createClient } from "@libsql/client/http"; | ||
``` | ||
For Deno: | ||
@@ -48,0 +43,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
144812
138