@paraspell/sdk-core 12.5.0 → 12.5.1

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 CHANGED
@@ -5,7 +5,7 @@ import { TAssetInfo, TCurrencyInputWithAmount, TCurrencyInput, TAsset, TAssetWit
5
5
  export * from '@paraspell/assets';
6
6
  import { TPallet, TAssetsPallet } from '@paraspell/pallets';
7
7
  export * from '@paraspell/pallets';
8
- import { WalletClient, parseUnits as parseUnits$1, formatUnits as formatUnits$1 } from 'viem';
8
+ import { WalletClient, formatUnits as formatUnits$1, parseUnits as parseUnits$1 } from 'viem';
9
9
 
10
10
  type WithApi<TBase, TApi, TRes> = TBase & {
11
11
  api: IPolkadotApi<TApi, TRes>;
@@ -1581,12 +1581,6 @@ declare class Altair<TApi, TRes> extends Chain<TApi, TRes> implements IXTokensTr
1581
1581
  transferLocalNonNativeAsset(options: TTransferLocalOptions<TApi, TRes>): TRes;
1582
1582
  }
1583
1583
 
1584
- declare class Amplitude<TApi, TRes> extends Chain<TApi, TRes> implements IXTokensTransfer {
1585
- constructor();
1586
- getCustomCurrencyId(asset: TAssetInfo): TXcmAsset;
1587
- transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
1588
- }
1589
-
1590
1584
  declare class AssetHubKusama<TApi, TRes> extends Chain<TApi, TRes> implements IPolkadotXCMTransfer {
1591
1585
  constructor();
1592
1586
  transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
@@ -2051,7 +2045,6 @@ declare const chains: <TApi, TRes>() => {
2051
2045
  CoretimeKusama: CoretimeKusama<TApi, TRes>;
2052
2046
  Encointer: Encointer<TApi, TRes>;
2053
2047
  Altair: Altair<TApi, TRes>;
2054
- Amplitude: Amplitude<TApi, TRes>;
2055
2048
  Basilisk: Basilisk<TApi, TRes>;
2056
2049
  BifrostKusama: BifrostKusama<TApi, TRes>;
2057
2050
  CrustShadow: CrustShadow<TApi, TRes>;
@@ -2268,7 +2261,7 @@ declare const reverseTransformLocation: (location: TLocation) => TLocation;
2268
2261
 
2269
2262
  declare const normalizeAmount: (amount: bigint) => bigint;
2270
2263
 
2271
- 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" | "PeopleKusama" | "Shiden" | "Zeitgeist" | "AssetHubWestend" | "BridgeHubWestend" | "CollectivesWestend" | "CoretimeWestend" | "Penpal" | "PeopleWestend" | "AjunaPaseo" | "AssetHubPaseo" | "BifrostPaseo" | "BridgeHubPaseo" | "CoretimePaseo" | "EnergyWebXPaseo" | "HeimaPaseo" | "HydrationPaseo" | "KiltPaseo" | "LaosPaseo" | "NeuroWebPaseo" | "PAssetHub" | "PeoplePaseo" | "ZeitgeistPaseo" | undefined;
2264
+ 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" | "Basilisk" | "BifrostKusama" | "CrustShadow" | "Crab" | "Laos" | "Quartz" | "PeopleKusama" | "Shiden" | "Zeitgeist" | "AssetHubWestend" | "BridgeHubWestend" | "CollectivesWestend" | "CoretimeWestend" | "Penpal" | "PeopleWestend" | "AjunaPaseo" | "AssetHubPaseo" | "BifrostPaseo" | "BridgeHubPaseo" | "CoretimePaseo" | "EnergyWebXPaseo" | "HeimaPaseo" | "HydrationPaseo" | "KiltPaseo" | "LaosPaseo" | "NeuroWebPaseo" | "PAssetHub" | "PeoplePaseo" | "ZeitgeistPaseo" | undefined;
2272
2265
 
2273
2266
  declare const resolveParaId: (paraId: number | undefined, destination: TDestination) => number | undefined;
2274
2267
 
package/dist/index.mjs CHANGED
@@ -2264,17 +2264,6 @@ var Altair$1 = {
2264
2264
  }
2265
2265
  ]
2266
2266
  };
2267
- var Amplitude$1 = {
2268
- name: "Amplitude",
2269
- info: "amplitude",
2270
- paraId: 2124,
2271
- providers: [
2272
- {
2273
- name: "PendulumChain",
2274
- endpoint: "wss://rpc-amplitude.pendulumchain.tech"
2275
- }
2276
- ]
2277
- };
2278
2267
  var Basilisk$1 = {
2279
2268
  name: "Basilisk",
2280
2269
  info: "basilisk",
@@ -2933,7 +2922,6 @@ var configs = {
2933
2922
  CoretimeKusama: CoretimeKusama$1,
2934
2923
  Encointer: Encointer$1,
2935
2924
  Altair: Altair$1,
2936
- Amplitude: Amplitude$1,
2937
2925
  Basilisk: Basilisk$1,
2938
2926
  BifrostKusama: BifrostKusama$1,
2939
2927
  CrustShadow: CrustShadow$1,
@@ -9861,36 +9849,6 @@ var Altair = /*#__PURE__*/function (_Chain) {
9861
9849
  }]);
9862
9850
  }(Chain);
