@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.
package/dist/react.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { H as HaexVaultSdk, S as StorageAPI } from './client-CbLlchAC.mjs';
1
+ import { H as HaexVaultSdk, S as StorageAPI } from './client-BXtzUBWv.mjs';
2
2
  import * as drizzle_orm_sqlite_proxy from 'drizzle-orm/sqlite-proxy';
3
3
  import { H as HaexHubConfig, a as ExtensionInfo, A as ApplicationContext } from './types-DmCSegdY.mjs';
4
4
 
package/dist/react.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { H as HaexVaultSdk, S as StorageAPI } from './client-aVZEMlwm.js';
1
+ import { H as HaexVaultSdk, S as StorageAPI } from './client-dpJHb3FP.js';
2
2
  import * as drizzle_orm_sqlite_proxy from 'drizzle-orm/sqlite-proxy';
3
3
  import { H as HaexHubConfig, a as ExtensionInfo, A as ApplicationContext } from './types-DmCSegdY.js';
4
4
 
package/dist/react.js CHANGED
@@ -682,7 +682,7 @@ var DatabaseAPI = class {
682
682
  }
683
683
  async transaction(statements) {
684
684
  await this.client.request(DATABASE_COMMANDS.transaction, {
685
- statements
685
+ statements: statements.map((s) => [s.sql, s.params || []])
686
686
  });
687
687
  }
688
688
  async createTable(tableName, columns) {