@xchainjs/xchain-avax 0.4.6 → 0.5.0
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/lib/ClientKeystore.d.ts +4 -0
- package/lib/ClientLedger.d.ts +20 -0
- package/lib/index.d.ts +4 -1
- package/lib/index.esm.js +18831 -19
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +18825 -6
- package/lib/index.js.map +1 -1
- package/package.json +11 -11
- package/lib/client.d.ts +0 -5
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Import statements
|
|
3
|
+
* Importing the `Client` class from the '@xchainjs/xchain-evm' module
|
|
4
|
+
* Importing the `defaultEthParams` constant from the './const' file
|
|
5
|
+
*/
|
|
6
|
+
import { ClientLedger as EVMClientLedger, EVMClientParams } from '@xchainjs/xchain-evm';
|
|
7
|
+
/**
|
|
8
|
+
* Class definition for the Avalanche EVM client.
|
|
9
|
+
* Extends the `XchainEvmClient` class.
|
|
10
|
+
*/
|
|
11
|
+
export declare class ClientLedger extends EVMClientLedger {
|
|
12
|
+
/**
|
|
13
|
+
* Constructor for the Avalanche EVM client.
|
|
14
|
+
* @param {Object} config - Configuration object for the client (optional).
|
|
15
|
+
* Defaults to `defaultEthParams` if not provided.
|
|
16
|
+
*/
|
|
17
|
+
constructor(config: EVMClientParams & {
|
|
18
|
+
transport: any;
|
|
19
|
+
});
|
|
20
|
+
}
|
package/lib/index.d.ts
CHANGED