@haex-space/vault-sdk 2.9.2 → 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.
@@ -1,6 +1,6 @@
1
1
  import * as nuxt_app from 'nuxt/app';
2
2
  import { ShallowRef } from 'vue';
3
- import { H as HaexVaultSdk } from '../client-CbLlchAC.mjs';
3
+ import { H as HaexVaultSdk } from '../client-BXtzUBWv.mjs';
4
4
  import { A as ApplicationContext } from '../types-DmCSegdY.mjs';
5
5
  import 'drizzle-orm/sqlite-proxy';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import * as nuxt_app from 'nuxt/app';
2
2
  import { ShallowRef } from 'vue';
3
- import { H as HaexVaultSdk } from '../client-aVZEMlwm.js';
3
+ import { H as HaexVaultSdk } from '../client-dpJHb3FP.js';
4
4
  import { A as ApplicationContext } from '../types-DmCSegdY.js';
5
5
  import 'drizzle-orm/sqlite-proxy';
6
6
 
@@ -316,7 +316,7 @@ var DatabaseAPI = class {
316
316
  }
317
317
  async transaction(statements) {
318
318
  await this.client.request(DATABASE_COMMANDS.transaction, {
319
- statements
319
+ statements: statements.map((s) => [s.sql, s.params || []])
320
320
  });
321
321
  }
322
322
  async createTable(tableName, columns) {