Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
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.31 to 0.0.32

xapp-dynamo-service-0.0.31.tgz

1

dist/service/DynamoService.d.ts

@@ -49,2 +49,3 @@ import { DynamoDB } from "aws-sdk";

scan<T, P extends keyof T>(table: string, myParams: ScanParams, projection: P | P[]): Promise<ScanResult<Pick<T, P>>>;
delete(TableName: string, Key: DynamoDB.DocumentClient.Key): Promise<void>;
}

@@ -71,2 +71,8 @@ "use strict";

}
delete(TableName, Key) {
return this.db.delete({
TableName,
Key
}).promise().then(r => { });
}
}

@@ -73,0 +79,0 @@ exports.DynamoService = DynamoService;

@@ -40,2 +40,3 @@ import { DynamoService, QueryParams, QueryResult, ScanParams, ScanResult, UpdateBody, UpdateReturnType } from "./DynamoService";

scan<T, P extends keyof T>(params: ScanParams, projection: P | P[]): Promise<Pick<T, P>>;
delete<T>(key: Partial<T>): Promise<void>;
}

@@ -63,3 +63,6 @@ "use strict";

}
delete(key) {
return this.db.delete(this.tableName, key);
}
}
exports.TableService = TableService;

2

package.json
{
"name": "@xapp/dynamo-service",
"version": "0.0.31",
"version": "0.0.32",
"description": "A dynamo help class which will help maintain data integrity.",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc