@paraspell/sdk 12.7.0 → 12.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.mjs +3 -3
  2. package/package.json +2 -2
package/dist/index.mjs CHANGED
@@ -1014,12 +1014,12 @@ var PapiApi = /*#__PURE__*/function () {
1014
1014
  key: "resolveFeeAsset",
1015
1015
  value: function () {
1016
1016
  var _resolveFeeAsset = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee0(options) {
1017
- var chain, address, assetId;
1017
+ var chain, address, feeAsset, assetId;
1018
1018
  return _regenerator().w(function (_context0) {
1019
1019
  while (1) switch (_context0.n) {
1020
1020
  case 0:
1021
- chain = options.chain, address = options.address;
1022
- if (chain.startsWith('Hydration')) {
1021
+ chain = options.chain, address = options.address, feeAsset = options.feeAsset;
1022
+ if (!(!chain.startsWith('Hydration') || feeAsset)) {
1023
1023
  _context0.n = 1;
1024
1024
  break;
1025
1025
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paraspell/sdk",
3
- "version": "12.7.0",
3
+ "version": "12.7.1",
4
4
  "description": "SDK for ParaSpell XCM/XCMP tool for developers",
5
5
  "repository": {
6
6
  "type": "git",
@@ -28,7 +28,7 @@
28
28
  "@polkadot-labs/hdkd": "^0.0.26",
29
29
  "@polkadot-labs/hdkd-helpers": "^0.0.27",
30
30
  "viem": "2.45.0",
31
- "@paraspell/sdk-core": "12.7.0"
31
+ "@paraspell/sdk-core": "12.7.1"
32
32
  },
33
33
  "peerDependencies": {
34
34
  "polkadot-api": ">= 1.23.3 < 2"