@paraspell/sdk 8.13.0 → 8.13.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.
package/dist/index.cjs CHANGED
@@ -956,9 +956,9 @@ var PapiApi = /*#__PURE__*/function () {
956
956
  return getMythosForeignBalance;
957
957
  }()
958
958
  }, {
959
- key: "getAssetHubForeignBalance",
959
+ key: "getBalanceForeignAssetsPallet",
960
960
  value: function () {
961
- var _getAssetHubForeignBalance = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee9(address, multiLocation) {
961
+ var _getBalanceForeignAssetsPallet = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee9(address, multiLocation) {
962
962
  var transformedMultiLocation, res;
963
963
  return _regeneratorRuntime().wrap(function _callee9$(_context9) {
964
964
  while (1) switch (_context9.prev = _context9.next) {
@@ -975,10 +975,10 @@ var PapiApi = /*#__PURE__*/function () {
975
975
  }
976
976
  }, _callee9, this);
977
977
  }));
978
- function getAssetHubForeignBalance(_x11, _x12) {
979
- return _getAssetHubForeignBalance.apply(this, arguments);
978
+ function getBalanceForeignAssetsPallet(_x11, _x12) {
979
+ return _getBalanceForeignAssetsPallet.apply(this, arguments);
980
980
  }
981
- return getAssetHubForeignBalance;
981
+ return getBalanceForeignAssetsPallet;
982
982
  }()
983
983
  }, {
984
984
  key: "getForeignAssetsByIdBalance",
@@ -1096,9 +1096,9 @@ var PapiApi = /*#__PURE__*/function () {
1096
1096
  return getBalanceForeignXTokens;
1097
1097
  }()
1098
1098
  }, {
1099
- key: "getBalanceForeignAssetsAccount",
1099
+ key: "getBalanceAssetsPallet",
1100
1100
  value: function () {
1101
- var _getBalanceForeignAssetsAccount = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee12(address, assetId) {
1101
+ var _getBalanceAssetsPallet = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee12(address, assetId) {
1102
1102
  var response;
1103
1103
  return _regeneratorRuntime().wrap(function _callee12$(_context12) {
1104
1104
  while (1) switch (_context12.prev = _context12.next) {
@@ -1114,10 +1114,10 @@ var PapiApi = /*#__PURE__*/function () {
1114
1114
  }
1115
1115
  }, _callee12, this);
1116
1116
  }));
1117
- function getBalanceForeignAssetsAccount(_x22, _x23) {
1118
- return _getBalanceForeignAssetsAccount.apply(this, arguments);
1117
+ function getBalanceAssetsPallet(_x22, _x23) {
1118
+ return _getBalanceAssetsPallet.apply(this, arguments);
1119
1119
  }
1120
- return getBalanceForeignAssetsAccount;
1120
+ return getBalanceAssetsPallet;
1121
1121
  }()
1122
1122
  }, {
1123
1123
  key: "getFromRpc",
package/dist/index.mjs CHANGED
@@ -955,9 +955,9 @@ var PapiApi = /*#__PURE__*/function () {
955
955
  return getMythosForeignBalance;
956
956
  }()
957
957
  }, {
958
- key: "getAssetHubForeignBalance",
958
+ key: "getBalanceForeignAssetsPallet",
959
959
  value: function () {
960
- var _getAssetHubForeignBalance = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee9(address, multiLocation) {
960
+ var _getBalanceForeignAssetsPallet = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee9(address, multiLocation) {
961
961
  var transformedMultiLocation, res;
962
962
  return _regeneratorRuntime().wrap(function _callee9$(_context9) {
963
963
  while (1) switch (_context9.prev = _context9.next) {
@@ -974,10 +974,10 @@ var PapiApi = /*#__PURE__*/function () {
974
974
  }
975
975
  }, _callee9, this);
976
976
  }));
977
- function getAssetHubForeignBalance(_x11, _x12) {
978
- return _getAssetHubForeignBalance.apply(this, arguments);
977
+ function getBalanceForeignAssetsPallet(_x11, _x12) {
978
+ return _getBalanceForeignAssetsPallet.apply(this, arguments);
979
979
  }
980
- return getAssetHubForeignBalance;
980
+ return getBalanceForeignAssetsPallet;
981
981
  }()
982
982
  }, {
983
983
  key: "getForeignAssetsByIdBalance",
@@ -1095,9 +1095,9 @@ var PapiApi = /*#__PURE__*/function () {
1095
1095
  return getBalanceForeignXTokens;
1096
1096
  }()
1097
1097
  }, {
1098
- key: "getBalanceForeignAssetsAccount",
1098
+ key: "getBalanceAssetsPallet",
1099
1099
  value: function () {
1100
- var _getBalanceForeignAssetsAccount = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee12(address, assetId) {
1100
+ var _getBalanceAssetsPallet = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee12(address, assetId) {
1101
1101
  var response;
1102
1102
  return _regeneratorRuntime().wrap(function _callee12$(_context12) {
1103
1103
  while (1) switch (_context12.prev = _context12.next) {
@@ -1113,10 +1113,10 @@ var PapiApi = /*#__PURE__*/function () {
1113
1113
  }
1114
1114
  }, _callee12, this);
1115
1115
  }));
1116
- function getBalanceForeignAssetsAccount(_x22, _x23) {
1117
- return _getBalanceForeignAssetsAccount.apply(this, arguments);
1116
+ function getBalanceAssetsPallet(_x22, _x23) {
1117
+ return _getBalanceAssetsPallet.apply(this, arguments);
1118
1118
  }
1119
- return getBalanceForeignAssetsAccount;
1119
+ return getBalanceAssetsPallet;
1120
1120
  }()
1121
1121
  }, {
1122
1122
  key: "getFromRpc",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paraspell/sdk",
3
- "version": "8.13.0",
3
+ "version": "8.13.1",
4
4
  "description": "SDK for ParaSpell XCM/XCMP tool for developers",
5
5
  "repository": {
6
6
  "type": "git",
@@ -26,10 +26,10 @@
26
26
  "ethers": "^6.13.7",
27
27
  "viem": "^2.28.1",
28
28
  "@noble/hashes": "^1.8.0",
29
- "@paraspell/sdk-core": "8.13.0"
29
+ "@paraspell/sdk-core": "8.13.1"
30
30
  },
31
31
  "peerDependencies": {
32
- "polkadot-api": ">= 1.10.0 < 2"
32
+ "polkadot-api": ">= 1.10.2 < 2"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@babel/plugin-syntax-import-attributes": "^7.27.1",