@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 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
@@ -1,5 +1,5 @@
1
- // @exabugs/dynamodb-client v0.7.0
2
- // Built: 2025-12-28T09:57:36.074Z
1
+ // @exabugs/dynamodb-client v0.7.1
2
+ // Built: 2025-12-28T10:05:34.251Z
3
3
  "use strict";
4
4
  var __create = Object.create;
5
5
  var __defProp = Object.defineProperty;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exabugs/dynamodb-client",
3
- "version": "0.7.0",
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", "OPTIONS"]
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