@aikidosec/firewall
Version:
Zen by Aikido is an embedded Application Firewall that autonomously protects Node.js apps against common and critical attacks, provides rate limiting, detects malicious traffic (including bots), and more.
7 lines (6 loc) • 322 B
TypeScript
import { APIAuthType } from "./getApiAuthType";
/**
* Merge two APIAuthType arrays into one, without duplicates.
* Can return undefined if both parameters are not an array.
*/
export declare function mergeApiAuthTypes(existing: APIAuthType[] | undefined, newAuth: APIAuthType[] | undefined): APIAuthType[] | undefined;