@openocean.finance/wallet 0.1.1 → 0.1.2
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/Coin98.d.ts +7 -3
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/lib/Wallets/Coin98.d.ts
CHANGED
|
@@ -1,16 +1,20 @@
|
|
|
1
1
|
import { EnumChains, EnumWalletName, EnumWalletType } from "../types";
|
|
2
2
|
import BaseWallet from "./BaseWallet";
|
|
3
|
-
import Web3 from 'web3';
|
|
4
3
|
declare class Coin98 extends BaseWallet {
|
|
5
4
|
name: EnumWalletName;
|
|
6
5
|
icon: any;
|
|
7
6
|
supportChains: EnumChains[];
|
|
8
7
|
type: EnumWalletType;
|
|
9
|
-
sdk:
|
|
8
|
+
sdk: any | null;
|
|
10
9
|
/**
|
|
11
10
|
* connect TrustWallet and get wallet address
|
|
12
11
|
* @param chainId specific chainId,throw error when not match
|
|
13
12
|
*/
|
|
14
|
-
requestConnect(chainId?: number): Promise<
|
|
13
|
+
requestConnect(chainId?: number): Promise<any>;
|
|
14
|
+
/**
|
|
15
|
+
* connect TrustWallet and get wallet address
|
|
16
|
+
* @param chainId specific chainId,throw error when not match
|
|
17
|
+
*/
|
|
18
|
+
requestSolanaConnect(): Promise<string | undefined>;
|
|
15
19
|
}
|
|
16
20
|
export default Coin98;
|