@paraspell/sdk-pjs 8.0.2 → 8.0.3

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 +2 -1
  2. package/package.json +4 -4
package/dist/index.d.ts CHANGED
@@ -6,6 +6,7 @@ import { SubmittableExtrinsic } from '@polkadot/api/types';
6
6
  import * as _polkadot_api from '@polkadot/api';
7
7
  import { ApiPromise } from '@polkadot/api';
8
8
  import { AbstractProvider, Signer } from 'ethers';
9
+ import { WalletClient } from 'viem';
9
10
 
10
11
  type TPjsApi = ApiPromise;
11
12
  type TPjsApiOrUrl = TApiOrUrl<TPjsApi>;
@@ -164,7 +165,7 @@ declare class EvmBuilderClass<TApi, TRes> {
164
165
  * @param signer - The Ethereum signer to authorize the transfer.
165
166
  * @returns An instance of EvmBuilder
166
167
  */
167
- signer(signer: Signer): this;
168
+ signer(signer: Signer | WalletClient): this;
168
169
  /**
169
170
  * Builds and executes the transfer from Ethereum to Polkadot.
170
171
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paraspell/sdk-pjs",
3
- "version": "8.0.2",
3
+ "version": "8.0.3",
4
4
  "description": "Polkadot.js based SDK for ParaSpell XCM/XCMP tool for developers",
5
5
  "repository": {
6
6
  "type": "git",
@@ -11,9 +11,9 @@
11
11
  "type": "module",
12
12
  "exports": {
13
13
  ".": {
14
+ "types": "./dist/index.d.ts",
14
15
  "import": "./dist/index.mjs",
15
- "require": "./dist/index.cjs",
16
- "types": "./dist/index.d.ts"
16
+ "require": "./dist/index.cjs"
17
17
  }
18
18
  },
19
19
  "main": "dist/index.cjs",
@@ -26,7 +26,7 @@
26
26
  "@snowbridge/api": "^0.1.25",
27
27
  "ethers": "^6.13.4",
28
28
  "viem": "^2.21.58",
29
- "@paraspell/sdk-core": "8.0.2"
29
+ "@paraspell/sdk-core": "8.0.3"
30
30
  },
31
31
  "peerDependencies": {
32
32
  "@polkadot/api": ">= 15.0 < 16",