From a3ccba9632ae4d9fcd4666cbd911e867e941e3c4 Mon Sep 17 00:00:00 2001 From: tarikgul Date: Mon, 25 Sep 2023 10:30:24 -0400 Subject: [PATCH 1/2] chore(release): 0.1.1 --- CHANGELOG.md | 16 +++++++++ .../AssetTransferApi.AssetTransferApi.html | 14 ++++---- .../errors_BaseError.BaseErrorsEnum.html | 36 +++++++++---------- docs/enums/types.Direction.html | 24 ++++++------- ...nstructApiPromise.constructApiPromise.html | 8 ++--- docs/index.html | 8 ++--- .../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 ++--- package.json | 2 +- 18 files changed, 125 insertions(+), 109 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7db9f878..e8ca34a6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,21 @@ # Changelog +## [0.1.1](https://github.com/paritytech/asset-transfer-api/compare/v0.1.0..v0.1.1)(2023-09-25) + +## Features + +- feat: add rococo support and to the registry ([#293](https://github.com/paritytech/asset-transfer-api/pull/293)) + +## Fix + +- fix(internal): remove getChainIdBySpecName and add caching system ([#288](https://github.com/paritytech/asset-transfer-api/pull/288)) +- fix(internal): remove all use of MultiLocation, and use correct versioned type. ([#292](https://github.com/paritytech/asset-transfer-api/pull/292)) +- fix: update the registry to the new xcAssets format ([#284](https://github.com/paritytech/asset-transfer-api/pull/284)) + +## Docs + +- docs: Improve README.md ([#291](https://github.com/paritytech/asset-transfer-api/pull/291)) + ## [0.1.0](https://github.com/paritytech/asset-transfer-api/compare/v0.1.0-beta.5..v0.1.0)(2023-09-19) ## Summary diff --git a/docs/classes/AssetTransferApi.AssetTransferApi.html b/docs/classes/AssetTransferApi.AssetTransferApi.html index 4dae3936..7f4cfdac 100644 --- a/docs/classes/AssetTransferApi.AssetTransferApi.html +++ b/docs/classes/AssetTransferApi.AssetTransferApi.html @@ -1,4 +1,4 @@ -AssetTransferApi | @substrate/asset-transfer-api - v0.1.0
+AssetTransferApi | @substrate/asset-transfer-api - v0.1.1
  • Preparing search index...
  • -
  • The search index is not available
