Compare commits

..

2 Commits

Author SHA1 Message Date
standardci
14d42b26bb chore(release): publish new version
- @standardnotes/websockets-server@1.10.32
2023-09-05 12:29:23 +00:00
Karol Sójko
6bb44afd91 fix(websockets): add missing region parameter in api gateway client 2023-09-05 13:50:30 +02:00
4 changed files with 11 additions and 1 deletions

View File

@@ -13,6 +13,9 @@ SNS_AWS_REGION=
SQS_QUEUE_URL=
SQS_AWS_REGION=
# (Optional) AWS API Gateway Setup
API_GATEWAY_AWS_REGION=
WEB_SOCKET_CONNECTION_TOKEN_SECRET=
WEB_SOCKET_CONNECTION_TOKEN_TTL=

View File

@@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.10.32](https://github.com/standardnotes/server/compare/@standardnotes/websockets-server@1.10.31...@standardnotes/websockets-server@1.10.32) (2023-09-05)
### Bug Fixes
* **websockets:** add missing region parameter in api gateway client ([6bb44af](https://github.com/standardnotes/server/commit/6bb44afd91b030facec486c128f80d533996e98b))
## [1.10.31](https://github.com/standardnotes/server/compare/@standardnotes/websockets-server@1.10.30...@standardnotes/websockets-server@1.10.31) (2023-09-05)
### Bug Fixes

View File

@@ -1,6 +1,6 @@
{
"name": "@standardnotes/websockets-server",
"version": "1.10.31",
"version": "1.10.32",
"engines": {
"node": ">=18.0.0 <21.0.0"
},

View File

@@ -94,6 +94,7 @@ export class ContainerConfigLoader {
container.bind<ApiGatewayManagementApiClient>(TYPES.WebSockets_ApiGatewayManagementApiClient).toConstantValue(
new ApiGatewayManagementApiClient({
endpoint: container.get(TYPES.WEBSOCKETS_API_URL),
region: env.get('API_GATEWAY_AWS_REGION', true) ?? 'us-east-1',
}),
)