@frontmcp/plugin-approval 1.4.1 → 1.5.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/esm/index.mjs CHANGED
@@ -273,6 +273,7 @@ var ApprovalRequiredError = class extends ApprovalError {
273
273
  this.details = details;
274
274
  this.name = "ApprovalRequiredError";
275
275
  }
276
+ details;
276
277
  /**
277
278
  * Convert to a JSON-RPC compatible error structure.
278
279
  */
@@ -297,6 +298,8 @@ var ApprovalOperationError = class extends ApprovalError {
297
298
  this.reason = reason;
298
299
  this.name = "ApprovalOperationError";
299
300
  }
301
+ operation;
302
+ reason;
300
303
  /**
301
304
  * Convert to a JSON-RPC compatible error structure.
302
305
  */
@@ -321,6 +324,8 @@ var ApprovalScopeNotAllowedError = class extends ApprovalError {
321
324
  this.allowedScopes = allowedScopes;
322
325
  this.name = "ApprovalScopeNotAllowedError";
323
326
  }
327
+ requestedScope;
328
+ allowedScopes;
324
329
  /**
325
330
  * Convert to a JSON-RPC compatible error structure.
326
331
  */
@@ -344,6 +349,8 @@ var ApprovalExpiredError = class extends ApprovalError {
344
349
  this.expiredAt = expiredAt;
345
350
  this.name = "ApprovalExpiredError";
346
351
  }
352
+ toolId;
353
+ expiredAt;
347
354
  /**
348
355
  * Convert to a JSON-RPC compatible error structure.
349
356
  */
@@ -366,6 +373,7 @@ var ChallengeValidationError = class extends ApprovalError {
366
373
  this.reason = reason;
367
374
  this.name = "ChallengeValidationError";
368
375
  }
376
+ reason;
369
377
  /**
370
378
  * Convert to a JSON-RPC compatible error structure.
371
379
  */
@@ -651,6 +659,9 @@ var ApprovalService = class {
651
659
  this.sessionId = sessionId;
652
660
  this.userId = userId;
653
661
  }
662
+ store;
663
+ sessionId;
664
+ userId;
654
665
  // ─────────────────────────────────────────────────────────────────────────────
655
666
  // Query Methods
656
667
  // ─────────────────────────────────────────────────────────────────────────────
package/esm/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frontmcp/plugin-approval",
3
- "version": "1.4.1",
3
+ "version": "1.5.0",
4
4
  "description": "Approval plugin for FrontMCP - tool authorization workflow with PKCE webhook security",
5
5
  "author": "AgentFront <info@agentfront.dev>",
6
6
  "license": "Apache-2.0",
@@ -49,13 +49,13 @@
49
49
  }
50
50
  },
51
51
  "dependencies": {
52
- "@frontmcp/sdk": "1.4.1",
53
- "@frontmcp/utils": "1.4.1",
52
+ "@frontmcp/sdk": "1.5.0",
53
+ "@frontmcp/utils": "1.5.0",
54
54
  "ioredis": "^5.8.0",
55
55
  "reflect-metadata": "^0.2.2"
56
56
  },
57
57
  "peerDependencies": {
58
- "@frontmcp/lazy-zod": "1.4.1",
58
+ "@frontmcp/lazy-zod": "1.5.0",
59
59
  "@vercel/kv": "^2.0.0 || ^3.0.0"
60
60
  },
61
61
  "peerDependenciesMeta": {
package/index.js CHANGED
@@ -328,6 +328,7 @@ var ApprovalRequiredError = class extends ApprovalError {
328
328
  this.details = details;
329
329
  this.name = "ApprovalRequiredError";
330
330
  }
331
+ details;
331
332
  /**
332
333
  * Convert to a JSON-RPC compatible error structure.
333
334
  */
@@ -352,6 +353,8 @@ var ApprovalOperationError = class extends ApprovalError {
352
353
  this.reason = reason;
353
354
  this.name = "ApprovalOperationError";
354
355
  }
356
+ operation;
357
+ reason;
355
358
  /**
356
359
  * Convert to a JSON-RPC compatible error structure.
357
360
  */
@@ -376,6 +379,8 @@ var ApprovalScopeNotAllowedError = class extends ApprovalError {
376
379
  this.allowedScopes = allowedScopes;
377
380
  this.name = "ApprovalScopeNotAllowedError";
378
381
  }
382
+ requestedScope;
383
+ allowedScopes;
379
384
  /**
380
385
  * Convert to a JSON-RPC compatible error structure.
381
386
  */
@@ -399,6 +404,8 @@ var ApprovalExpiredError = class extends ApprovalError {
399
404
  this.expiredAt = expiredAt;
400
405
  this.name = "ApprovalExpiredError";
401
406
  }
407
+ toolId;
408
+ expiredAt;
402
409
  /**
403
410
  * Convert to a JSON-RPC compatible error structure.
404
411
  */
@@ -421,6 +428,7 @@ var ChallengeValidationError = class extends ApprovalError {
421
428
  this.reason = reason;
422
429
  this.name = "ChallengeValidationError";
423
430
  }
431
+ reason;
424
432
  /**
425
433
  * Convert to a JSON-RPC compatible error structure.
426
434
  */
@@ -706,6 +714,9 @@ var ApprovalService = class {
706
714
  this.sessionId = sessionId;
707
715
  this.userId = userId;
708
716
  }
717
+ store;
718
+ sessionId;
719
+ userId;
709
720
  // ─────────────────────────────────────────────────────────────────────────────
710
721
  // Query Methods
711
722
  // ─────────────────────────────────────────────────────────────────────────────
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frontmcp/plugin-approval",
3
- "version": "1.4.1",
3
+ "version": "1.5.0",
4
4
  "description": "Approval plugin for FrontMCP - tool authorization workflow with PKCE webhook security",
5
5
  "author": "AgentFront <info@agentfront.dev>",
6
6
  "license": "Apache-2.0",
@@ -49,13 +49,13 @@
49
49
  }
50
50
  },
51
51
  "dependencies": {
52
- "@frontmcp/sdk": "1.4.1",
53
- "@frontmcp/utils": "1.4.1",
52
+ "@frontmcp/sdk": "1.5.0",
53
+ "@frontmcp/utils": "1.5.0",
54
54
  "ioredis": "^5.8.0",
55
55
  "reflect-metadata": "^0.2.2"
56
56
  },
57
57
  "peerDependencies": {
58
- "@frontmcp/lazy-zod": "1.4.1",
58
+ "@frontmcp/lazy-zod": "1.5.0",
59
59
  "@vercel/kv": "^2.0.0 || ^3.0.0"
60
60
  },
61
61
  "peerDependenciesMeta": {