From 58f8b432c12687b6a15edae3e2b0f2d79bd79fa5 Mon Sep 17 00:00:00 2001 From: Steven Luscher Date: Wed, 30 Oct 2024 15:20:57 -0700 Subject: [PATCH] Lock to @solana/web3.js 1.x for compatibility --- getting-started-expressjs/README.md | 2 +- getting-started-nextjs/README.md | 2 +- getting-started-react-cra4/README.md | 2 +- getting-started-react-cra5/README.md | 2 +- getting-started-react-esbuild/README.md | 2 +- getting-started-vite/README.md | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/getting-started-expressjs/README.md b/getting-started-expressjs/README.md index 94a029a79..dbdd1cf1d 100644 --- a/getting-started-expressjs/README.md +++ b/getting-started-expressjs/README.md @@ -16,7 +16,7 @@ The Express.js app contains one route that accepts a mint address and returns th 2. **Install the Metaplex and Solana SDKs.** ```sh - npm install @metaplex-foundation/js @solana/web3.js + npm install @metaplex-foundation/js @solana/web3.js@1 ``` 3. **Create your index file.** diff --git a/getting-started-nextjs/README.md b/getting-started-nextjs/README.md index c7945673d..ade045184 100644 --- a/getting-started-nextjs/README.md +++ b/getting-started-nextjs/README.md @@ -14,7 +14,7 @@ This example has been generated using the following steps: 2. **Install the Metaplex and the Solana SDKs.** ```sh - yarn add @metaplex-foundation/js @solana/web3.js + yarn add @metaplex-foundation/js @solana/web3.js@1 ``` 3. **That's it!** 🎉 diff --git a/getting-started-react-cra4/README.md b/getting-started-react-cra4/README.md index c3215a00b..afc53abfa 100644 --- a/getting-started-react-cra4/README.md +++ b/getting-started-react-cra4/README.md @@ -14,7 +14,7 @@ This example has been generated using the following steps: 2. **Install the Metaplex and the Solana SDKs.** ```sh - npm install @metaplex-foundation/js-next @solana/web3.js + npm install @metaplex-foundation/js-next @solana/web3.js@1 ``` 3. **Install and use `react-app-rewired`**. diff --git a/getting-started-react-cra5/README.md b/getting-started-react-cra5/README.md index f7a6a0b5e..51ec5b419 100644 --- a/getting-started-react-cra5/README.md +++ b/getting-started-react-cra5/README.md @@ -14,7 +14,7 @@ This example has been generated using the following steps: 2. **Install the Metaplex and the Solana SDKs.** ```sh - npm install @metaplex-foundation/js @solana/web3.js + npm install @metaplex-foundation/js @solana/web3.js@1 ``` 3. **Install some polyfills.** diff --git a/getting-started-react-esbuild/README.md b/getting-started-react-esbuild/README.md index 6331e8851..5cee25f8d 100644 --- a/getting-started-react-esbuild/README.md +++ b/getting-started-react-esbuild/README.md @@ -31,7 +31,7 @@ This example has been generated using the following steps: 2. **Install React, EsBuild and the Metaplex SDK.** ```sh - npm install react react-dom esbuild @metaplex-foundation/js @solana/web3.js + npm install @metaplex-foundation/js @solana/web3.js@1 ``` 3. **Install some polyfills.** diff --git a/getting-started-vite/README.md b/getting-started-vite/README.md index d60d7a2cc..621149c76 100644 --- a/getting-started-vite/README.md +++ b/getting-started-vite/README.md @@ -17,7 +17,7 @@ This example has been generated using the following steps: 2. **Install the Metaplex and the Solana SDKs.** ```sh - npm install @metaplex-foundation/js @solana/web3.js + npm install @metaplex-foundation/js @solana/web3.js@1 ``` 3. **Install some polyfills.**