From f2df1d133ab3c39d49b0522ad5d9dbd7d66d2fad Mon Sep 17 00:00:00 2001 From: tarikgul Date: Tue, 14 Nov 2023 09:45:23 -0500 Subject: [PATCH] chore(release): 0.1.4 --- CHANGELOG.md | 15 ++++++++ README.md | 2 +- .../AssetTransferApi.AssetTransferApi.html | 14 ++++---- .../errors_BaseError.BaseErrorsEnum.html | 36 +++++++++---------- docs/enums/types.Direction.html | 26 +++++++------- ...nstructApiPromise.constructApiPromise.html | 8 ++--- docs/index.html | 12 +++---- .../constructApiPromise.ApiInfo.html | 14 ++++---- docs/interfaces/types.TransferArgsOpts.html | 26 +++++++------- docs/interfaces/types.TxResult.html | 22 ++++++------ docs/modules/AssetTransferApi.html | 8 ++--- docs/modules/constructApiPromise.html | 8 ++--- docs/modules/errors_BaseError.html | 8 ++--- docs/modules/types.html | 8 ++--- docs/types/types.ConstructedFormat.html | 8 ++--- docs/types/types.Format.html | 8 ++--- docs/types/types.LocalTransferTypes.html | 8 ++--- docs/types/types.Methods.html | 8 ++--- docs/types/types.XcmDirection.html | 8 ++--- package.json | 2 +- 20 files changed, 132 insertions(+), 117 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 391df613..285daa27 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,20 @@ # Changelog +## [0.1.4](https://github.com/paritytech/asset-transfer-api/compare/v0.1.3..v0.1.4)(2023-11-14) + +## Features + +- feat: ParaToRelay + +## Fix + +- fix: updated zombienet to work with polkadot-sdk nodes +- fix: support parachains without assets pallet in runtime + +## Docs + +- docs: adjust inline docs for createXcmTypes + ## [0.1.3](https://github.com/paritytech/asset-transfer-api/compare/v0.1.2..v0.1.3)(2023-11-07) ## Features diff --git a/README.md b/README.md index 1087a1e4..c81e5731 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ The below chart is focusing on what directions are supported for constructing as | Relay to Parachain | ✅ | ✅ | | Relay to System | ✅ | ✅ | | Parachain to Parachain | ✅ | ✅ | -| Parachain to Relay | ❌ | ❌ | +| Parachain to Relay | ✅ | ✅ | | Parachain to System | ✅ | ✅ | | System to System | ✅ | ✅ | diff --git a/docs/classes/AssetTransferApi.AssetTransferApi.html b/docs/classes/AssetTransferApi.AssetTransferApi.html index a578e607..868aa270 100644 --- a/docs/classes/AssetTransferApi.AssetTransferApi.html +++ b/docs/classes/AssetTransferApi.AssetTransferApi.html @@ -1,4 +1,4 @@ -AssetTransferApi | @substrate/asset-transfer-api - v0.1.3
+AssetTransferApi | @substrate/asset-transfer-api - v0.1.4
  • Preparing search index...
  • -
  • The search index is not available
