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

@0x/web3-wrapper

Package Overview
Dependencies
Maintainers
5
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@0x/web3-wrapper - npm Package Compare versions

Comparing version 3.1.5 to 3.1.6

10

CHANGELOG.json
[
{
"version": "3.1.6",
"changes": [
{
"note": "Unmarshall mined transaction receipts",
"pr": 1308
}
],
"timestamp": 1543401373
},
{
"version": "3.1.5",

@@ -4,0 +14,0 @@ "changes": [

4

CHANGELOG.md

@@ -8,2 +8,6 @@ <!--

## v3.1.6 - _November 28, 2018_
* Unmarshall mined transaction receipts (#1308)
## v3.1.5 - _November 21, 2018_

@@ -10,0 +14,0 @@

7

lib/src/web3_wrapper.js

@@ -281,3 +281,6 @@ "use strict";

transactionReceiptRpc = _a.sent();
if (!_.isNull(transactionReceiptRpc)) {
// HACK Parity can return a pending transaction receipt. We check for a non null
// block number before continuing with returning a fully realised receipt.
// ref: https://github.com/paritytech/parity-ethereum/issues/1180
if (!_.isNull(transactionReceiptRpc) && !_.isNull(transactionReceiptRpc.blockNumber)) {
transactionReceiptRpc.status = Web3Wrapper._normalizeTxReceiptStatus(transactionReceiptRpc.status);

@@ -829,3 +832,3 @@ transactionReceipt = marshaller_1.marshaller.unmarshalTransactionReceipt(transactionReceiptRpc);

transactionReceipt = _a.sent();
if (!_.isUndefined(transactionReceipt) && !_.isNull(transactionReceipt.blockNumber)) {
if (!_.isUndefined(transactionReceipt)) {
logsWithDecodedArgs = _.map(transactionReceipt.logs, this.abiDecoder.tryToDecodeLogOrNoop.bind(this.abiDecoder));

@@ -832,0 +835,0 @@ transactionReceiptWithDecodedLogArgs = __assign({}, transactionReceipt, { logs: logsWithDecodedArgs });

{
"name": "@0x/web3-wrapper",
"version": "3.1.5",
"version": "3.1.6",
"engines": {

@@ -69,3 +69,3 @@ "node": ">=6.12"

},
"gitHead": "f46a49fd13c88dd86c9661d76bace18844642c04"
"gitHead": "4861e480597547527397ca4df52c29e5caa798c8"
}

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