@exabugs/dynamodb-client 1.4.3 → 1.4.4
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/dist/server/handler.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// @exabugs/dynamodb-client v1.4.
|
|
2
|
-
// Built: 2026-04-
|
|
1
|
+
// @exabugs/dynamodb-client v1.4.4
|
|
2
|
+
// Built: 2026-04-04T01:52:20.735Z
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
5
5
|
var __defProp = Object.defineProperty;
|
|
@@ -31560,9 +31560,9 @@ function addCreateTimestamps(data2) {
|
|
|
31560
31560
|
}
|
|
31561
31561
|
const now = (/* @__PURE__ */ new Date()).toISOString();
|
|
31562
31562
|
return {
|
|
31563
|
-
...data2,
|
|
31564
31563
|
[timestampFields.createdAt]: now,
|
|
31565
|
-
[timestampFields.updatedAt]: now
|
|
31564
|
+
[timestampFields.updatedAt]: now,
|
|
31565
|
+
...data2
|
|
31566
31566
|
};
|
|
31567
31567
|
}
|
|
31568
31568
|
function addUpdateTimestamp(data2) {
|
|
@@ -31572,8 +31572,8 @@ function addUpdateTimestamp(data2) {
|
|
|
31572
31572
|
}
|
|
31573
31573
|
const now = (/* @__PURE__ */ new Date()).toISOString();
|
|
31574
31574
|
return {
|
|
31575
|
-
|
|
31576
|
-
|
|
31575
|
+
[timestampFields.updatedAt]: now,
|
|
31576
|
+
...data2
|
|
31577
31577
|
};
|
|
31578
31578
|
}
|
|
31579
31579
|
var init_timestamps = __esm({
|
|
@@ -34363,7 +34363,7 @@ async function handler(event) {
|
|
|
34363
34363
|
return createCorsResponse(HTTP_STATUS.OK);
|
|
34364
34364
|
}
|
|
34365
34365
|
if (event.requestContext.http.method === "GET" && event.requestContext.http.path === "/version") {
|
|
34366
|
-
const version = "1.4.
|
|
34366
|
+
const version = "1.4.4";
|
|
34367
34367
|
return createSuccessResponse({ version, timestamp: (/* @__PURE__ */ new Date()).toISOString() }, requestId);
|
|
34368
34368
|
}
|
|
34369
34369
|
if (event.requestContext.http.method !== "POST") {
|