@paraspell/sdk-core 12.9.3 → 12.9.4

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 +1 -1
  2. package/package.json +4 -4
package/dist/index.mjs CHANGED
@@ -9728,7 +9728,7 @@ var executeWithRouter = /*#__PURE__*/function () {
9728
9728
  };
9729
9729
  }();
9730
9730
  var normalizeExchange = function normalizeExchange(exchange) {
9731
- return Array.isArray(exchange) && exchange.length === 0 ? undefined : exchange;
9731
+ return Array.isArray(exchange) ? exchange.length === 0 ? undefined : exchange.length === 1 ? exchange[0] : exchange : exchange;
9732
9732
  };
9733
9733
 
9734
9734
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paraspell/sdk-core",
3
- "version": "12.9.3",
3
+ "version": "12.9.4",
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.47.1",
29
- "@paraspell/assets": "12.9.3",
30
- "@paraspell/sdk-common": "12.9.3",
31
- "@paraspell/pallets": "12.9.3"
29
+ "@paraspell/assets": "12.9.4",
30
+ "@paraspell/sdk-common": "12.9.4",
31
+ "@paraspell/pallets": "12.9.4"
32
32
  },
33
33
  "peerDependencies": {
34
34
  "@paraspell/swap": "^12.0.0"