From 7184fd79f6f0e96903fe41b3eeea40327dfcb76b Mon Sep 17 00:00:00 2001 From: Justin Starry Date: Sun, 29 Mar 2020 22:01:01 +0800 Subject: [PATCH] chore: fix broken doc links --- web3.js/README.md | 2 +- web3.js/src/connection.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/web3.js/README.md b/web3.js/README.md index b84b729315..3c0c966806 100644 --- a/web3.js/README.md +++ b/web3.js/README.md @@ -30,7 +30,7 @@ # Solana JavaScript API -This is the Solana Javascript API built on the Solana [JSON RPC API](https://docs.solana.com/book/api-reference/jsonrpc-api) +This is the Solana Javascript API built on the Solana [JSON RPC API](https://docs.solana.com/apps/jsonrpc-api) [Latest API Documentation](https://solana-labs.github.io/solana-web3.js/) diff --git a/web3.js/src/connection.js b/web3.js/src/connection.js index 65b2830bac..119153cb3c 100644 --- a/web3.js/src/connection.js +++ b/web3.js/src/connection.js @@ -148,7 +148,7 @@ type VoteAccountStatus = { /** * Network Inflation parameters - * (see https://docs.solana.com/book/v/master/implemented-proposals/ed_overview) + * (see https://docs.solana.com/implemented-proposals/ed_overview) * * @typedef {Object} Inflation * @property {number} foundation @@ -169,7 +169,7 @@ const GetInflationResult = struct({ /** * EpochInfo parameters - * (see https://docs.solana.com/book/v/master/terminology#epoch) + * (see https://docs.solana.com/terminology#epoch) * * @typedef {Object} EpochInfo * @property {number} epoch @@ -186,7 +186,7 @@ const GetEpochInfoResult = struct({ /** * EpochSchedule parameters - * (see https://docs.solana.com/book/v/master/terminology#epoch) + * (see https://docs.solana.com/terminology#epoch) * * @typedef {Object} EpochSchedule * @property {number} slots_per_epoch