Skip to content

Commit 9187ce3

Browse files
committed
More updates
1 parent 48d271e commit 9187ce3

File tree

3 files changed

+11
-8
lines changed

3 files changed

+11
-8
lines changed

develop/toolkit/api-libraries/papi.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,17 @@ To instantiate the API, you can install the package by using the following comma
1919

2020
=== "npm"
2121
```bash
22-
npm i polkadot-api
22+
npm i polkadot-api@{{dependencies.javascript_packages.polkadot_api.version}}
2323
```
2424

2525
=== "pnpm"
2626
```bash
27-
pnpm add polkadot-api
27+
pnpm add polkadot-api@{{dependencies.javascript_packages.polkadot_api.version}}
2828
```
2929

3030
=== "yarn"
3131
```bash
32-
yarn add polkadot-api
32+
yarn add polkadot-api@{{dependencies.javascript_packages.polkadot_api.version}}
3333
```
3434

3535
Then, obtain the latest metadata from the target chain and generate the necessary types:

llms.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7129,17 +7129,17 @@ To instantiate the API, you can install the package by using the following comma
71297129

71307130
=== "npm"
71317131
```bash
7132-
npm i polkadot-api
7132+
npm i polkadot-api@{{dependencies.javascript_packages.polkadot_api.version}}
71337133
```
71347134

71357135
=== "pnpm"
71367136
```bash
7137-
pnpm add polkadot-api
7137+
pnpm add polkadot-api@{{dependencies.javascript_packages.polkadot_api.version}}
71387138
```
71397139

71407140
=== "yarn"
71417141
```bash
7142-
yarn add polkadot-api
7142+
yarn add polkadot-api@{{dependencies.javascript_packages.polkadot_api.version}}
71437143
```
71447144

71457145
Then, obtain the latest metadata from the target chain and generate the necessary types:

variables.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ dependencies:
1616
version: v15.0.2
1717
srtool:
1818
repository_url: https://github.com/paritytech/srtool
19-
version: v0.17.0
19+
version: v0.18.2
2020
docker_image_name: paritytech/srtool
21-
docker_image_version: 1.81.0
21+
docker_image_version: 1.84.1
2222
polkadot_sdk:
2323
repository_url: https://github.com/paritytech/polkadot-sdk
2424
version: polkadot-stable2412
@@ -56,4 +56,7 @@ dependencies:
5656
polkadot_js_api:
5757
name: '@polkadot/api'
5858
version: 15.9.1
59+
polkadot_api:
60+
name: polkadot-api
61+
version: 1.9.9
5962
# python_packages:

0 commit comments

Comments
 (0)