@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.
@@ -6,8 +6,8 @@ import { generateMnemonic, validateMnemonic, mnemonicToSeedSync } from '@scure/b
6
6
  import { wordlist } from '@scure/bip39/wordlists/english.js';
7
7
  import { HDKey } from '@scure/bip32';
8
8
  import { bech32, base58check } from '@scure/base';
9
- import { sha256 } from '@noble/hashes/sha2';
10
- import { ripemd160 } from '@noble/hashes/legacy';
9
+ import { sha256 } from '@noble/hashes/sha2.js';
10
+ import { ripemd160 } from '@noble/hashes/legacy.js';
11
11
 
12
12
  // src/react/useWalletManager.ts
13
13
 
@@ -891,9 +891,8 @@ var ZubariWdkService = class {
891
891
  console.warn("Native WDK multi-chain derivation failed:", error);
892
892
  }
893
893
  }
894
- throw new Error(
895
- "WDK API required for multi-chain address derivation. Ensure the backend is running."
896
- );
894
+ console.log("Using browser-compatible address derivation for all chains");
895
+ return await this.deriveAllBrowserAddresses(seed);
897
896
  }
898
897
  /**
899
898
  * Get balances for all chains