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.2.0 to 0.2.2

7

lib/client.d.ts
import { Provider, TransactionResponse } from '@ethersproject/abstract-provider';
import { Balance, BaseXChainClient, ExplorerProviders, FeeOption, Fees, Network, OnlineDataProviders, Tx, TxHash, TxHistoryParams, TxParams, TxsPage, XChainClient, XChainClientParams } from '@xchainjs/xchain-client';
import { AssetInfo, Balance, BaseXChainClient, ExplorerProviders, FeeOption, Fees, Network, OnlineDataProviders, Tx, TxHash, TxHistoryParams, TxParams, TxsPage, XChainClient, XChainClientParams } from '@xchainjs/xchain-client';
import { Address, Asset, BaseAmount, Chain } from '@xchainjs/xchain-util';

@@ -82,2 +82,7 @@ import { BigNumber, Signer, ethers } from 'ethers';

/**
*
* @returns asset info
*/
getAssetInfo(): AssetInfo;
/**
* Get the explorer url for the given address.

@@ -84,0 +89,0 @@ *

@@ -487,2 +487,13 @@ import { BaseXChainClient, Network, FeeOption, checkFeeBounds, standardFeeRates, FeeType, TxType } from '@xchainjs/xchain-client';

/**
*
* @returns asset info
*/
getAssetInfo() {
const assetInfo = {
asset: this.gasAsset,
decimal: this.gasAssetDecimals,
};
return assetInfo;
}
/**
* Get the explorer url for the given address.

@@ -489,0 +500,0 @@ *

@@ -495,2 +495,13 @@ 'use strict';

/**
*
* @returns asset info
*/
getAssetInfo() {
const assetInfo = {
asset: this.gasAsset,
decimal: this.gasAssetDecimals,
};
return assetInfo;
}
/**
* Get the explorer url for the given address.

@@ -497,0 +508,0 @@ *

10

package.json
{
"name": "@xchainjs/xchain-evm",
"version": "0.2.0",
"version": "0.2.2",
"description": "Genereic EVM client for XChainJS",

@@ -37,15 +37,15 @@ "keywords": [

"devDependencies": {
"@xchainjs/xchain-client": "^0.14.0",
"@xchainjs/xchain-client": "^0.14.1",
"@xchainjs/xchain-crypto": "^0.3.0",
"@xchainjs/xchain-util": "^0.13.0",
"axios": "^1.3.6",
"ethers": "^5.6.6"
"ethers": "^5.7.2"
},
"peerDependencies": {
"@xchainjs/xchain-client": "^0.14.0",
"@xchainjs/xchain-client": "^0.14.1",
"@xchainjs/xchain-crypto": "^0.3.0",
"@xchainjs/xchain-util": "^0.13.0",
"axios": "^1.3.6",
"ethers": "^5.6.6"
"ethers": "^5.7.2"
}
}

Sorry, the diff of this file is not supported yet

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