@zubari/sdk 0.1.15 → 0.1.17

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.
@@ -5,8 +5,8 @@ import { generateMnemonic, validateMnemonic, mnemonicToSeedSync } from '@scure/b
5
5
  import { wordlist } from '@scure/bip39/wordlists/english.js';
6
6
  import { HDKey } from '@scure/bip32';
7
7
  import { bech32, base58check } from '@scure/base';
8
- import { sha256 } from '@noble/hashes/sha2';
9
- import { ripemd160 } from '@noble/hashes/legacy';
8
+ import { sha256 } from '@noble/hashes/sha2.js';
9
+ import { ripemd160 } from '@noble/hashes/legacy.js';
10
10
 
11
11
  // src/config/networks.ts
12
12
  var NETWORKS = {
@@ -1189,9 +1189,8 @@ var ZubariWdkService = class {
1189
1189
  console.warn("Native WDK multi-chain derivation failed:", error);
1190
1190
  }
1191
1191
  }
1192
- throw new Error(
1193
- "WDK API required for multi-chain address derivation. Ensure the backend is running."
1194
- );
1192
+ console.log("Using browser-compatible address derivation for all chains");
1193
+ return await this.deriveAllBrowserAddresses(seed);
1195
1194
  }
1196
1195
  /**
1197
1196
  * Get balances for all chains