web3-utils
Advanced tools
Comparing version 1.0.0-beta.41 to 1.0.0-beta.42
@@ -20,3 +20,3 @@ 'use strict'; | ||
var BN = _interopDefault(require('bn.js')); | ||
var randomhex = require('randomhex'); | ||
var randomhex = _interopDefault(require('randomhex')); | ||
@@ -497,3 +497,3 @@ var isBN = function isBN(object) { | ||
exports.randomHex = randomhex.randomHex; | ||
exports.randomHex = randomhex; | ||
exports.jsonInterfaceMethodToString = jsonInterfaceMethodToString; | ||
@@ -500,0 +500,0 @@ exports.hexToAscii = hexToAscii; |
@@ -13,3 +13,4 @@ import isBoolean from 'lodash/isBoolean'; | ||
import BN from 'bn.js'; | ||
export { randomHex } from 'randomhex'; | ||
import randomhex from 'randomhex'; | ||
export { default as randomHex } from 'randomhex'; | ||
@@ -16,0 +17,0 @@ const isBN = object => { |
@@ -19,2 +19,3 @@ (function (global, factory) { | ||
BN = BN && BN.hasOwnProperty('default') ? BN['default'] : BN; | ||
randomhex = randomhex && randomhex.hasOwnProperty('default') ? randomhex['default'] : randomhex; | ||
@@ -495,3 +496,3 @@ var isBN = function isBN(object) { | ||
exports.randomHex = randomhex.randomHex; | ||
exports.randomHex = randomhex; | ||
exports.jsonInterfaceMethodToString = jsonInterfaceMethodToString; | ||
@@ -498,0 +499,0 @@ exports.hexToAscii = hexToAscii; |
{ | ||
"name": "web3-utils", | ||
"namespace": "ethereum", | ||
"version": "1.0.0-beta.41", | ||
"version": "1.0.0-beta.42", | ||
"description": "Collection of utility functions used in web3.js.", | ||
@@ -20,2 +20,3 @@ "repository": "https://github.com/ethereum/web3.js/tree/1.0/packages/web3-utils", | ||
"@babel/runtime": "^7.3.1", | ||
"@types/bn.js": "^4.11.4", | ||
"@types/node": "^10.12.18", | ||
@@ -22,0 +23,0 @@ "bn.js": "4.11.8", |
@@ -23,3 +23,4 @@ /* | ||
import BigNumber from 'bn.js'; | ||
import BigNumber = require('bn.js'); | ||
import {Buffer} from 'buffer'; | ||
@@ -26,0 +27,0 @@ export type Unit = |
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
Copyleft License
License(Experimental) Copyleft license information was found.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found.
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
Copyleft License
License(Experimental) Copyleft license information was found.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found.
Found 1 instance in 1 package
315479
2
2231
10
+ Added@types/bn.js@^4.11.4
+ Added@types/bn.js@4.11.6(transitive)