@openocean.finance/wallet 0.2.6 → 0.3.0
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/lib/Wallets/KeplrWallet.d.ts +15 -0
- package/lib/index.d.ts +2 -1
- package/lib/index.js +1 -1
- package/lib/index.js.LICENSE.txt +2 -0
- package/lib/types.d.ts +7 -3
- package/package.json +6 -1
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { EnumChains, EnumWalletName, EnumWalletType } from "../types";
|
|
2
|
+
import BaseWallet from "./BaseWallet";
|
|
3
|
+
declare class KeplrWallet extends BaseWallet {
|
|
4
|
+
name: EnumWalletName;
|
|
5
|
+
icon: any;
|
|
6
|
+
supportChains: EnumChains[];
|
|
7
|
+
type: EnumWalletType;
|
|
8
|
+
sdk: any;
|
|
9
|
+
/**
|
|
10
|
+
* connect metamask and get wallet address
|
|
11
|
+
* @param chainId specific chainId,throw error when not match
|
|
12
|
+
*/
|
|
13
|
+
requestCosmosConnect(customRegistry: any, customAminoTypes: any, endpoint: string, apiUrl: string, chainId?: string): Promise<string>;
|
|
14
|
+
}
|
|
15
|
+
export default KeplrWallet;
|
package/lib/index.d.ts
CHANGED
|
@@ -29,6 +29,7 @@ import XDEFIWallet from "./Wallets/XDEFIWallet";
|
|
|
29
29
|
import SlopeWallet from "./Wallets/SlopeWallet";
|
|
30
30
|
import SolflareWallet from "./Wallets/SolflareWallet";
|
|
31
31
|
import MetaXWallet from "./Wallets/MetaXWallet";
|
|
32
|
+
import KeplrWallet from "./Wallets/KeplrWallet";
|
|
32
33
|
import { EnumChains } from "./types";
|
|
33
34
|
export default WalletManager;
|
|
34
|
-
export { WalletManager, MetaMask, BscWallet, Cyano, TronLink, EnumChains, Sollet, SolletIo, OntoMobile, WalletConnect, MathWallet, OntoWallet, SafePalWallet, ImTokenWallet, TokenPocket, TrustWallet, Coin98, Phantom, OKExWallet, TerraStation, CoinbaseWallet, CloverWallet, XDEFIWallet, SlopeWallet, SolflareWallet, MetaXWallet };
|
|
35
|
+
export { WalletManager, MetaMask, BscWallet, Cyano, TronLink, EnumChains, Sollet, SolletIo, OntoMobile, WalletConnect, MathWallet, OntoWallet, SafePalWallet, ImTokenWallet, TokenPocket, TrustWallet, Coin98, Phantom, OKExWallet, TerraStation, CoinbaseWallet, CloverWallet, XDEFIWallet, SlopeWallet, SolflareWallet, MetaXWallet, KeplrWallet };
|