@paraspell/sdk-core 12.9.4 → 12.9.6
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 +113 -138
- 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"
|
|
1445
1442
|
},
|
|
1446
1443
|
{
|
|
1447
|
-
name: "
|
|
1448
|
-
endpoint: "wss://
|
|
1444
|
+
name: "RakSonKorea",
|
|
1445
|
+
endpoint: "wss://rakson-rpc.xode.net"
|
|
1446
|
+
},
|
|
1447
|
+
{
|
|
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,
|
|
@@ -4097,7 +4109,9 @@ var GeneralBuilder = /*#__PURE__*/function () {
|
|
|
4097
4109
|
return _context8.a(2, executeWithRouter(_objectSpread2(_objectSpread2({}, this._options), {}, {
|
|
4098
4110
|
api: this.api,
|
|
4099
4111
|
swapOptions: swapOptions
|
|
4100
|
-
}),
|
|
4112
|
+
}),
|
|
4113
|
+
// Temporarily use type cast till the swap pkg dep is released and updated
|
|
4114
|
+
function (builder) {
|
|
4101
4115
|
return builder.dryRun();
|
|
4102
4116
|
}));
|
|
4103
4117
|
case 1:
|
|
@@ -8966,7 +8980,7 @@ var buildTypeAndThenCall = function buildTypeAndThenCall(context, isDotAsset, cu
|
|
|
8966
8980
|
return a.isFeeAsset;
|
|
8967
8981
|
}) : null;
|
|
8968
8982
|
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 :
|
|
8983
|
+
var module = pallet !== null && pallet !== void 0 ? pallet : getXcmPallet(origin.chain);
|
|
8970
8984
|
var methodName = method !== null && method !== void 0 ? method : 'transfer_assets_using_type_and_then';
|
|
8971
8985
|
return {
|
|
8972
8986
|
module: module,
|
|
@@ -9703,7 +9717,13 @@ var createRouterBuilder = function createRouterBuilder(options) {
|
|
|
9703
9717
|
}
|
|
9704
9718
|
var config = api.getConfig();
|
|
9705
9719
|
var routerConfig = convertBuilderConfig(config);
|
|
9706
|
-
var builder = RouterBuilder(routerConfig)
|
|
9720
|
+
var builder = RouterBuilder(routerConfig)
|
|
9721
|
+
// Temporarily use type cast till the swap pkg dep is released and updated
|
|
9722
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-explicit-any
|
|
9723
|
+
.from(from).exchange(exchange)
|
|
9724
|
+
// Temporarily use type cast till the swap pkg dep is released and updated
|
|
9725
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-explicit-any
|
|
9726
|
+
.to(to).currencyFrom(currency).currencyTo(currencyTo).amount(currency.amount).senderAddress(senderAddress).evmSenderAddress(evmSenderAddress).recipientAddress(address).slippagePct((_slippage$toString = slippage === null || slippage === void 0 ? void 0 : slippage.toString()) !== null && _slippage$toString !== void 0 ? _slippage$toString : DEFAULT_SWAP_SLIPPAGE.toString());
|
|
9707
9727
|
if (onStatusChange) {
|
|
9708
9728
|
// We cast because router types are bind to specific PAPI types
|
|
9709
9729
|
// Will be resolved when we make RouterBuilder generic
|
|
@@ -10154,7 +10174,7 @@ var createExecuteCall = function createExecuteCall(chain,
|
|
|
10154
10174
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
10155
10175
|
xcm, maxWeight) {
|
|
10156
10176
|
return {
|
|
10157
|
-
module:
|
|
10177
|
+
module: getXcmPallet(chain),
|
|
10158
10178
|
method: 'execute',
|
|
10159
10179
|
params: {
|
|
10160
10180
|
message: xcm,
|
|
@@ -11046,7 +11066,7 @@ var handleTransactUsingSend = /*#__PURE__*/function () {
|
|
|
11046
11066
|
}
|
|
11047
11067
|
}]);
|
|
11048
11068
|
return _context.a(2, {
|
|
11049
|
-
module:
|
|
11069
|
+
module: getXcmPallet(chain),
|
|
11050
11070
|
method: 'send',
|
|
11051
11071
|
params: {
|
|
11052
11072
|
dest: addXcmVersionHeader(dest, version),
|
|
@@ -11106,7 +11126,7 @@ var transferPolkadotXcm = /*#__PURE__*/function () {
|
|
|
11106
11126
|
return asset.isFeeAsset;
|
|
11107
11127
|
});
|
|
11108
11128
|
call = {
|
|
11109
|
-
module: pallet !== null && pallet !== void 0 ? pallet :
|
|
11129
|
+
module: pallet !== null && pallet !== void 0 ? pallet : getXcmPallet(chain),
|
|
11110
11130
|
method: methodOverride !== null && methodOverride !== void 0 ? methodOverride : method,
|
|
11111
11131
|
params: _objectSpread2({
|
|
11112
11132
|
dest: addXcmVersionHeader(destLocation, version),
|
|
@@ -11314,7 +11334,7 @@ var Chain = /*#__PURE__*/function () {
|
|
|
11314
11334
|
isMythAsset = isAssetXcEqual(mythAsset, asset);
|
|
11315
11335
|
assetNeedsTypeThen = isRelayAsset || isMythAsset;
|
|
11316
11336
|
_context.n = 3;
|
|
11317
|
-
return api.hasMethod(
|
|
11337
|
+
return api.hasMethod(hasPallet(this.chain, 'XcmPallet') ? 'XcmPallet' : 'PolkadotXcm', 'transfer_assets_using_type_and_then');
|
|
11318
11338
|
case 3:
|
|
11319
11339
|
supportsTypeThen = _context.v;
|
|
11320
11340
|
if (!(assetNeedsTypeThen && !supportsTypeThen)) {
|
|
@@ -12036,64 +12056,6 @@ var AjunaPaseo = /*#__PURE__*/function (_Ajuna) {
|
|
|
12036
12056
|
return _createClass(AjunaPaseo);
|
|
12037
12057
|
}(Ajuna);
|
|
12038
12058
|
|
|
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
12059
|
var AssetHubKusama = /*#__PURE__*/function (_Chain) {
|
|
12098
12060
|
function AssetHubKusama() {
|
|
12099
12061
|
_classCallCheck(this, AssetHubKusama);
|
|
@@ -12383,7 +12345,7 @@ var Hydration = /*#__PURE__*/function (_Chain) {
|
|
|
12383
12345
|
var chain = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'Hydration';
|
|
12384
12346
|
var info = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'hydradx';
|
|
12385
12347
|
var ecosystem = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'Polkadot';
|
|
12386
|
-
var version = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : Version.
|
|
12348
|
+
var version = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : Version.V5;
|
|
12387
12349
|
_classCallCheck(this, Hydration);
|
|
12388
12350
|
return _callSuper(this, Hydration, [chain, info, ecosystem, version]);
|
|
12389
12351
|
}
|
|
@@ -13151,7 +13113,7 @@ var HeimaPaseo = /*#__PURE__*/function (_Heima) {
|
|
|
13151
13113
|
var HydrationPaseo = /*#__PURE__*/function (_Hydration) {
|
|
13152
13114
|
function HydrationPaseo() {
|
|
13153
13115
|
_classCallCheck(this, HydrationPaseo);
|
|
13154
|
-
return _callSuper(this, HydrationPaseo, ['HydrationPaseo', 'rococoHydraDX', 'Paseo', Version.
|
|
13116
|
+
return _callSuper(this, HydrationPaseo, ['HydrationPaseo', 'rococoHydraDX', 'Paseo', Version.V5]);
|
|
13155
13117
|
}
|
|
13156
13118
|
_inherits(HydrationPaseo, _Hydration);
|
|
13157
13119
|
return _createClass(HydrationPaseo);
|
|
@@ -13715,40 +13677,6 @@ var NeuroWebPaseo = /*#__PURE__*/function (_NeuroWeb) {
|
|
|
13715
13677
|
return _createClass(NeuroWebPaseo);
|
|
13716
13678
|
}(NeuroWeb);
|
|
13717
13679
|
|
|
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
13680
|
var Paseo = /*#__PURE__*/function (_Polkadot) {
|
|
13753
13681
|
function Paseo() {
|
|
13754
13682
|
_classCallCheck(this, Paseo);
|
|
@@ -13944,6 +13872,54 @@ var Quartz = /*#__PURE__*/function (_Chain) {
|
|
|
13944
13872
|
}]);
|
|
13945
13873
|
}(Chain);
|
|
13946
13874
|
|
|
13875
|
+
var RobonomicsPolkadot = /*#__PURE__*/function (_Chain) {
|
|
13876
|
+
function RobonomicsPolkadot() {
|
|
13877
|
+
_classCallCheck(this, RobonomicsPolkadot);
|
|
13878
|
+
return _callSuper(this, RobonomicsPolkadot, ['RobonomicsPolkadot', 'robonomics', 'Polkadot', Version.V3]);
|
|
13879
|
+
}
|
|
13880
|
+
_inherits(RobonomicsPolkadot, _Chain);
|
|
13881
|
+
return _createClass(RobonomicsPolkadot, [{
|
|
13882
|
+
key: "transferPolkadotXCM",
|
|
13883
|
+
value: function transferPolkadotXCM(_input) {
|
|
13884
|
+
throw new ScenarioNotSupportedError('Only local transfers and incoming cross-chain assets are supported.');
|
|
13885
|
+
}
|
|
13886
|
+
}, {
|
|
13887
|
+
key: "transferLocalNonNativeAsset",
|
|
13888
|
+
value: function transferLocalNonNativeAsset(options) {
|
|
13889
|
+
var api = options.api,
|
|
13890
|
+
asset = options.assetInfo,
|
|
13891
|
+
address = options.address,
|
|
13892
|
+
isAmountAll = options.isAmountAll,
|
|
13893
|
+
keepAlive = options.keepAlive;
|
|
13894
|
+
assertHasId(asset);
|
|
13895
|
+
var assetId = BigInt(asset.assetId);
|
|
13896
|
+
var dest = {
|
|
13897
|
+
Id: address
|
|
13898
|
+
};
|
|
13899
|
+
if (isAmountAll) {
|
|
13900
|
+
return api.deserializeExtrinsics({
|
|
13901
|
+
module: 'Assets',
|
|
13902
|
+
method: 'transfer_all',
|
|
13903
|
+
params: {
|
|
13904
|
+
id: assetId,
|
|
13905
|
+
dest: dest,
|
|
13906
|
+
keep_alive: keepAlive
|
|
13907
|
+
}
|
|
13908
|
+
});
|
|
13909
|
+
}
|
|
13910
|
+
return api.deserializeExtrinsics({
|
|
13911
|
+
module: 'Assets',
|
|
13912
|
+
method: keepAlive ? 'transfer_keep_alive' : 'transfer',
|
|
13913
|
+
params: {
|
|
13914
|
+
id: assetId,
|
|
13915
|
+
target: dest,
|
|
13916
|
+
amount: asset.amount
|
|
13917
|
+
}
|
|
13918
|
+
});
|
|
13919
|
+
}
|
|
13920
|
+
}]);
|
|
13921
|
+
}(Chain);
|
|
13922
|
+
|
|
13947
13923
|
var Shiden = /*#__PURE__*/function (_Astar) {
|
|
13948
13924
|
function Shiden() {
|
|
13949
13925
|
_classCallCheck(this, Shiden);
|
|
@@ -14021,7 +13997,7 @@ var Westend = /*#__PURE__*/function (_Polkadot) {
|
|
|
14021
13997
|
var Xode = /*#__PURE__*/function (_Chain) {
|
|
14022
13998
|
function Xode() {
|
|
14023
13999
|
_classCallCheck(this, Xode);
|
|
14024
|
-
return _callSuper(this, Xode, ['Xode', 'xode', 'Polkadot', Version.
|
|
14000
|
+
return _callSuper(this, Xode, ['Xode', 'xode', 'Polkadot', Version.V5]);
|
|
14025
14001
|
}
|
|
14026
14002
|
_inherits(Xode, _Chain);
|
|
14027
14003
|
return _createClass(Xode, [{
|
|
@@ -14125,8 +14101,8 @@ var chains = function chains() {
|
|
|
14125
14101
|
Moonbeam: new Moonbeam(),
|
|
14126
14102
|
CoretimePolkadot: new CoretimePolkadot(),
|
|
14127
14103
|
PeoplePolkadot: new PeoplePolkadot(),
|
|
14104
|
+
RobonomicsPolkadot: new RobonomicsPolkadot(),
|
|
14128
14105
|
Manta: new Manta(),
|
|
14129
|
-
Nodle: new Nodle(),
|
|
14130
14106
|
NeuroWeb: new NeuroWeb(),
|
|
14131
14107
|
Pendulum: new Pendulum(),
|
|
14132
14108
|
Collectives: new Collectives(),
|
|
@@ -14139,7 +14115,6 @@ var chains = function chains() {
|
|
|
14139
14115
|
BridgeHubKusama: new BridgeHubKusama(),
|
|
14140
14116
|
CoretimeKusama: new CoretimeKusama(),
|
|
14141
14117
|
Encointer: new Encointer(),
|
|
14142
|
-
Altair: new Altair(),
|
|
14143
14118
|
Basilisk: new Basilisk(),
|
|
14144
14119
|
BifrostKusama: new BifrostKusama(),
|
|
14145
14120
|
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.6",
|
|
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/
|
|
31
|
-
"@paraspell/
|
|
28
|
+
"viem": "2.47.1",
|
|
29
|
+
"@paraspell/assets": "12.9.6",
|
|
30
|
+
"@paraspell/pallets": "12.9.6",
|
|
31
|
+
"@paraspell/sdk-common": "12.9.6"
|
|
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"
|