ag-common 0.0.480 → 0.0.481

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.
@@ -23,7 +23,9 @@ const log_1 = require("../../common/helpers/log");
23
23
  const sleep_1 = require("../../common/helpers/sleep");
24
24
  const setDynamo = (region) => {
25
25
  let raw = new client_dynamodb_1.DynamoDBClient({ region });
26
- const ddbDocClient = lib_dynamodb_1.DynamoDBDocument.from(raw);
26
+ const ddbDocClient = lib_dynamodb_1.DynamoDBDocument.from(raw, {
27
+ marshallOptions: { removeUndefinedValues: true },
28
+ });
27
29
  return ddbDocClient;
28
30
  };
29
31
  exports.setDynamo = setDynamo;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.0.480",
2
+ "version": "0.0.481",
3
3
  "name": "ag-common",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",