@paraspell/sdk-core 10.1.1 → 10.1.3

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
@@ -6459,7 +6459,7 @@ var AssetHubPolkadot = /*#__PURE__*/function (_ParachainNode) {
6459
6459
  key: "handleExecuteTransfer",
6460
6460
  value: function () {
6461
6461
  var _handleExecuteTransfer = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(input) {
6462
- var api, senderAddress, asset, feeAsset, decimals, multiplier, base, scaledMultiplier, MIN_FEE, maxU64, dummyTx, dryRunResult;
6462
+ var api, senderAddress, asset, feeAsset, decimals, multiplier, base, scaledMultiplier, MIN_FEE, maxU64, dummyTx, dryRunResult, paddedFee;
6463
6463
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
6464
6464
  while (1) switch (_context3.prev = _context3.next) {
6465
6465
  case 0:
@@ -6502,8 +6502,9 @@ var AssetHubPolkadot = /*#__PURE__*/function (_ParachainNode) {
6502
6502
  }
6503
6503
  throw new DryRunFailedError('weight not found');
6504
6504
  case 18:
6505
- return _context3.abrupt("return", createExecuteXcm(input, dryRunResult.weight, dryRunResult.fee));
6506
- case 19:
6505
+ paddedFee = dryRunResult.fee * 120n / 100n;
6506
+ return _context3.abrupt("return", createExecuteXcm(input, dryRunResult.weight, paddedFee));
6507
+ case 20:
6507
6508
  case "end":
6508
6509
  return _context3.stop();
6509
6510
  }
package/dist/index.mjs CHANGED
@@ -6460,7 +6460,7 @@ var AssetHubPolkadot = /*#__PURE__*/function (_ParachainNode) {
6460
6460
  key: "handleExecuteTransfer",
6461
6461
  value: function () {
6462
6462
  var _handleExecuteTransfer = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(input) {
6463
- var api, senderAddress, asset, feeAsset, decimals, multiplier, base, scaledMultiplier, MIN_FEE, maxU64, dummyTx, dryRunResult;
6463
+ var api, senderAddress, asset, feeAsset, decimals, multiplier, base, scaledMultiplier, MIN_FEE, maxU64, dummyTx, dryRunResult, paddedFee;
6464
6464
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
6465
6465
  while (1) switch (_context3.prev = _context3.next) {
6466
6466
  case 0:
@@ -6503,8 +6503,9 @@ var AssetHubPolkadot = /*#__PURE__*/function (_ParachainNode) {
6503
6503
  }
6504
6504
  throw new DryRunFailedError('weight not found');
6505
6505
  case 18:
6506
- return _context3.abrupt("return", createExecuteXcm(input, dryRunResult.weight, dryRunResult.fee));
6507
- case 19:
6506
+ paddedFee = dryRunResult.fee * 120n / 100n;
6507
+ return _context3.abrupt("return", createExecuteXcm(input, dryRunResult.weight, paddedFee));
6508
+ case 20:
6508
6509
  case "end":
6509
6510
  return _context3.stop();
6510
6511
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paraspell/sdk-core",
3
- "version": "10.1.1",
3
+ "version": "10.1.3",
4
4
  "description": "SDK core for ParaSpell XCM/XCMP tool for developers",
5
5
  "repository": {
6
6
  "type": "git",
@@ -27,9 +27,9 @@
27
27
  "@scure/base": "^1.2.5",
28
28
  "ethers": "^6.13.7",
29
29
  "viem": "^2.28.1",
30
- "@paraspell/assets": "10.1.1",
31
- "@paraspell/pallets": "10.1.1",
32
- "@paraspell/sdk-common": "10.1.1"
30
+ "@paraspell/sdk-common": "10.1.3",
31
+ "@paraspell/assets": "10.1.3",
32
+ "@paraspell/pallets": "10.1.3"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@babel/plugin-syntax-import-attributes": "^7.27.1",