From 5787ac813fcbdeb511de6403a91708b12b917309 Mon Sep 17 00:00:00 2001 From: imprfekt <5047969+imprfekt@users.noreply.github.com> Date: Fri, 28 May 2021 08:53:26 +0200 Subject: [PATCH] chore: update instructions for web3.js (#17422) * Update instructions for web3.js Removed broken link, updated instructions to get latest version for browser bundle. 2 pedantic changes. * chore: update module.flow.js link Co-authored-by: Justin Starry --- web3.js/README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/web3.js/README.md b/web3.js/README.md index dae2413b56..531aae9d6a 100644 --- a/web3.js/README.md +++ b/web3.js/README.md @@ -41,10 +41,10 @@ $ npm install --save @solana/web3.js ### Browser bundle ```html - + - + ``` ## Development Environment Setup @@ -82,8 +82,8 @@ console.log(solanaWeb3); ## Flow A [Flow library definition](https://flow.org/en/docs/libdefs/) is provided at -[module.flow.js](https://github.com/solana-labs/solana-web3.js/tree/master/module.flow.js). -Add the following line under the [libs] section of your project's .flowconfig to +https://unpkg.com/@solana/web3.js@latest/module.flow.js. +Download the file and add the following line under the [libs] section of your project's `.flowconfig` to activate it: ```ini [libs] @@ -96,4 +96,4 @@ and [npmjs.com](https://www.npmjs.com/package/@solana/web3.js) Each Github release features a tarball containing API documentation and a minified version of the module suitable for direct use in a browser environment -(<script> tag) +(`