@jaypie/mcp 0.6.1 → 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.
|
|
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
|
@@ -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
|