@paraspell/sdk-core 11.14.5 → 11.14.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.cjs +258 -392
- package/dist/index.d.ts +6 -35
- package/dist/index.mjs +260 -394
- package/package.json +11 -12
package/dist/index.d.ts
CHANGED
|
@@ -1908,25 +1908,6 @@ declare class HydrationPaseo<TApi, TRes> extends Hydration<TApi, TRes> {
|
|
|
1908
1908
|
constructor();
|
|
1909
1909
|
}
|
|
1910
1910
|
|
|
1911
|
-
declare class IntegriteePolkadot<TApi, TRes> extends Parachain<TApi, TRes> implements IPolkadotXCMTransfer {
|
|
1912
|
-
constructor(chain?: TParachain, info?: string, type?: TRelaychain, version?: Version);
|
|
1913
|
-
transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
|
|
1914
|
-
transferRelayToPara(): Promise<TSerializedExtrinsics>;
|
|
1915
|
-
isSendingTempDisabled(_options: TSendInternalOptions<TApi, TRes>): boolean;
|
|
1916
|
-
isReceivingTempDisabled(_scenario: TScenario): boolean;
|
|
1917
|
-
transferLocalNonNativeAsset(options: TTransferLocalOptions<TApi, TRes>): TRes;
|
|
1918
|
-
}
|
|
1919
|
-
|
|
1920
|
-
declare class IntegriteeKusama<TApi, TRes> extends IntegriteePolkadot<TApi, TRes> {
|
|
1921
|
-
constructor(chain?: TParachain, info?: string, type?: TRelaychain, version?: Version);
|
|
1922
|
-
}
|
|
1923
|
-
|
|
1924
|
-
declare class IntegriteePaseo<TApi, TRes> extends IntegriteeKusama<TApi, TRes> {
|
|
1925
|
-
constructor();
|
|
1926
|
-
isSendingTempDisabled(_options: TSendInternalOptions<TApi, TRes>): boolean;
|
|
1927
|
-
isReceivingTempDisabled(_scenario: TScenario): boolean;
|
|
1928
|
-
}
|
|
1929
|
-
|
|
1930
1911
|
declare class Interlay<TApi, TRes> extends Parachain<TApi, TRes> implements IXTokensTransfer {
|
|
1931
1912
|
constructor();
|
|
1932
1913
|
getCustomCurrencyId(asset: TAssetInfo): TForeignOrTokenAsset;
|
|
@@ -1961,6 +1942,8 @@ declare class KiltSpiritnet<TApi, TRes> extends Parachain<TApi, TRes> implements
|
|
|
1961
1942
|
|
|
1962
1943
|
declare class KiltPaseo<TApi, TRes> extends KiltSpiritnet<TApi, TRes> {
|
|
1963
1944
|
constructor();
|
|
1945
|
+
isSendingTempDisabled(_options: TSendInternalOptions<TApi, TRes>): boolean;
|
|
1946
|
+
isReceivingTempDisabled(_scenario: TScenario): boolean;
|
|
1964
1947
|
}
|
|
1965
1948
|
|
|
1966
1949
|
declare class Kintsugi<TApi, TRes> extends Parachain<TApi, TRes> implements IXTokensTransfer {
|
|
@@ -1987,8 +1970,6 @@ declare class Manta<TApi, TRes> extends Parachain<TApi, TRes> implements IXToken
|
|
|
1987
1970
|
constructor();
|
|
1988
1971
|
private getAssetId;
|
|
1989
1972
|
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
1990
|
-
isSendingTempDisabled(_options: TSendInternalOptions<TApi, TRes>): boolean;
|
|
1991
|
-
isReceivingTempDisabled(_scenario: TScenario): boolean;
|
|
1992
1973
|
transferLocalNonNativeAsset(options: TTransferLocalOptions<TApi, TRes>): TRes;
|
|
1993
1974
|
}
|
|
1994
1975
|
|
|
@@ -2029,12 +2010,6 @@ declare class Nodle<TApi, TRes> extends Parachain<TApi, TRes> implements IPolkad
|
|
|
2029
2010
|
transferRelayToPara(): Promise<TSerializedExtrinsics>;
|
|
2030
2011
|
}
|
|
2031
2012
|
|
|
2032
|
-
declare class NodlePaseo<TApi, TRes> extends Nodle<TApi, TRes> {
|
|
2033
|
-
constructor();
|
|
2034
|
-
isSendingTempDisabled(_options: TSendInternalOptions<TApi, TRes>): boolean;
|
|
2035
|
-
isReceivingTempDisabled(_scenario: TScenario): boolean;
|
|
2036
|
-
}
|
|
2037
|
-
|
|
2038
2013
|
declare class PeoplePolkadot<TApi, TRes> extends Parachain<TApi, TRes> implements IPolkadotXCMTransfer {
|
|
2039
2014
|
constructor(chain?: TParachain, info?: string, ecosystem?: TRelaychain, version?: Version);
|
|
2040
2015
|
transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
|
|
@@ -2051,8 +2026,6 @@ declare class Peaq<TApi, TRes> extends Parachain<TApi, TRes> implements IXTokens
|
|
|
2051
2026
|
constructor();
|
|
2052
2027
|
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
2053
2028
|
transferRelayToPara(): Promise<TSerializedExtrinsics>;
|
|
2054
|
-
isSendingTempDisabled(_options: TSendInternalOptions<TApi, TRes>): boolean;
|
|
2055
|
-
isReceivingTempDisabled(_scenario: TScenario): boolean;
|
|
2056
2029
|
transferLocalNonNativeAsset(options: TTransferLocalOptions<TApi, TRes>): TRes;
|
|
2057
2030
|
}
|
|
2058
2031
|
|
|
@@ -2097,6 +2070,8 @@ declare class RobonomicsKusama<TApi, TRes> extends Parachain<TApi, TRes> impleme
|
|
|
2097
2070
|
constructor();
|
|
2098
2071
|
transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
|
|
2099
2072
|
transferLocalNonNativeAsset(options: TTransferLocalOptions<TApi, TRes>): TRes;
|
|
2073
|
+
isSendingTempDisabled(_options: TSendInternalOptions<TApi, TRes>): boolean;
|
|
2074
|
+
isReceivingTempDisabled(_scenario: TScenario): boolean;
|
|
2100
2075
|
}
|
|
2101
2076
|
|
|
2102
2077
|
declare class RobonomicsPolkadot<TApi, TRes> extends Parachain<TApi, TRes> implements IPolkadotXCMTransfer {
|
|
@@ -2154,7 +2129,6 @@ declare const chains: <TApi, TRes>() => {
|
|
|
2154
2129
|
Darwinia: Darwinia<TApi, TRes>;
|
|
2155
2130
|
EnergyWebX: EnergyWebX<TApi, TRes>;
|
|
2156
2131
|
Hydration: Hydration<TApi, TRes>;
|
|
2157
|
-
IntegriteePolkadot: IntegriteePolkadot<TApi, TRes>;
|
|
2158
2132
|
Interlay: Interlay<TApi, TRes>;
|
|
2159
2133
|
Heima: Heima<TApi, TRes>;
|
|
2160
2134
|
Jamton: Jamton<TApi, TRes>;
|
|
@@ -2176,7 +2150,6 @@ declare const chains: <TApi, TRes>() => {
|
|
|
2176
2150
|
AssetHubKusama: AssetHubKusama<TApi, TRes>;
|
|
2177
2151
|
BridgeHubKusama: BridgeHubKusama<TApi, TRes>;
|
|
2178
2152
|
CoretimeKusama: CoretimeKusama<TApi, TRes>;
|
|
2179
|
-
IntegriteeKusama: IntegriteeKusama<TApi, TRes>;
|
|
2180
2153
|
Encointer: Encointer<TApi, TRes>;
|
|
2181
2154
|
Altair: Altair<TApi, TRes>;
|
|
2182
2155
|
Amplitude: Amplitude<TApi, TRes>;
|
|
@@ -2203,7 +2176,6 @@ declare const chains: <TApi, TRes>() => {
|
|
|
2203
2176
|
BridgeHubPaseo: BridgeHubPaseo<TApi, TRes>;
|
|
2204
2177
|
CoretimePaseo: CoretimePaseo<TApi, TRes>;
|
|
2205
2178
|
EnergyWebXPaseo: EnergyWebXPaseo<TApi, TRes>;
|
|
2206
|
-
IntegriteePaseo: IntegriteePaseo<TApi, TRes>;
|
|
2207
2179
|
KiltPaseo: KiltPaseo<TApi, TRes>;
|
|
2208
2180
|
PAssetHub: PAssetHub<TApi, TRes>;
|
|
2209
2181
|
PeoplePaseo: PeoplePaseo<TApi, TRes>;
|
|
@@ -2213,7 +2185,6 @@ declare const chains: <TApi, TRes>() => {
|
|
|
2213
2185
|
HydrationPaseo: HydrationPaseo<TApi, TRes>;
|
|
2214
2186
|
LaosPaseo: LaosPaseo<TApi, TRes>;
|
|
2215
2187
|
NeuroWebPaseo: NeuroWebPaseo<TApi, TRes>;
|
|
2216
|
-
NodlePaseo: NodlePaseo<TApi, TRes>;
|
|
2217
2188
|
ZeitgeistPaseo: ZeitgeistPaseo<TApi, TRes>;
|
|
2218
2189
|
};
|
|
2219
2190
|
|
|
@@ -2240,7 +2211,7 @@ declare const addEthereumBridgeFees: <TApi, TRes, TResult extends {
|
|
|
2240
2211
|
declare const calcPreviewMintAmount: (balance: bigint, desired: bigint) => bigint | null;
|
|
2241
2212
|
declare const wrapTxBypass: <TApi, TRes>(dryRunOptions: TDryRunBypassOptions<TApi, TRes>, options?: TBypassOptions) => Promise<TRes>;
|
|
2242
2213
|
|
|
2243
|
-
declare const getParaEthTransferFees: <TApi, TRes>(ahApi: IPolkadotApi<TApi, TRes
|
|
2214
|
+
declare const getParaEthTransferFees: <TApi, TRes>(ahApi: IPolkadotApi<TApi, TRes>, shouldDisconnect?: boolean) => Promise<[bigint, bigint]>;
|
|
2244
2215
|
|
|
2245
2216
|
declare const transferMoonbeamEvm: <TApi, TRes>({ api, from, to, signer, address, currency }: TEvmBuilderOptions<TApi, TRes>) => Promise<string>;
|
|
2246
2217
|
|
|
@@ -2379,7 +2350,7 @@ declare const reverseTransformLocation: (location: TLocation) => TLocation;
|
|
|
2379
2350
|
|
|
2380
2351
|
declare const normalizeAmount: (amount: bigint) => bigint;
|
|
2381
2352
|
|
|
2382
|
-
declare const resolveDestChain: (originChain: TSubstrateChain, paraId: number | undefined) => "AssetHubPolkadot" | "Acala" | "Ajuna" | "Astar" | "BifrostPolkadot" | "BridgeHubPolkadot" | "Centrifuge" | "Darwinia" | "EnergyWebX" | "Hydration" | "
|
|
2353
|
+
declare const resolveDestChain: (originChain: TSubstrateChain, paraId: number | undefined) => "AssetHubPolkadot" | "Acala" | "Ajuna" | "Astar" | "BifrostPolkadot" | "BridgeHubPolkadot" | "Centrifuge" | "Darwinia" | "EnergyWebX" | "Hydration" | "Interlay" | "Heima" | "Jamton" | "Moonbeam" | "CoretimePolkadot" | "Collectives" | "Crust" | "Manta" | "Nodle" | "NeuroWeb" | "Pendulum" | "Phala" | "KiltSpiritnet" | "Curio" | "Mythos" | "Peaq" | "RobonomicsPolkadot" | "PeoplePolkadot" | "Unique" | "Xode" | "AssetHubKusama" | "BridgeHubKusama" | "Karura" | "Kintsugi" | "Moonriver" | "CoretimeKusama" | "Encointer" | "Altair" | "Amplitude" | "Basilisk" | "BifrostKusama" | "CrustShadow" | "Crab" | "Laos" | "Quartz" | "RobonomicsKusama" | "PeopleKusama" | "Shiden" | "Zeitgeist" | "AssetHubWestend" | "BridgeHubWestend" | "CollectivesWestend" | "CoretimeWestend" | "Penpal" | "PeopleWestend" | "AjunaPaseo" | "AssetHubPaseo" | "BifrostPaseo" | "BridgeHubPaseo" | "CoretimePaseo" | "EnergyWebXPaseo" | "HeimaPaseo" | "HydrationPaseo" | "KiltPaseo" | "LaosPaseo" | "NeuroWebPaseo" | "PAssetHub" | "PeoplePaseo" | "ZeitgeistPaseo" | undefined;
|
|
2383
2354
|
|
|
2384
2355
|
declare const resolveParaId: (paraId: number | undefined, destination: TDestination) => number | undefined;
|
|
2385
2356
|
|