Skip to content

Releases: paritytech/asset-transfer-api

v0.1.0-beta.5

13 Sep 19:31
cfd5940
Compare
Choose a tag to compare

Features

  • feat: support construction of teleports for parachains' primary native assets to AssetHub
  • feat: add disabled options config and functionality

Fix

  • fix: adjust fetchPalletInstanceId to handle ForeignAssets pallet
  • fix: remove remaining use of parseInt

Chore

  • chore: bump actions/checkout from 3 to 4
  • chore(lint): change print-width for prettier to 120

v0.1.0-beta.4

30 Aug 16:29
41574f7
Compare
Choose a tag to compare

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

v0.1.0-beta.3

21 Aug 12:56
d56df06
Compare
Choose a tag to compare

Fix

  • fix: Update System Parachain Id check based on chainId
  • fix: remove incorrect reference to '0' for Native Relay Token

Features

  • feat: add poolAssets support
  • feat: add support for xTokens pallet

Docs

  • docs: update README.md

Chore

  • chore(deps): bump word-wrap from 1.2.3 to 1.2.5
  • chore(examples): add payload paysWithFeeOrigin example
  • chore(deps): bump semver from 6.3.0 to 6.3.1
  • chore: update naming to support AssetHub specnames

v0.1.0-beta.2

09 Aug 16:52
f71bd2f
Compare
Choose a tag to compare

Fix

  • fix: added unpaidExecution for testnet XCM message

Features

  • feat: ParaToSystem
  • feat: SystemToSystem
  • feat: add support for foreign asset multilocations

Chore

  • chore: cleanup tech debt
  • chore(yarn): bump yarn
  • chore: remove grocers' apostrophe

v0.1.0-beta.1

21 Jun 21:11
f3b6564
Compare
Choose a tag to compare

Chore

  • chore(registry): update registry

v0.1.0-beta.0

16 Jun 18:50
1053490
Compare
Choose a tag to compare

Stable Beta is here!

  • Add AssetsTransferApi.fetchFeeInfo
  • Add AssetsTransferApi.registry which exposes a bunch of useful functionality now. Check out the following PR #183
  • Implement paysWithFeeOrigin as an option for AssetsTransferApi.createTransferTransaction
  • Fix type issues for SystemToPara
  • Add examples
  • Update polkadot-js deps
  • More verbose errors for when multiple identical assets symbols exists in the same registry.
  • Fix ascending order for multiple multi assets for SystemToPara.
  • Export types at top level.
  • Add dest, and origin to TxResult<T>.
  • Update fetchFeeInfo to take in call, and payload types.

NOTE - The API is considered stable for the following direction:

  • RelayToPara
  • RelayToSystem
  • SystemToRelay
  • SystemToPara

v0.1.0-alpha.5

09 Jun 18:33
ea49cdb
Compare
Choose a tag to compare
  • Breaking Change: Rework AssetTransferApi constructor, and constructApiPromise
  • Check primitive and object types for createTransferTransaction inputs
  • Fix CI set-output
  • Add function to get General Index of a valid token symbol
  • Ensure a user can input a native token symbol or an empty array for relay directions
  • Update tests to use v9420 metadata
  • Add decodeExtrinsic to AssetsTransferApi
  • Add balances pallet support for local transfers on relay, and system parachains
  • Set RelayToPara AssetType explicitly to Foreign
  • Ensure MultiAsset Ordering

v0.1.0-alpha.4

30 May 18:28
17b2ca0
Compare
Choose a tag to compare
  • change isNative to isRelayNative for System to Para
  • Add additional xcmDirection validation checks, fix SystemToRelay AssetType

v0.1.0-alpha.3

30 May 17:47
e8d126a
Compare
Choose a tag to compare
  • Fix bug in args passed into ext construction

v0.1.0-alpha.2

29 May 21:42
3e75c9b
Compare
Choose a tag to compare
  • Update polkadot-js deps
  • Support for Ethereum addresses
  • Proper xcm input validation for assetIds
  • Fix xcm construction of parents field for SystemToPara
  • Add teleport logic for native vs foreign assets
  • Add fee estimation
  • Improve github pages docs
  • Add registry functionality, as well as injectedRegistry
  • Add V3 support, and remove V1 and V0 support