mirror of https://github.com/status-im/web3.js.git
Add raw filter
This commit is contained in:
parent
d5b6d21871
commit
29677754c8
|
@ -5873,12 +5873,7 @@ RawFilter.prototype.watch = function (callback) {
|
|||
RawFilter.prototype.stopWatching = function (callback) {
|
||||
this.requestManager.stopPolling(this.filterId);
|
||||
this.callbacks = [];
|
||||
// remove filter async
|
||||
if (callback) {
|
||||
this.implementation.uninstallFilter(this.filterId, callback);
|
||||
} else {
|
||||
return this.implementation.uninstallFilter(this.filterId);
|
||||
}
|
||||
callback()
|
||||
};
|
||||
|
||||
RawFilter.prototype.get = function (callback) {
|
||||
|
@ -5912,7 +5907,7 @@ RawFilter.prototype.get = function (callback) {
|
|||
return this;
|
||||
};
|
||||
|
||||
module.exports = Filter;
|
||||
module.exports = RawFilter;
|
||||
|
||||
|
||||
},{"../../utils/utils":20,"../formatters":30}],42:[function(require,module,exports){
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -5873,12 +5873,7 @@ RawFilter.prototype.watch = function (callback) {
|
|||
RawFilter.prototype.stopWatching = function (callback) {
|
||||
this.requestManager.stopPolling(this.filterId);
|
||||
this.callbacks = [];
|
||||
// remove filter async
|
||||
if (callback) {
|
||||
this.implementation.uninstallFilter(this.filterId, callback);
|
||||
} else {
|
||||
return this.implementation.uninstallFilter(this.filterId);
|
||||
}
|
||||
callback()
|
||||
};
|
||||
|
||||
RawFilter.prototype.get = function (callback) {
|
||||
|
@ -5912,7 +5907,7 @@ RawFilter.prototype.get = function (callback) {
|
|||
return this;
|
||||
};
|
||||
|
||||
module.exports = Filter;
|
||||
module.exports = RawFilter;
|
||||
|
||||
|
||||
},{"../../utils/utils":20,"../formatters":30}],42:[function(require,module,exports){
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -190,12 +190,7 @@ RawFilter.prototype.watch = function (callback) {
|
|||
RawFilter.prototype.stopWatching = function (callback) {
|
||||
this.requestManager.stopPolling(this.filterId);
|
||||
this.callbacks = [];
|
||||
// remove filter async
|
||||
if (callback) {
|
||||
this.implementation.uninstallFilter(this.filterId, callback);
|
||||
} else {
|
||||
return this.implementation.uninstallFilter(this.filterId);
|
||||
}
|
||||
callback()
|
||||
};
|
||||
|
||||
RawFilter.prototype.get = function (callback) {
|
||||
|
@ -229,5 +224,5 @@ RawFilter.prototype.get = function (callback) {
|
|||
return this;
|
||||
};
|
||||
|
||||
module.exports = Filter;
|
||||
module.exports = RawFilter;
|
||||
|
||||
|
|
Loading…
Reference in New Issue