@xchainjs/xchain-evm
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -62,3 +62,3 @@ import { TxHash } from '@xchainjs/xchain-client'; | ||
*/ | ||
signTransfer({ sender, tx }: SignTransferParams): Promise<TxHash>; | ||
signTransfer({ walletIndex, tx }: SignTransferParams): Promise<TxHash>; | ||
/** | ||
@@ -72,3 +72,3 @@ * Sign an EVM approve transaction with Ledger | ||
*/ | ||
signApprove({ sender, tx }: SignApproveParams): Promise<string>; | ||
signApprove({ walletIndex, tx }: SignApproveParams): Promise<string>; | ||
} |
@@ -43,3 +43,3 @@ import AppEth from '@ledgerhq/hw-app-eth'; | ||
*/ | ||
signTransfer({ sender, tx }: SignTransferParams): Promise<string>; | ||
signTransfer({ walletIndex, tx }: SignTransferParams): Promise<string>; | ||
/** | ||
@@ -53,3 +53,3 @@ * Sign an EVM approve transaction with Ledger | ||
*/ | ||
signApprove({ sender, tx }: SignApproveParams): Promise<string>; | ||
signApprove({ walletIndex, tx }: SignApproveParams): Promise<string>; | ||
} |
import { Address } from '@xchainjs/xchain-util'; | ||
import { ethers } from 'ethers'; | ||
export type SignTransferParams = { | ||
sender: Address; | ||
walletIndex: number; | ||
tx: ethers.Transaction; | ||
}; | ||
export type SignApproveParams = { | ||
sender: Address; | ||
walletIndex: number; | ||
tx: ethers.Transaction; | ||
@@ -10,0 +10,0 @@ }; |
{ | ||
"name": "@xchainjs/xchain-evm", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Genereic EVM client for XChainJS", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12524434