@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/index.mjs
CHANGED
|
@@ -5,8 +5,8 @@ import { mnemonicToSeedSync, validateMnemonic, generateMnemonic } 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
|
import { useMemo, useState, useCallback, useEffect } from 'react';
|
|
11
11
|
|
|
12
12
|
var __defProp = Object.defineProperty;
|
|
@@ -1235,9 +1235,8 @@ var ZubariWdkService = class {
|
|
|
1235
1235
|
console.warn("Native WDK multi-chain derivation failed:", error);
|
|
1236
1236
|
}
|
|
1237
1237
|
}
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
);
|
|
1238
|
+
console.log("Using browser-compatible address derivation for all chains");
|
|
1239
|
+
return await this.deriveAllBrowserAddresses(seed);
|
|
1241
1240
|
}
|
|
1242
1241
|
/**
|
|
1243
1242
|
* Get balances for all chains
|