@0xproject/utils
Advanced tools
Comparing version 0.5.2 to 0.6.0
[ | ||
{ | ||
"version": "0.6.0", | ||
"changes": [ | ||
{ | ||
"note": "Update ethers-contracts to ethers.js", | ||
"pr": 540 | ||
} | ||
], | ||
"timestamp": 1525428773 | ||
}, | ||
{ | ||
"version": "0.5.2", | ||
@@ -4,0 +14,0 @@ "changes": [ |
@@ -8,2 +8,6 @@ <!-- | ||
## v0.6.0 - _May 4, 2018_ | ||
* Update ethers-contracts to ethers.js (#540) | ||
## v0.5.2 - _April 18, 2018_ | ||
@@ -13,3 +17,3 @@ | ||
## v0.5.1 - _April 12, 2018_ | ||
## v0.5.1 - _April 11, 2018_ | ||
@@ -26,11 +30,11 @@ * Dependencies updated | ||
## v0.4.3 - _March 18, 2018_ | ||
## v0.4.3 - _March 17, 2018_ | ||
* Add `@types/node` to dependencies since `intervalUtils` has the `NodeJS` type as part of its public interface. | ||
## v0.4.2 - _March 18, 2018_ | ||
## v0.4.2 - _March 17, 2018_ | ||
* Consolidate all `console.log` calls into `logUtils` in the `@0xproject/utils` package (#452) | ||
## v0.4.0 - _March 4, 2018_ | ||
## v0.4.0 - _March 3, 2018_ | ||
@@ -40,13 +44,13 @@ * Use `ethers-contracts` as a backend to decode event args (#413) | ||
## v0.3.2 - _February 9, 2018_ | ||
## v0.3.2 - _February 8, 2018_ | ||
* Fix publishing issue where .npmignore was not properly excluding undesired content (#389) | ||
## v0.3.0 - _February 5, 2018_ | ||
## v0.3.0 - _February 4, 2018_ | ||
* Fix a bug related to event signature collisions (argument indexes aren't included in event signatures) in the abi_decoder. The decoder used to throw on unknown events with identical signatures as a known event (except indexes). (#366) | ||
## v0.2.0 - _January 17, 2018_ | ||
## v0.2.0 - _January 16, 2018_ | ||
* Add `onError` parameter to `intervalUtils.setAsyncExcludingInterval` (#312) | ||
* Add `intervalUtils.setInterval` (#312) |
@@ -12,3 +12,3 @@ "use strict"; | ||
var types_1 = require("@0xproject/types"); | ||
var ethersContracts = require("ethers-contracts"); | ||
var ethers = require("ethers"); | ||
var _ = require("lodash"); | ||
@@ -37,3 +37,3 @@ var configured_bignumber_1 = require("./configured_bignumber"); | ||
} | ||
var ethersInterface = new ethersContracts.Interface([event]); | ||
var ethersInterface = new ethers.Interface([event]); | ||
var logData = log.data; | ||
@@ -76,6 +76,6 @@ var decodedParams = {}; | ||
} | ||
var ethersInterface = new ethersContracts.Interface(abiArray); | ||
var ethersInterface = new ethers.Interface(abiArray); | ||
_.map(abiArray, function (abi) { | ||
if (abi.type === types_1.AbiType.Event) { | ||
var topic = ethersInterface.events[abi.name].topic; | ||
var topic = ethersInterface.events[abi.name].topics[0]; | ||
_this._methodIds[topic] = abi; | ||
@@ -82,0 +82,0 @@ } |
{ | ||
"name": "@0xproject/utils", | ||
"version": "0.5.2", | ||
"version": "0.6.0", | ||
"description": "0x TS utils", | ||
@@ -24,4 +24,4 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"@0xproject/monorepo-scripts": "^0.1.18", | ||
"@0xproject/tslint-config": "^0.4.16", | ||
"@0xproject/monorepo-scripts": "^0.1.19", | ||
"@0xproject/tslint-config": "^0.4.17", | ||
"@types/lodash": "4.14.104", | ||
@@ -35,7 +35,7 @@ "copyfiles": "^1.2.0", | ||
"dependencies": { | ||
"@0xproject/types": "^0.6.1", | ||
"@0xproject/typescript-typings": "^0.2.0", | ||
"@0xproject/types": "^0.6.2", | ||
"@0xproject/typescript-typings": "^0.3.0", | ||
"@types/node": "^8.0.53", | ||
"bignumber.js": "~4.1.0", | ||
"ethers-contracts": "^2.2.1", | ||
"ethers": "^3.0.15", | ||
"js-sha3": "^0.7.0", | ||
@@ -42,0 +42,0 @@ "lodash": "^4.17.4", |
Sorry, the diff of this file is not supported yet
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
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
580
40029
35
+ Addedethers@^3.0.15
+ Added@0xproject/types@0.7.0(transitive)
+ Added@0xproject/typescript-typings@0.3.2(transitive)
+ Addedaes-js@3.0.0(transitive)
+ Addedbrorand@1.1.0(transitive)
+ Addedelliptic@6.3.3(transitive)
+ Addedethers@3.0.29(transitive)
+ Addedinherits@2.0.1(transitive)
+ Addedscrypt-js@2.0.3(transitive)
+ Addedsetimmediate@1.0.4(transitive)
+ Addeduuid@2.0.1(transitive)
- Removedethers-contracts@^2.2.1
- Removed@0xproject/typescript-typings@0.2.0(transitive)
- Removedethers-contracts@2.2.1(transitive)
- Removedethers-utils@2.1.11(transitive)
Updated@0xproject/types@^0.6.2