From 7c48743669785e9cd48ad2b1b1a7b1a11ac7dd37 Mon Sep 17 00:00:00 2001 From: Trent Nelson Date: Wed, 20 Jan 2021 20:07:19 -0700 Subject: [PATCH] fix(web3): align doc comments with class field names --- web3.js/src/system-program.js | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/web3.js/src/system-program.js b/web3.js/src/system-program.js index cf20a27ac9..b0515320bb 100644 --- a/web3.js/src/system-program.js +++ b/web3.js/src/system-program.js @@ -108,8 +108,8 @@ export type CreateNonceAccountWithSeedParams = {| /** * Initialize nonce account system instruction params * @typedef {Object} InitializeNonceParams - * @property {PublicKey} fromPubkey - * @property {PublicKey} programId + * @property {PublicKey} noncePubkey + * @property {PublicKey} authorizedPubkey */ export type InitializeNonceParams = {| noncePubkey: PublicKey, @@ -119,8 +119,8 @@ export type InitializeNonceParams = {| /** * Advance nonce account system instruction params * @typedef {Object} AdvanceNonceParams - * @property {PublicKey} fromPubkey - * @property {PublicKey} programId + * @property {PublicKey} noncePubkey + * @property {PublicKey} authorizedPubkey */ export type AdvanceNonceParams = {| noncePubkey: PublicKey, @@ -201,8 +201,10 @@ export type AssignWithSeedParams = {| /** * Transfer with seed system transaction params * @typedef {Object} TransferWithSeedParams - * @property {PublicKey} accountPubkey + * @property {PublicKey} fromPubkey * @property {PublicKey} basePubkey + * @property {PublicKey} toPubkey + * @property {number} lamports * @property {string} seed * @property {PublicKey} programId */