Socket
Socket
Sign inDemoInstall

web3-types

Package Overview
Dependencies
Maintainers
2
Versions
292
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.1-alpha.3 to 0.1.1-alpha.4

13

lib/eth_types.d.ts

@@ -268,3 +268,2 @@ import { Bytes, HexString, Numbers } from './primitives_types';

common?: Common;
to?: Address | null;
gas?: Numbers;

@@ -290,2 +289,3 @@ gasPrice?: Numbers;

from?: Address;
to?: Address | null;
}

@@ -295,5 +295,12 @@ export interface TransactionCall extends Transaction {

}
export interface TransactionWithLocalWalletIndex extends TransactionBase {
from?: Numbers;
export interface TransactionWithFromLocalWalletIndex extends Omit<Transaction, 'from'> {
from: Numbers;
}
export interface TransactionWithToLocalWalletIndex extends Omit<Transaction, 'to'> {
to: Numbers;
}
export interface TransactionWithFromAndToLocalWalletIndex extends Omit<Transaction, 'from' | 'to'> {
from: Numbers;
to: Numbers;
}
export interface TransactionInfo extends Transaction {

@@ -300,0 +307,0 @@ readonly blockHash?: Bytes;

{
"name": "web3-types",
"version": "0.1.1-alpha.3",
"version": "0.1.1-alpha.4",
"description": "Provide the common data structures and interfaces for web3 modules.",

@@ -42,3 +42,3 @@ "main": "lib/index.js",

},
"gitHead": "9f0deb7273dd3e4d4b877ddb2d70805afb040586"
"gitHead": "ae1ae53c9192ddef32931c3cbf68c2a7e2946ec5"
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc