diff --git a/web3.js/module.d.ts b/web3.js/module.d.ts index 0cf723d957..73b69387e8 100644 --- a/web3.js/module.d.ts +++ b/web3.js/module.d.ts @@ -66,7 +66,7 @@ declare module '@solana/web3.js' { }; export type ContactInfo = { - id: string; + pubkey: string; gossip: string; tpu?: string; rpc?: string; diff --git a/web3.js/module.flow.js b/web3.js/module.flow.js index 5802efb869..32c5cb4769 100644 --- a/web3.js/module.flow.js +++ b/web3.js/module.flow.js @@ -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,