@xapp/dynamo-service
Advanced tools
Comparing version 0.0.72 to 0.0.73
@@ -60,3 +60,3 @@ import { ConditionExpression, DynamoService, QueryParams, QueryResult, ScanParams, ScanResult, UpdateBody, UpdateReturnType } from "./DynamoService"; | ||
private convertObjectsFromDynamo<P>(dynamoObj); | ||
private convertObjToDynamo(obj); | ||
private convertObjToDynamo<K>(obj); | ||
} |
@@ -138,3 +138,4 @@ "use strict"; | ||
get(key, projection) { | ||
return this.db.get(this.tableName, key, projection) | ||
const realKey = (Array.isArray(key)) ? key.map(this.convertObjToDynamo) : this.convertObjToDynamo(key); | ||
return this.db.get(this.tableName, realKey, projection) | ||
.then(item => this.convertObjFromDynamo(item)) | ||
@@ -141,0 +142,0 @@ .then(item => this.cleanseObjectOfIgnoredGetItems(item)); |
{ | ||
"name": "@xapp/dynamo-service", | ||
"version": "0.0.72", | ||
"version": "0.0.73", | ||
"description": "A dynamo help class which will help maintain data integrity.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
144528
3884
1