@paraspell/sdk-core 11.12.1 → 11.12.2

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
@@ -3649,9 +3649,7 @@ var handleExecuteTransfer = /*#__PURE__*/function () {
3649
3649
  assertSenderAddress(senderAddress);
3650
3650
  assertAddressIsString(address);
3651
3651
  checkAmount = function checkAmount(fee) {
3652
- if (assetInfo.amount <= fee) {
3653
- throw new InvalidParameterError("Asset amount is too low, please increase the amount or use a different fee asset.");
3654
- }
3652
+ if (assetInfo.amount <= fee) throw new AmountTooLowError();
3655
3653
  };
3656
3654
  checkAmount(MIN_FEE);
3657
3655
  destChain = getTChain(paraIdTo, getRelayChainOf(chain));
package/dist/index.mjs CHANGED
@@ -3650,9 +3650,7 @@ var handleExecuteTransfer = /*#__PURE__*/function () {
3650
3650
  assertSenderAddress(senderAddress);
3651
3651
  assertAddressIsString(address);
3652
3652
  checkAmount = function checkAmount(fee) {
3653
- if (assetInfo.amount <= fee) {
3654
- throw new InvalidParameterError("Asset amount is too low, please increase the amount or use a different fee asset.");
3655
- }
3653
+ if (assetInfo.amount <= fee) throw new AmountTooLowError();
3656
3654
  };
3657
3655
  checkAmount(MIN_FEE);
3658
3656
  destChain = getTChain(paraIdTo, getRelayChainOf(chain));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paraspell/sdk-core",
3
- "version": "11.12.1",
3
+ "version": "11.12.2",
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": "^1.8.0",
27
27
  "@scure/base": "^2.0.0",
28
28
  "viem": "^2.37.9",
29
- "@paraspell/assets": "11.12.1",
30
- "@paraspell/pallets": "11.12.1",
31
- "@paraspell/sdk-common": "11.12.1"
29
+ "@paraspell/assets": "11.12.2",
30
+ "@paraspell/pallets": "11.12.2",
31
+ "@paraspell/sdk-common": "11.12.2"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@babel/plugin-syntax-import-attributes": "^7.27.1",