@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.
- package/dist/index.js +8 -9
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -5
- package/dist/index.mjs.map +1 -1
- package/dist/react/index.js +8 -9
- package/dist/react/index.js.map +1 -1
- package/dist/react/index.mjs +4 -5
- package/dist/react/index.mjs.map +1 -1
- package/dist/services/index.js +8 -9
- package/dist/services/index.js.map +1 -1
- package/dist/services/index.mjs +4 -5
- package/dist/services/index.mjs.map +1 -1
- package/dist/wallet/index.js +8 -9
- package/dist/wallet/index.js.map +1 -1
- package/dist/wallet/index.mjs +4 -5
- package/dist/wallet/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/wallet/index.mjs
CHANGED
|
@@ -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
|
-
|
|
1193
|
-
|
|
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
|