inlaweb-lib-dynamodb 1.0.7 → 1.0.8

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.
Files changed (2) hide show
  1. package/index.js +0 -9
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -263,15 +263,6 @@ class DynamoLib {
263
263
  }
264
264
  createUpdateParams(params) {
265
265
  const { table, PK, SK, item, setAttributes, addAttributes, removeAttributes, username, } = params;
266
- // Se agregan los datos de auditoría para la actualización
267
- item.updateUser = username;
268
- item.updateDate = moment_timezone_1.default
269
- .tz(new Date(), "America/Bogota")
270
- .format("YYYY-MM-DD");
271
- if (!setAttributes.includes("updateUser"))
272
- setAttributes.push("updateUser");
273
- if (!setAttributes.includes("updateDate"))
274
- setAttributes.push("updateDate");
275
266
  // Se crea el objeto de la operación
276
267
  let itemUpdate = {
277
268
  Update: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "inlaweb-lib-dynamodb",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/types/index.d.ts",
6
6
  "scripts": {