fix: add getNonce method to defs
This commit is contained in:
parent
01f9a2ee4c
commit
9b05e9d21e
|
@ -248,6 +248,14 @@ declare module '@solana/web3.js' {
|
||||||
dataLength: number,
|
dataLength: number,
|
||||||
commitment?: Commitment,
|
commitment?: Commitment,
|
||||||
): Promise<number>;
|
): Promise<number>;
|
||||||
|
getNonce(
|
||||||
|
nonceAccount: PublicKey,
|
||||||
|
commitment?: Commitment,
|
||||||
|
): Promise<NonceAccount>;
|
||||||
|
getNonceAndContext(
|
||||||
|
nonceAccount: PublicKey,
|
||||||
|
commitment?: Commitment,
|
||||||
|
): Promise<RpcResponseAndContext<NonceAccount>>;
|
||||||
}
|
}
|
||||||
|
|
||||||
// === src/nonce-account.js ===
|
// === src/nonce-account.js ===
|
||||||
|
|
|
@ -261,6 +261,14 @@ declare module '@solana/web3.js' {
|
||||||
dataLength: number,
|
dataLength: number,
|
||||||
commitment: ?Commitment,
|
commitment: ?Commitment,
|
||||||
): Promise<number>;
|
): Promise<number>;
|
||||||
|
getNonce(
|
||||||
|
nonceAccount: PublicKey,
|
||||||
|
commitment: ?Commitment,
|
||||||
|
): Promise<NonceAccount>;
|
||||||
|
getNonceAndContext(
|
||||||
|
nonceAccount: PublicKey,
|
||||||
|
commitment: ?Commitment,
|
||||||
|
): Promise<RpcResponseAndContext<NonceAccount>>;
|
||||||
}
|
}
|
||||||
|
|
||||||
// === src/nonce-account.js ===
|
// === src/nonce-account.js ===
|
||||||
|
|
Loading…
Reference in New Issue