mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 20:20: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
|
||||
* @property {string} targetUrl
|
||||
* @property {(statusCode: number, message: string) => void} blockRequest
|
||||
* @property {(packageName: string | undefined, version: string | undefined, url: string) => void} blockMalware
|
||||
* @property {() => RequestInterceptor} build
|
||||
*
|
||||
|
|
@ -45,7 +44,6 @@ export function createRequestInterceptorBuilder(targetUrl, eventEmitter) {
|
|||
|
||||
return {
|
||||
targetUrl,
|
||||
blockRequest,
|
||||
blockMalware,
|
||||
build() {
|
||||
return {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue