Commit 9d52902 1 parent f76e258 commit 9d52902 Copy full SHA for 9d52902
File tree 1 file changed +7
-2
lines changed
1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ export type WalletApi = {
4
4
getBalance : ( ) => Promise < string > ;
5
5
getUtxos : (
6
6
_amount ?: string ,
7
- _paginate ?: { page : number ; limit : number } ,
7
+ _paginate ?: { page : number ; limit : number }
8
8
) => Promise < string [ ] > ;
9
9
getCollateral : ( ) => Promise < string [ ] | null > ;
10
10
getUsedAddresses : ( ) => Promise < string [ ] > ;
@@ -15,12 +15,16 @@ export type WalletApi = {
15
15
getNetworkId : ( ) => Promise < number > ;
16
16
signData (
17
17
address : string ,
18
- payload : string ,
18
+ payload : string
19
19
) : Promise < { signature : string ; key : string } > ;
20
20
signTx : ( _tx : string , _partialSign ?: boolean ) => Promise < string > ;
21
21
signTxs ?: ( txs : string [ ] ) => Promise < string [ ] > ;
22
22
submitTx : ( _cbor : string ) => Promise < string > ;
23
+ // deno-lint-ignore no-explicit-any
23
24
experimental : any ;
25
+ cip103 ?: {
26
+ signTxs ?: ( txs : string [ ] ) => Promise < string [ ] > ;
27
+ } ;
24
28
} ;
25
29
26
30
export type Cardano = Omit < WalletApi , "experimental" > & {
@@ -35,6 +39,7 @@ export type Cardano = Omit<WalletApi, "experimental"> & {
35
39
isEnabled ( ) : Promise < boolean > ;
36
40
onAccountChange ?: ( cb : ( newAddresses ?: string [ ] ) => void ) => void ;
37
41
onNetworkChange ?: ( cb : ( newNetwork ?: string ) => void ) => void ;
42
+ // deno-lint-ignore no-explicit-any
38
43
experimental : any ;
39
44
} ;
40
45
} ;
You can’t perform that action at this time.
0 commit comments