Skip to content

Commit

Permalink
Lock web3.js to 1.x for compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
steveluscher authored Oct 30, 2024
1 parent 3ca5cc8 commit 0a702fb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docs/src/core/transaction-request/MERCHANT_INTEGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ Install Solana Pay libraries to access the API from your application:
**npm**

```shell
npm install @solana/pay @solana/web3.js bignumber.js @solana/spl-token --save
npm install @solana/pay @solana/web3.js@1 bignumber.js @solana/spl-token --save
```

**yarn**

```shell
yarn add @solana/pay @solana/web3.js bignumber.js @solana/spl-token
yarn add @solana/pay @solana/web3.js@1 bignumber.js @solana/spl-token
```

### 1. Create the handler
Expand Down
4 changes: 2 additions & 2 deletions docs/src/core/transfer-request/MERCHANT_INTEGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ Install the packages and import them in your code.
**npm**

```shell
npm install @solana/pay @solana/web3.js bignumber.js --save
npm install @solana/pay @solana/web3.js@1 bignumber.js --save
```

**yarn**

```shell
yarn add @solana/pay @solana/web3.js bignumber.js
yarn add @solana/pay @solana/web3.js@1 bignumber.js
```

### 1.1 Import necessary modules
Expand Down
4 changes: 2 additions & 2 deletions docs/src/core/transfer-request/WALLET_INTEGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ Install the packages and import them in your code.
**npm**

```shell=
npm install @solana/pay @solana/web3.js --save
npm install @solana/pay @solana/web3.js@1 --save
```

**yarn**

```shell=
yarn add @solana/pay @solana/web3.js
yarn add @solana/pay @solana/web3.js@1
```

## 2. Parse payment request link
Expand Down

0 comments on commit 0a702fb

Please sign in to comment.