@libsql/client
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -68,3 +68,3 @@ "use strict"; | ||
return [3 /*break*/, 4]; | ||
case 2: return [4 /*yield*/, this.transaction([{ sql: stmt, params: params }])]; | ||
case 2: return [4 /*yield*/, this.transaction([{ q: stmt, params: params }])]; | ||
case 3: | ||
@@ -135,3 +135,3 @@ rs = (_a.sent())[0]; | ||
statements: s.map(function (st) { | ||
return { q: st.sql, params: st.params }; | ||
return { q: st.q, params: st.params }; | ||
}) | ||
@@ -138,0 +138,0 @@ }; |
@@ -119,3 +119,3 @@ "use strict"; | ||
return [3 /*break*/, 5]; | ||
case 3: return [4 /*yield*/, this.execute(stmt.sql, stmt.params)]; | ||
case 3: return [4 /*yield*/, this.execute(stmt.q, stmt.params)]; | ||
case 4: | ||
@@ -122,0 +122,0 @@ rs = _a.sent(); |
@@ -12,3 +12,3 @@ import { Driver } from "./driver/Driver"; | ||
export type BoundStatement = { | ||
sql: string; | ||
q: string; | ||
params: Params; | ||
@@ -15,0 +15,0 @@ }; |
{ | ||
"name": "@libsql/client", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"keywords": [ | ||
@@ -5,0 +5,0 @@ "libsql", |
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
25128