@kravc/dos 1.12.5 → 1.12.6

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/package.json +1 -1
  2. package/src/index.d.ts +2 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kravc/dos",
3
- "version": "1.12.5",
3
+ "version": "1.12.6",
4
4
  "description": "Convention-based, easy-to-use library for building API-driven serverless services.",
5
5
  "keywords": [
6
6
  "Service",
package/src/index.d.ts CHANGED
@@ -180,6 +180,8 @@ export declare class JwtAuthorization {
180
180
  export declare class SystemAuthorization {
181
181
  static createRequirement(options?: {
182
182
  name?: string;
183
+ description?: string;
184
+ requirementName?: string;
183
185
  accessVerificationMethod?: (context: Context) => [boolean, string?];
184
186
  }): Record<string, any>
185
187
  }