@paraspell/sdk-core 11.3.0 → 11.3.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
@@ -8378,7 +8378,7 @@ var Parachain = /*#__PURE__*/function () {
8378
8378
  }
8379
8379
  throw new InvalidParameterError('Relaychain assets can only be transferred using the type-and-then method which is not supported by this chain');
8380
8380
  case 4:
8381
- useTypeAndThen = isRelayAsset && supportsTypeThen;
8381
+ useTypeAndThen = isRelayAsset && supportsTypeThen && destChain && (!sdkCommon.isTrustedChain(this.chain) || !sdkCommon.isTrustedChain(destChain));
8382
8382
  if (!(supportsXTokens(this) && this.canUseXTokens(sendOptions) && !useTypeAndThen)) {
8383
8383
  _context.n = 6;
8384
8384
  break;
package/dist/index.mjs CHANGED
@@ -8379,7 +8379,7 @@ var Parachain = /*#__PURE__*/function () {
8379
8379
  }
8380
8380
  throw new InvalidParameterError('Relaychain assets can only be transferred using the type-and-then method which is not supported by this chain');
8381
8381
  case 4:
8382
- useTypeAndThen = isRelayAsset && supportsTypeThen;
8382
+ useTypeAndThen = isRelayAsset && supportsTypeThen && destChain && (!isTrustedChain(this.chain) || !isTrustedChain(destChain));
8383
8383
  if (!(supportsXTokens(this) && this.canUseXTokens(sendOptions) && !useTypeAndThen)) {
8384
8384
  _context.n = 6;
8385
8385
  break;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paraspell/sdk-core",
3
- "version": "11.3.0",
3
+ "version": "11.3.1",
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.36.0",
29
- "@paraspell/assets": "11.3.0",
30
- "@paraspell/sdk-common": "11.3.0",
31
- "@paraspell/pallets": "11.3.0"
29
+ "@paraspell/pallets": "11.3.1",
30
+ "@paraspell/assets": "11.3.1",
31
+ "@paraspell/sdk-common": "11.3.1"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@babel/plugin-syntax-import-attributes": "^7.27.1",