@paraspell/sdk-core 12.6.1 → 12.7.0

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 +4 -4
package/dist/index.mjs CHANGED
@@ -13607,9 +13607,8 @@ var AssetsPallet = /*#__PURE__*/function (_BaseAssetsPallet) {
13607
13607
  value: function () {
13608
13608
  var _getBalance = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(api, address, asset) {
13609
13609
  var _this = this,
13610
- _balance$balance,
13611
13610
  _balance2;
13612
- var fetchBalance, balance, _t;
13611
+ var fetchBalance, balance, value, _t;
13613
13612
  return _regenerator().w(function (_context) {
13614
13613
  while (1) switch (_context.p = _context.n) {
13615
13614
  case 0:
@@ -13645,7 +13644,8 @@ var AssetsPallet = /*#__PURE__*/function (_BaseAssetsPallet) {
13645
13644
  case 5:
13646
13645
  throw _t;
13647
13646
  case 6:
13648
- return _context.a(2, (_balance$balance = (_balance2 = balance) === null || _balance2 === void 0 ? void 0 : _balance2.balance) !== null && _balance$balance !== void 0 ? _balance$balance : 0n);
13647
+ value = (_balance2 = balance) === null || _balance2 === void 0 ? void 0 : _balance2.balance;
13648
+ return _context.a(2, value !== undefined ? BigInt(value) : 0n);
13649
13649
  }
13650
13650
  }, _callee, null, [[1, 3]]);
13651
13651
  }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paraspell/sdk-core",
3
- "version": "12.6.1",
3
+ "version": "12.7.0",
4
4
  "description": "SDK core for ParaSpell XCM/XCMP tool for developers",
5
5
  "repository": {
6
6
  "type": "git",
@@ -26,9 +26,9 @@
26
26
  "@noble/hashes": "^2.0.1",
27
27
  "@scure/base": "^2.0.0",
28
28
  "viem": "2.45.0",
29
- "@paraspell/pallets": "12.6.1",
30
- "@paraspell/sdk-common": "12.6.1",
31
- "@paraspell/assets": "12.6.1"
29
+ "@paraspell/pallets": "12.7.0",
30
+ "@paraspell/sdk-common": "12.7.0",
31
+ "@paraspell/assets": "12.7.0"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@babel/plugin-syntax-import-attributes": "^7.28.6",