final adjustments

This commit is contained in:
Nikita Sivukhin
2025-09-09 14:00:10 +04:00
parent 69aebd5a88
commit 7618dfb519
18 changed files with 330 additions and 107 deletions

View File

@@ -0,0 +1,8 @@
## About
This package is the Turso embedded database common JS library which is shared between final builds for Node and Browser.
Do not use this package directly - instead you must use `@tursodatabase/database` or `@tursodatabase/database-browser`.
> **⚠️ Warning:** This software is ALPHA, only use for development, testing, and experimentation. We are working to make it production ready, but do not use it for critical data right now.

View File

@@ -1,6 +1,6 @@
{
"name": "@tursodatabase/database-core",
"version": "0.1.5-pre.4",
"version": "0.1.5-pre.3",
"repository": {
"type": "git",
"url": "https://github.com/tursodatabase/turso"
@@ -11,7 +11,8 @@
"types": "dist/index.d.ts",
"packageManager": "yarn@4.9.2",
"files": [
"dist/**"
"dist/**",
"README.md"
],
"devDependencies": {
"typescript": "^5.9.2"

View File

@@ -414,5 +414,9 @@ class Statement {
throw convertError(err);
}
}
close() {
this.stmt.finalize();
}
}
export { Database, Statement }

View File

@@ -42,4 +42,5 @@ export interface NativeStatement {
columns(): string[];
row(): any;
reset();
finalize();
}