Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/web3

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/web3 - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

1

web3/index.d.ts

@@ -16,2 +16,3 @@ // Type definitions for web3 1.0

// Levin Keller <https://github.com/levino>
// Dmitry Radkovskiy <https://github.com/zlumer>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -18,0 +19,0 @@ // TypeScript Version: 2.4

9

web3/package.json
{
"name": "@types/web3",
"version": "1.0.1",
"version": "1.0.2",
"description": "TypeScript definitions for web3",

@@ -71,2 +71,7 @@ "license": "MIT",

"githubUsername": "levino"
},
{
"name": "Dmitry Radkovskiy",
"url": "https://github.com/zlumer",
"githubUsername": "zlumer"
}

@@ -84,4 +89,4 @@ ],

},
"typesPublisherContentHash": "58134b642832eafa4b97a2877fd924d4f7d7ef89a3733be92e5acb466c17aa7d",
"typesPublisherContentHash": "0c593fe1a7cd4a71d716372caac5c7774f97d3f412e56bb94cf3ce35ef2e3b3f",
"typeScriptVersion": "2.4"
}

@@ -11,3 +11,3 @@ # Installation

Additional Details
* Last updated: Sat, 21 Jul 2018 02:05:50 GMT
* Last updated: Mon, 30 Jul 2018 23:12:12 GMT
* Dependencies: bn.js, underscore

@@ -17,2 +17,2 @@ * Global values: none

# Credits
These definitions were written by Simon Jentzsch <https://github.com/simon-jentzsch>, Nitzan Tomer <https://github.com/nitzantomer>, Zurbo <https://github.com/zurbo>, Xiao Liang <https://github.com/yxliang01>, Francesco Soncina <https://github.com/phra>, Nick Addison <https://github.com/naddison36>, Ícaro Harry <https://github.com/icaroharry>, Linus Norton <https://github.com/linusnorton>, Javier Peletier <https://github.com/jpeletier>, HIKARU KOBORI <https://github.com/anneau>, Baris Gumustas <https://github.com/matrushka>, André Vitor de Lima Matos <https://github.com/andrevmatos>, Levin Keller <https://github.com/levino>.
These definitions were written by Simon Jentzsch <https://github.com/simon-jentzsch>, Nitzan Tomer <https://github.com/nitzantomer>, Zurbo <https://github.com/zurbo>, Xiao Liang <https://github.com/yxliang01>, Francesco Soncina <https://github.com/phra>, Nick Addison <https://github.com/naddison36>, Ícaro Harry <https://github.com/icaroharry>, Linus Norton <https://github.com/linusnorton>, Javier Peletier <https://github.com/jpeletier>, HIKARU KOBORI <https://github.com/anneau>, Baris Gumustas <https://github.com/matrushka>, André Vitor de Lima Matos <https://github.com/andrevmatos>, Levin Keller <https://github.com/levino>, Dmitry Radkovskiy <https://github.com/zlumer>.

@@ -5,17 +5,22 @@ import BigNumber = require("bn.js");

type Unit =
| "noether"
| "wei"
| "kwei"
| "Kwei"
| "babbage"
| "femtoether"
| "babbage"
| "mwei"
| "Mwei"
| "lovelace"
| "picoether"
| "lovelace"
| "qwei"
| "gwei"
| "Gwei"
| "shannon"
| "nanoether"
| "shannon"
| "nano"
| "szabo"
| "microether"
| "szabo"
| "nano"
| "micro"
| "finney"
| "milliether"
| "finney"
| "milli"

@@ -70,4 +75,5 @@ | "ether"

toUtf8(val: any): string;
toWei(val: string | number | BigNumber, unit: Unit): string | BigNumber;
toWei(val: string | number, unit?: Unit): string;
toWei(val: BigNumber, unit?: Unit): BigNumber;
unitMap: any;
}
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