Skip to content

Commit ae90f82

Browse files
committed
wip: update variables
1 parent ca9244f commit ae90f82

File tree

5 files changed

+36
-35
lines changed

5 files changed

+36
-35
lines changed

.snippets/code/develop/toolkit/interoperability/asset-transfer-api/reference/tx-result.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,6 @@ A promise containing the result of constructing the transaction.
133133

134134
The `ConstructedFormat` type is a conditional type that returns a specific type based on the value of the TxResult `format` field.
135135

136-
- **Payload format** - if the format field is set to `'payload'`, the `ConstructedFormat` type will return a [`GenericExtrinsicPayload`](https://github.com/polkadot-js/api/blob/{{ dependencies.repositories.polkadot_js_api.version}}/packages/types/src/extrinsic/ExtrinsicPayload.ts#L83){target=\_blank}
136+
- **Payload format** - if the format field is set to `'payload'`, the `ConstructedFormat` type will return a [`GenericExtrinsicPayload`](https://github.com/polkadot-js/api/blob/v15.8.1/packages/types/src/extrinsic/ExtrinsicPayload.ts#L87){target=\_blank}
137137
- **Call format** - if the format field is set to `'call'`, the `ConstructedFormat` type will return a hexadecimal string (`0x${string}`). This is the encoded representation of the extrinsic call
138-
- **Submittable format** - if the format field is set to `'submittable'`, the `ConstructedFormat` type will return a [`SubmittableExtrinsic`](https://github.com/polkadot-js/api/blob/{{ dependencies.repositories.polkadot_js_api.version}}/packages/api-base/src/types/submittable.ts#L56){target=\_blank}. This is a Polkadot.js type that represents a transaction that can be submitted to the blockchain
138+
- **Submittable format** - if the format field is set to `'submittable'`, the `ConstructedFormat` type will return a [`SubmittableExtrinsic`](https://github.com/polkadot-js/api/blob/v15.8.1/packages/api-base/src/types/submittable.ts#L56){target=\_blank}. This is a Polkadot.js type that represents a transaction that can be submitted to the blockchain

develop/toolkit/api-libraries/polkadot-js-api.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,21 +38,21 @@ The available methods and interfaces will automatically reflect what's possible
3838

3939
## Installation
4040

41-
To add the Polkadot.js API to your project, use the following command to install the latest stable release which supports any Polkadot SDK-based chain:
41+
To add the Polkadot.js API to your project, use the following command to install the version `{{ dependencies.javascript_packages.polkadot_js_api.version }}` which supports any Polkadot SDK-based chain:
4242

4343
=== "npm"
4444
```bash
45-
npm i @polkadot/api
45+
npm i @polkadot/api@{{ dependencies.javascript_packages.polkadot_js_api.version }}
4646
```
4747

4848
=== "pnpm"
4949
```bash
50-
pnpm add @polkadot/api
50+
pnpm add @polkadot/api@{{ dependencies.javascript_packages.polkadot_js_api.version }}
5151
```
5252

5353
=== "yarn"
5454
```bash
55-
yarn add @polkadot/api
55+
yarn add @polkadot/api@{{ dependencies.javascript_packages.polkadot_js_api.version }}
5656
```
5757

5858
For more detailed information about installation, see the [Installation](https://polkadot.js.org/docs/api/start/install/){target=\_blank} section in the official Polkadot.js API documentation.

develop/toolkit/interoperability/asset-transfer-api/reference.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ description: Explore the Asset Transfer API Reference for comprehensive details
3232

3333
Holds open an API connection to a specified chain within the `ApiPromise` to help construct transactions for assets and estimate fees.
3434

35-
For a more in-depth explanation of the Asset Transfer API class structure, check the [source code](https://github.com/paritytech/asset-transfer-api/blob/{{dependencies.repositories.asset_transfer_api.version}}/src/AssetTransferApi.ts#L121){target=\_blank}.
35+
For a more in-depth explanation of the Asset Transfer API class structure, check the [source code](https://github.com/paritytech/asset-transfer-api/blob/{{dependencies.repositories.asset_transfer_api.version}}/src/AssetTransferApi.ts#L123){target=\_blank}.
3636

3737
### Methods
3838

@@ -43,7 +43,7 @@ Generates an XCM transaction for transferring assets between chains. It simplifi
4343
After obtaining the transaction, you must handle the signing and submission process separately.
4444

4545
```ts
46-
--8<-- 'https://raw.githubusercontent.com/paritytech/asset-transfer-api/refs/tags/{{dependencies.repositories.asset_transfer_api.version}}/src/AssetTransferApi.ts:184:190'
46+
--8<-- 'https://raw.githubusercontent.com/paritytech/asset-transfer-api/refs/tags/{{dependencies.repositories.asset_transfer_api.version}}/src/AssetTransferApi.ts:186:192'
4747
```
4848

4949
??? interface "Request parameters"
@@ -102,7 +102,7 @@ Creates a local XCM transaction to retrieve trapped assets. This function can be
102102

103103

104104
```ts
105-
--8<-- 'https://raw.githubusercontent.com/paritytech/asset-transfer-api/refs/tags/{{dependencies.repositories.asset_transfer_api.version}}/src/AssetTransferApi.ts:368:373'
105+
--8<-- 'https://raw.githubusercontent.com/paritytech/asset-transfer-api/refs/tags/{{dependencies.repositories.asset_transfer_api.version}}/src/AssetTransferApi.ts:370:375'
106106
```
107107

108108
??? interface "Request parameters"
@@ -153,7 +153,7 @@ Creates a local XCM transaction to retrieve trapped assets. This function can be
153153
Decodes the hex of an extrinsic into a string readable format.
154154

155155
```ts
156-
--8<-- 'https://raw.githubusercontent.com/paritytech/asset-transfer-api/refs/tags/{{dependencies.repositories.asset_transfer_api.version}}/src/AssetTransferApi.ts:529:529'
156+
--8<-- 'https://raw.githubusercontent.com/paritytech/asset-transfer-api/refs/tags/{{dependencies.repositories.asset_transfer_api.version}}/src/AssetTransferApi.ts:531:531'
157157
```
158158

159159
??? interface "Request parameters"
@@ -197,7 +197,7 @@ Decodes the hex of an extrinsic into a string readable format.
197197
Fetch estimated fee information for an extrinsic.
198198

199199
```ts
200-
--8<-- 'https://raw.githubusercontent.com/paritytech/asset-transfer-api/refs/tags/{{dependencies.repositories.asset_transfer_api.version}}/src/AssetTransferApi.ts:444:447'
200+
--8<-- 'https://raw.githubusercontent.com/paritytech/asset-transfer-api/refs/tags/{{dependencies.repositories.asset_transfer_api.version}}/src/AssetTransferApi.ts:446:449'
201201
```
202202

203203
??? interface "Request parameters"
@@ -214,9 +214,9 @@ Fetch estimated fee information for an extrinsic.
214214

215215
The `ConstructedFormat` type is a conditional type that returns a specific type based on the value of the TxResult `format` field.
216216

217-
- **Payload format** - if the format field is set to `'payload'`, the `ConstructedFormat` type will return a [`GenericExtrinsicPayload`](https://github.com/polkadot-js/api/blob/{{ dependencies.repositories.polkadot_js_api.version}}/packages/types/src/extrinsic/ExtrinsicPayload.ts#L83){target=\_blank}
217+
- **Payload format** - if the format field is set to `'payload'`, the `ConstructedFormat` type will return a [`GenericExtrinsicPayload`](https://github.com/polkadot-js/api/blob/{{ dependencies.javascript_packages.asset_transfer_api.polkadot_js_api_version}}/packages/types/src/extrinsic/ExtrinsicPayload.ts#L87){target=\_blank}
218218
- Call format - if the format field is set to `'call'`, the `ConstructedFormat` type will return a hexadecimal string (`0x${string}`). This is the encoded representation of the extrinsic call
219-
- **Submittable format** - if the format field is set to `'submittable'`, the `ConstructedFormat` type will return a [`SubmittableExtrinsic`](https://github.com/polkadot-js/api/blob/{{ dependencies.repositories.polkadot_js_api.version}}/packages/api-base/src/types/submittable.ts#L56){target=\_blank}. This is a Polkadot.js type that represents a transaction that can be submitted to the blockchain
219+
- **Submittable format** - if the format field is set to `'submittable'`, the `ConstructedFormat` type will return a [`SubmittableExtrinsic`](https://github.com/polkadot-js/api/blob/{{dependencies.javascript_packages.asset_transfer_api.polkadot_js_api_version}}/packages/api-base/src/types/submittable.ts#L56){target=\_blank}. This is a Polkadot.js type that represents a transaction that can be submitted to the blockchain
220220

221221
---
222222

@@ -246,7 +246,7 @@ Fetch estimated fee information for an extrinsic.
246246
}
247247
```
248248

249-
For more information on the underlying types and fields of `RuntimeDispatchInfo`, check the [`RuntimeDispatchInfo`](https://github.com/polkadot-js/api/blob/{{ dependencies.repositories.polkadot_js_api.version}}/packages/types/src/interfaces/payment/types.ts#L21){target=\_blank} source code.
249+
For more information on the underlying types and fields of `RuntimeDispatchInfo`, check the [`RuntimeDispatchInfo`](https://github.com/polkadot-js/api/blob/{{ dependencies.javascript_packages.asset_transfer_api.polkadot_js_api_version}}/packages/types/src/interfaces/payment/types.ts#L21){target=\_blank} source code.
250250

251251

252252
??? child "Type `RuntimeDispatchInfoV1`"
@@ -259,7 +259,7 @@ Fetch estimated fee information for an extrinsic.
259259
}
260260
```
261261

262-
For more information on the underlying types and fields of `RuntimeDispatchInfoV1`, check the [`RuntimeDispatchInfoV1`](https://github.com/polkadot-js/api/blob/{{ dependencies.repositories.polkadot_js_api.version}}/packages/types/src/interfaces/payment/types.ts#L28){target=\_blank} source code.
262+
For more information on the underlying types and fields of `RuntimeDispatchInfoV1`, check the [`RuntimeDispatchInfoV1`](https://github.com/polkadot-js/api/blob/{{dependencies.javascript_packages.asset_transfer_api.polkadot_js_api_version}}/packages/types/src/interfaces/payment/types.ts#L28){target=\_blank} source code.
263263

264264
??? interface "Example"
265265

llms.txt

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7368,21 +7368,21 @@ The available methods and interfaces will automatically reflect what's possible
73687368

73697369
## Installation
73707370

7371-
To add the Polkadot.js API to your project, use the following command to install the latest stable release which supports any Polkadot SDK-based chain:
7371+
To add the Polkadot.js API to your project, use the following command to install the version `{{ dependencies.javascript_packages.polkadot_js_api.version }}` which supports any Polkadot SDK-based chain:
73727372

73737373
=== "npm"
73747374
```bash
7375-
npm i @polkadot/api
7375+
npm i @polkadot/api@{{ dependencies.javascript_packages.polkadot_js_api.version }}
73767376
```
73777377

73787378
=== "pnpm"
73797379
```bash
7380-
pnpm add @polkadot/api
7380+
pnpm add @polkadot/api@{{ dependencies.javascript_packages.polkadot_js_api.version }}
73817381
```
73827382

73837383
=== "yarn"
73847384
```bash
7385-
yarn add @polkadot/api
7385+
yarn add @polkadot/api@{{ dependencies.javascript_packages.polkadot_js_api.version }}
73867386
```
73877387

73887388
For more detailed information about installation, see the [Installation](https://polkadot.js.org/docs/api/start/install/){target=\_blank} section in the official Polkadot.js API documentation.
@@ -8722,7 +8722,7 @@ description: Explore the Asset Transfer API Reference for comprehensive details
87228722

87238723
Holds open an API connection to a specified chain within the `ApiPromise` to help construct transactions for assets and estimate fees.
87248724

8725-
For a more in-depth explanation of the Asset Transfer API class structure, check the [source code](https://github.com/paritytech/asset-transfer-api/blob/{{dependencies.repositories.asset_transfer_api.version}}/src/AssetTransferApi.ts#L121){target=\_blank}.
8725+
For a more in-depth explanation of the Asset Transfer API class structure, check the [source code](https://github.com/paritytech/asset-transfer-api/blob/{{dependencies.repositories.asset_transfer_api.version}}/src/AssetTransferApi.ts#L123){target=\_blank}.
87268726

87278727
### Methods
87288728

@@ -9017,9 +9017,9 @@ public async createTransferTransaction<T extends Format>(
90179017

90189018
The `ConstructedFormat` type is a conditional type that returns a specific type based on the value of the TxResult `format` field.
90199019

9020-
- **Payload format** - if the format field is set to `'payload'`, the `ConstructedFormat` type will return a [`GenericExtrinsicPayload`](https://github.com/polkadot-js/api/blob/{{ dependencies.repositories.polkadot_js_api.version}}/packages/types/src/extrinsic/ExtrinsicPayload.ts#L83){target=\_blank}
9020+
- **Payload format** - if the format field is set to `'payload'`, the `ConstructedFormat` type will return a [`GenericExtrinsicPayload`](https://github.com/polkadot-js/api/blob/v15.8.1/packages/types/src/extrinsic/ExtrinsicPayload.ts#L87){target=\_blank}
90219021
- **Call format** - if the format field is set to `'call'`, the `ConstructedFormat` type will return a hexadecimal string (`0x${string}`). This is the encoded representation of the extrinsic call
9022-
- **Submittable format** - if the format field is set to `'submittable'`, the `ConstructedFormat` type will return a [`SubmittableExtrinsic`](https://github.com/polkadot-js/api/blob/{{ dependencies.repositories.polkadot_js_api.version}}/packages/api-base/src/types/submittable.ts#L56){target=\_blank}. This is a Polkadot.js type that represents a transaction that can be submitted to the blockchain
9022+
- **Submittable format** - if the format field is set to `'submittable'`, the `ConstructedFormat` type will return a [`SubmittableExtrinsic`](https://github.com/polkadot-js/api/blob/v15.8.1/packages/api-base/src/types/submittable.ts#L56){target=\_blank}. This is a Polkadot.js type that represents a transaction that can be submitted to the blockchain
90239023

90249024
??? interface "Example"
90259025

@@ -9358,9 +9358,9 @@ public async claimAssets<T extends Format>(
93589358

93599359
The `ConstructedFormat` type is a conditional type that returns a specific type based on the value of the TxResult `format` field.
93609360

9361-
- **Payload format** - if the format field is set to `'payload'`, the `ConstructedFormat` type will return a [`GenericExtrinsicPayload`](https://github.com/polkadot-js/api/blob/{{ dependencies.repositories.polkadot_js_api.version}}/packages/types/src/extrinsic/ExtrinsicPayload.ts#L83){target=\_blank}
9361+
- **Payload format** - if the format field is set to `'payload'`, the `ConstructedFormat` type will return a [`GenericExtrinsicPayload`](https://github.com/polkadot-js/api/blob/v15.8.1/packages/types/src/extrinsic/ExtrinsicPayload.ts#L87){target=\_blank}
93629362
- **Call format** - if the format field is set to `'call'`, the `ConstructedFormat` type will return a hexadecimal string (`0x${string}`). This is the encoded representation of the extrinsic call
9363-
- **Submittable format** - if the format field is set to `'submittable'`, the `ConstructedFormat` type will return a [`SubmittableExtrinsic`](https://github.com/polkadot-js/api/blob/{{ dependencies.repositories.polkadot_js_api.version}}/packages/api-base/src/types/submittable.ts#L56){target=\_blank}. This is a Polkadot.js type that represents a transaction that can be submitted to the blockchain
9363+
- **Submittable format** - if the format field is set to `'submittable'`, the `ConstructedFormat` type will return a [`SubmittableExtrinsic`](https://github.com/polkadot-js/api/blob/v15.8.1/packages/api-base/src/types/submittable.ts#L56){target=\_blank}. This is a Polkadot.js type that represents a transaction that can be submitted to the blockchain
93649364

93659365
??? interface "Example"
93669366

@@ -9531,9 +9531,9 @@ public async fetchFeeInfo<T extends Format>(
95319531

95329532
The `ConstructedFormat` type is a conditional type that returns a specific type based on the value of the TxResult `format` field.
95339533

9534-
- **Payload format** - if the format field is set to `'payload'`, the `ConstructedFormat` type will return a [`GenericExtrinsicPayload`](https://github.com/polkadot-js/api/blob/{{ dependencies.repositories.polkadot_js_api.version}}/packages/types/src/extrinsic/ExtrinsicPayload.ts#L83){target=\_blank}
9534+
- **Payload format** - if the format field is set to `'payload'`, the `ConstructedFormat` type will return a [`GenericExtrinsicPayload`](https://github.com/polkadot-js/api/blob/{{ dependencies.javascript_packages.asset_transfer_api.polkadot_js_api_version}}/packages/types/src/extrinsic/ExtrinsicPayload.ts#L87){target=\_blank}
95359535
- Call format - if the format field is set to `'call'`, the `ConstructedFormat` type will return a hexadecimal string (`0x${string}`). This is the encoded representation of the extrinsic call
9536-
- **Submittable format** - if the format field is set to `'submittable'`, the `ConstructedFormat` type will return a [`SubmittableExtrinsic`](https://github.com/polkadot-js/api/blob/{{ dependencies.repositories.polkadot_js_api.version}}/packages/api-base/src/types/submittable.ts#L56){target=\_blank}. This is a Polkadot.js type that represents a transaction that can be submitted to the blockchain
9536+
- **Submittable format** - if the format field is set to `'submittable'`, the `ConstructedFormat` type will return a [`SubmittableExtrinsic`](https://github.com/polkadot-js/api/blob/{{dependencies.javascript_packages.asset_transfer_api.polkadot_js_api_version}}/packages/api-base/src/types/submittable.ts#L56){target=\_blank}. This is a Polkadot.js type that represents a transaction that can be submitted to the blockchain
95379537

95389538
---
95399539

@@ -9563,7 +9563,7 @@ public async fetchFeeInfo<T extends Format>(
95639563
}
95649564
```
95659565

9566-
For more information on the underlying types and fields of `RuntimeDispatchInfo`, check the [`RuntimeDispatchInfo`](https://github.com/polkadot-js/api/blob/{{ dependencies.repositories.polkadot_js_api.version}}/packages/types/src/interfaces/payment/types.ts#L21){target=\_blank} source code.
9566+
For more information on the underlying types and fields of `RuntimeDispatchInfo`, check the [`RuntimeDispatchInfo`](https://github.com/polkadot-js/api/blob/{{ dependencies.javascript_packages.asset_transfer_api.polkadot_js_api_version}}/packages/types/src/interfaces/payment/types.ts#L21){target=\_blank} source code.
95679567

95689568

95699569
??? child "Type `RuntimeDispatchInfoV1`"
@@ -9576,7 +9576,7 @@ public async fetchFeeInfo<T extends Format>(
95769576
}
95779577
```
95789578

9579-
For more information on the underlying types and fields of `RuntimeDispatchInfoV1`, check the [`RuntimeDispatchInfoV1`](https://github.com/polkadot-js/api/blob/{{ dependencies.repositories.polkadot_js_api.version}}/packages/types/src/interfaces/payment/types.ts#L28){target=\_blank} source code.
9579+
For more information on the underlying types and fields of `RuntimeDispatchInfoV1`, check the [`RuntimeDispatchInfoV1`](https://github.com/polkadot-js/api/blob/{{dependencies.javascript_packages.asset_transfer_api.polkadot_js_api_version}}/packages/types/src/interfaces/payment/types.ts#L28){target=\_blank} source code.
95809580

95819581
??? interface "Example"
95829582

variables.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
11
# Variables that can be reused should be added to this file
22
dependencies:
33
repositories:
4-
open_zeppelin:
5-
repository_url: https://github.com/OpenZeppelin/polkadot-runtime-templates
6-
version: v1.0.0
74
zombienet:
85
repository_url: https://github.com/paritytech/zombienet
9-
version: v1.3.126
6+
version: v1.3.128
107
architecture: macos-arm64
118
asset_transfer_api:
129
repository_url: https://github.com/paritytech/asset-transfer-api
13-
version: v0.5.0
10+
version: v0.6.0
1411
polkadot_sdk_solochain_template:
1512
repository_url: https://github.com/paritytech/polkadot-sdk-solochain-template
1613
version: v0.0.2
@@ -48,11 +45,15 @@ dependencies:
4845
javascript_packages:
4946
chopsticks:
5047
name: '@acala-network/chopsticks'
51-
version: 1.0.3
48+
version: 1.0.4
5249
asset_transfer_api:
5350
name: '@substrate/asset-transfer-api'
54-
version: 0.5.0
51+
version: 0.6.0
52+
polkadot_js_api_version: v15.8.1 # Check changelog for pjs version bumps
5553
moonwall:
5654
name: '@moonwall/cli'
5755
version: 5.9.1
56+
polkadot_js_api:
57+
name: '@polkadot/api'
58+
version: 15.9.1
5859
# python_packages:

0 commit comments

Comments
 (0)