@exabugs/dynamodb-client 0.2.0 → 0.2.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,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.2.1] - 2025-01-19
11
+
12
+ ### Fixed
13
+
14
+ - **Server**: Removed `database` field validation from Lambda handler
15
+ - Fixed runtime error: "Missing required field: database"
16
+ - `MongoDBStyleRequest` interface no longer includes `database` field
17
+ - `parseRequestBody()` function no longer validates `database` field
18
+ - Completes the v0.2.0 breaking change implementation
19
+
20
+ ### Added
21
+
22
+ - **Tests**: Added comprehensive unit tests for Lambda handler
23
+ - Request body parsing tests (7 tests)
24
+ - MongoDB-style API operation tests (8 tests)
25
+ - v0.2.0 breaking change verification tests (2 tests)
26
+ - CORS and method validation tests (2 tests)
27
+ - Authentication header validation tests (2 tests)
28
+ - Total: 21 new tests to prevent regression
29
+
10
30
  ## [0.2.0] - 2024-12-01
11
31
 
12
32
  ### Changed
@@ -1,5 +1,5 @@
1
- // @exabugs/dynamodb-client v0.2.0
2
- // Built: 2025-12-01T02:39:20.698Z
1
+ // @exabugs/dynamodb-client v0.2.1
2
+ // Built: 2025-12-01T03:12:39.234Z
3
3
  "use strict";
4
4
  var __create = Object.create;
5
5
  var __defProp = Object.defineProperty;
@@ -31141,9 +31141,6 @@ function parseRequestBody(body) {
31141
31141
  if (!parsed.operation) {
31142
31142
  throw new Error("Missing required field: operation");
31143
31143
  }
31144
- if (!parsed.database) {
31145
- throw new Error("Missing required field: database");
31146
- }
31147
31144
  if (!parsed.collection) {
31148
31145
  throw new Error("Missing required field: collection");
31149
31146
  }