@haex-space/vault-sdk 2.9.3 → 3.0.0

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.
package/dist/index.mjs CHANGED
@@ -1094,7 +1094,7 @@ var DatabaseAPI = class {
1094
1094
  }
1095
1095
  async transaction(statements) {
1096
1096
  await this.client.request(DATABASE_COMMANDS.transaction, {
1097
- statements
1097
+ statements: statements.map((s) => [s.sql, s.params || []])
1098
1098
  });
1099
1099
  }
1100
1100
  async createTable(tableName, columns) {