fix: rename ContactInfo id attribute to pubkey

This commit is contained in:
Justin Starry 2020-02-12 16:20:13 +08:00 committed by Michael Vines
parent b3aa9fda87
commit 60045eae99
2 changed files with 2 additions and 2 deletions

2
web3.js/module.d.ts vendored
View File

@ -66,7 +66,7 @@ declare module '@solana/web3.js' {
};
export type ContactInfo = {
id: string;
pubkey: string;
gossip: string;
tpu?: string;
rpc?: string;

View File

@ -79,7 +79,7 @@ declare module '@solana/web3.js' {
};
declare export type ContactInfo = {
id: string,
pubkey: string,
gossip: string,
tpu: string | null,
rpc: string | null,