@swapkit/wallet-keystore 1.0.0-rc.122 → 1.0.0-rc.124
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 +3 -6
- package/dist/index.js.map +3 -3
- package/package.json +11 -11
- package/src/keystore.ts +2 -7
package/dist/index.js
CHANGED
|
@@ -18377,11 +18377,8 @@ var getWalletMethodsForChain = async ({
|
|
|
18377
18377
|
case Chain.Polkadot:
|
|
18378
18378
|
case Chain.Chainflip: {
|
|
18379
18379
|
const { Network, getToolboxByChain, createKeyring } = await import("@swapkit/toolbox-substrate");
|
|
18380
|
-
const
|
|
18381
|
-
const
|
|
18382
|
-
const toolbox = await getToolboxByChain(chain, {
|
|
18383
|
-
signer
|
|
18384
|
-
});
|
|
18380
|
+
const signer = await createKeyring(phrase, Network[chain].prefix);
|
|
18381
|
+
const toolbox = await getToolboxByChain(chain, { signer });
|
|
18385
18382
|
return { address: signer.address, walletMethods: toolbox };
|
|
18386
18383
|
}
|
|
18387
18384
|
default:
|
|
@@ -18397,4 +18394,4 @@ export {
|
|
|
18397
18394
|
decryptFromKeystore
|
|
18398
18395
|
};
|
|
18399
18396
|
|
|
18400
|
-
//# debugId=
|
|
18397
|
+
//# debugId=F80358E09AF15D5B64756e2164756e21
|