@exabugs/dynamodb-client 0.3.4 → 0.3.5

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,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.3.5] - 2024-12-02
11
+
12
+ ### Changed
13
+
14
+ - **Shadow Records**: Removed `data` field from shadow records
15
+ - Shadow records now only contain `PK` and `SK` fields
16
+ - Record ID is extracted from `SK` (format: `{field}#{value}#id#{recordId}`)
17
+ - Reduces storage cost and simplifies data structure
18
+ - No functional changes - ID extraction logic remains the same
19
+
10
20
  ## [0.3.4] - 2024-12-02
11
21
 
12
22
  ### Removed
@@ -1,5 +1,5 @@
1
- // @exabugs/dynamodb-client v0.3.4
2
- // Built: 2025-12-02T04:56:59.326Z
1
+ // @exabugs/dynamodb-client v0.3.5
2
+ // Built: 2025-12-02T05:16:09.491Z
3
3
  "use strict";
4
4
  var __create = Object.create;
5
5
  var __defProp = Object.defineProperty;
@@ -27808,8 +27808,7 @@ function generateShadowRecords(record, resourceName, config) {
27808
27808
  const sk = `${fieldName}#${formattedValue}#id#${record.id}`;
27809
27809
  shadows.push({
27810
27810
  PK: resourceName,
27811
- SK: sk,
27812
- data: { id: record.id }
27811
+ SK: sk
27813
27812
  });
27814
27813
  }
27815
27814
  return shadows;