@substrate/asset-transfer-api - v0.1.0
+
  • The search index is not available
  • @substrate/asset-transfer-api - v0.1.1
    @@ -28,7 +28,7 @@

    Hierarchy

    • AssetTransferApi
    +
  • Defined in AssetTransferApi.ts:77
  • @@ -88,7 +88,7 @@
    opts: Returns Promise<TxResult<T>>
    +
  • Defined in AssetTransferApi.ts:124
  • +
  • Defined in AssetTransferApi.ts:507
    • @@ -150,7 +150,7 @@
      format: Returns Promise<null | RuntimeDispatchInfo | RuntimeDispatchInfoV1>
    +
  • Defined in AssetTransferApi.ts:461
  • @@ -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:25
  • @@ -47,7 +47,7 @@
    +
  • Defined in types.ts:41
  • ParaToRelay: "ParaToRelay"
    @@ -55,7 +55,7 @@
    +
  • Defined in types.ts:45
  • ParaToSystem: "ParaToSystem"
    @@ -63,7 +63,7 @@
    +
  • Defined in types.ts:49
  • RelayToPara: "RelayToPara"
    @@ -71,7 +71,7 @@
    +
  • Defined in types.ts:57
  • RelayToSystem: "RelayToSystem"
    @@ -79,7 +79,7 @@
    +
  • Defined in types.ts:53
  • SystemToPara: "SystemToPara"
    @@ -87,7 +87,7 @@
    +
  • Defined in types.ts:29
  • SystemToRelay: "SystemToRelay"
    @@ -95,7 +95,7 @@
    +
  • Defined in types.ts:33
  • SystemToSystem: "SystemToSystem"
    @@ -103,7 +103,7 @@
    +
  • Defined in types.ts:37
  • @@ -40,7 +40,7 @@
    opts: Returns Promise<ApiInfo>
    +
  • Defined in constructApiPromise.ts:39
  • -

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

    +

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



    @substrate/asset-transfer-api

    @@ -181,7 +181,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:158
  • @@ -60,7 +60,7 @@
    +
  • Defined in types.ts:166
  • isLimited?: boolean
    @@ -69,7 +69,7 @@
    +
  • Defined in types.ts:186
  • keepAlive?: boolean
    @@ -78,7 +78,7 @@
    +
  • Defined in types.ts:213
  • paysWithFeeDest?: string
    @@ -86,7 +86,7 @@
    +
  • Defined in types.ts:176
  • paysWithFeeOrigin?: string
    @@ -96,7 +96,7 @@
    +
  • Defined in types.ts:172
  • sendersAddr?: string
    @@ -105,7 +105,7 @@
    +
  • Defined in types.ts:181
  • transferLiquidToken?: boolean
    @@ -114,7 +114,7 @@
    +
  • Defined in types.ts:218
  • weightLimit?: {
        proofSize?: string;
        refTime?: string;
    }
    @@ -138,7 +138,7 @@
    Optional
    +
  • Defined in types.ts:191
  • xcmVersion?: number
    @@ -147,7 +147,7 @@
    +
  • Defined in types.ts:208
  • @@ -31,7 +31,7 @@

    Hierarchy

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

    The direction of the cross chain transfer.

    +
  • Defined in types.ts:144
  • format: Format | "local"
    @@ -72,7 +72,7 @@
    +
  • Defined in types.ts:136
  • method: Methods
    @@ -80,7 +80,7 @@
    +
  • Defined in types.ts:148
  • origin: string
    @@ -88,7 +88,7 @@
    +
  • Defined in types.ts:132
  • @@ -96,7 +96,7 @@

    The constructed transaction.

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

    The xcm version that was used to construct the tx.

    +
  • Defined in types.ts:140
  • @@ -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

    @@ -50,7 +50,7 @@

    Member Visibility

    Theme

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

    Type Parameters

    T

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

    Type alias Format

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

    Type alias LocalTransferTypes

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

    Type alias Methods

    +
  • Defined in types.ts:105
  • +
  • Defined in AssetTransferApi.ts:461
  • +
  • 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
  • +
  • Defined in types.ts:25
  • @@ -47,7 +47,7 @@
    +
  • Defined in types.ts:41
  • ParaToRelay: "ParaToRelay"
    @@ -55,7 +55,7 @@
    +
  • Defined in types.ts:45
  • ParaToSystem: "ParaToSystem"
    @@ -63,7 +63,7 @@
    +
  • Defined in types.ts:49
  • RelayToPara: "RelayToPara"
    @@ -71,7 +71,7 @@
    +
  • Defined in types.ts:57
  • RelayToSystem: "RelayToSystem"
    @@ -79,7 +79,7 @@
    +
  • Defined in types.ts:53
  • SystemToPara: "SystemToPara"
    @@ -87,7 +87,7 @@
    +
  • Defined in types.ts:29
  • SystemToRelay: "SystemToRelay"
    @@ -95,7 +95,7 @@
    +
  • Defined in types.ts:33
  • SystemToSystem: "SystemToSystem"
    @@ -103,7 +103,7 @@
    +
  • Defined in types.ts:37
  • +
  • Defined in constructApiPromise.ts:24
  • specName: string
    @@ -62,7 +62,7 @@
    +
  • Defined in constructApiPromise.ts:20
  • +
  • Defined in types.ts:191
  • xcmVersion?: number
    @@ -147,7 +147,7 @@
    +
  • Defined in types.ts:208
  • +
  • Defined in types.ts:152
  • xcmVersion: null | number
    @@ -104,7 +104,7 @@

    The xcm version that was used to construct the tx.

    +
  • Defined in types.ts:140
  • +
  • Defined in constructApiPromise.ts:1
  • Index

    diff --git a/docs/modules/errors_BaseError.html b/docs/modules/errors_BaseError.html index 4e826e06..1371db18 100644 --- a/docs/modules/errors_BaseError.html +++ b/docs/modules/errors_BaseError.html @@ -16,7 +16,7 @@
  • errors/BaseError
  • Module errors/BaseError

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

    diff --git a/docs/modules/types.html b/docs/modules/types.html index 88fd0df5..3d7b2356 100644 --- a/docs/modules/types.html +++ b/docs/modules/types.html @@ -16,7 +16,7 @@
  • types
  • Module types

    +
  • Defined in types.ts:1
  • Index

    diff --git a/docs/types/types.ConstructedFormat.html b/docs/types/types.ConstructedFormat.html index 7073b9dc..7dbde9b6 100644 --- a/docs/types/types.ConstructedFormat.html +++ b/docs/types/types.ConstructedFormat.html @@ -26,7 +26,7 @@

    Type Parameters

    T

    +
  • Defined in types.ts:81
  • +
  • Defined in types.ts:76
  • +
  • Defined in types.ts:92
  • +
  • Defined in types.ts:105