@jaypie/mcp 0.6.0 → 0.6.2

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.
@@ -8,7 +8,7 @@ import { gt } from 'semver';
8
8
  /**
9
9
  * Docs Suite - Documentation services (skill, version, release_notes)
10
10
  */
11
- const BUILD_VERSION_STRING = "@jaypie/mcp@0.6.0#d4227f02"
11
+ const BUILD_VERSION_STRING = "@jaypie/mcp@0.6.2#2ffe1833"
12
12
  ;
13
13
  const __filename$1 = fileURLToPath(import.meta.url);
14
14
  const __dirname$1 = path.dirname(__filename$1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jaypie/mcp",
3
- "version": "0.6.0",
3
+ "version": "0.6.2",
4
4
  "description": "Jaypie MCP",
5
5
  "repository": {
6
6
  "type": "git",
@@ -0,0 +1,17 @@
1
+ ---
2
+ version: 1.2.20
3
+ date: 2025-01-25
4
+ summary: Fix grantManageConnections IAM permission
5
+ ---
6
+
7
+ ## Bug Fixes
8
+
9
+ ### JaypieWebSocket.grantManageConnections
10
+
11
+ Fixed `grantManageConnections()` to grant the correct IAM permission for sending messages to WebSocket clients.
12
+
13
+ **Before**: The method generated an ARN without the `@connections` path, causing `AccessDeniedException` when Lambdas tried to use the API Gateway Management API.
14
+
15
+ **After**: The ARN now correctly includes `/POST/@connections/*` to match the required permission format.
16
+
17
+ Fixes #151
@@ -0,0 +1,19 @@
1
+ ---
2
+ version: 1.2.21
3
+ date: 2025-01-25
4
+ summary: Properly fix grantManageConnections IAM permission for all methods
5
+ ---
6
+
7
+ ## Bug Fixes
8
+
9
+ ### JaypieWebSocket.grantManageConnections
10
+
11
+ Fixed `grantManageConnections()` to properly delegate to the CDK's built-in `WebSocketApi.grantManageConnections()` method.
12
+
13
+ **Before (1.2.20)**: The custom implementation generated an ARN with `/POST/@connections/*`, which only allowed POST operations (sending messages) but blocked GET (get connection info) and DELETE (disconnect client) operations.
14
+
15
+ **After (1.2.21)**: Delegates to CDK's implementation which generates `/*/*/@connections/*` (wildcard for stage and method), enabling all Management API operations.
16
+
17
+ This matches the behavior described in the [AWS CDK documentation](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_apigatewayv2.WebSocketApi.html#grantmanageconnectionsgrantee).
18
+
19
+ Fixes #151