@paraspell/sdk-core 8.0.2 → 8.0.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.
- package/dist/index.cjs +12 -7
- package/dist/index.d.ts +3 -1
- package/dist/index.mjs +12 -8
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -13111,8 +13111,7 @@ var constructRelayToParaParameters = function constructRelayToParaParameters(_re
|
|
|
13111
13111
|
includeFee: false
|
|
13112
13112
|
},
|
|
13113
13113
|
includeFee = _ref2.includeFee;
|
|
13114
|
-
var
|
|
13115
|
-
var paraId = !isRelayDestination && _typeof(destination) !== 'object' ? paraIdTo !== null && paraIdTo !== void 0 ? paraIdTo : getParaId(destination) : undefined;
|
|
13114
|
+
var paraId = resolveParaId(paraIdTo, destination);
|
|
13116
13115
|
return _objectSpread2({
|
|
13117
13116
|
dest: createPolkadotXcmHeader('RelayToPara', version, destination, paraId),
|
|
13118
13117
|
beneficiary: generateAddressPayload(api, 'RelayToPara', null, address, version, paraId),
|
|
@@ -13362,6 +13361,13 @@ var XTokensTransferImpl = /*#__PURE__*/function () {
|
|
|
13362
13361
|
}]);
|
|
13363
13362
|
}();
|
|
13364
13363
|
|
|
13364
|
+
var resolveParaId = function resolveParaId(paraId, destination) {
|
|
13365
|
+
if (isTMultiLocation(destination) || isRelayChain(destination) || destination === 'Ethereum') {
|
|
13366
|
+
return undefined;
|
|
13367
|
+
}
|
|
13368
|
+
return paraId !== null && paraId !== void 0 ? paraId : getParaId(destination);
|
|
13369
|
+
};
|
|
13370
|
+
|
|
13365
13371
|
var supportsXTokens = function supportsXTokens(obj) {
|
|
13366
13372
|
return _typeof(obj) === 'object' && obj !== null && 'transferXTokens' in obj;
|
|
13367
13373
|
};
|
|
@@ -13421,7 +13427,7 @@ var ParachainNode = /*#__PURE__*/function () {
|
|
|
13421
13427
|
api = options.api, asset = options.asset, address = options.address, destination = options.destination, paraIdTo = options.paraIdTo, overriddenAsset = options.overriddenAsset, version = options.version, ahAddress = options.ahAddress, pallet = options.pallet, method = options.method;
|
|
13422
13428
|
isRelayDestination = !isTMultiLocation(destination) && isRelayChain(destination);
|
|
13423
13429
|
scenario = isRelayDestination ? 'ParaToRelay' : 'ParaToPara';
|
|
13424
|
-
paraId =
|
|
13430
|
+
paraId = resolveParaId(paraIdTo, destination);
|
|
13425
13431
|
if (!(destination === 'Polimec' && this.node !== 'AssetHubPolkadot')) {
|
|
13426
13432
|
_context.next = 6;
|
|
13427
13433
|
break;
|
|
@@ -14704,8 +14710,7 @@ var AssetHubPolkadot$1 = /*#__PURE__*/function (_ParachainNode) {
|
|
|
14704
14710
|
destination = input.destination,
|
|
14705
14711
|
paraIdTo = input.paraIdTo;
|
|
14706
14712
|
var version = exports.Version.V2;
|
|
14707
|
-
var
|
|
14708
|
-
var paraId = !isRelayDestination && _typeof(destination) !== 'object' && destination !== 'Ethereum' ? paraIdTo !== null && paraIdTo !== void 0 ? paraIdTo : getParaId(destination) : undefined;
|
|
14713
|
+
var paraId = resolveParaId(paraIdTo, destination);
|
|
14709
14714
|
var customMultiLocation = {
|
|
14710
14715
|
parents: exports.Parents.ONE,
|
|
14711
14716
|
interior: {
|
|
@@ -15630,8 +15635,7 @@ var Peaq$1 = /*#__PURE__*/function (_ParachainNode) {
|
|
|
15630
15635
|
|
|
15631
15636
|
var GAS_LIMIT = 1000000000n;
|
|
15632
15637
|
var createCustomXcmPolimec = function createCustomXcmPolimec(api, address, scenario, destination, paraIdTo, version) {
|
|
15633
|
-
var
|
|
15634
|
-
var paraId = !isRelayDestination && _typeof(destination) !== 'object' && destination !== 'Ethereum' ? paraIdTo !== null && paraIdTo !== void 0 ? paraIdTo : getParaId(destination) : undefined;
|
|
15638
|
+
var paraId = resolveParaId(paraIdTo, destination);
|
|
15635
15639
|
return _defineProperty({}, version, [{
|
|
15636
15640
|
DepositReserveAsset: {
|
|
15637
15641
|
assets: {
|
|
@@ -19265,6 +19269,7 @@ exports.isNodeEvm = isNodeEvm;
|
|
|
19265
19269
|
exports.isOverrideMultiLocationSpecifier = isOverrideMultiLocationSpecifier;
|
|
19266
19270
|
exports.isRelayChain = isRelayChain;
|
|
19267
19271
|
exports.resolveModuleError = resolveModuleError;
|
|
19272
|
+
exports.resolveParaId = resolveParaId;
|
|
19268
19273
|
exports.send = send;
|
|
19269
19274
|
exports.transferMoonbeamEvm = transferMoonbeamEvm;
|
|
19270
19275
|
exports.transferRelayToPara = transferRelayToPara;
|
package/dist/index.d.ts
CHANGED
|
@@ -1596,6 +1596,8 @@ declare const computeFeeFromDryRunPjs: (dryRun: any, node: TNodeDotKsmWithRelayC
|
|
|
1596
1596
|
|
|
1597
1597
|
declare const isOverrideMultiLocationSpecifier: (multiLocationSpecifier: TMultiLocationValueWithOverride) => multiLocationSpecifier is TOverrideMultiLocationSpecifier;
|
|
1598
1598
|
|
|
1599
|
+
declare const resolveParaId: (paraId: number | undefined, destination: TDestination) => number | undefined;
|
|
1600
|
+
|
|
1599
1601
|
/**
|
|
1600
1602
|
* Determines the relay chain for a given node.
|
|
1601
1603
|
*
|
|
@@ -1721,4 +1723,4 @@ declare const getNodeProviders: (node: TNodeDotKsmWithRelayChains) => string[];
|
|
|
1721
1723
|
*/
|
|
1722
1724
|
declare const getParaId: (node: TNodeDotKsmWithRelayChains) => number;
|
|
1723
1725
|
|
|
1724
|
-
export { BatchMode, Builder, DuplicateAssetError, DuplicateAssetIdError, Foreign, ForeignAbstract, GeneralBuilder, type IAccountBuilder, type IAddToBatchBuilder, type IAddressBuilder, type ICurrencyBuilder, type IFinalBuilder, type IFinalBuilderWithOptions, type IFromBuilder, type IFungibleBuilder, type IPolkadotApi, type IPolkadotXCMTransfer, type IToBuilder, type IVersionBuilder, type IXTokensTransfer, type IXTransferTransfer, IncompatibleNodesError, InvalidAddressError, InvalidCurrencyError, NODES_WITH_RELAY_CHAINS, NODES_WITH_RELAY_CHAINS_DOT_KSM, NODE_NAMES, NODE_NAMES_DOT_KSM, Native, NoXCMSupportImplementedError, NodeNotSupportedError, Override, Parents, PolkadotXcmError, SUPPORTED_PALLETS, ScenarioNotSupportedError, type TAddress, type TAmount, type TApiOrUrl, type TAsset, type TAssetJsonMap, type TBalanceResponse, type TBatchOptions, type TBifrostToken, type TCurrency, type TCurrencyCore, type TCurrencyCoreV1, type TCurrencyCoreV1WithAmount, type TCurrencyCoreWithFee, type TCurrencyInput, type TCurrencyInputWithAmount, type TCurrencySelection, type TCurrencySelectionHeader, type TCurrencySelectionHeaderArr, type TCurrencySelectionV4, type TCurrencySymbol, type TCurrencySymbolValue, type TDestWeight, type TDestination, type TDryRunBaseOptions, type TDryRunOptions, type TDryRunResult, type TEdJsonMap, type TEvmBuilderOptions, type TEvmBuilderOptionsBase, type TForeignAsset, type TForeignAssetId, type TForeignOrNativeAsset, type TForeignOrTokenAsset, type TGetAssetBalanceOptions, type TGetAssetBalanceOptionsBase, type TGetBalanceForeignOptions, type TGetBalanceForeignOptionsBase, type TGetBalanceNativeOptions, type TGetBalanceNativeOptionsBase, type TGetMaxForeignTransferableAmountOptions, type TGetMaxForeignTransferableAmountOptionsBase, type TGetMaxNativeTransferableAmountOptions, type TGetMaxNativeTransferableAmountOptionsBase, type TGetOriginFeeDetailsOptions, type TGetOriginFeeDetailsOptionsBase, type TGetTransferInfoOptions, type TGetTransferInfoOptionsBase, type TGetTransferableAmountOptions, type TGetTransferableAmountOptionsBase, type TJunction, type TJunctionParachain, type TJunctionType, type TJunctions, type TMantaAsset, type TModuleError, type TMultiAsset, type TMultiAssetV3, type TMultiAssetV4, type TMultiAssetWithFee, type TMultiLocation, type TMultiLocationHeader, type TMultiLocationValue, type TMultiLocationValueWithOverride, type TNativeAsset, type TNativeTokenAsset, type TNode, type TNodeAssets, type TNodeConfig, type TNodeConfigMap, type TNodeDotKsmWithRelayChains, type TNodePolkadotKusama, type TNodeWithRelayChains, type TNodleAsset, type TOptionalEvmBuilderOptions, type TOriginFeeDetails, type TOtherReserveAsset, type TOverrideMultiLocationSpecifier, type TPallet, type TPalletDetails, type TPalletJsonMap, type TPalletMap, type TPolkadotXCMTransferOptions, type TPolkadotXcmSection, type TProviderEntry, type TRelayChainSymbol, type TRelayChainType, type TRelayToParaDestination, type TRelayToParaOptions, type TRelayToParaOverrides, type TRelaychain, type TReserveAsset, type TScenario, type TSelfReserveAsset, type TSendBaseOptions, type TSendInternalOptions, type TSendOptions, type TSerializeEthTransferOptions, type TSerializedApiCall, type TSerializedEthTransfer, type TSymbolSpecifier, type TTransferInfo, type TVersionClaimAssets, type TXTokensCurrencySelection, type TXTokensSection, type TXTokensTransferOptions, type TXTransferSection, type TXTransferTransferOptions, type TXcmAsset, type TXcmForeignAsset, type TXcmPalletSection, type TZeitgeistAsset, Version, type WithAmount, type WithApi, XTokensError, claimAssets, computeFeeFromDryRun, computeFeeFromDryRunPjs, createApiInstanceForNode, createX1Payload, deepEqual, determineRelayChain, generateAddressMultiLocationV4, generateAddressPayload, getAllAssetsSymbols, getAssetBalance, getAssetBalanceInternal, getAssetBySymbolOrId, getAssetDecimals, getAssetId, getAssets, getAssetsObject, getBalanceForeign, getBalanceForeignInternal, getBalanceNative, getBalanceNativeInternal, getDefaultPallet, getDryRun, getExistentialDeposit, getFees, getMaxForeignTransferableAmount, getMaxNativeTransferableAmount, getNativeAssetSymbol, getNativeAssets, getNode, getNodeConfig, getNodeProviders, getOriginFeeDetails, getOriginFeeDetailsInternal, getOtherAssets, getParaId, getRelayChainSymbol, getSupportedAssets, getSupportedPallets, getSupportedPalletsDetails, getTNode, getTransferInfo, getTransferableAmount, hasSupportForAsset, isForeignAsset, isNodeEvm, isOverrideMultiLocationSpecifier, isRelayChain, resolveModuleError, send, transferMoonbeamEvm, transferRelayToPara };
|
|
1726
|
+
export { BatchMode, Builder, DuplicateAssetError, DuplicateAssetIdError, Foreign, ForeignAbstract, GeneralBuilder, type IAccountBuilder, type IAddToBatchBuilder, type IAddressBuilder, type ICurrencyBuilder, type IFinalBuilder, type IFinalBuilderWithOptions, type IFromBuilder, type IFungibleBuilder, type IPolkadotApi, type IPolkadotXCMTransfer, type IToBuilder, type IVersionBuilder, type IXTokensTransfer, type IXTransferTransfer, IncompatibleNodesError, InvalidAddressError, InvalidCurrencyError, NODES_WITH_RELAY_CHAINS, NODES_WITH_RELAY_CHAINS_DOT_KSM, NODE_NAMES, NODE_NAMES_DOT_KSM, Native, NoXCMSupportImplementedError, NodeNotSupportedError, Override, Parents, PolkadotXcmError, SUPPORTED_PALLETS, ScenarioNotSupportedError, type TAddress, type TAmount, type TApiOrUrl, type TAsset, type TAssetJsonMap, type TBalanceResponse, type TBatchOptions, type TBifrostToken, type TCurrency, type TCurrencyCore, type TCurrencyCoreV1, type TCurrencyCoreV1WithAmount, type TCurrencyCoreWithFee, type TCurrencyInput, type TCurrencyInputWithAmount, type TCurrencySelection, type TCurrencySelectionHeader, type TCurrencySelectionHeaderArr, type TCurrencySelectionV4, type TCurrencySymbol, type TCurrencySymbolValue, type TDestWeight, type TDestination, type TDryRunBaseOptions, type TDryRunOptions, type TDryRunResult, type TEdJsonMap, type TEvmBuilderOptions, type TEvmBuilderOptionsBase, type TForeignAsset, type TForeignAssetId, type TForeignOrNativeAsset, type TForeignOrTokenAsset, type TGetAssetBalanceOptions, type TGetAssetBalanceOptionsBase, type TGetBalanceForeignOptions, type TGetBalanceForeignOptionsBase, type TGetBalanceNativeOptions, type TGetBalanceNativeOptionsBase, type TGetMaxForeignTransferableAmountOptions, type TGetMaxForeignTransferableAmountOptionsBase, type TGetMaxNativeTransferableAmountOptions, type TGetMaxNativeTransferableAmountOptionsBase, type TGetOriginFeeDetailsOptions, type TGetOriginFeeDetailsOptionsBase, type TGetTransferInfoOptions, type TGetTransferInfoOptionsBase, type TGetTransferableAmountOptions, type TGetTransferableAmountOptionsBase, type TJunction, type TJunctionParachain, type TJunctionType, type TJunctions, type TMantaAsset, type TModuleError, type TMultiAsset, type TMultiAssetV3, type TMultiAssetV4, type TMultiAssetWithFee, type TMultiLocation, type TMultiLocationHeader, type TMultiLocationValue, type TMultiLocationValueWithOverride, type TNativeAsset, type TNativeTokenAsset, type TNode, type TNodeAssets, type TNodeConfig, type TNodeConfigMap, type TNodeDotKsmWithRelayChains, type TNodePolkadotKusama, type TNodeWithRelayChains, type TNodleAsset, type TOptionalEvmBuilderOptions, type TOriginFeeDetails, type TOtherReserveAsset, type TOverrideMultiLocationSpecifier, type TPallet, type TPalletDetails, type TPalletJsonMap, type TPalletMap, type TPolkadotXCMTransferOptions, type TPolkadotXcmSection, type TProviderEntry, type TRelayChainSymbol, type TRelayChainType, type TRelayToParaDestination, type TRelayToParaOptions, type TRelayToParaOverrides, type TRelaychain, type TReserveAsset, type TScenario, type TSelfReserveAsset, type TSendBaseOptions, type TSendInternalOptions, type TSendOptions, type TSerializeEthTransferOptions, type TSerializedApiCall, type TSerializedEthTransfer, type TSymbolSpecifier, type TTransferInfo, type TVersionClaimAssets, type TXTokensCurrencySelection, type TXTokensSection, type TXTokensTransferOptions, type TXTransferSection, type TXTransferTransferOptions, type TXcmAsset, type TXcmForeignAsset, type TXcmPalletSection, type TZeitgeistAsset, Version, type WithAmount, type WithApi, XTokensError, claimAssets, computeFeeFromDryRun, computeFeeFromDryRunPjs, createApiInstanceForNode, createX1Payload, deepEqual, determineRelayChain, generateAddressMultiLocationV4, generateAddressPayload, getAllAssetsSymbols, getAssetBalance, getAssetBalanceInternal, getAssetBySymbolOrId, getAssetDecimals, getAssetId, getAssets, getAssetsObject, getBalanceForeign, getBalanceForeignInternal, getBalanceNative, getBalanceNativeInternal, getDefaultPallet, getDryRun, getExistentialDeposit, getFees, getMaxForeignTransferableAmount, getMaxNativeTransferableAmount, getNativeAssetSymbol, getNativeAssets, getNode, getNodeConfig, getNodeProviders, getOriginFeeDetails, getOriginFeeDetailsInternal, getOtherAssets, getParaId, getRelayChainSymbol, getSupportedAssets, getSupportedPallets, getSupportedPalletsDetails, getTNode, getTransferInfo, getTransferableAmount, hasSupportForAsset, isForeignAsset, isNodeEvm, isOverrideMultiLocationSpecifier, isRelayChain, resolveModuleError, resolveParaId, send, transferMoonbeamEvm, transferRelayToPara };
|
package/dist/index.mjs
CHANGED
|
@@ -13109,8 +13109,7 @@ var constructRelayToParaParameters = function constructRelayToParaParameters(_re
|
|
|
13109
13109
|
includeFee: false
|
|
13110
13110
|
},
|
|
13111
13111
|
includeFee = _ref2.includeFee;
|
|
13112
|
-
var
|
|
13113
|
-
var paraId = !isRelayDestination && _typeof(destination) !== 'object' ? paraIdTo !== null && paraIdTo !== void 0 ? paraIdTo : getParaId(destination) : undefined;
|
|
13112
|
+
var paraId = resolveParaId(paraIdTo, destination);
|
|
13114
13113
|
return _objectSpread2({
|
|
13115
13114
|
dest: createPolkadotXcmHeader('RelayToPara', version, destination, paraId),
|
|
13116
13115
|
beneficiary: generateAddressPayload(api, 'RelayToPara', null, address, version, paraId),
|
|
@@ -13360,6 +13359,13 @@ var XTokensTransferImpl = /*#__PURE__*/function () {
|
|
|
13360
13359
|
}]);
|
|
13361
13360
|
}();
|
|
13362
13361
|
|
|
13362
|
+
var resolveParaId = function resolveParaId(paraId, destination) {
|
|
13363
|
+
if (isTMultiLocation(destination) || isRelayChain(destination) || destination === 'Ethereum') {
|
|
13364
|
+
return undefined;
|
|
13365
|
+
}
|
|
13366
|
+
return paraId !== null && paraId !== void 0 ? paraId : getParaId(destination);
|
|
13367
|
+
};
|
|
13368
|
+
|
|
13363
13369
|
var supportsXTokens = function supportsXTokens(obj) {
|
|
13364
13370
|
return _typeof(obj) === 'object' && obj !== null && 'transferXTokens' in obj;
|
|
13365
13371
|
};
|
|
@@ -13419,7 +13425,7 @@ var ParachainNode = /*#__PURE__*/function () {
|
|
|
13419
13425
|
api = options.api, asset = options.asset, address = options.address, destination = options.destination, paraIdTo = options.paraIdTo, overriddenAsset = options.overriddenAsset, version = options.version, ahAddress = options.ahAddress, pallet = options.pallet, method = options.method;
|
|
13420
13426
|
isRelayDestination = !isTMultiLocation(destination) && isRelayChain(destination);
|
|
13421
13427
|
scenario = isRelayDestination ? 'ParaToRelay' : 'ParaToPara';
|
|
13422
|
-
paraId =
|
|
13428
|
+
paraId = resolveParaId(paraIdTo, destination);
|
|
13423
13429
|
if (!(destination === 'Polimec' && this.node !== 'AssetHubPolkadot')) {
|
|
13424
13430
|
_context.next = 6;
|
|
13425
13431
|
break;
|
|
@@ -14702,8 +14708,7 @@ var AssetHubPolkadot$1 = /*#__PURE__*/function (_ParachainNode) {
|
|
|
14702
14708
|
destination = input.destination,
|
|
14703
14709
|
paraIdTo = input.paraIdTo;
|
|
14704
14710
|
var version = Version.V2;
|
|
14705
|
-
var
|
|
14706
|
-
var paraId = !isRelayDestination && _typeof(destination) !== 'object' && destination !== 'Ethereum' ? paraIdTo !== null && paraIdTo !== void 0 ? paraIdTo : getParaId(destination) : undefined;
|
|
14711
|
+
var paraId = resolveParaId(paraIdTo, destination);
|
|
14707
14712
|
var customMultiLocation = {
|
|
14708
14713
|
parents: Parents.ONE,
|
|
14709
14714
|
interior: {
|
|
@@ -15628,8 +15633,7 @@ var Peaq$1 = /*#__PURE__*/function (_ParachainNode) {
|
|
|
15628
15633
|
|
|
15629
15634
|
var GAS_LIMIT = 1000000000n;
|
|
15630
15635
|
var createCustomXcmPolimec = function createCustomXcmPolimec(api, address, scenario, destination, paraIdTo, version) {
|
|
15631
|
-
var
|
|
15632
|
-
var paraId = !isRelayDestination && _typeof(destination) !== 'object' && destination !== 'Ethereum' ? paraIdTo !== null && paraIdTo !== void 0 ? paraIdTo : getParaId(destination) : undefined;
|
|
15636
|
+
var paraId = resolveParaId(paraIdTo, destination);
|
|
15633
15637
|
return _defineProperty({}, version, [{
|
|
15634
15638
|
DepositReserveAsset: {
|
|
15635
15639
|
assets: {
|
|
@@ -19195,4 +19199,4 @@ var transferMoonbeamEvm = /*#__PURE__*/function () {
|
|
|
19195
19199
|
};
|
|
19196
19200
|
}();
|
|
19197
19201
|
|
|
19198
|
-
export { BatchMode, Builder, DuplicateAssetError, DuplicateAssetIdError, Foreign, ForeignAbstract, GeneralBuilder, IncompatibleNodesError, InvalidAddressError, InvalidCurrencyError, NODES_WITH_RELAY_CHAINS, NODES_WITH_RELAY_CHAINS_DOT_KSM, NODE_NAMES, NODE_NAMES_DOT_KSM, Native, NoXCMSupportImplementedError, NodeNotSupportedError, Override, Parents, PolkadotXcmError, SUPPORTED_PALLETS, ScenarioNotSupportedError, Version, XTokensError, claimAssets, computeFeeFromDryRun, computeFeeFromDryRunPjs, createApiInstanceForNode, createX1Payload, _deepEqual as deepEqual, determineRelayChain, generateAddressMultiLocationV4, generateAddressPayload, getAllAssetsSymbols, getAssetBalance, getAssetBalanceInternal, getAssetBySymbolOrId, getAssetDecimals, getAssetId, getAssets, getAssetsObject, getBalanceForeign, getBalanceForeignInternal, getBalanceNative, getBalanceNativeInternal, getDefaultPallet, getDryRun, getExistentialDeposit, getFees, getMaxForeignTransferableAmount, getMaxNativeTransferableAmount, getNativeAssetSymbol, getNativeAssets, getNode, getNodeConfig, getNodeProviders, getOriginFeeDetails, getOriginFeeDetailsInternal, getOtherAssets, getParaId, getRelayChainSymbol, getSupportedAssets, getSupportedPallets, getSupportedPalletsDetails, getTNode, getTransferInfo, getTransferableAmount, hasSupportForAsset, isForeignAsset, isNodeEvm, isOverrideMultiLocationSpecifier, isRelayChain, resolveModuleError, send, transferMoonbeamEvm, transferRelayToPara };
|
|
19202
|
+
export { BatchMode, Builder, DuplicateAssetError, DuplicateAssetIdError, Foreign, ForeignAbstract, GeneralBuilder, IncompatibleNodesError, InvalidAddressError, InvalidCurrencyError, NODES_WITH_RELAY_CHAINS, NODES_WITH_RELAY_CHAINS_DOT_KSM, NODE_NAMES, NODE_NAMES_DOT_KSM, Native, NoXCMSupportImplementedError, NodeNotSupportedError, Override, Parents, PolkadotXcmError, SUPPORTED_PALLETS, ScenarioNotSupportedError, Version, XTokensError, claimAssets, computeFeeFromDryRun, computeFeeFromDryRunPjs, createApiInstanceForNode, createX1Payload, _deepEqual as deepEqual, determineRelayChain, generateAddressMultiLocationV4, generateAddressPayload, getAllAssetsSymbols, getAssetBalance, getAssetBalanceInternal, getAssetBySymbolOrId, getAssetDecimals, getAssetId, getAssets, getAssetsObject, getBalanceForeign, getBalanceForeignInternal, getBalanceNative, getBalanceNativeInternal, getDefaultPallet, getDryRun, getExistentialDeposit, getFees, getMaxForeignTransferableAmount, getMaxNativeTransferableAmount, getNativeAssetSymbol, getNativeAssets, getNode, getNodeConfig, getNodeProviders, getOriginFeeDetails, getOriginFeeDetailsInternal, getOtherAssets, getParaId, getRelayChainSymbol, getSupportedAssets, getSupportedPallets, getSupportedPalletsDetails, getTNode, getTransferInfo, getTransferableAmount, hasSupportForAsset, isForeignAsset, isNodeEvm, isOverrideMultiLocationSpecifier, isRelayChain, resolveModuleError, resolveParaId, send, transferMoonbeamEvm, transferRelayToPara };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@paraspell/sdk-core",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.3",
|
|
4
4
|
"description": "SDK core for ParaSpell XCM/XCMP tool for developers",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
"type": "module",
|
|
12
12
|
"exports": {
|
|
13
13
|
".": {
|
|
14
|
+
"types": "./dist/index.d.ts",
|
|
14
15
|
"import": "./dist/index.mjs",
|
|
15
|
-
"require": "./dist/index.cjs"
|
|
16
|
-
"types": "./dist/index.d.ts"
|
|
16
|
+
"require": "./dist/index.cjs"
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
19
|
"main": "dist/index.cjs",
|