🚀 Big News:Socket Has Acquired Secure Annex.Learn More
Socket
Book a DemoSign in
Socket

@xapp/dynamo-service

Package Overview
Dependencies
Maintainers
5
Versions
155
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xapp/dynamo-service - npm Package Compare versions

Comparing version
0.0.104
to
0.0.105
xapp-dynamo-service-0.0.104.tgz

Sorry, the diff of this file is not supported yet

+6
-3

@@ -126,3 +126,4 @@ "use strict";

this.getKey(key);
return this.db.get(this.tableName, realKey, projection)
const realProjection = projection || this.knownKeys;
return this.db.get(this.tableName, realKey, realProjection)
.then(item => (Array.isArray(item)) ? item.map((item) => this.convertObjFromDynamo(item)) : this.convertObjFromDynamo(item))

@@ -133,3 +134,4 @@ .then(item => (Array.isArray(item)) ? item.map((item) => this.cleanseObjectOfIgnoredGetItems(item)) : this.cleanseObjectOfIgnoredGetItems(item))

query(params, projection) {
return this.db.query(this.tableName, params, projection)
const realProjection = projection || this.knownKeys;
return this.db.query(this.tableName, params, realProjection)
.then(items => this.convertObjectsFromDynamo(items))

@@ -139,3 +141,4 @@ .then(items => this.cleanseIgnoredItemsOfDynamoObject(items));

scan(params, projection) {
return this.db.scan(this.tableName, params, projection)
const realProjection = projection || this.knownKeys;
return this.db.scan(this.tableName, params, realProjection)
.then(items => this.convertObjectsFromDynamo(items))

@@ -142,0 +145,0 @@ .then(items => this.cleanseIgnoredItemsOfDynamoObject(items));

{
"name": "@xapp/dynamo-service",
"version": "0.0.104",
"version": "0.0.105",
"description": "A dynamo help class which will help maintain data integrity.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is not supported yet