xypriss 9.12.28 → 9.12.29

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +4 -8
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -9413,14 +9413,10 @@ interface RoutRateLimit {
9413
9413
  statusCode?: number;
9414
9414
  /** Key extractor — defaults to IP */
9415
9415
  keyBy?: "ip" | "user" | ((req: XyPrisRequest$1, res?: XyPrisResponse$1) => string);
9416
- /** XTRS (Temporal Rate Shield) advanced multi-window options */
9417
- xtrs?: XtrsOptions;
9418
- /** XTRS rules shorthand array */
9419
- rules?: XtrsRuleInput[];
9420
- /** XTRS block duration e.g. "20s" or ms */
9421
- blockDuration?: string | number;
9422
- /** XTRS block duration in milliseconds */
9423
- blockDurationMs?: number;
9416
+ /** XTRS (Temporal Rate Shield) advanced multi-window options or shorthand rule(s)
9417
+ * @see https://xypriss.nehonix.com/docs/security/xtrs-rate-limiting
9418
+ */
9419
+ xtrs?: XtrsOptions | string | XtrsRuleInput[];
9424
9420
  }
9425
9421
  /** Rate limit input options for routes and route groups */
9426
9422
  type RoutRateLimitInput = string | RoutRateLimit;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xypriss",
3
- "version": "9.12.28",
3
+ "version": "9.12.29",
4
4
  "description": "XyPriss is a high-performance, TypeScript-first hyper-system web framework powered by a native Go core (XHSC), featuring robust multi-tenant sandboxing, secure native file streaming, and zero Express dependencies.",
5
5
  "author": {
6
6
  "DEV.to": "https://dev.to/nehonix",