Skip to content

Releases: paritytech/asset-transfer-api

v0.2.0-beta.0

02 Apr 17:01
bec5170
Compare
Choose a tag to compare

Breaking Change

Fix

  • fix: update lp pool token storage key destructuring (#390)(cb7d39f)

Chore

v0.1.8

05 Mar 14:43
8eb662b
Compare
Choose a tag to compare

Feat

Fix

  • fix: update foreign asset location construction (#377)(9c6cbc1)

  • fix: resolve tx calls based on current runtime (#375)(d55fa29)

  • fix: add support for xcmv4 types (#372)(0e5c545)

Chore

v0.1.7

07 Feb 18:31
81ac35a
Compare
Choose a tag to compare

Feat

  • feat: ensure the injectedRegsitry opt does deep comparisons (#359) (724a89d)
  • feat: add local transfers for orml, and parachains (#352) (57cc037)

Fix

  • fix(internal): add deepEqual functionality for comparing two objects (#365) (e305138)
  • fix(internal-refactor): adjust naming to be more conventional (#358) (6b42fdb)
  • fix: renaming statemine in zombienet toml files (#356) (f653810)

Chore

Docs

Test

v0.1.6

22 Jan 16:18
f010883
Compare
Choose a tag to compare

Features

  • feat: add browser compatibility (#341)

Fix

  • fix: add rococo to RELAY_CHAIN_NAMES (#344)
  • fix(internal): ensure all sanitizeKeys int values are sanitized to str (#346)
  • fix: add catch try for CDN_URL fetching (#350)

Build

  • build: remove .spec files from lib (#342)

Chore

  • chore(registry): update registry package (#347)
  • chore(deps): bump actions/cache from 3 to 4 (#349)

Docs

  • docs: fix readme nit for spacing (#348)

v0.1.5

03 Jan 19:25
c38a670
Compare
Choose a tag to compare

Features

  • feat: give registry option between CDN and npm package (#332)
  • feat: add paysWithFeeOrigin support for MultiLocations (#333)

Fix

  • fix(internal): cleanup structure for args passed into calls (#328)
  • fix: check fee asset lp exists for paysWithFeeOrigin (#336)

Docs

  • docs(readme): Add explanation for local transfers in parachains (#331)

Chore

  • chore(deps): bump @babel/traverse from 7.21.4 to 7.23.4 (#329)
  • chore(substrate-dev): update @substrate/dev to 0.7.1 (#334)
  • chore(yarn): bump yarn to 4.0.2 (#335)
  • chore(pjs): update polkadot-js to 10.11.2 (#339)

v0.1.4

14 Nov 18:49
e4b3f2b
Compare
Choose a tag to compare

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

v0.1.3

07 Nov 18:53
e73e84a
Compare
Choose a tag to compare

Features

  • feat: support para to para xcm tx construction

Fix

  • fix: xtokens and xTokens naming for ParaTo*
  • fix: sorting bug for ascending assets
  • fix: add Ethereum address check in createBeneficiary for ParaToPara direction
  • fix(internal): refactor dest and beneficiary types generators
  • fix(internal): Refactor multiassets creation, and xcm types
  • fix(internal): refactor all weight limits to not use createType
  • fix(internal): remove createType(Call) where applicable
  • fix(registry): update asset-registry to inlcude extra foreign assets

Test

  • test: add foreign assets script to test network
  • test: add liquid assets script to test network
  • test: fix jest tests running twice

Docs

  • docs: update the README with corrections

Chore

  • chore: chore(yarn): bump yarn to 3.6.2
  • chore: bump actions/setup-node from 3 to 4

v0.1.2

26 Sep 15:14
9f826d1
Compare
Choose a tag to compare

Fix

  • fix: rococo initialization in the registry (#297)

NOTE:

In order to use rococo's asset hub with the AssetTransferApi one will need to hardcode the specName into the initialization like the following:

new AssetTransferApi(api, `asset-hub-rococo`, xcmVersion);

The reason being, kusama's asset hub and and rococo's asset-hub both share the same specName currently and will cause conflicts. We currently do an overewrite in the registry that the api uses and set the specName for rococo's asset hub to be asset-hub-rococo. This is on the horizon to get solved on the actual chain itself soon, so this wont be necessary in the coming future.

Docs

  • docs: Fixed typos (#296)

v0.1.1

25 Sep 14:55
07d63ec
Compare
Choose a tag to compare

Features

  • feat: add rococo support and to the registry (#293)

Fix

  • fix(internal): remove getChainIdBySpecName and add caching system (#288)
  • fix(internal): remove all use of MultiLocation, and use correct versioned type. (#292)
  • fix: update the registry to the new xcAssets format (#284)

Docs

  • docs: Improve README.md (#291)

v0.1.0

19 Sep 16:31
69e26ac
Compare
Choose a tag to compare

Summary

This release assumes the following is stable, and tested. The api is still not fully featured as we don't have support for certain things which will be listed below. Please review the documentation in the README.md for any information, and feel free to file an issue if anything is unclear.

What is not supported:

  • ParaToPara
  • ParaToRelay
  • NFTs

What is supported:

  • SystemToPara (native assets, foreign assets, liquid pool assets, CrossChain Transfers)
  • SystemToRelay (Native relay token, CrossChain Transfers)
  • RelayToParachain (Native relay token, CrossChain Transfers)
  • RelayToSystem (Native relay token, CrossChain Transfers)
  • SystemToSystem (Native relay token, CrossChain Transfers)
  • ParaToSystem (Asset Hub assets, foreign assets, CrossChain Transfers via either Xtokens, or polkadotXcm pallet).
    • NOTE: There is a performance bottleneck currently with the construction of xtokens pallet transfers. This is actively being looked into and will be resovled soon.
  • Decoding extrinsics
  • Estimating fees of extrinsics
  • Registry lookup

Breaking Change

  • fix!: replace AssetsTransferApi with AssetTransferApi

Docs

  • docs: enhance the documentation and add inline code examples
  • docs: update readme, and add use case examples