@paraspell/sdk-core 12.8.1 → 12.8.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +8 -0
  2. package/package.json +4 -4
package/dist/index.d.ts CHANGED
@@ -1236,6 +1236,7 @@ type TDryRunXcmBaseOptions<TRes> = {
1236
1236
  type TDryRunXcmOptions<TApi, TRes, TSigner> = WithApi<TDryRunXcmBaseOptions<TRes>, TApi, TRes, TSigner>;
1237
1237
  type TDryRunResBase = {
1238
1238
  asset: TAssetInfo;
1239
+ isExchange?: boolean;
1239
1240
  };
1240
1241
  type TDryRunChainSuccess = TDryRunResBase & {
1241
1242
  success: true;
@@ -1253,6 +1254,8 @@ type TDryRunChainResult = TDryRunChainSuccess | TDryRunChainFailure;
1253
1254
  type THopInfo = {
1254
1255
  chain: TChain;
1255
1256
  result: TDryRunChainResult;
1257
+ /** @deprecated Use `result.isExchange` instead. Will be removed in v13. */
1258
+ isExchange?: boolean;
1256
1259
  };
1257
1260
  type TChainEndpoint = 'origin' | 'destination' | TChain;
1258
1261
  type TDryRunResult = {
@@ -1496,6 +1499,7 @@ type TXcmFeeBase$1 = {
1496
1499
  asset: TAssetInfo;
1497
1500
  weight?: TWeight;
1498
1501
  sufficient?: boolean;
1502
+ isExchange?: boolean;
1499
1503
  };
1500
1504
  type TXcmFeeDetailSuccess = TXcmFeeBase$1 & {
1501
1505
  fee: bigint;
@@ -1529,10 +1533,14 @@ type TDestXcmFeeDetail<TDisableFallback extends boolean> = TConditionalXcmFeeDet
1529
1533
  type TConditionalXcmFeeHopInfo<TDisableFallback extends boolean> = {
1530
1534
  chain: TChain;
1531
1535
  result: TConditionalXcmFeeDetail<TDisableFallback>;
1536
+ /** @deprecated - Use `result.isExchange` instead. Will be removed in v13. */
1537
+ isExchange?: boolean;
1532
1538
  };
1533
1539
  type TXcmFeeHopInfo = {
1534
1540
  chain: TChain;
1535
1541
  result: TXcmFeeDetail;
1542
+ /** @deprecated - Use `result.isExchange` instead. Will be removed in v13. */
1543
+ isExchange?: boolean;
1536
1544
  };
1537
1545
  type TGetXcmFeeResult<TDisableFallback extends boolean = boolean> = {
1538
1546
  failureReason?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paraspell/sdk-core",
3
- "version": "12.8.1",
3
+ "version": "12.8.3",
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.46.3",
29
- "@paraspell/assets": "12.8.1",
30
- "@paraspell/pallets": "12.8.1",
31
- "@paraspell/sdk-common": "12.8.1"
29
+ "@paraspell/assets": "12.8.3",
30
+ "@paraspell/sdk-common": "12.8.3",
31
+ "@paraspell/pallets": "12.8.3"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@babel/plugin-syntax-import-attributes": "^7.28.6",