@aikidosec/firewall
Version:
Zen by Aikido is an embedded Web Application Firewall that autonomously protects Node.js apps against common and critical attacks
12 lines (11 loc) • 441 B
TypeScript
import { Agent } from "./Agent";
/**
* This module is a storage unit, this function retrieves the stored value
* @returns The current instance stored in the instance variable
*/
export declare function getInstance(): Agent | undefined;
/**
* This module is a storage unit, this function sets the stored value
* @param agent The agent you want stored as the current instance.
*/
export declare function setInstance(agent: Agent): void;