From c02fcda6772947377fc2f50fd4dc32ed9e2c6132 Mon Sep 17 00:00:00 2001 From: Steven Luscher Date: Wed, 30 Oct 2024 15:06:55 -0700 Subject: [PATCH] Lock to @solana/web3.js 1.x for compatibility --- _content/coding/sending-sols-through-browser-javascript.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_content/coding/sending-sols-through-browser-javascript.md b/_content/coding/sending-sols-through-browser-javascript.md index 007ff89..dec1f9e 100644 --- a/_content/coding/sending-sols-through-browser-javascript.md +++ b/_content/coding/sending-sols-through-browser-javascript.md @@ -12,13 +12,13 @@ Now that we have figured out how to connect the wallet to our website. Let's see Prerequisites: ```javascript -yarn add @solana/web3.js +yarn add @solana/web3.js@1 ``` OR ```javascript -npm i @solana/web3.js +npm i @solana/web3.js@1 ``` Let's import some constructors from this module: