Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit 02924fe

Browse files
authored
Lock to web3.js 1.x for compatibility (#7419)
1 parent 008d39f commit 02924fe

File tree

7 files changed

+14
-14
lines changed

7 files changed

+14
-14
lines changed

Diff for: account-compression/sdk/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ For more information, see the full [Solana account compression SDK documentation
66
## Install
77

88
```shell
9-
npm install --save @solana/spl-account-compression @solana/web3.js
9+
npm install --save @solana/spl-account-compression @solana/web3.js@1
1010
```
1111

1212
__OR__
1313

1414
```shell
15-
yarn add @solana/spl-account-compression @solana/web3.js
15+
yarn add @solana/spl-account-compression @solana/web3.js@1
1616
```
1717

1818
## Information

Diff for: docs/src/account-compression/usage.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ title: Example usage of the TS SDK
77
## Install
88

99
```shell
10-
npm install --save @solana/spl-account-compression @solana/web3.js
10+
npm install --save @solana/spl-account-compression @solana/web3.js@1
1111
```
1212

1313
__OR__
1414

1515
```shell
16-
yarn add @solana/spl-account-compression @solana/web3.js
16+
yarn add @solana/spl-account-compression @solana/web3.js@1
1717
```
1818

1919
### Examples

Diff for: memo/js/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ A TypeScript library for interacting with the SPL Memo program.
1111
## Install
1212

1313
```shell
14-
npm install --save @solana/spl-memo @solana/web3.js
14+
npm install --save @solana/spl-memo @solana/web3.js@1
1515
```
1616
_OR_
1717
```shell
18-
yarn add @solana/spl-memo @solana/web3.js
18+
yarn add @solana/spl-memo @solana/web3.js@1
1919
```
2020

2121
## Build from Source

Diff for: token-group/js/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ If you've found a bug or you'd like to request a feature, please
2121
## Install
2222

2323
```shell
24-
npm install --save @solana/spl-token-group @solana/web3.js
24+
npm install --save @solana/spl-token-group @solana/web3.js@1
2525
```
2626
_OR_
2727
```shell
28-
yarn add @solana/spl-token-group @solana/web3.js
28+
yarn add @solana/spl-token-group @solana/web3.js@1
2929
```
3030

3131
## Build from Source

Diff for: token-lending/js/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ Install the library and its peer dependencies in your app:
88

99
### Yarn
1010
```shell
11-
yarn add @solana/spl-token-lending @solana/spl-token @solana/web3.js
11+
yarn add @solana/spl-token-lending @solana/spl-token @solana/web3.js@1
1212
```
1313

1414
### NPM
1515
```shell
16-
npm install @solana/spl-token-lending @solana/spl-token @solana/web3.js
16+
npm install @solana/spl-token-lending @solana/spl-token @solana/web3.js@1
1717
```
1818

1919
## Documentation

Diff for: token-metadata/js/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ If you've found a bug or you'd like to request a feature, please
2121
## Install
2222

2323
```shell
24-
npm install --save @solana/spl-token-metadata @solana/web3.js
24+
npm install --save @solana/spl-token-metadata @solana/web3.js@1
2525
```
2626
_OR_
2727
```shell
28-
yarn add @solana/spl-token-metadata @solana/web3.js
28+
yarn add @solana/spl-token-metadata @solana/web3.js@1
2929
```
3030

3131
## Build from Source

Diff for: token/js/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ Please see [upgrading from 0.1.x](#upgrading-from-01x).
3030
## Install
3131

3232
```shell
33-
npm install --save @solana/spl-token @solana/web3.js
33+
npm install --save @solana/spl-token @solana/web3.js@1
3434
```
3535
_OR_
3636
```shell
37-
yarn add @solana/spl-token @solana/web3.js
37+
yarn add @solana/spl-token @solana/web3.js@1
3838
```
3939

4040
## Build from Source

0 commit comments

Comments
 (0)