@exabugs/dynamodb-client 0.9.1 → 0.9.2
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 +10 -0
- package/dist/server/handler.cjs +6 -4
- package/dist/server/handler.cjs.map +2 -2
- package/dist/server/operations/parameterConverter.d.ts +3 -0
- package/dist/server/operations/parameterConverter.d.ts.map +1 -1
- package/dist/server/operations/parameterConverter.js +5 -9
- package/dist/server/operations/parameterConverter.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.9.2] - 2024-12-31
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- **Parameter Converter**: Improved code formatting and maintainability
|
|
15
|
+
- Refactored multi-line ternary operators to single-line format for better readability
|
|
16
|
+
- Enhanced `convertUpdateOneParams` and `convertUpdateManyParams` to properly pass through `options` parameter
|
|
17
|
+
- Ensures upsert options are correctly propagated from MongoDB-style API to internal operations
|
|
18
|
+
- No functional changes - purely code quality improvements
|
|
19
|
+
|
|
10
20
|
## [0.9.1] - 2024-12-30
|
|
11
21
|
|
|
12
22
|
### Fixed
|
package/dist/server/handler.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// @exabugs/dynamodb-client v0.9.
|
|
2
|
-
// Built: 2025-12-
|
|
1
|
+
// @exabugs/dynamodb-client v0.9.2
|
|
2
|
+
// Built: 2025-12-30T15:30:51.446Z
|
|
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");
|