@exabugs/dynamodb-client 1.3.17 → 1.3.18
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,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [1.3.18] - 2026-01-03
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- **重要**: extractCleanRecord関数でdata属性が存在しない場合の処理を修正
|
|
15
|
+
- シャドーレコードにはdata属性がないため、item自体をフォールバックとして使用
|
|
16
|
+
- これにより$nearクエリでメインレコードが正しく抽出されるようになった
|
|
17
|
+
|
|
10
18
|
## [1.3.17] - 2026-01-03
|
|
11
19
|
|
|
12
20
|
### Fixed
|
package/dist/server/handler.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// @exabugs/dynamodb-client v1.3.
|
|
2
|
-
// Built: 2026-01-02T16:
|
|
1
|
+
// @exabugs/dynamodb-client v1.3.18
|
|
2
|
+
// Built: 2026-01-02T16:39:22.578Z
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
5
5
|
var __defProp = Object.defineProperty;
|
|
@@ -29773,7 +29773,7 @@ function removeShadowKeys(record) {
|
|
|
29773
29773
|
}
|
|
29774
29774
|
__name(removeShadowKeys, "removeShadowKeys");
|
|
29775
29775
|
function extractCleanRecord(item) {
|
|
29776
|
-
const data2 = item.data;
|
|
29776
|
+
const data2 = item.data || item;
|
|
29777
29777
|
return removeShadowKeys(data2);
|
|
29778
29778
|
}
|
|
29779
29779
|
__name(extractCleanRecord, "extractCleanRecord");
|
|
@@ -33473,7 +33473,7 @@ async function handler(event) {
|
|
|
33473
33473
|
return createCorsResponse(HTTP_STATUS.OK);
|
|
33474
33474
|
}
|
|
33475
33475
|
if (event.requestContext.http.method === "GET" && event.requestContext.http.path === "/version") {
|
|
33476
|
-
const version = "1.3.
|
|
33476
|
+
const version = "1.3.18";
|
|
33477
33477
|
return createSuccessResponse({ version, timestamp: (/* @__PURE__ */ new Date()).toISOString() }, requestId);
|
|
33478
33478
|
}
|
|
33479
33479
|
if (event.requestContext.http.method !== "POST") {
|