@xchainjs/xchain-wallet 1.0.0 → 1.0.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/lib/index.esm.js +2 -2
- package/lib/index.js +2 -2
- package/lib/wallet.d.ts +3 -3
- package/package.json +9 -9
package/lib/index.esm.js
CHANGED
|
@@ -323,7 +323,7 @@ class Wallet {
|
|
|
323
323
|
}
|
|
324
324
|
/**
|
|
325
325
|
* Estimate transfer fees
|
|
326
|
-
* @param {UtxoTxParams | EvmTxParams} params to make the transfer estimation
|
|
326
|
+
* @param {UtxoTxParams | EvmTxParams | CosmosTxParams} params to make the transfer estimation
|
|
327
327
|
* @returns {Fees} Estimated fees
|
|
328
328
|
*/
|
|
329
329
|
estimateTransferFees(params) {
|
|
@@ -351,7 +351,7 @@ class Wallet {
|
|
|
351
351
|
}
|
|
352
352
|
/**
|
|
353
353
|
* Make a transaction
|
|
354
|
-
* @param {
|
|
354
|
+
* @param {UtxoTxParams | EvmTxParams | CosmosTxParams} params txParams - The parameters to make the transfer
|
|
355
355
|
* @returns The transaction hash
|
|
356
356
|
*/
|
|
357
357
|
transfer(params) {
|
package/lib/index.js
CHANGED
|
@@ -327,7 +327,7 @@ class Wallet {
|
|
|
327
327
|
}
|
|
328
328
|
/**
|
|
329
329
|
* Estimate transfer fees
|
|
330
|
-
* @param {UtxoTxParams | EvmTxParams} params to make the transfer estimation
|
|
330
|
+
* @param {UtxoTxParams | EvmTxParams | CosmosTxParams} params to make the transfer estimation
|
|
331
331
|
* @returns {Fees} Estimated fees
|
|
332
332
|
*/
|
|
333
333
|
estimateTransferFees(params) {
|
|
@@ -355,7 +355,7 @@ class Wallet {
|
|
|
355
355
|
}
|
|
356
356
|
/**
|
|
357
357
|
* Make a transaction
|
|
358
|
-
* @param {
|
|
358
|
+
* @param {UtxoTxParams | EvmTxParams | CosmosTxParams} params txParams - The parameters to make the transfer
|
|
359
359
|
* @returns The transaction hash
|
|
360
360
|
*/
|
|
361
361
|
transfer(params) {
|
package/lib/wallet.d.ts
CHANGED
|
@@ -143,13 +143,13 @@ export declare class Wallet {
|
|
|
143
143
|
getFeeRates(chain: Chain, protocol?: Protocol): Promise<Record<FeeOption, BaseAmount>>;
|
|
144
144
|
/**
|
|
145
145
|
* Estimate transfer fees
|
|
146
|
-
* @param {UtxoTxParams | EvmTxParams} params to make the transfer estimation
|
|
146
|
+
* @param {UtxoTxParams | EvmTxParams | CosmosTxParams} params to make the transfer estimation
|
|
147
147
|
* @returns {Fees} Estimated fees
|
|
148
148
|
*/
|
|
149
|
-
estimateTransferFees(params: UtxoTxParams | EvmTxParams): Promise<Fees>;
|
|
149
|
+
estimateTransferFees(params: UtxoTxParams | EvmTxParams | CosmosTxParams): Promise<Fees>;
|
|
150
150
|
/**
|
|
151
151
|
* Make a transaction
|
|
152
|
-
* @param {
|
|
152
|
+
* @param {UtxoTxParams | EvmTxParams | CosmosTxParams} params txParams - The parameters to make the transfer
|
|
153
153
|
* @returns The transaction hash
|
|
154
154
|
*/
|
|
155
155
|
transfer(params: UtxoTxParams | EvmTxParams | CosmosTxParams): Promise<string>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xchainjs/xchain-wallet",
|
|
3
3
|
"description": "XChainjs clients wrapper to work with several chains at the same time",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.1",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"module": "lib/index.esm.js",
|
|
@@ -29,16 +29,16 @@
|
|
|
29
29
|
"directory": "release/package"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@xchainjs/xchain-client": "1.0.
|
|
33
|
-
"@xchainjs/xchain-evm": "1.0.
|
|
34
|
-
"@xchainjs/xchain-mayachain": "2.0.
|
|
35
|
-
"@xchainjs/xchain-thorchain": "2.0.
|
|
32
|
+
"@xchainjs/xchain-client": "1.0.1",
|
|
33
|
+
"@xchainjs/xchain-evm": "1.0.1",
|
|
34
|
+
"@xchainjs/xchain-mayachain": "2.0.1",
|
|
35
|
+
"@xchainjs/xchain-thorchain": "2.0.1",
|
|
36
36
|
"@xchainjs/xchain-util": "1.0.0",
|
|
37
|
-
"@xchainjs/xchain-utxo": "1.0.
|
|
37
|
+
"@xchainjs/xchain-utxo": "1.0.1"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@xchainjs/xchain-bitcoin": "1.0.
|
|
41
|
-
"@xchainjs/xchain-bitcoincash": "1.0.
|
|
42
|
-
"@xchainjs/xchain-ethereum": "1.0.
|
|
40
|
+
"@xchainjs/xchain-bitcoin": "1.0.1",
|
|
41
|
+
"@xchainjs/xchain-bitcoincash": "1.0.1",
|
|
42
|
+
"@xchainjs/xchain-ethereum": "1.0.1"
|
|
43
43
|
}
|
|
44
44
|
}
|