@xchainjs/xchain-avax 0.5.0 → 0.5.2

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.
@@ -1,4 +1,4 @@
1
- import { ClientKeystore as EVMClientKeystore } from '@xchainjs/xchain-evm';
1
+ import { ClientKeystore as EVMClientKeystore, EVMClientParams } from '@xchainjs/xchain-evm';
2
2
  export declare class ClientKeystore extends EVMClientKeystore {
3
- constructor(config?: import("@xchainjs/xchain-evm").EVMClientParams);
3
+ constructor(config?: Omit<EVMClientParams, 'signer'>);
4
4
  }
@@ -3,6 +3,7 @@
3
3
  * Importing the `Client` class from the '@xchainjs/xchain-evm' module
4
4
  * Importing the `defaultEthParams` constant from the './const' file
5
5
  */
6
+ import type Transport from '@ledgerhq/hw-transport';
6
7
  import { ClientLedger as EVMClientLedger, EVMClientParams } from '@xchainjs/xchain-evm';
7
8
  /**
8
9
  * Class definition for the Avalanche EVM client.
@@ -14,7 +15,7 @@ export declare class ClientLedger extends EVMClientLedger {
14
15
  * @param {Object} config - Configuration object for the client (optional).
15
16
  * Defaults to `defaultEthParams` if not provided.
16
17
  */
17
- constructor(config: EVMClientParams & {
18
- transport: any;
18
+ constructor(config: Omit<EVMClientParams, 'signer' | 'phrase'> & {
19
+ transport: Transport;
19
20
  });
20
21
  }