@swapkit/wallet-keystore 1.0.0-rc.114 → 1.0.0-rc.116
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 +9 -12
- package/dist/index.js.map +3 -3
- package/package.json +13 -15
- package/src/keystore.ts +10 -12
package/dist/index.js
CHANGED
|
@@ -18209,8 +18209,12 @@ var decryptFromKeystore = async (keystore, password) => {
|
|
|
18209
18209
|
}
|
|
18210
18210
|
};
|
|
18211
18211
|
// src/keystore.ts
|
|
18212
|
-
import {
|
|
18213
|
-
|
|
18212
|
+
import {
|
|
18213
|
+
Chain,
|
|
18214
|
+
DerivationPath,
|
|
18215
|
+
WalletOption,
|
|
18216
|
+
setRequestClientConfig
|
|
18217
|
+
} from "@swapkit/helpers";
|
|
18214
18218
|
var getWalletMethodsForChain = async ({
|
|
18215
18219
|
api,
|
|
18216
18220
|
rpcUrl,
|
|
@@ -18356,14 +18360,7 @@ var connectKeystore = ({
|
|
|
18356
18360
|
addChain,
|
|
18357
18361
|
apis,
|
|
18358
18362
|
rpcUrls,
|
|
18359
|
-
config: {
|
|
18360
|
-
thorswapApiKey,
|
|
18361
|
-
covalentApiKey,
|
|
18362
|
-
ethplorerApiKey,
|
|
18363
|
-
blockchairApiKey,
|
|
18364
|
-
utxoApiKey,
|
|
18365
|
-
stagenet
|
|
18366
|
-
}
|
|
18363
|
+
config: { thorswapApiKey, covalentApiKey, ethplorerApiKey, blockchairApiKey, stagenet }
|
|
18367
18364
|
}) => async (chains, phrase, index = 0) => {
|
|
18368
18365
|
setRequestClientConfig({ apiKey: thorswapApiKey });
|
|
18369
18366
|
const promises = chains.map(async (chain) => {
|
|
@@ -18375,7 +18372,7 @@ var connectKeystore = ({
|
|
|
18375
18372
|
covalentApiKey,
|
|
18376
18373
|
ethplorerApiKey,
|
|
18377
18374
|
phrase,
|
|
18378
|
-
blockchairApiKey
|
|
18375
|
+
blockchairApiKey,
|
|
18379
18376
|
stagenet
|
|
18380
18377
|
});
|
|
18381
18378
|
addChain({
|
|
@@ -18400,4 +18397,4 @@ export {
|
|
|
18400
18397
|
decryptFromKeystore
|
|
18401
18398
|
};
|
|
18402
18399
|
|
|
18403
|
-
//# debugId=
|
|
18400
|
+
//# debugId=4A5E768D4D22F51A64756e2164756e21
|