@tursodatabase/serverless 1.1.3 → 1.2.0-pre.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -634,7 +634,7 @@ var LibSQLClient = class {
634
634
  columnTypes: result.columnTypes || [],
635
635
  rows: result.rows || [],
636
636
  rowsAffected: result.rowsAffected || 0,
637
- lastInsertRowid: result.lastInsertRowid ? BigInt(result.lastInsertRowid) : void 0,
637
+ lastInsertRowid: result.lastInsertRowid != null ? BigInt(result.lastInsertRowid) : void 0,
638
638
  toJSON() {
639
639
  return {
640
640
  columns: this.columns,
@@ -632,7 +632,7 @@ var LibSQLClient = class {
632
632
  columnTypes: result.columnTypes || [],
633
633
  rows: result.rows || [],
634
634
  rowsAffected: result.rowsAffected || 0,
635
- lastInsertRowid: result.lastInsertRowid ? BigInt(result.lastInsertRowid) : void 0,
635
+ lastInsertRowid: result.lastInsertRowid != null ? BigInt(result.lastInsertRowid) : void 0,
636
636
  toJSON() {
637
637
  return {
638
638
  columns: this.columns,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tursodatabase/serverless",
3
- "version": "1.1.3",
3
+ "version": "1.2.0-pre.1",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",