web3-core-subscriptions
Advanced tools
Comparing version 1.0.0-beta.53 to 1.0.0-beta.54
@@ -146,3 +146,7 @@ 'use strict'; | ||
value: function onNewSubscriptionItem(subscriptionItem) { | ||
return this.formatters.outputLogFormatter(subscriptionItem); | ||
var log = this.formatters.outputLogFormatter(subscriptionItem); | ||
if (log.removed) { | ||
this.emit('changed', log); | ||
} | ||
return log; | ||
} | ||
@@ -149,0 +153,0 @@ }]); |
@@ -103,3 +103,7 @@ import isFunction from 'lodash/isFunction'; | ||
onNewSubscriptionItem(subscriptionItem) { | ||
return this.formatters.outputLogFormatter(subscriptionItem); | ||
const log = this.formatters.outputLogFormatter(subscriptionItem); | ||
if (log.removed) { | ||
this.emit('changed', log); | ||
} | ||
return log; | ||
} | ||
@@ -106,0 +110,0 @@ } |
@@ -146,3 +146,7 @@ (function (global, factory) { | ||
value: function onNewSubscriptionItem(subscriptionItem) { | ||
return this.formatters.outputLogFormatter(subscriptionItem); | ||
var log = this.formatters.outputLogFormatter(subscriptionItem); | ||
if (log.removed) { | ||
this.emit('changed', log); | ||
} | ||
return log; | ||
} | ||
@@ -149,0 +153,0 @@ }]); |
{ | ||
"name": "web3-core-subscriptions", | ||
"namespace": "ethereum", | ||
"version": "1.0.0-beta.53", | ||
"version": "1.0.0-beta.54", | ||
"description": "Manages web3 subscriptions. This is an internal package.", | ||
@@ -25,4 +25,4 @@ "repository": "https://github.com/ethereum/web3.js/tree/1.0/packages/web3-core-subscriptions", | ||
"dtslint": "0.4.2", | ||
"web3-core-helpers": "1.0.0-beta.53", | ||
"web3-utils": "1.0.0-beta.53" | ||
"web3-core-helpers": "1.0.0-beta.54", | ||
"web3-utils": "1.0.0-beta.54" | ||
}, | ||
@@ -32,3 +32,3 @@ "files": [ | ||
], | ||
"gitHead": "d955a98a5fc8819ff866254ff7141a10b503b5cd" | ||
"gitHead": "b3f8427438e5bfe1daca7a63f4eb7cd8e9e4d6c0" | ||
} |
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
28096
592