@paraspell/sdk-pjs 14.1.0-rc.1 → 14.1.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 +5 -5
- package/package.json +5 -13
package/dist/index.d.ts
CHANGED
|
@@ -3,10 +3,10 @@ import { Foreign, ForeignAbstract, Native, findAssetInfo, getAllAssetsSymbols, g
|
|
|
3
3
|
export * from '@paraspell/sdk-core';
|
|
4
4
|
import * as _polkadot_api from '@polkadot/api';
|
|
5
5
|
import { ApiPromise } from '@polkadot/api';
|
|
6
|
-
import {
|
|
6
|
+
import { Signer, SubmittableExtrinsic as SubmittableExtrinsic$1 } from '@polkadot/api/types';
|
|
7
7
|
|
|
8
8
|
type TPjsApi = ApiPromise;
|
|
9
|
-
type Extrinsic = SubmittableExtrinsic<'promise'>;
|
|
9
|
+
type Extrinsic = SubmittableExtrinsic$1<'promise'>;
|
|
10
10
|
type TPjsSigner = {
|
|
11
11
|
signer: Signer;
|
|
12
12
|
address: string;
|
|
@@ -68,13 +68,13 @@ declare const convertSs58: (address: string, chain: TSubstrateChain) => string;
|
|
|
68
68
|
* @param options - Either an existing API instance, a WS URL, or a config object.
|
|
69
69
|
* @returns A new Builder instance.
|
|
70
70
|
*/
|
|
71
|
-
declare const Builder: <const TOpts extends TBuilderOptions<TApiOrUrl<TPjsApi>>>(options?: TOpts) => GeneralBuilder$1<_polkadot_api.ApiPromise,
|
|
71
|
+
declare const Builder: <const TOpts extends TBuilderOptions<TApiOrUrl<TPjsApi>>>(options?: TOpts) => GeneralBuilder$1<_polkadot_api.ApiPromise, SubmittableExtrinsic<"promise">, TPjsSigner, object, TCustomChainFrom<TOpts>>;
|
|
72
72
|
type GeneralBuilder<T extends Partial<TTransferBaseOptions<TPjsApi, Extrinsic, TPjsSigner>> = object, TCustomChain extends string = never> = GeneralBuilder$1<TPjsApi, Extrinsic, TPjsSigner, T, TCustomChain>;
|
|
73
73
|
|
|
74
|
-
declare const dryRun: (options: _paraspell_sdk_core.TDryRunBaseOptions<
|
|
74
|
+
declare const dryRun: (options: _paraspell_sdk_core.TDryRunBaseOptions<SubmittableExtrinsic<"promise">, never> & {
|
|
75
75
|
api?: TApiOrUrl<TPjsApi>;
|
|
76
76
|
}) => Promise<_paraspell_sdk_core.TDryRunResult<never>>;
|
|
77
|
-
declare const dryRunOrigin: (options: _paraspell_sdk_core.TDryRunCallBaseOptions<
|
|
77
|
+
declare const dryRunOrigin: (options: _paraspell_sdk_core.TDryRunCallBaseOptions<SubmittableExtrinsic<"promise">, never> & {
|
|
78
78
|
api?: TApiOrUrl<TPjsApi>;
|
|
79
79
|
}) => Promise<_paraspell_sdk_core.TDryRunChainResult>;
|
|
80
80
|
declare const getParaEthTransferFees: (api?: TApiOrUrl<TPjsApi>) => Promise<[bigint, bigint]>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@paraspell/sdk-pjs",
|
|
3
|
-
"version": "14.1.
|
|
3
|
+
"version": "14.1.1",
|
|
4
4
|
"description": "Polkadot.js based SDK for ParaSpell XCM/XCMP tool for developers",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -22,19 +22,11 @@
|
|
|
22
22
|
"dist"
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@
|
|
26
|
-
"@
|
|
27
|
-
"@snowbridge/contract-types": "^1.1.6",
|
|
28
|
-
"@snowbridge/provider-ethers": "^1.1.6",
|
|
29
|
-
"@snowbridge/registry": "^1.1.6",
|
|
30
|
-
"ethers": "6.16.0",
|
|
31
|
-
"viem": "^2.53.1",
|
|
32
|
-
"@paraspell/sdk-common": "14.1.0-rc.1",
|
|
33
|
-
"@paraspell/sdk-core": "14.1.0-rc.1"
|
|
25
|
+
"@paraspell/sdk-common": "14.1.1",
|
|
26
|
+
"@paraspell/sdk-core": "14.1.1"
|
|
34
27
|
},
|
|
35
28
|
"peerDependencies": {
|
|
36
29
|
"@polkadot/api": ">= 16.0 < 17",
|
|
37
|
-
"@polkadot/api-base": ">= 16.0 < 17",
|
|
38
30
|
"@polkadot/types": ">= 16.0 < 17",
|
|
39
31
|
"@polkadot/util": ">= 14",
|
|
40
32
|
"@polkadot/util-crypto": ">= 14"
|
|
@@ -46,9 +38,9 @@
|
|
|
46
38
|
"@rollup/plugin-babel": "^7.1.0",
|
|
47
39
|
"@rollup/plugin-json": "^6.1.0",
|
|
48
40
|
"@rollup/plugin-typescript": "^12.3.0",
|
|
49
|
-
"@vitest/coverage-v8": "^4.1.
|
|
41
|
+
"@vitest/coverage-v8": "^4.1.10",
|
|
50
42
|
"dotenv": "^17.4.2",
|
|
51
|
-
"rollup": "^4.62.
|
|
43
|
+
"rollup": "^4.62.3",
|
|
52
44
|
"rollup-plugin-dts": "^6.4.1"
|
|
53
45
|
},
|
|
54
46
|
"scripts": {
|