testcafe-hammerhead
Advanced tools
Comparing version 24.7.4 to 25.0.0
@@ -167,3 +167,3 @@ "use strict"; | ||
} | ||
addRequestEventListeners(rule, listeners, errorHandler) { | ||
async addRequestEventListeners(rule, listeners, errorHandler) { | ||
const listenersData = { | ||
@@ -176,3 +176,3 @@ listeners, | ||
} | ||
removeRequestEventListeners(rule) { | ||
async removeRequestEventListeners(rule) { | ||
this.requestEventListeners.delete(rule.id); | ||
@@ -179,0 +179,0 @@ } |
{ | ||
"name": "testcafe-hammerhead", | ||
"description": "A powerful web-proxy used as a core for the TestCafe testing framework (https://github.com/DevExpress/testcafe).", | ||
"version": "24.7.4", | ||
"version": "25.0.0", | ||
"homepage": "https://github.com/DevExpress/testcafe-hammerhead", | ||
@@ -6,0 +6,0 @@ "bugs": { |
@@ -47,2 +47,2 @@ # testcafe-hammerhead | ||
[![Health Monitor](http://66.55.147.18:13500/badge/last-commit.svg)](http://66.55.147.18:13500/) | ||
[![Health Monitor](http://20.124.101.246:13500/badge/last-commit.svg)](http://20.124.101.246:13500/) |
@@ -234,6 +234,6 @@ interface StaticContent { | ||
addRequestEventListeners (rule: RequestFilterRule, listeners: RequestEventListeners, | ||
errorHandler: (event: RequestEventListenerError) => void): void; | ||
errorHandler: (event: RequestEventListenerError) => void): Promise<void>; | ||
/** Removes request event listeners **/ | ||
removeRequestEventListeners (rule: RequestFilterRule): void; | ||
removeRequestEventListeners (rule: RequestFilterRule): Promise<void>; | ||
@@ -240,0 +240,0 @@ /** Remove request event listeners for all request filter rules **/ |
2421920