@samimcodes/ai-shield 0.1.1 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +135 -29
- package/dist/index.cjs +826 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +826 -2
- package/dist/index.js.map +1 -1
- package/dist/{middleware-DNRM5IlO.d.cts → middleware-C7DQhFkV.d.cts} +104 -2
- package/dist/{middleware-DNRM5IlO.d.ts → middleware-C7DQhFkV.d.ts} +104 -2
- package/dist/middleware.cjs +826 -1
- package/dist/middleware.cjs.map +1 -1
- package/dist/middleware.d.cts +1 -1
- package/dist/middleware.d.ts +1 -1
- package/dist/middleware.js +826 -2
- package/dist/middleware.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RequestHandler, Request, Response, NextFunction, Router } from 'express';
|
|
2
|
-
import { H as HoneypotRoute, P as PoisonContentType, S as ShieldOptions } from './middleware-
|
|
3
|
-
export { A as AiShieldOptions, a as AiShieldRequestMeta, B as BotCategory, b as BotDetector, c as BotFingerprint, C as CANONICAL_TRAP, d as Confidence, D as DEFAULT_SIGNAL_WEIGHTS, e as
|
|
2
|
+
import { H as HoneypotRoute, P as PoisonContentType, S as ShieldOptions } from './middleware-C7DQhFkV.cjs';
|
|
3
|
+
export { A as AiShieldOptions, a as AiShieldRequestMeta, B as BotCategory, b as BotDetector, c as BotFingerprint, C as CANONICAL_TRAP, d as Confidence, D as DEFAULT_SIGNAL_WEIGHTS, e as DashboardAuthConfig, f as DashboardManager, g as DashboardSecurityEvent, h as DashboardStats, i as DetectionResult, j as DetectionSignal, k as HoneypotManager, I as IpTrapCache, l as PoisonEngine, m as PoisonPayload, n as SignalWeights, T as TelemetryEmitter, o as TelemetryEvent, p as TrapCacheEntry, q as aiShieldMiddleware, r as createAiShield, s as hashClientIp, t as syntheticTokenPublic } from './middleware-C7DQhFkV.cjs';
|
|
4
4
|
import 'node:http';
|
|
5
5
|
|
|
6
6
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RequestHandler, Request, Response, NextFunction, Router } from 'express';
|
|
2
|
-
import { H as HoneypotRoute, P as PoisonContentType, S as ShieldOptions } from './middleware-
|
|
3
|
-
export { A as AiShieldOptions, a as AiShieldRequestMeta, B as BotCategory, b as BotDetector, c as BotFingerprint, C as CANONICAL_TRAP, d as Confidence, D as DEFAULT_SIGNAL_WEIGHTS, e as
|
|
2
|
+
import { H as HoneypotRoute, P as PoisonContentType, S as ShieldOptions } from './middleware-C7DQhFkV.js';
|
|
3
|
+
export { A as AiShieldOptions, a as AiShieldRequestMeta, B as BotCategory, b as BotDetector, c as BotFingerprint, C as CANONICAL_TRAP, d as Confidence, D as DEFAULT_SIGNAL_WEIGHTS, e as DashboardAuthConfig, f as DashboardManager, g as DashboardSecurityEvent, h as DashboardStats, i as DetectionResult, j as DetectionSignal, k as HoneypotManager, I as IpTrapCache, l as PoisonEngine, m as PoisonPayload, n as SignalWeights, T as TelemetryEmitter, o as TelemetryEvent, p as TrapCacheEntry, q as aiShieldMiddleware, r as createAiShield, s as hashClientIp, t as syntheticTokenPublic } from './middleware-C7DQhFkV.js';
|
|
4
4
|
import 'node:http';
|
|
5
5
|
|
|
6
6
|
/**
|