diff --git a/packages/safe-chain/src/registryProxy/interceptors/interceptorBuilder.js b/packages/safe-chain/src/registryProxy/interceptors/interceptorBuilder.js index 362f31a..003aae7 100644 --- a/packages/safe-chain/src/registryProxy/interceptors/interceptorBuilder.js +++ b/packages/safe-chain/src/registryProxy/interceptors/interceptorBuilder.js @@ -115,6 +115,7 @@ function createRequestContext(targetUrl, eventEmitter) { return modifiedBody; } + // These functions are invoked in the proxy, allowing to apply the configured modifications return { blockResponse, modifyRequestHeaders: modifyRequestHeaders, @@ -123,6 +124,7 @@ function createRequestContext(targetUrl, eventEmitter) { }; } + // These functions are used to setup the modifications return { targetUrl, blockMalware: blockMalwareSetup,