9863
9851
 
9864
- var Amplitude = /*#__PURE__*/function (_Chain) {
9865
- function Amplitude() {
9866
- _classCallCheck(this, Amplitude);
9867
- return _callSuper(this, Amplitude, ['Amplitude', 'amplitude', 'Kusama', Version.V3]);
9868
- }
9869
- _inherits(Amplitude, _Chain);
9870
- return _createClass(Amplitude, [{
9871
- key: "getCustomCurrencyId",
9872
- value: function getCustomCurrencyId(asset) {
9873
- if (asset.symbol === this.getNativeAssetSymbol()) return {
9874
- Native: null
9875
- };
9876
- assertHasId(asset);
9877
- return {
9878
- XCM: Number(asset.assetId)
9879
- };
9880
- }
9881
- }, {
9882
- key: "transferXTokens",
9883
- value: function transferXTokens$1(input) {
9884
- var asset = input.asset;
9885
- assertHasId(asset);
9886
- var currencySelection = {
9887
- XCM: Number(asset.assetId)
9888
- };
9889
- return transferXTokens(input, currencySelection);
9890
- }
9891
- }]);
9892
- }(Chain);
9893
-
9894
9852
  var AssetHubKusama = /*#__PURE__*/function (_Chain) {
9895
9853
  function AssetHubKusama() {
9896
9854
  _classCallCheck(this, AssetHubKusama);
@@ -13096,7 +13054,6 @@ var chains = function chains() {
13096
13054
  CoretimeKusama: new CoretimeKusama(),
13097
13055
  Encointer: new Encointer(),
13098
13056
  Altair: new Altair(),
13099
- Amplitude: new Amplitude(),
13100
13057
  Basilisk: new Basilisk(),
13101
13058
  BifrostKusama: new BifrostKusama(),
13102
13059
  CrustShadow: new CrustShadow(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paraspell/sdk-core",
3
- "version": "12.5.0",
3
+ "version": "12.5.1",
4
4
  "description": "SDK core for ParaSpell XCM/XCMP tool for developers",
5
5
  "repository": {
6
6
  "type": "git",
@@ -26,23 +26,23 @@
26
26
  "@noble/hashes": "^2.0.1",
27
27
  "@scure/base": "^2.0.0",
28
28
  "viem": "2.45.0",
29
- "@paraspell/assets": "12.5.0",
30
- "@paraspell/pallets": "12.5.0",
31
- "@paraspell/sdk-common": "12.5.0"
29
+ "@paraspell/assets": "12.5.1",
30
+ "@paraspell/pallets": "12.5.1",
31
+ "@paraspell/sdk-common": "12.5.1"
32
32
  },
33
33
  "devDependencies": {
34
- "@babel/plugin-syntax-import-attributes": "^7.27.1",
35
- "@babel/preset-env": "^7.28.5",
34
+ "@babel/plugin-syntax-import-attributes": "^7.28.6",
35
+ "@babel/preset-env": "^7.28.6",
36
36
  "@codecov/rollup-plugin": "^1.9.1",
37
37
  "@polkadot/api": "^16.5.4",
38
38
  "@polkadot/types": "^16.5.4",
39
39
  "@rollup/plugin-babel": "^6.1.0",
40
40
  "@rollup/plugin-json": "^6.1.0",
41
41
  "@rollup/plugin-typescript": "^12.3.0",
42
- "@vitest/coverage-v8": "^4.0.16",
43
- "axios": "^1.13.2",
42
+ "@vitest/coverage-v8": "^4.0.18",
43
+ "axios": "^1.13.4",
44
44
  "dotenv": "^17.2.3",
45
- "rollup": "^4.54.0",
45
+ "rollup": "^4.57.0",
46
46
  "rollup-plugin-dts": "^6.3.0",
47
47
  "ts-morph": "^27.0.2",
48
48
  "ts-node": "^10.9.2",