From 41574f702b21234e56a042d1ff4a96ad0408eae7 Mon Sep 17 00:00:00 2001 From: Tarik Gul <47201679+TarikGul@users.noreply.github.com> Date: Wed, 30 Aug 2023 09:25:27 -0700 Subject: [PATCH] chore(release): v0.1.0-beta.4 (#266) --- CHANGELOG.md | 29 +++++++++++++++++++++++++ docs/classes/AssetsTransferApi.html | 14 ++++++------ docs/enums/Direction.html | 24 ++++++++++---------- docs/functions/constructApiPromise.html | 8 +++---- docs/index.html | 8 +++---- docs/interfaces/ApiInfo.html | 8 +++---- docs/interfaces/TransferArgsOpts.html | 26 +++++++++++----------- docs/interfaces/TxResult.html | 22 +++++++++---------- docs/modules.html | 8 +++---- docs/types/ConstructedFormat.html | 8 +++---- docs/types/Format.html | 8 +++---- docs/types/LocalTransferTypes.html | 8 +++---- docs/types/Methods.html | 8 +++---- package.json | 2 +- 14 files changed, 105 insertions(+), 76 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fe0be1e2..7a5f5e6f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,34 @@ # Changelog +## [0.1.0-beta.4](https://github.com/paritytech/asset-transfer-api/compare/v0.1.0-beta.3..v0.1.0-beta.4)(2023-08-30) + +## Features + +- feat: sendersAddr, add options validation, and fix payload format +- feat: add cache to registry + +## Fix + +- fix: weight limit check issue +- fix: Re-implement AssetHub ForeignAsset queries +- fix: add ENUM for organizing error, and apply to stack +- fix: resolve TODO for destId for relay chains +- fix: empty string assetId Balances bug for local tx +- fix: replace all unsafe instances of parseInt +- fix: unused conditional, and DRY cache logic in checkParaAssets + +## Docs + +- docs: update README & docs + +## Chore + +- chore(yarn): bump yarn + +## CI + +- ci: semantic title check + ## [0.1.0-beta.3](https://github.com/paritytech/asset-transfer-api/compare/v0.1.0-beta.2..v0.1.0-beta.3)(2023-08-21) ## Fix diff --git a/docs/classes/AssetsTransferApi.html b/docs/classes/AssetsTransferApi.html index 746e286c..a60afdce 100644 --- a/docs/classes/AssetsTransferApi.html +++ b/docs/classes/AssetsTransferApi.html @@ -1,4 +1,4 @@ -AssetsTransferApi | @substrate/asset-transfer-api - v0.1.0-beta.3
+AssetsTransferApi | @substrate/asset-transfer-api - v0.1.0-beta.4
  • Preparing search index...
  • -
  • The search index is not available
@substrate/asset-transfer-api - v0.1.0-beta.3
+
  • The search index is not available
  • @substrate/asset-transfer-api - v0.1.0-beta.4
    @@ -25,7 +25,7 @@

    Hierarchy

    • AssetsTransferApi
    +
  • Defined in AssetsTransferApi.ts:77
  • @@ -83,7 +83,7 @@
    opts: Returns Promise<TxResult<T>>
    +
  • Defined in AssetsTransferApi.ts:107
  • +
  • Defined in AssetsTransferApi.ts:840
    • @@ -141,7 +141,7 @@
      format: Returns Promise<null | RuntimeDispatchInfo | RuntimeDispatchInfoV1>
    +
  • Defined in AssetsTransferApi.ts:509
  • @@ -20,7 +20,7 @@

    Enumeration Direction

    +
  • Defined in types.ts:35
  • @@ -46,7 +46,7 @@
    +
  • Defined in types.ts:51
  • ParaToRelay: "ParaToRelay"
    @@ -54,7 +54,7 @@
    +
  • Defined in types.ts:55
  • ParaToSystem: "ParaToSystem"
    @@ -62,7 +62,7 @@
    +
  • Defined in types.ts:59
  • RelayToPara: "RelayToPara"
    @@ -70,7 +70,7 @@
    +
  • Defined in types.ts:67
  • RelayToSystem: "RelayToSystem"
    @@ -78,7 +78,7 @@
    +
  • Defined in types.ts:63
  • SystemToPara: "SystemToPara"
    @@ -86,7 +86,7 @@
    +
  • Defined in types.ts:39
  • SystemToRelay: "SystemToRelay"
    @@ -94,7 +94,7 @@
    +
  • Defined in types.ts:43
  • SystemToSystem: "SystemToSystem"
    @@ -102,7 +102,7 @@
    +
  • Defined in types.ts:47
  • @@ -37,7 +37,7 @@
    opts: Returns Promise<ApiInfo>
    +
  • Defined in constructApiPromise.ts:24
  • -

    @substrate/asset-transfer-api - v0.1.0-beta.3

    +

    @substrate/asset-transfer-api - v0.1.0-beta.4



    @substrate/asset-transfer-api

    @@ -166,7 +166,7 @@

    Running Zombienet
  • Create an asset
  • @@ -24,7 +24,7 @@

    Hierarchy

    +
  • Defined in constructApiPromise.ts:12
  • @@ -29,7 +29,7 @@

    Hierarchy

    +
  • Defined in types.ts:168
  • @@ -59,7 +59,7 @@
    +
  • Defined in types.ts:176
  • isLimited?: boolean
    @@ -68,7 +68,7 @@
    +
  • Defined in types.ts:196
  • keepAlive?: boolean
    @@ -77,7 +77,7 @@
    +
  • Defined in types.ts:223
  • paysWithFeeDest?: string
    @@ -85,7 +85,7 @@
    +
  • Defined in types.ts:186
  • paysWithFeeOrigin?: string
    @@ -95,7 +95,7 @@
    +
  • Defined in types.ts:182
  • sendersAddr?: string
    @@ -104,7 +104,7 @@
    +
  • Defined in types.ts:191
  • transferLiquidToken?: boolean
    @@ -113,7 +113,7 @@
    +
  • Defined in types.ts:228
  • weightLimit?: {
        proofSize?: string;
        refTime?: string;
    }
    @@ -137,7 +137,7 @@
    Optional
    +
  • Defined in types.ts:201
  • xcmVersion?: number
    @@ -146,7 +146,7 @@
    +
  • Defined in types.ts:218
  • @@ -30,7 +30,7 @@

    Hierarchy

    +
  • Defined in types.ts:134
  • @@ -55,7 +55,7 @@
    +
  • Defined in types.ts:138
  • direction: "local" | Direction
    @@ -63,7 +63,7 @@

    The direction of the cross chain transfer.

    +
  • Defined in types.ts:154
  • format: Format | "local"
    @@ -71,7 +71,7 @@
    +
  • Defined in types.ts:146
  • method: Methods
    @@ -79,7 +79,7 @@
    +
  • Defined in types.ts:158
  • origin: string
    @@ -87,7 +87,7 @@
    +
  • Defined in types.ts:142
  • @@ -95,7 +95,7 @@

    The constructed transaction.

    +
  • Defined in types.ts:162
  • xcmVersion: null | number
    @@ -103,7 +103,7 @@

    The xcm version that was used to construct the tx.

    +
  • Defined in types.ts:150
  • -

    @substrate/asset-transfer-api - v0.1.0-beta.3

    +

    @substrate/asset-transfer-api - v0.1.0-beta.4

    Index

    @@ -54,7 +54,7 @@

    Member Visibility

    Theme

    @@ -25,7 +25,7 @@

    Type Parameters

    T

    +
  • Defined in types.ts:91
  • @@ -25,7 +25,7 @@

    Type alias Format

    +
  • Defined in types.ts:86
  • @@ -20,7 +20,7 @@

    Type alias LocalTransferTypes

    +
  • Defined in types.ts:102
  • @@ -20,7 +20,7 @@

    Type alias Methods

    +
  • Defined in types.ts:115