@exabugs/dynamodb-client 0.9.1 → 0.9.3

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.9.3] - 2024-12-31
11
+
12
+ ### Fixed
13
+
14
+ - **Lambda Handler**: Improved CORS and error handling
15
+ - Simplified CORS preflight handling with dedicated `createCorsResponse` function
16
+ - Improved error response structure with consistent CORS headers
17
+ - Enhanced error logging with request context
18
+ - Better separation of concerns between response builders and error handlers
19
+
20
+ ## [0.9.2] - 2024-12-31
21
+
22
+ ### Fixed
23
+
24
+ - **Parameter Converter**: Improved code formatting and maintainability
25
+ - Refactored multi-line ternary operators to single-line format for better readability
26
+ - Enhanced `convertUpdateOneParams` and `convertUpdateManyParams` to properly pass through `options` parameter
27
+ - Ensures upsert options are correctly propagated from MongoDB-style API to internal operations
28
+ - No functional changes - purely code quality improvements
29
+
10
30
  ## [0.9.1] - 2024-12-30
11
31
 
12
32
  ### Fixed
@@ -1,5 +1,5 @@
1
- // @exabugs/dynamodb-client v0.9.1
2
- // Built: 2025-12-30T00:20:04.089Z
1
+ // @exabugs/dynamodb-client v0.9.3
2
+ // Built: 2025-12-30T16:06:27.876Z
3
3
  "use strict";
4
4
  var __create = Object.create;
5
5
  var __defProp = Object.defineProperty;
@@ -31288,7 +31288,8 @@ function convertUpdateOneParams(mongoParams) {
31288
31288
  const updateData = mongoParams.update && typeof mongoParams.update === "object" ? "set" in mongoParams.update ? mongoParams.update.set || {} : mongoParams.update : {};
31289
31289
  return {
31290
31290
  id,
31291
- data: updateData
31291
+ data: updateData,
31292
+ options: mongoParams.options
31292
31293
  };
31293
31294
  }
31294
31295
  __name(convertUpdateOneParams, "convertUpdateOneParams");
@@ -31298,7 +31299,8 @@ function convertUpdateManyParams(mongoParams) {
31298
31299
  const updateData = mongoParams.update && typeof mongoParams.update === "object" ? "set" in mongoParams.update ? mongoParams.update.set || {} : mongoParams.update : {};
31299
31300
  return {
31300
31301
  ids,
31301
- data: updateData
31302
+ data: updateData,
31303
+ options: mongoParams.options
31302
31304
  };
31303
31305
  }
31304
31306
  __name(convertUpdateManyParams, "convertUpdateManyParams");