@substrate/asset-transfer-api - v0.1.3
+
  • The search index is not available
  • @substrate/asset-transfer-api - v0.1.4
    @@ -28,7 +28,7 @@

    Hierarchy

    • AssetTransferApi
    +
  • Defined in AssetTransferApi.ts:79
  • @@ -88,7 +88,7 @@
    opts: Returns Promise<TxResult<T>>
    +
  • Defined in AssetTransferApi.ts:126
  • +
  • Defined in AssetTransferApi.ts:525
    • @@ -150,7 +150,7 @@
      format: Returns Promise<null | RuntimeDispatchInfo | RuntimeDispatchInfoV1>
    +
  • Defined in AssetTransferApi.ts:479
  • @@ -21,7 +21,7 @@

    Enumeration BaseErrorsEnum

    +
  • Defined in errors/BaseError.ts:6
  • @@ -53,7 +53,7 @@
    +
  • Defined in errors/BaseError.ts:20
  • DisabledOption: "DisabledOption"
    @@ -61,7 +61,7 @@
    +
  • Defined in errors/BaseError.ts:64
  • InternalError: "InternalError"
    @@ -69,7 +69,7 @@
    +
  • Defined in errors/BaseError.ts:56
  • InvalidAddress: "InvalidAddress"
    @@ -77,7 +77,7 @@
    +
  • Defined in errors/BaseError.ts:60
  • InvalidAsset: "InvalidAsset"
    @@ -86,7 +86,7 @@
    +
  • Defined in errors/BaseError.ts:16
  • InvalidDirection: "InvalidDirection"
    @@ -94,7 +94,7 @@
    +
  • Defined in errors/BaseError.ts:32
  • InvalidInput: "InvalidInput"
    @@ -103,7 +103,7 @@
    +
  • Defined in errors/BaseError.ts:11
  • InvalidMultiLocationAsset: "InvalidMultiLocationAsset"
    @@ -111,7 +111,7 @@
    +
  • Defined in errors/BaseError.ts:36
  • InvalidPallet: "InvalidPallet"
    @@ -119,7 +119,7 @@
    +
  • Defined in errors/BaseError.ts:24
  • InvalidXcmVersion: "InvalidXcmVersion"
    @@ -127,7 +127,7 @@
    +
  • Defined in errors/BaseError.ts:48
  • MultipleNonUniqueAssetsFound: "MultipleNonUniqueAssetsFound"
    @@ -135,7 +135,7 @@
    +
  • Defined in errors/BaseError.ts:40
  • NotImplemented: "NotImplemented"
    @@ -143,7 +143,7 @@
    +
  • Defined in errors/BaseError.ts:52
  • PalletNotFound: "PalletNotFound"
    @@ -151,7 +151,7 @@
    +
  • Defined in errors/BaseError.ts:28
  • RegistryNotFound: "RegistryNotFound"
    @@ -159,7 +159,7 @@
    +
  • Defined in errors/BaseError.ts:44
  • @@ -21,7 +21,7 @@

    Enumeration Direction

    +
  • Defined in types.ts:26
  • @@ -48,7 +48,7 @@
    +
  • Defined in types.ts:30
  • ParaToPara: "ParaToPara"
    @@ -56,7 +56,7 @@
    +
  • Defined in types.ts:46
  • ParaToRelay: "ParaToRelay"
    @@ -64,7 +64,7 @@
    +
  • Defined in types.ts:50
  • ParaToSystem: "ParaToSystem"
    @@ -72,7 +72,7 @@
    +
  • Defined in types.ts:54
  • RelayToPara: "RelayToPara"
    @@ -80,7 +80,7 @@
    +
  • Defined in types.ts:62
  • RelayToSystem: "RelayToSystem"
    @@ -88,7 +88,7 @@
    +
  • Defined in types.ts:58
  • SystemToPara: "SystemToPara"
    @@ -96,7 +96,7 @@
    +
  • Defined in types.ts:34
  • SystemToRelay: "SystemToRelay"
    @@ -104,7 +104,7 @@
    +
  • Defined in types.ts:38
  • SystemToSystem: "SystemToSystem"
    @@ -112,7 +112,7 @@
    +
  • Defined in types.ts:42
  • @@ -40,7 +40,7 @@
    opts: Returns Promise<ApiInfo>
    +
  • Defined in constructApiPromise.ts:39
  • -

    @substrate/asset-transfer-api - v0.1.3

    +

    @substrate/asset-transfer-api - v0.1.4



    @substrate/asset-transfer-api

    @@ -68,8 +68,8 @@

    Asset API used for common good parachains

    Parachain to Relay -❌ -❌ +✅ +✅ Parachain to System @@ -183,7 +183,7 @@

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

    Hierarchy

    • ApiInfo
    +
  • Defined in constructApiPromise.ts:12
  • @@ -46,7 +46,7 @@
    +
  • Defined in constructApiPromise.ts:16
  • safeXcmVersion: number
    @@ -54,7 +54,7 @@
    +
  • Defined in constructApiPromise.ts:24
  • specName: string
    @@ -62,7 +62,7 @@
    +
  • Defined in constructApiPromise.ts:20
  • @@ -30,7 +30,7 @@

    Hierarchy

    • TransferArgsOpts
    +
  • Defined in types.ts:168
  • @@ -60,7 +60,7 @@
    +
  • Defined in types.ts:176
  • isLimited?: boolean
    @@ -69,7 +69,7 @@
    +
  • Defined in types.ts:196
  • keepAlive?: boolean
    @@ -78,7 +78,7 @@
    +
  • Defined in types.ts:223
  • paysWithFeeDest?: string
    @@ -86,7 +86,7 @@
    +
  • Defined in types.ts:186
  • paysWithFeeOrigin?: string
    @@ -96,7 +96,7 @@
    +
  • Defined in types.ts:182
  • sendersAddr?: string
    @@ -105,7 +105,7 @@
    +
  • Defined in types.ts:191
  • transferLiquidToken?: boolean
    @@ -114,7 +114,7 @@
    +
  • Defined in types.ts:228
  • weightLimit?: {
        proofSize?: string;
        refTime?: string;
    }
    @@ -138,7 +138,7 @@
    Optional
    +
  • Defined in types.ts:201
  • xcmVersion?: number
    @@ -147,7 +147,7 @@
    +
  • Defined in types.ts:218
  • @@ -31,7 +31,7 @@

    Hierarchy

    • TxResult
    +
  • Defined in types.ts:134
  • @@ -56,7 +56,7 @@
    +
  • Defined in types.ts:138
  • direction: Direction | "local"
    @@ -64,7 +64,7 @@

    The direction of the cross chain transfer.

    +
  • Defined in types.ts:154
  • format: Format | "local"
    @@ -72,7 +72,7 @@
    +
  • Defined in types.ts:146
  • method: Methods
    @@ -80,7 +80,7 @@
    +
  • Defined in types.ts:158
  • origin: string
    @@ -88,7 +88,7 @@
    +
  • Defined in types.ts:142
  • @@ -96,7 +96,7 @@

    The constructed transaction.

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

    The xcm version that was used to construct the tx.

    +
  • Defined in types.ts:150
  • @@ -16,7 +16,7 @@
  • AssetTransferApi
  • Module AssetTransferApi

    +
  • Defined in AssetTransferApi.ts:1
  • Index

    @@ -38,7 +38,7 @@

    Member Visibility

    Theme

    @@ -16,7 +16,7 @@
  • constructApiPromise
  • Module constructApiPromise

    +
  • Defined in constructApiPromise.ts:1
  • Index

    @@ -42,7 +42,7 @@

    Member Visibility

    Theme

    @@ -16,7 +16,7 @@
  • errors/BaseError
  • Module errors/BaseError

    +
  • Defined in errors/BaseError.ts:1
  • Index

    @@ -38,7 +38,7 @@

    Member Visibility

    Theme

    @@ -16,7 +16,7 @@
  • types
  • Module types

    +
  • Defined in types.ts:1
  • Index

    @@ -51,7 +51,7 @@

    Member Visibility

    Theme

    @@ -26,7 +26,7 @@

    Type Parameters

    T

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

    Type alias Format

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

    Type alias LocalTransferTypes

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

    Type alias Methods

    +
  • Defined in types.ts:115
  • @@ -21,7 +21,7 @@

    Type alias XcmDirection

    +
  • Defined in types.ts:68