@paraspell/sdk-core 12.0.5 → 12.0.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 +0 -1
- package/dist/index.mjs +0 -4
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -1811,7 +1811,6 @@ declare class HeimaPaseo<TApi, TRes> extends Heima<TApi, TRes> {
|
|
|
1811
1811
|
}
|
|
1812
1812
|
|
|
1813
1813
|
declare class Hydration<TApi, TRes> extends Parachain<TApi, TRes> implements IXTokensTransfer, IPolkadotXCMTransfer {
|
|
1814
|
-
private static NATIVE_ASSET_ID;
|
|
1815
1814
|
constructor(chain?: TParachain, info?: string, ecosystem?: TRelaychain, version?: Version);
|
|
1816
1815
|
transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
|
|
1817
1816
|
transferMoonbeamWhAsset<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
package/dist/index.mjs
CHANGED
|
@@ -11805,9 +11805,6 @@ var Hydration = /*#__PURE__*/function (_Parachain) {
|
|
|
11805
11805
|
value: function transferXTokens$1(input) {
|
|
11806
11806
|
var asset = input.asset,
|
|
11807
11807
|
destination = input.destination;
|
|
11808
|
-
if (asset.symbol === this.getNativeAssetSymbol()) {
|
|
11809
|
-
return transferXTokens(input, Hydration.NATIVE_ASSET_ID);
|
|
11810
|
-
}
|
|
11811
11808
|
var isMoonbeamWhAsset = asset.location && hasJunction(asset.location, 'Parachain', getParaId('Moonbeam')) && hasJunction(asset.location, 'PalletInstance', 110);
|
|
11812
11809
|
if (isMoonbeamWhAsset && destination === 'Moonbeam') {
|
|
11813
11810
|
return this.transferMoonbeamWhAsset(input);
|
|
@@ -11885,7 +11882,6 @@ var Hydration = /*#__PURE__*/function (_Parachain) {
|
|
|
11885
11882
|
}
|
|
11886
11883
|
}]);
|
|
11887
11884
|
}(Parachain);
|
|
11888
|
-
Hydration.NATIVE_ASSET_ID = 0;
|
|
11889
11885
|
|
|
11890
11886
|
var HydrationPaseo = /*#__PURE__*/function (_Hydration) {
|
|
11891
11887
|
function HydrationPaseo() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@paraspell/sdk-core",
|
|
3
|
-
"version": "12.0.
|
|
3
|
+
"version": "12.0.6",
|
|
4
4
|
"description": "SDK core for ParaSpell XCM/XCMP tool for developers",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
"@noble/hashes": "^2.0.1",
|
|
27
27
|
"@scure/base": "^2.0.0",
|
|
28
28
|
"viem": "^2.40.3",
|
|
29
|
-
"@paraspell/pallets": "12.0.
|
|
30
|
-
"@paraspell/sdk-common": "12.0.
|
|
31
|
-
"@paraspell/assets": "12.0.
|
|
29
|
+
"@paraspell/pallets": "12.0.6",
|
|
30
|
+
"@paraspell/sdk-common": "12.0.6",
|
|
31
|
+
"@paraspell/assets": "12.0.6"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@babel/plugin-syntax-import-attributes": "^7.27.1",
|