@exabugs/dynamodb-client 0.7.0 → 0.7.1
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/CHANGELOG.md +9 -0
- package/dist/server/handler.cjs +2 -2
- package/package.json +1 -1
- package/terraform/main.tf +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.7.1] - 2024-12-28
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- **CORS**: Removed OPTIONS method from allowMethods to comply with AWS Lambda Function URL constraints
|
|
15
|
+
- AWS Lambda Function URL has a 6-character limit per method name
|
|
16
|
+
- OPTIONS (7 characters) exceeded this limit causing ValidationException
|
|
17
|
+
- Preflight OPTIONS requests are handled automatically by Lambda Function URL
|
|
18
|
+
|
|
10
19
|
## [0.7.0] - 2024-12-28
|
|
11
20
|
|
|
12
21
|
### Added
|
package/dist/server/handler.cjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exabugs/dynamodb-client",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.1",
|
|
4
4
|
"description": "DynamoDB Single-Table Client SDK with MongoDB-like API, Shadow Records, and Lambda implementation for serverless applications",
|
|
5
5
|
"author": "exabugs",
|
|
6
6
|
"license": "MIT",
|
package/terraform/main.tf
CHANGED
|
@@ -169,7 +169,7 @@ resource "aws_lambda_function_url" "records" {
|
|
|
169
169
|
# CORS設定
|
|
170
170
|
cors {
|
|
171
171
|
allow_origins = ["*"]
|
|
172
|
-
allow_methods = ["GET", "POST", "PUT", "DELETE"
|
|
172
|
+
allow_methods = ["GET", "POST", "PUT", "DELETE"]
|
|
173
173
|
allow_headers = ["content-type", "authorization", "x-amz-date", "x-api-key", "x-amz-security-token"]
|
|
174
174
|
expose_headers = ["content-type", "x-amzn-requestid"]
|
|
175
175
|
allow_credentials = false
|