@paraspell/sdk 14.1.0-rc → 14.1.0-rc.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +5 -5
  2. package/package.json +6 -5
package/dist/index.d.ts CHANGED
@@ -1,13 +1,13 @@
1
1
  import * as _paraspell_sdk_core from '@paraspell/sdk-core';
2
- import { TSwapEvent as TSwapEvent$1, Foreign, ForeignAbstract, Native, findAssetInfo, getAllAssetsSymbols, getAssets, getAssetsObject, getExistentialDeposit, getNativeAssetSymbol, getNativeAssets, getOtherAssets, getRelayChainSymbol, getSupportedAssets, getTChain, isChainEvm, TSubstrateChain, TBuilderOptions, TApiOrUrl, GeneralBuilder as GeneralBuilder$1, TCustomChainFrom, TTransferBaseOptions, TCustomChainInput, TChainAssetsInfo, TGetXcmFeeBaseOptions, TCreateBaseSwapXcmOptions } from '@paraspell/sdk-core';
2
+ import { TSwapEvent as TSwapEvent$1, Foreign, ForeignAbstract, Native, findAssetInfo, getAllAssetsSymbols, getAssets, getAssetsObject, getExistentialDeposit, getNativeAssetSymbol, getNativeAssets, getOtherAssets, getRelayChainSymbol, getSupportedAssets, getTChain, isChainEvm, TSubstrateChain, TBuilderOptions, TApiOrUrl, TTransferBaseOptions, GeneralBuilder as GeneralBuilder$1, TCustomChainFrom, TCustomChainInput, TChainAssetsInfo, TGetXcmFeeBaseOptions, TCreateBaseSwapXcmOptions } from '@paraspell/sdk-core';
3
3
  export * from '@paraspell/sdk-core';
4
+ import { CommonSignerTxCreator } from '@polkadot-api/signers-common';
4
5
  import * as polkadot_api from 'polkadot-api';
5
6
  import { PolkadotClient, Transaction } from 'polkadot-api';
6
- import { RawTxCreator } from 'polkadot-api/tx-creator';
7
7
  import * as _paraspell_descriptors from '@paraspell/descriptors';
8
8
 
9
9
  type TPapiApi = PolkadotClient;
10
- type TPapiSigner = RawTxCreator;
10
+ type TPapiSigner = CommonSignerTxCreator;
11
11
  type TPapiTransaction = Transaction;
12
12
  type TSwapEvent = TSwapEvent$1<TPapiApi, TPapiTransaction>;
13
13
 
@@ -67,8 +67,8 @@ declare const convertSs58: (address: string, chain: TSubstrateChain) => string;
67
67
  * @param options - Either an existing API instance, a WS URL, or a config object.
68
68
  * @returns A new Builder instance.
69
69
  */
70
- declare const Builder: <const TOpts extends TBuilderOptions<TApiOrUrl<TPapiApi>>>(options?: TOpts) => GeneralBuilder$1<PolkadotClient, TPapiTransaction, RawTxCreator, object, TCustomChainFrom<TOpts>>;
71
- type GeneralBuilder<T extends Partial<TTransferBaseOptions<TPapiApi, TPapiTransaction, TPapiSigner>> = object, TCustomChain extends string = never> = GeneralBuilder$1<PolkadotClient, TPapiTransaction, RawTxCreator, T, TCustomChain>;
70
+ declare const Builder: <const TOpts extends TBuilderOptions<TApiOrUrl<TPapiApi>>>(options?: TOpts) => GeneralBuilder<object, TCustomChainFrom<TOpts>>;
71
+ type GeneralBuilder<T extends Partial<TTransferBaseOptions<TPapiApi, TPapiTransaction, TPapiSigner>> = object, TCustomChain extends string = never> = GeneralBuilder$1<PolkadotClient, TPapiTransaction, CommonSignerTxCreator, T, TCustomChain>;
72
72
 
73
73
  declare const hydrateCustomChain: <TCustomChain extends string>(name: TCustomChain, input: TCustomChainInput) => Promise<TChainAssetsInfo>;
74
74
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paraspell/sdk",
3
- "version": "14.1.0-rc",
3
+ "version": "14.1.0-rc.1",
4
4
  "description": "SDK for ParaSpell XCM/XCMP tool for developers",
5
5
  "repository": {
6
6
  "type": "git",
@@ -23,15 +23,16 @@
23
23
  ],
24
24
  "dependencies": {
25
25
  "@noble/hashes": "^2.2.0",
26
+ "@polkadot-api/signers-common": "0.3.0-rc.3",
26
27
  "@polkadot-api/substrate-bindings": "0.21.0-rc.1",
27
28
  "@polkadot-labs/hdkd": "^0.0.28",
28
29
  "@polkadot-labs/hdkd-helpers": "^0.0.30",
29
30
  "viem": "^2.53.1",
30
- "@paraspell/sdk-core": "14.1.0-rc"
31
+ "@paraspell/sdk-core": "14.1.0-rc.1"
31
32
  },
32
33
  "peerDependencies": {
33
- "polkadot-api": "3.0.0-rc.4",
34
- "@paraspell/descriptors": "14.1.0-rc"
34
+ "polkadot-api": "3.0.0-rc.5",
35
+ "@paraspell/descriptors": "14.1.0-rc.1"
35
36
  },
36
37
  "devDependencies": {
37
38
  "@acala-network/chopsticks": "^1.5.0",
@@ -48,7 +49,7 @@
48
49
  "dotenv": "^17.4.2",
49
50
  "rollup": "^4.62.2",
50
51
  "rollup-plugin-dts": "^6.4.1",
51
- "polkadot-api": "3.0.0-rc.4"
52
+ "polkadot-api": "3.0.0-rc.5"
52
53
  },
53
54
  "scripts": {
54
55
  "compile": "tsc --noEmit",