mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Don't expose blockRequest
This commit is contained in:
parent
76a1100b8c
commit
2cf23d5109
1 changed files with 0 additions and 2 deletions
|
|
@ -1,7 +1,6 @@
|
||||||
/**
|
/**
|
||||||
* @typedef {Object} RequestInterceptorBuilder
|
* @typedef {Object} RequestInterceptorBuilder
|
||||||
* @property {string} targetUrl
|
* @property {string} targetUrl
|
||||||
* @property {(statusCode: number, message: string) => void} blockRequest
|
|
||||||
* @property {(packageName: string | undefined, version: string | undefined, url: string) => void} blockMalware
|
* @property {(packageName: string | undefined, version: string | undefined, url: string) => void} blockMalware
|
||||||
* @property {() => RequestInterceptor} build
|
* @property {() => RequestInterceptor} build
|
||||||
*
|
*
|
||||||
|
|
@ -45,7 +44,6 @@ export function createRequestInterceptorBuilder(targetUrl, eventEmitter) {
|
||||||
|
|
||||||
return {
|
return {
|
||||||
targetUrl,
|
targetUrl,
|
||||||
blockRequest,
|
|
||||||
blockMalware,
|
blockMalware,
|
||||||
build() {
|
build() {
|
||||||
return {
|
return {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue