@xapp/dynamo-service
Advanced tools
Comparing version 0.0.91 to 0.0.92
@@ -130,4 +130,5 @@ "use strict"; | ||
ensureFormat(this.formattedKeys, set); | ||
const dynamoKey = this.convertObjToDynamo(key); | ||
return this.db | ||
.update(this.tableName, key, { set, remove, append }, conditionExpression, returnType) | ||
.update(this.tableName, dynamoKey, { set, remove, append }, conditionExpression, returnType) | ||
.then((results) => { | ||
@@ -159,3 +160,4 @@ if (results) { | ||
delete(key) { | ||
return this.db.delete(this.tableName, key); | ||
const dynamoKey = Array.isArray(key) ? key.map(k => this.convertObjToDynamo(k)) : this.convertObjToDynamo(key); | ||
return this.db.delete(this.tableName, dynamoKey); | ||
} | ||
@@ -162,0 +164,0 @@ cleanseObjectOfIgnoredGetItems(obj) { |
{ | ||
"name": "@xapp/dynamo-service", | ||
"version": "0.0.91", | ||
"version": "0.0.92", | ||
"description": "A dynamo help class which will help maintain data integrity.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
146110
3903