@paraspell/sdk-core 12.9.5 → 12.9.7
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.d.ts +9 -18
- package/dist/index.mjs +103 -136
- package/package.json +13 -13
package/dist/index.d.ts
CHANGED
|
@@ -135,13 +135,6 @@ declare class AjunaPaseo<TApi, TRes, TSigner> extends Ajuna<TApi, TRes, TSigner>
|
|
|
135
135
|
constructor();
|
|
136
136
|
}
|
|
137
137
|
|
|
138
|
-
declare class Altair<TApi, TRes, TSigner> extends Chain<TApi, TRes, TSigner> implements IXTokensTransfer<TApi, TRes, TSigner> {
|
|
139
|
-
constructor();
|
|
140
|
-
getCustomCurrencyId(asset: TAssetInfo): TForeignOrNativeAsset;
|
|
141
|
-
transferXTokens(input: TXTokensTransferOptions<TApi, TRes, TSigner>): TRes;
|
|
142
|
-
transferLocalNonNativeAsset(options: TTransferLocalOptions<TApi, TRes, TSigner>): TRes;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
138
|
declare class AssetHubKusama<TApi, TRes, TSigner> extends Chain<TApi, TRes, TSigner> implements IPolkadotXCMTransfer<TApi, TRes, TSigner> {
|
|
146
139
|
constructor();
|
|
147
140
|
transferPolkadotXCM(input: TPolkadotXCMTransferOptions<TApi, TRes, TSigner>): Promise<TRes>;
|
|
@@ -444,12 +437,6 @@ declare class NeuroWebPaseo<TApi, TRes, TSigner> extends NeuroWeb<TApi, TRes, TS
|
|
|
444
437
|
constructor();
|
|
445
438
|
}
|
|
446
439
|
|
|
447
|
-
declare class Nodle<TApi, TRes, TSigner> extends Chain<TApi, TRes, TSigner> implements IPolkadotXCMTransfer<TApi, TRes, TSigner> {
|
|
448
|
-
constructor(chain?: TParachain, info?: string, ecosystem?: TRelaychain, version?: Version);
|
|
449
|
-
transferPolkadotXCM(input: TPolkadotXCMTransferOptions<TApi, TRes, TSigner>): Promise<TRes>;
|
|
450
|
-
isRelayToParaEnabled(): boolean;
|
|
451
|
-
}
|
|
452
|
-
|
|
453
440
|
declare class Paseo<TApi, TRes, TSigner> extends Polkadot<TApi, TRes, TSigner> {
|
|
454
441
|
constructor();
|
|
455
442
|
}
|
|
@@ -496,6 +483,12 @@ declare class Quartz<TApi, TRes, TSigner> extends Chain<TApi, TRes, TSigner> imp
|
|
|
496
483
|
isSendingTempDisabled(): boolean;
|
|
497
484
|
}
|
|
498
485
|
|
|
486
|
+
declare class RobonomicsPolkadot<TApi, TRes, TSigner> extends Chain<TApi, TRes, TSigner> implements IPolkadotXCMTransfer<TApi, TRes, TSigner> {
|
|
487
|
+
constructor();
|
|
488
|
+
transferPolkadotXCM(_input: TPolkadotXCMTransferOptions<TApi, TRes, TSigner>): Promise<TRes>;
|
|
489
|
+
transferLocalNonNativeAsset(options: TTransferLocalOptions<TApi, TRes, TSigner>): TRes;
|
|
490
|
+
}
|
|
491
|
+
|
|
499
492
|
declare class Shiden<TApi, TRes, TSigner> extends Astar<TApi, TRes, TSigner> {
|
|
500
493
|
constructor();
|
|
501
494
|
}
|
|
@@ -549,8 +542,8 @@ declare const chains: <TApi, TRes, TSigner>() => {
|
|
|
549
542
|
Moonbeam: Moonbeam<TApi, TRes, TSigner>;
|
|
550
543
|
CoretimePolkadot: CoretimePolkadot<TApi, TRes, TSigner>;
|
|
551
544
|
PeoplePolkadot: PeoplePolkadot<TApi, TRes, TSigner>;
|
|
545
|
+
RobonomicsPolkadot: RobonomicsPolkadot<TApi, TRes, TSigner>;
|
|
552
546
|
Manta: Manta<TApi, TRes, TSigner>;
|
|
553
|
-
Nodle: Nodle<TApi, TRes, TSigner>;
|
|
554
547
|
NeuroWeb: NeuroWeb<TApi, TRes, TSigner>;
|
|
555
548
|
Pendulum: Pendulum<TApi, TRes, TSigner>;
|
|
556
549
|
Collectives: Collectives<TApi, TRes, TSigner>;
|
|
@@ -562,7 +555,6 @@ declare const chains: <TApi, TRes, TSigner>() => {
|
|
|
562
555
|
BridgeHubKusama: BridgeHubKusama<TApi, TRes, TSigner>;
|
|
563
556
|
CoretimeKusama: CoretimeKusama<TApi, TRes, TSigner>;
|
|
564
557
|
Encointer: Encointer<TApi, TRes, TSigner>;
|
|
565
|
-
Altair: Altair<TApi, TRes, TSigner>;
|
|
566
558
|
Basilisk: Basilisk<TApi, TRes, TSigner>;
|
|
567
559
|
BifrostKusama: BifrostKusama<TApi, TRes, TSigner>;
|
|
568
560
|
CrustShadow: CrustShadow<TApi, TRes, TSigner>;
|
|
@@ -1860,7 +1852,6 @@ type TMantaAsset = {
|
|
|
1860
1852
|
MantaCurrency: bigint | undefined;
|
|
1861
1853
|
};
|
|
1862
1854
|
type TNativeTokenAsset = 'NativeToken';
|
|
1863
|
-
type TNodleAsset = 'NodleNative';
|
|
1864
1855
|
type TZeitgeistAsset = 'Ztg';
|
|
1865
1856
|
type TOtherReserveAsset = {
|
|
1866
1857
|
OtherReserve: string | bigint | undefined;
|
|
@@ -2408,7 +2399,7 @@ declare const reverseTransformLocation: (location: TLocation) => TLocation;
|
|
|
2408
2399
|
|
|
2409
2400
|
declare const normalizeAmount: (amount: bigint) => bigint;
|
|
2410
2401
|
|
|
2411
|
-
declare const resolveDestChain: (originChain: TSubstrateChain$1, paraId: number | undefined) => "AssetHubPolkadot" | "Acala" | "Ajuna" | "Astar" | "BifrostPolkadot" | "BridgeHubPolkadot" | "Centrifuge" | "Darwinia" | "EnergyWebX" | "Hydration" | "Interlay" | "Heima" | "Jamton" | "Moonbeam" | "CoretimePolkadot" | "Collectives" | "Crust" | "Manta" | "
|
|
2402
|
+
declare const resolveDestChain: (originChain: TSubstrateChain$1, paraId: number | undefined) => "AssetHubPolkadot" | "Acala" | "Ajuna" | "Astar" | "BifrostPolkadot" | "BridgeHubPolkadot" | "Centrifuge" | "Darwinia" | "EnergyWebX" | "Hydration" | "Interlay" | "Heima" | "Jamton" | "Moonbeam" | "CoretimePolkadot" | "Collectives" | "Crust" | "Manta" | "NeuroWeb" | "Pendulum" | "Mythos" | "Peaq" | "PeoplePolkadot" | "Unique" | "Xode" | "AssetHubKusama" | "BridgeHubKusama" | "Karura" | "Kintsugi" | "Moonriver" | "CoretimeKusama" | "Encointer" | "Basilisk" | "BifrostKusama" | "CrustShadow" | "Crab" | "Laos" | "Quartz" | "RobonomicsPolkadot" | "PeopleKusama" | "Shiden" | "Zeitgeist" | "AssetHubWestend" | "BridgeHubWestend" | "CollectivesWestend" | "CoretimeWestend" | "Penpal" | "PeopleWestend" | "AjunaPaseo" | "AssetHubPaseo" | "BifrostPaseo" | "BridgeHubPaseo" | "CoretimePaseo" | "EnergyWebXPaseo" | "HeimaPaseo" | "HydrationPaseo" | "LaosPaseo" | "NeuroWebPaseo" | "PeoplePaseo" | "ZeitgeistPaseo" | undefined;
|
|
2412
2403
|
|
|
2413
2404
|
declare const resolveParaId: (paraId: number | undefined, destination: TDestination) => number | undefined;
|
|
2414
2405
|
|
|
@@ -2487,4 +2478,4 @@ declare const pickCompatibleXcmVersion: (origin: TSubstrateChain$1, destination:
|
|
|
2487
2478
|
declare const pickRouterCompatibleXcmVersion: (origin: TSubstrateChain$1 | undefined, exchangeChain: TSubstrateChain$1, destination: TChain$1 | undefined) => Version;
|
|
2488
2479
|
|
|
2489
2480
|
export { API_TYPES, AmountTooLowError, AssetClaimBuilder, BaseAssetsPallet, BatchMode, BatchValidationError, BridgeHaltedError, Builder, DEFAULT_TTL_MS, DRY_RUN_CLIENT_TIMEOUT_MS, DryRunFailedError, ETH_MAINNET_CHAIN_ID, ETH_TESTNET_CHAIN_ID, EXCHANGE_CHAINS, EXTENSION_MS, ExtensionNotInstalledError, FeatureTemporarilyDisabledError, GeneralBuilder, InvalidAddressError, MAX_CLIENTS, MissingChainApiError, MissingParameterError, NoXCMSupportImplementedError, NumberFormatError, OverrideConflictError, PolkadotXcmError, PolkadotXcmExecutionError, ProviderUnavailableError, RELAY_LOCATION, RoutingResolutionError, RuntimeApiUnavailableError, ScenarioNotSupportedError, TRANSACT_ORIGINS, TX_CLIENT_TIMEOUT_MS, TransferToAhNotSupported, TypeAndThenUnavailableError, UnableToComputeError, UnsupportedOperationError, ValidationError, XTokensError, abstractDecimals, addEthereumBridgeFees, addXcmVersionHeader, applyDecimalAbstraction, assertAddressIsString, assertHasId, assertSender, assertSenderAddress, assertSwapSupport, assertToIsString, blake2b256, blake2b512, calcPreviewMintAmount, claimAssets, compareAddresses, computeOverridenAmount, constructTypeAndThenCall, convertSs58, createAsset, createAssetsFilter, createBaseExecuteXcm, createBeneficiaryLocXTokens, createBeneficiaryLocation, createChainClient, createClientCache, createClientPoolHelpers, createDestination, createDirectExecuteXcm, createExecuteCall, createExecuteExchangeXcm, createId, createRouterBuilder, createTransfer, createTransferOrSwap, createTransferOrSwapAll, createTxOverrideAmount, createTypeAndThenCall, createTypeThenAutoReserve, createVersionedAssets, createVersionedDestination, createX1Payload, deriveAccountId, dryRun, dryRunInternal, dryRunOrigin, encodeSs58, executeWithRouter, formatAssetIdToERC20, formatUnits, getAssetBalanceInternal, getAssetReserveChain, getBalance, getBalanceInternal, getBridgeStatus, getChain, getChainConfig, getChainLocation, getChainProviders, getChainVersion, getEthErc20Balance, getEvmPrivateKeyHex, getFailureInfo, getLocalTransferAmount, getMinTransferableAmount, getMinTransferableAmountInternal, getMoonbeamErc20Balance, getOriginXcmFee, getOriginXcmFeeEstimate, getOriginXcmFeeInternal, getParaEthTransferFees, getParaId, getRelayChainOf, getSwapExtensionOrThrow, getTChain, getTransferInfo, getTransferableAmount, getTransferableAmountInternal, getXcmFee, getXcmFeeEstimate, getXcmFeeInternal, getXcmFeeOnce, handleExecuteTransfer, handleSwapExecuteTransfer, handleToAhTeleport, isConfig, isSenderSigner, keyFromWs, localizeLocation, maybeOverrideAsset, maybeOverrideAssets, normalizeAmount, normalizeExchange, overrideTxAmount, padFee, padValueBy, parseUnits, pickCompatibleXcmVersion, pickRouterCompatibleXcmVersion, registerSwapExtension, resolveChainApi, resolveDestChain, resolveModuleError, resolveParaId, resolveTransferParams, reverseTransformLocation, selectXcmVersion, sortAssets, throwUnsupportedCurrency, transferMoonbeamEvm, transferMoonbeamToEth, traverseXcmHops, validateAddress, validateAssetSpecifiers, validateCurrency, validateDestination, validateDestinationAddress, validateTransact, verifyEdOnDestination, wrapTxBypass };
|
|
2490
|
-
export type { BuildHopInfoOptions, ClientCache, HopProcessParams, HopTraversalConfig, HopTraversalResult, IPolkadotApi, IPolkadotXCMTransfer, IXTokensTransfer, OneKey, TAddress, TApiOrUrl, TApiType, TAssetClaimInternalOptions, TAssetClaimOptions, TAssetClaimOptionsBase, TBatchOptions, TBatchedSendOptions, TBifrostToken, TBridgeStatus, TBuildAllInternalRes, TBuildDestInfoOptions, TBuildInternalRes, TBuildInternalResBase, TBuilderConfig, TBuilderInternalOptions, TBuilderOptions, TBypassOptions, TCacheItem, TChainConfig, TChainConfigMap, TChainEndpoint, TChainWithApi, TClientEntry, TClientKey, TConditionalXcmFeeDetail, TConditionalXcmFeeHopInfo, TCreateBaseSwapXcmOptions, TCreateBaseTransferXcmOptions, TCreateBeneficiaryOptions, TCreateBeneficiaryXTokensOptions, TCreateEthBridgeInstructionsOptions, TCreateSwapXcmInternalOptions, TCreateSwapXcmOptions, TCreateTransferXcmOptions, TCreateTxsOptions, TDestWeight, TDestXcmFeeDetail, TDestination, TDryRunBaseOptions, TDryRunBypassOptions, TDryRunCallBaseOptions, TDryRunCallOptions, TDryRunChainFailure, TDryRunChainResult, TDryRunChainSuccess, TDryRunError, TDryRunOptions, TDryRunPreviewOptions, TDryRunResBase, TDryRunResult, TDryRunXcmBaseOptions, TDryRunXcmOptions, TEvmBuilderOptions, TEvmBuilderOptionsBase, TEvmChainFrom, TExchangeChain, TExchangeInput, TFeeType, TForeignAssetId, TForeignOrNativeAsset, TForeignOrTokenAsset, TGetAssetBalanceOptions, TGetAssetBalanceOptionsBase, TGetBalanceCommonOptions, TGetBalanceOptions, TGetBalanceOptionsBase, TGetFeeForDestChainBaseOptions, TGetFeeForDestChainOptions, TGetMinTransferableAmountOptions, TGetOriginXcmFeeBaseOptions, TGetOriginXcmFeeEstimateOptions, TGetOriginXcmFeeInternalOptions, TGetOriginXcmFeeOptions, TGetReverseTxFeeOptions, TGetTransferInfoOptions, TGetTransferInfoOptionsBase, TGetTransferableAmountOptions, TGetTransferableAmountOptionsBase, TGetXcmFeeBaseOptions, TGetXcmFeeBuilderOptions, TGetXcmFeeEstimateDetail, TGetXcmFeeEstimateOptions, TGetXcmFeeEstimateResult, TGetXcmFeeInternalOptions, TGetXcmFeeOptions, TGetXcmFeeResult, THopInfo, THopTransferInfo, TMantaAsset, TModuleError, TNativeTokenAsset,
|
|
2481
|
+
export type { BuildHopInfoOptions, ClientCache, HopProcessParams, HopTraversalConfig, HopTraversalResult, IPolkadotApi, IPolkadotXCMTransfer, IXTokensTransfer, OneKey, TAddress, TApiOrUrl, TApiType, TAssetClaimInternalOptions, TAssetClaimOptions, TAssetClaimOptionsBase, TBatchOptions, TBatchedSendOptions, TBifrostToken, TBridgeStatus, TBuildAllInternalRes, TBuildDestInfoOptions, TBuildInternalRes, TBuildInternalResBase, TBuilderConfig, TBuilderInternalOptions, TBuilderOptions, TBypassOptions, TCacheItem, TChainConfig, TChainConfigMap, TChainEndpoint, TChainWithApi, TClientEntry, TClientKey, TConditionalXcmFeeDetail, TConditionalXcmFeeHopInfo, TCreateBaseSwapXcmOptions, TCreateBaseTransferXcmOptions, TCreateBeneficiaryOptions, TCreateBeneficiaryXTokensOptions, TCreateEthBridgeInstructionsOptions, TCreateSwapXcmInternalOptions, TCreateSwapXcmOptions, TCreateTransferXcmOptions, TCreateTxsOptions, TDestWeight, TDestXcmFeeDetail, TDestination, TDryRunBaseOptions, TDryRunBypassOptions, TDryRunCallBaseOptions, TDryRunCallOptions, TDryRunChainFailure, TDryRunChainResult, TDryRunChainSuccess, TDryRunError, TDryRunOptions, TDryRunPreviewOptions, TDryRunResBase, TDryRunResult, TDryRunXcmBaseOptions, TDryRunXcmOptions, TEvmBuilderOptions, TEvmBuilderOptionsBase, TEvmChainFrom, TExchangeChain, TExchangeInput, TFeeType, TForeignAssetId, TForeignOrNativeAsset, TForeignOrTokenAsset, TGetAssetBalanceOptions, TGetAssetBalanceOptionsBase, TGetBalanceCommonOptions, TGetBalanceOptions, TGetBalanceOptionsBase, TGetFeeForDestChainBaseOptions, TGetFeeForDestChainOptions, TGetMinTransferableAmountOptions, TGetOriginXcmFeeBaseOptions, TGetOriginXcmFeeEstimateOptions, TGetOriginXcmFeeInternalOptions, TGetOriginXcmFeeOptions, TGetReverseTxFeeOptions, TGetTransferInfoOptions, TGetTransferInfoOptionsBase, TGetTransferableAmountOptions, TGetTransferableAmountOptionsBase, TGetXcmFeeBaseOptions, TGetXcmFeeBuilderOptions, TGetXcmFeeEstimateDetail, TGetXcmFeeEstimateOptions, TGetXcmFeeEstimateResult, TGetXcmFeeInternalOptions, TGetXcmFeeOptions, TGetXcmFeeResult, THopInfo, THopTransferInfo, TMantaAsset, TModuleError, TNativeTokenAsset, TOriginFeeDetails, TOtherReserveAsset, TPaymentInfo, TPolkadotXCMTransferOptions, TPolkadotXcmMethod, TProviderEntry, TReserveAsset, TResolveHopParams, TScenario, TSelfReserveAsset, TSendBaseOptions, TSendBaseOptionsWithSenderAddress, TSendBaseOptionsWithSwap, TSendInternalOptions, TSendOptions, TSendOptionsWithSwap, TSender, TSerializeEthTransferOptions, TSerializedEthTransfer, TSerializedExtrinsics, TSerializedRuntimeApiQuery, TSerializedStateQuery, TSetBalanceRes, TStatusChangeCallback, TSwapConfig, TSwapEvent, TSwapEventType, TSwapExtension, TSwapFeeEstimates, TSwapOptions, TTransactOptions, TTransactOrigin, TTransactionContext, TTransactionType, TTransferFeeEstimates, TTransferInfo, TTransferLocalOptions, TTxFactory, TTypeAndThenCallContext, TTypeAndThenFees, TTypeAndThenOverrides, TUrl, TVerifyEdOnDestinationOptions, TVerifyEdOnDestinationOptionsBase, TWeight, TXTokensCurrencySelection, TXTokensMethod, TXTokensTransferOptions, TXcmAsset, TXcmFeeBase, TXcmFeeDetail, TXcmFeeDetailError, TXcmFeeDetailSuccess, TXcmFeeDetailWithFallback, TXcmFeeHopInfo, TXcmFeeHopResult, TXcmFeeSwapConfig, TXcmForeignAsset, TXcmPalletMethod, TXcmVersioned, TZeitgeistAsset, WithApi, WithRequiredSenderAddress, WithRequiredSwapOptions };
|
package/dist/index.mjs
CHANGED
|
@@ -5,7 +5,7 @@ import { base58 } from '@scure/base';
|
|
|
5
5
|
import { isAddress, isHex, pad, toHex, getAddress, concat, keccak256, createPublicClient, http, getContract, parseUnits as parseUnits$1, formatUnits as formatUnits$1 } from 'viem';
|
|
6
6
|
import { Version, isTLocation, replaceBigInt, hasJunction, getJunctionValue, isRelayChain, deepEqual, Parents, isExternalChain, isSnowbridge, isBridge, isSubstrateBridge, PARACHAINS, RELAYCHAINS, isTrustedChain } from '@paraspell/sdk-common';
|
|
7
7
|
export * from '@paraspell/sdk-common';
|
|
8
|
-
import { getSupportedPallets, getNativeAssetsPallet, getOtherAssetsPallets, getSupportedPalletsDetails } from '@paraspell/pallets';
|
|
8
|
+
import { getSupportedPallets, getNativeAssetsPallet, getOtherAssetsPallets, getXcmPallet, getSupportedPalletsDetails, hasPallet } from '@paraspell/pallets';
|
|
9
9
|
export * from '@paraspell/pallets';
|
|
10
10
|
import { mainnet, sepolia, moonbeam, moonriver } from 'viem/chains';
|
|
11
11
|
|
|
@@ -944,10 +944,6 @@ var AssetHubPolkadot$1 = {
|
|
|
944
944
|
name: "Parity",
|
|
945
945
|
endpoint: "wss://polkadot-asset-hub-rpc.polkadot.io"
|
|
946
946
|
},
|
|
947
|
-
{
|
|
948
|
-
name: "Permanence DAO EU",
|
|
949
|
-
endpoint: "wss://asset-hub-polkadot.rpc.permanence.io"
|
|
950
|
-
},
|
|
951
947
|
{
|
|
952
948
|
name: "RadiumBlock",
|
|
953
949
|
endpoint: "wss://statemint.public.curie.radiumblock.co/ws"
|
|
@@ -1086,6 +1082,10 @@ var BridgeHubPolkadot$1 = {
|
|
|
1086
1082
|
{
|
|
1087
1083
|
name: "RadiumBlock",
|
|
1088
1084
|
endpoint: "wss://bridgehub-polkadot.public.curie.radiumblock.co/ws"
|
|
1085
|
+
},
|
|
1086
|
+
{
|
|
1087
|
+
name: "Spectrum",
|
|
1088
|
+
endpoint: "wss://spectrum-03.simplystaking.xyz/cG9sa2Fkb3QtMDMtOTFkMmYwZGYtcG9sa2Fkb3Q/mgX--uWlEtmNKw/polkadotbridgehub/mainnet/"
|
|
1089
1089
|
}
|
|
1090
1090
|
]
|
|
1091
1091
|
};
|
|
@@ -1253,6 +1253,10 @@ var CoretimePolkadot$1 = {
|
|
|
1253
1253
|
{
|
|
1254
1254
|
name: "Parity",
|
|
1255
1255
|
endpoint: "wss://polkadot-coretime-rpc.polkadot.io"
|
|
1256
|
+
},
|
|
1257
|
+
{
|
|
1258
|
+
name: "RadiumBlock",
|
|
1259
|
+
endpoint: "wss://coretime-polkadot.public.curie.radiumblock.co/ws"
|
|
1256
1260
|
}
|
|
1257
1261
|
]
|
|
1258
1262
|
};
|
|
@@ -1329,17 +1333,6 @@ var Manta$1 = {
|
|
|
1329
1333
|
}
|
|
1330
1334
|
]
|
|
1331
1335
|
};
|
|
1332
|
-
var Nodle$1 = {
|
|
1333
|
-
name: "Nodle",
|
|
1334
|
-
info: "nodle",
|
|
1335
|
-
paraId: 2026,
|
|
1336
|
-
providers: [
|
|
1337
|
-
{
|
|
1338
|
-
name: "OnFinality",
|
|
1339
|
-
endpoint: "wss://nodle-parachain.api.onfinality.io/public-ws"
|
|
1340
|
-
}
|
|
1341
|
-
]
|
|
1342
|
-
};
|
|
1343
1336
|
var NeuroWeb$1 = {
|
|
1344
1337
|
name: "NeuroWeb",
|
|
1345
1338
|
info: "neuroweb",
|
|
@@ -1412,6 +1405,10 @@ var PeoplePolkadot$1 = {
|
|
|
1412
1405
|
{
|
|
1413
1406
|
name: "Parity",
|
|
1414
1407
|
endpoint: "wss://polkadot-people-rpc.polkadot.io"
|
|
1408
|
+
},
|
|
1409
|
+
{
|
|
1410
|
+
name: "RadiumBlock",
|
|
1411
|
+
endpoint: "wss://people-polkadot.public.curie.radiumblock.co/ws"
|
|
1415
1412
|
}
|
|
1416
1413
|
]
|
|
1417
1414
|
};
|
|
@@ -1440,12 +1437,16 @@ var Xode$1 = {
|
|
|
1440
1437
|
paraId: 3417,
|
|
1441
1438
|
providers: [
|
|
1442
1439
|
{
|
|
1443
|
-
name: "
|
|
1444
|
-
endpoint: "wss://
|
|
1440
|
+
name: "RakSonCebu",
|
|
1441
|
+
endpoint: "wss://rakson-ceb-rpc.xode.net"
|
|
1442
|
+
},
|
|
1443
|
+
{
|
|
1444
|
+
name: "RakSonKorea",
|
|
1445
|
+
endpoint: "wss://rakson-rpc.xode.net"
|
|
1445
1446
|
},
|
|
1446
1447
|
{
|
|
1447
|
-
name: "
|
|
1448
|
-
endpoint: "wss://
|
|
1448
|
+
name: "XodeCommunity",
|
|
1449
|
+
endpoint: "wss://polkadot-rpcnode.xode.net"
|
|
1449
1450
|
}
|
|
1450
1451
|
]
|
|
1451
1452
|
};
|
|
@@ -1524,6 +1525,10 @@ var BridgeHubKusama$1 = {
|
|
|
1524
1525
|
{
|
|
1525
1526
|
name: "RadiumBlock",
|
|
1526
1527
|
endpoint: "wss://bridgehub-kusama.public.curie.radiumblock.co/ws"
|
|
1528
|
+
},
|
|
1529
|
+
{
|
|
1530
|
+
name: "Spectrum",
|
|
1531
|
+
endpoint: "wss://spectrum-03.simplystaking.xyz/cG9sa2Fkb3QtMDMtOTFkMmYwZGYtcG9sa2Fkb3Q/balkpUVauqyv8g/kusamabridgehub/mainnet/"
|
|
1527
1532
|
}
|
|
1528
1533
|
]
|
|
1529
1534
|
};
|
|
@@ -1654,17 +1659,6 @@ var Encointer$1 = {
|
|
|
1654
1659
|
}
|
|
1655
1660
|
]
|
|
1656
1661
|
};
|
|
1657
|
-
var Altair$1 = {
|
|
1658
|
-
name: "Altair",
|
|
1659
|
-
info: "altair",
|
|
1660
|
-
paraId: 2088,
|
|
1661
|
-
providers: [
|
|
1662
|
-
{
|
|
1663
|
-
name: "OnFinality",
|
|
1664
|
-
endpoint: "wss://altair.api.onfinality.io/public-ws"
|
|
1665
|
-
}
|
|
1666
|
-
]
|
|
1667
|
-
};
|
|
1668
1662
|
var Basilisk$1 = {
|
|
1669
1663
|
name: "Basilisk",
|
|
1670
1664
|
info: "basilisk",
|
|
@@ -1751,6 +1745,17 @@ var Quartz$1 = {
|
|
|
1751
1745
|
}
|
|
1752
1746
|
]
|
|
1753
1747
|
};
|
|
1748
|
+
var RobonomicsPolkadot$1 = {
|
|
1749
|
+
name: "Robonomics",
|
|
1750
|
+
info: "robonomics",
|
|
1751
|
+
paraId: 3388,
|
|
1752
|
+
providers: [
|
|
1753
|
+
{
|
|
1754
|
+
name: "Airalab",
|
|
1755
|
+
endpoint: "wss://polkadot.rpc.robonomics.network/"
|
|
1756
|
+
}
|
|
1757
|
+
]
|
|
1758
|
+
};
|
|
1754
1759
|
var PeopleKusama$1 = {
|
|
1755
1760
|
name: "People",
|
|
1756
1761
|
info: "kusamaPeople",
|
|
@@ -1783,6 +1788,10 @@ var PeopleKusama$1 = {
|
|
|
1783
1788
|
{
|
|
1784
1789
|
name: "Parity",
|
|
1785
1790
|
endpoint: "wss://kusama-people-rpc.polkadot.io"
|
|
1791
|
+
},
|
|
1792
|
+
{
|
|
1793
|
+
name: "RadiumBlock",
|
|
1794
|
+
endpoint: "wss://people-kusama.public.curie.radiumblock.co/ws"
|
|
1786
1795
|
}
|
|
1787
1796
|
]
|
|
1788
1797
|
};
|
|
@@ -2124,7 +2133,7 @@ var Polkadot$1 = {
|
|
|
2124
2133
|
endpoint: "wss://polkadot.public.curie.radiumblock.co/ws"
|
|
2125
2134
|
},
|
|
2126
2135
|
{
|
|
2127
|
-
name: "
|
|
2136
|
+
name: "Spectrum",
|
|
2128
2137
|
endpoint: "wss://spectrum-03.simplystaking.xyz/cG9sa2Fkb3QtMDMtOTFkMmYwZGYtcG9sa2Fkb3Q/LjwBJpV3dIKyWQ/polkadot/mainnet/"
|
|
2129
2138
|
},
|
|
2130
2139
|
{
|
|
@@ -2178,6 +2187,10 @@ var Kusama$1 = {
|
|
|
2178
2187
|
name: "RadiumBlock",
|
|
2179
2188
|
endpoint: "wss://kusama.public.curie.radiumblock.co/ws"
|
|
2180
2189
|
},
|
|
2190
|
+
{
|
|
2191
|
+
name: "Spectrum",
|
|
2192
|
+
endpoint: "wss://spectrum-03.simplystaking.xyz/cG9sa2Fkb3QtMDMtOTFkMmYwZGYtcG9sa2Fkb3Q/QXq7QZ6Q60NDzA/kusama/mainnet/"
|
|
2193
|
+
},
|
|
2181
2194
|
{
|
|
2182
2195
|
name: "Stakeworld",
|
|
2183
2196
|
endpoint: "wss://rpc-kusama.stakeworld.io"
|
|
@@ -2253,7 +2266,6 @@ var configs = {
|
|
|
2253
2266
|
Collectives: Collectives$1,
|
|
2254
2267
|
Crust: Crust$1,
|
|
2255
2268
|
Manta: Manta$1,
|
|
2256
|
-
Nodle: Nodle$1,
|
|
2257
2269
|
NeuroWeb: NeuroWeb$1,
|
|
2258
2270
|
Pendulum: Pendulum$1,
|
|
2259
2271
|
Mythos: Mythos$1,
|
|
@@ -2268,13 +2280,13 @@ var configs = {
|
|
|
2268
2280
|
Moonriver: Moonriver$1,
|
|
2269
2281
|
CoretimeKusama: CoretimeKusama$1,
|
|
2270
2282
|
Encointer: Encointer$1,
|
|
2271
|
-
Altair: Altair$1,
|
|
2272
2283
|
Basilisk: Basilisk$1,
|
|
2273
2284
|
BifrostKusama: BifrostKusama$1,
|
|
2274
2285
|
CrustShadow: CrustShadow$1,
|
|
2275
2286
|
Crab: Crab$1,
|
|
2276
2287
|
Laos: Laos$1,
|
|
2277
2288
|
Quartz: Quartz$1,
|
|
2289
|
+
RobonomicsPolkadot: RobonomicsPolkadot$1,
|
|
2278
2290
|
PeopleKusama: PeopleKusama$1,
|
|
2279
2291
|
Shiden: Shiden$1,
|
|
2280
2292
|
Zeitgeist: Zeitgeist$1,
|
|
@@ -8966,7 +8978,7 @@ var buildTypeAndThenCall = function buildTypeAndThenCall(context, isDotAsset, cu
|
|
|
8966
8978
|
return a.isFeeAsset;
|
|
8967
8979
|
}) : null;
|
|
8968
8980
|
var feeMultiAsset = feeAsset !== null && feeAsset !== void 0 ? feeAsset : createAsset(version, assetInfo.amount, localizeLocation(origin.chain, feeAssetLocation));
|
|
8969
|
-
var module = pallet !== null && pallet !== void 0 ? pallet :
|
|
8981
|
+
var module = pallet !== null && pallet !== void 0 ? pallet : getXcmPallet(origin.chain);
|
|
8970
8982
|
var methodName = method !== null && method !== void 0 ? method : 'transfer_assets_using_type_and_then';
|
|
8971
8983
|
return {
|
|
8972
8984
|
module: module,
|
|
@@ -10154,7 +10166,7 @@ var createExecuteCall = function createExecuteCall(chain,
|
|
|
10154
10166
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
10155
10167
|
xcm, maxWeight) {
|
|
10156
10168
|
return {
|
|
10157
|
-
module:
|
|
10169
|
+
module: getXcmPallet(chain),
|
|
10158
10170
|
method: 'execute',
|
|
10159
10171
|
params: {
|
|
10160
10172
|
message: xcm,
|
|
@@ -11046,7 +11058,7 @@ var handleTransactUsingSend = /*#__PURE__*/function () {
|
|
|
11046
11058
|
}
|
|
11047
11059
|
}]);
|
|
11048
11060
|
return _context.a(2, {
|
|
11049
|
-
module:
|
|
11061
|
+
module: getXcmPallet(chain),
|
|
11050
11062
|
method: 'send',
|
|
11051
11063
|
params: {
|
|
11052
11064
|
dest: addXcmVersionHeader(dest, version),
|
|
@@ -11106,7 +11118,7 @@ var transferPolkadotXcm = /*#__PURE__*/function () {
|
|
|
11106
11118
|
return asset.isFeeAsset;
|
|
11107
11119
|
});
|
|
11108
11120
|
call = {
|
|
11109
|
-
module: pallet !== null && pallet !== void 0 ? pallet :
|
|
11121
|
+
module: pallet !== null && pallet !== void 0 ? pallet : getXcmPallet(chain),
|
|
11110
11122
|
method: methodOverride !== null && methodOverride !== void 0 ? methodOverride : method,
|
|
11111
11123
|
params: _objectSpread2({
|
|
11112
11124
|
dest: addXcmVersionHeader(destLocation, version),
|
|
@@ -11314,7 +11326,7 @@ var Chain = /*#__PURE__*/function () {
|
|
|
11314
11326
|
isMythAsset = isAssetXcEqual(mythAsset, asset);
|
|
11315
11327
|
assetNeedsTypeThen = isRelayAsset || isMythAsset;
|
|
11316
11328
|
_context.n = 3;
|
|
11317
|
-
return api.hasMethod(
|
|
11329
|
+
return api.hasMethod(hasPallet(this.chain, 'XcmPallet') ? 'XcmPallet' : 'PolkadotXcm', 'transfer_assets_using_type_and_then');
|
|
11318
11330
|
case 3:
|
|
11319
11331
|
supportsTypeThen = _context.v;
|
|
11320
11332
|
if (!(assetNeedsTypeThen && !supportsTypeThen)) {
|
|
@@ -12036,64 +12048,6 @@ var AjunaPaseo = /*#__PURE__*/function (_Ajuna) {
|
|
|
12036
12048
|
return _createClass(AjunaPaseo);
|
|
12037
12049
|
}(Ajuna);
|
|
12038
12050
|
|
|
12039
|
-
var Altair = /*#__PURE__*/function (_Chain) {
|
|
12040
|
-
function Altair() {
|
|
12041
|
-
_classCallCheck(this, Altair);
|
|
12042
|
-
return _callSuper(this, Altair, ['Altair', 'altair', 'Kusama', Version.V4]);
|
|
12043
|
-
}
|
|
12044
|
-
_inherits(Altair, _Chain);
|
|
12045
|
-
return _createClass(Altair, [{
|
|
12046
|
-
key: "getCustomCurrencyId",
|
|
12047
|
-
value: function getCustomCurrencyId(asset) {
|
|
12048
|
-
if (asset.symbol === this.getNativeAssetSymbol()) return 'Native';
|
|
12049
|
-
assertHasId(asset);
|
|
12050
|
-
return {
|
|
12051
|
-
ForeignAsset: Number(asset.assetId)
|
|
12052
|
-
};
|
|
12053
|
-
}
|
|
12054
|
-
}, {
|
|
12055
|
-
key: "transferXTokens",
|
|
12056
|
-
value: function transferXTokens$1(input) {
|
|
12057
|
-
var asset = input.asset;
|
|
12058
|
-
var currencySelection = this.getCustomCurrencyId(asset);
|
|
12059
|
-
return transferXTokens(input, currencySelection);
|
|
12060
|
-
}
|
|
12061
|
-
}, {
|
|
12062
|
-
key: "transferLocalNonNativeAsset",
|
|
12063
|
-
value: function transferLocalNonNativeAsset(options) {
|
|
12064
|
-
var api = options.api,
|
|
12065
|
-
asset = options.assetInfo,
|
|
12066
|
-
address = options.address,
|
|
12067
|
-
isAmountAll = options.isAmountAll,
|
|
12068
|
-
keepAlive = options.keepAlive;
|
|
12069
|
-
var dest = {
|
|
12070
|
-
Id: address
|
|
12071
|
-
};
|
|
12072
|
-
var currencyId = this.getCustomCurrencyId(asset);
|
|
12073
|
-
if (isAmountAll) {
|
|
12074
|
-
return api.deserializeExtrinsics({
|
|
12075
|
-
module: 'Tokens',
|
|
12076
|
-
method: 'transfer_all',
|
|
12077
|
-
params: {
|
|
12078
|
-
dest: dest,
|
|
12079
|
-
currency_id: currencyId,
|
|
12080
|
-
keep_alive: keepAlive
|
|
12081
|
-
}
|
|
12082
|
-
});
|
|
12083
|
-
}
|
|
12084
|
-
return api.deserializeExtrinsics({
|
|
12085
|
-
module: 'Tokens',
|
|
12086
|
-
method: keepAlive ? 'transfer_keep_alive' : 'transfer',
|
|
12087
|
-
params: {
|
|
12088
|
-
dest: dest,
|
|
12089
|
-
currency_id: currencyId,
|
|
12090
|
-
amount: asset.amount
|
|
12091
|
-
}
|
|
12092
|
-
});
|
|
12093
|
-
}
|
|
12094
|
-
}]);
|
|
12095
|
-
}(Chain);
|
|
12096
|
-
|
|
12097
12051
|
var AssetHubKusama = /*#__PURE__*/function (_Chain) {
|
|
12098
12052
|
function AssetHubKusama() {
|
|
12099
12053
|
_classCallCheck(this, AssetHubKusama);
|
|
@@ -12383,7 +12337,7 @@ var Hydration = /*#__PURE__*/function (_Chain) {
|
|
|
12383
12337
|
var chain = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'Hydration';
|
|
12384
12338
|
var info = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'hydradx';
|
|
12385
12339
|
var ecosystem = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'Polkadot';
|
|
12386
|
-
var version = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : Version.
|
|
12340
|
+
var version = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : Version.V5;
|
|
12387
12341
|
_classCallCheck(this, Hydration);
|
|
12388
12342
|
return _callSuper(this, Hydration, [chain, info, ecosystem, version]);
|
|
12389
12343
|
}
|
|
@@ -13151,7 +13105,7 @@ var HeimaPaseo = /*#__PURE__*/function (_Heima) {
|
|
|
13151
13105
|
var HydrationPaseo = /*#__PURE__*/function (_Hydration) {
|
|
13152
13106
|
function HydrationPaseo() {
|
|
13153
13107
|
_classCallCheck(this, HydrationPaseo);
|
|
13154
|
-
return _callSuper(this, HydrationPaseo, ['HydrationPaseo', 'rococoHydraDX', 'Paseo', Version.
|
|
13108
|
+
return _callSuper(this, HydrationPaseo, ['HydrationPaseo', 'rococoHydraDX', 'Paseo', Version.V5]);
|
|
13155
13109
|
}
|
|
13156
13110
|
_inherits(HydrationPaseo, _Hydration);
|
|
13157
13111
|
return _createClass(HydrationPaseo);
|
|
@@ -13715,40 +13669,6 @@ var NeuroWebPaseo = /*#__PURE__*/function (_NeuroWeb) {
|
|
|
13715
13669
|
return _createClass(NeuroWebPaseo);
|
|
13716
13670
|
}(NeuroWeb);
|
|
13717
13671
|
|
|
13718
|
-
var Nodle = /*#__PURE__*/function (_Chain) {
|
|
13719
|
-
function Nodle() {
|
|
13720
|
-
var chain = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'Nodle';
|
|
13721
|
-
var info = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'nodle';
|
|
13722
|
-
var ecosystem = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'Polkadot';
|
|
13723
|
-
var version = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : Version.V4;
|
|
13724
|
-
_classCallCheck(this, Nodle);
|
|
13725
|
-
return _callSuper(this, Nodle, [chain, info, ecosystem, version]);
|
|
13726
|
-
}
|
|
13727
|
-
_inherits(Nodle, _Chain);
|
|
13728
|
-
return _createClass(Nodle, [{
|
|
13729
|
-
key: "transferPolkadotXCM",
|
|
13730
|
-
value: function transferPolkadotXCM(input) {
|
|
13731
|
-
var asset = input.assetInfo,
|
|
13732
|
-
scenario = input.scenario;
|
|
13733
|
-
if (scenario !== 'ParaToPara') {
|
|
13734
|
-
throw new ScenarioNotSupportedError({
|
|
13735
|
-
chain: this.chain,
|
|
13736
|
-
scenario: scenario
|
|
13737
|
-
});
|
|
13738
|
-
}
|
|
13739
|
-
if (asset.symbol !== this.getNativeAssetSymbol()) {
|
|
13740
|
-
throw new InvalidCurrencyError("Asset ".concat(asset.symbol, " is not supported by chain ").concat(this.chain, "."));
|
|
13741
|
-
}
|
|
13742
|
-
return transferPolkadotXcm(input);
|
|
13743
|
-
}
|
|
13744
|
-
}, {
|
|
13745
|
-
key: "isRelayToParaEnabled",
|
|
13746
|
-
value: function isRelayToParaEnabled() {
|
|
13747
|
-
return false;
|
|
13748
|
-
}
|
|
13749
|
-
}]);
|
|
13750
|
-
}(Chain);
|
|
13751
|
-
|
|
13752
13672
|
var Paseo = /*#__PURE__*/function (_Polkadot) {
|
|
13753
13673
|
function Paseo() {
|
|
13754
13674
|
_classCallCheck(this, Paseo);
|
|
@@ -13944,6 +13864,54 @@ var Quartz = /*#__PURE__*/function (_Chain) {
|
|
|
13944
13864
|
}]);
|
|
13945
13865
|
}(Chain);
|
|
13946
13866
|
|
|
13867
|
+
var RobonomicsPolkadot = /*#__PURE__*/function (_Chain) {
|
|
13868
|
+
function RobonomicsPolkadot() {
|
|
13869
|
+
_classCallCheck(this, RobonomicsPolkadot);
|
|
13870
|
+
return _callSuper(this, RobonomicsPolkadot, ['RobonomicsPolkadot', 'robonomics', 'Polkadot', Version.V3]);
|
|
13871
|
+
}
|
|
13872
|
+
_inherits(RobonomicsPolkadot, _Chain);
|
|
13873
|
+
return _createClass(RobonomicsPolkadot, [{
|
|
13874
|
+
key: "transferPolkadotXCM",
|
|
13875
|
+
value: function transferPolkadotXCM(_input) {
|
|
13876
|
+
throw new ScenarioNotSupportedError('Only local transfers and incoming cross-chain assets are supported.');
|
|
13877
|
+
}
|
|
13878
|
+
}, {
|
|
13879
|
+
key: "transferLocalNonNativeAsset",
|
|
13880
|
+
value: function transferLocalNonNativeAsset(options) {
|
|
13881
|
+
var api = options.api,
|
|
13882
|
+
asset = options.assetInfo,
|
|
13883
|
+
address = options.address,
|
|
13884
|
+
isAmountAll = options.isAmountAll,
|
|
13885
|
+
keepAlive = options.keepAlive;
|
|
13886
|
+
assertHasId(asset);
|
|
13887
|
+
var assetId = BigInt(asset.assetId);
|
|
13888
|
+
var dest = {
|
|
13889
|
+
Id: address
|
|
13890
|
+
};
|
|
13891
|
+
if (isAmountAll) {
|
|
13892
|
+
return api.deserializeExtrinsics({
|
|
13893
|
+
module: 'Assets',
|
|
13894
|
+
method: 'transfer_all',
|
|
13895
|
+
params: {
|
|
13896
|
+
id: assetId,
|
|
13897
|
+
dest: dest,
|
|
13898
|
+
keep_alive: keepAlive
|
|
13899
|
+
}
|
|
13900
|
+
});
|
|
13901
|
+
}
|
|
13902
|
+
return api.deserializeExtrinsics({
|
|
13903
|
+
module: 'Assets',
|
|
13904
|
+
method: keepAlive ? 'transfer_keep_alive' : 'transfer',
|
|
13905
|
+
params: {
|
|
13906
|
+
id: assetId,
|
|
13907
|
+
target: dest,
|
|
13908
|
+
amount: asset.amount
|
|
13909
|
+
}
|
|
13910
|
+
});
|
|
13911
|
+
}
|
|
13912
|
+
}]);
|
|
13913
|
+
}(Chain);
|
|
13914
|
+
|
|
13947
13915
|
var Shiden = /*#__PURE__*/function (_Astar) {
|
|
13948
13916
|
function Shiden() {
|
|
13949
13917
|
_classCallCheck(this, Shiden);
|
|
@@ -14021,7 +13989,7 @@ var Westend = /*#__PURE__*/function (_Polkadot) {
|
|
|
14021
13989
|
var Xode = /*#__PURE__*/function (_Chain) {
|
|
14022
13990
|
function Xode() {
|
|
14023
13991
|
_classCallCheck(this, Xode);
|
|
14024
|
-
return _callSuper(this, Xode, ['Xode', 'xode', 'Polkadot', Version.
|
|
13992
|
+
return _callSuper(this, Xode, ['Xode', 'xode', 'Polkadot', Version.V5]);
|
|
14025
13993
|
}
|
|
14026
13994
|
_inherits(Xode, _Chain);
|
|
14027
13995
|
return _createClass(Xode, [{
|
|
@@ -14125,8 +14093,8 @@ var chains = function chains() {
|
|
|
14125
14093
|
Moonbeam: new Moonbeam(),
|
|
14126
14094
|
CoretimePolkadot: new CoretimePolkadot(),
|
|
14127
14095
|
PeoplePolkadot: new PeoplePolkadot(),
|
|
14096
|
+
RobonomicsPolkadot: new RobonomicsPolkadot(),
|
|
14128
14097
|
Manta: new Manta(),
|
|
14129
|
-
Nodle: new Nodle(),
|
|
14130
14098
|
NeuroWeb: new NeuroWeb(),
|
|
14131
14099
|
Pendulum: new Pendulum(),
|
|
14132
14100
|
Collectives: new Collectives(),
|
|
@@ -14139,7 +14107,6 @@ var chains = function chains() {
|
|
|
14139
14107
|
BridgeHubKusama: new BridgeHubKusama(),
|
|
14140
14108
|
CoretimeKusama: new CoretimeKusama(),
|
|
14141
14109
|
Encointer: new Encointer(),
|
|
14142
|
-
Altair: new Altair(),
|
|
14143
14110
|
Basilisk: new Basilisk(),
|
|
14144
14111
|
BifrostKusama: new BifrostKusama(),
|
|
14145
14112
|
CrustShadow: new CrustShadow(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@paraspell/sdk-core",
|
|
3
|
-
"version": "12.9.
|
|
3
|
+
"version": "12.9.7",
|
|
4
4
|
"description": "SDK core for ParaSpell XCM/XCMP tool for developers",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@noble/hashes": "^2.0.1",
|
|
27
27
|
"@scure/base": "^2.0.0",
|
|
28
|
-
"viem": "
|
|
29
|
-
"@paraspell/assets": "12.9.
|
|
30
|
-
"@paraspell/pallets": "12.9.
|
|
31
|
-
"@paraspell/sdk-common": "12.9.
|
|
28
|
+
"viem": "2.47.1",
|
|
29
|
+
"@paraspell/assets": "12.9.7",
|
|
30
|
+
"@paraspell/pallets": "12.9.7",
|
|
31
|
+
"@paraspell/sdk-common": "12.9.7"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
34
|
"@paraspell/swap": "^12.0.0"
|
|
@@ -40,18 +40,18 @@
|
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@babel/plugin-syntax-import-attributes": "^7.28.6",
|
|
43
|
-
"@babel/preset-env": "^7.29.
|
|
43
|
+
"@babel/preset-env": "^7.29.2",
|
|
44
44
|
"@codecov/rollup-plugin": "^1.9.1",
|
|
45
|
-
"@polkadot/api": "^16.5.
|
|
46
|
-
"@polkadot/types": "^16.5.
|
|
47
|
-
"@rollup/plugin-babel": "^
|
|
45
|
+
"@polkadot/api": "^16.5.6",
|
|
46
|
+
"@polkadot/types": "^16.5.6",
|
|
47
|
+
"@rollup/plugin-babel": "^7.0.0",
|
|
48
48
|
"@rollup/plugin-json": "^6.1.0",
|
|
49
49
|
"@rollup/plugin-typescript": "^12.3.0",
|
|
50
|
-
"@vitest/coverage-v8": "^4.
|
|
51
|
-
"axios": "^1.
|
|
50
|
+
"@vitest/coverage-v8": "^4.1.2",
|
|
51
|
+
"axios": "^1.14.0",
|
|
52
52
|
"dotenv": "^17.3.1",
|
|
53
|
-
"rollup": "^4.
|
|
54
|
-
"rollup-plugin-dts": "^6.
|
|
53
|
+
"rollup": "^4.60.1",
|
|
54
|
+
"rollup-plugin-dts": "^6.4.1",
|
|
55
55
|
"ts-morph": "^27.0.2",
|
|
56
56
|
"ts-node": "^10.9.2",
|
|
57
57
|
"tslib": "^2.8.1"
|