Socket
Socket
Sign inDemoInstall

@xchainjs/xchain-evm

Package Overview
Dependencies
Maintainers
10
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xchainjs/xchain-evm - npm Package Compare versions

Comparing version 0.5.1 to 0.6.0

lib/clients/client.d.ts

6

lib/index.d.ts

@@ -1,6 +0,6 @@

import { ClientKeystore } from './ClientKeystore';
import { ClientKeystore } from './clients/clientKeystore';
export { ClientLedger, ClientKeystore, ClientKeystore as Client, EVMKeystoreClientParams, EVMClientParams, } from './clients';
export default ClientKeystore;
export * from './types';
export { ClientKeystore, ClientKeystore as Client } from './ClientKeystore';
export { ClientLedger } from './ClientLedger';
export { KeystoreSigner, KeystoreSignerParams, LedgerSigner, LedgerSignerParams } from './signers';
export { call, // Function to call a contract

@@ -7,0 +7,0 @@ estimateApprove, // Function to estimate approval transaction

@@ -1,4 +0,3 @@

import { Provider } from '@ethersproject/abstract-provider';
import { EvmOnlineDataProviders, ExplorerProviders, FeeOption, Fees, Network, TxParams as BaseTxParams, XChainClientParams } from '@xchainjs/xchain-client';
import { Address, Asset, BaseAmount, Chain } from '@xchainjs/xchain-util';
import { FeeOption, Fees, Network, TxParams as BaseTxParams } from '@xchainjs/xchain-client';
import { Address, BaseAmount } from '@xchainjs/xchain-util';
import { BigNumber, Signer, ethers } from 'ethers';

@@ -54,14 +53,2 @@ export type ClientUrl = Record<Network, string>;

};
/**
* Parameters for configuring the EVM client.
*/
export type EVMClientParams = XChainClientParams & {
chain: Chain;
gasAsset: Asset;
gasAssetDecimals: number;
defaults: Record<Network, EvmDefaults>;
providers: Record<Network, Provider>;
explorerProviders: ExplorerProviders;
dataProviders: EvmOnlineDataProviders[];
};
export type TxParams = BaseTxParams & {

@@ -68,0 +55,0 @@ feeOption?: FeeOption;

export * from './client-types';
export * from './signer-types';
{
"name": "@xchainjs/xchain-evm",
"version": "0.5.1",
"version": "0.6.0",
"description": "Genereic EVM client for XChainJS",

@@ -37,12 +37,13 @@ "keywords": [

"dependencies": {
"@ledgerhq/hw-app-eth": "6.35.7",
"@xchainjs/xchain-client": "*",
"@xchainjs/xchain-util": "*",
"@ledgerhq/hw-app-eth": "6.36.0",
"@xchainjs/xchain-client": "workspace:*",
"@xchainjs/xchain-util": "workspace:*",
"ethers": "5.7.2"
},
"devDependencies": {
"@ledgerhq/hw-transport-node-hid": "6.28.0",
"@ledgerhq/hw-transport": "6.30.6",
"@ledgerhq/hw-transport-node-hid": "6.28.6",
"axios": "1.3.6",
"nock": "13.0.5"
}
}
}

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc