UNPKG

@multiversx/sdk-nestjs-http

Version:
9 lines (8 loc) 388 B
import { CallHandler, ExecutionContext, NestInterceptor } from "@nestjs/common"; import { Observable } from "rxjs"; export declare class ComplexityInterceptor implements NestInterceptor { private readonly complexityThreshold; constructor(complexityThreshold?: number); intercept(context: ExecutionContext, next: CallHandler): Observable<any>; private handleHttpRequest; }