Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-aws-utils

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-aws-utils - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

4

lib/index.d.ts
import { ResultOK, ResultFAIL } from "node-result";
import { DynamoDB } from "aws-sdk";
export declare class DynamoDocumentClient {
static update(client: DynamoDB.DocumentClient, tableName: DynamoDB.DocumentClient.TableName, where: DynamoDB.DocumentClient.Key, data: DynamoDB.DocumentClient.AttributeUpdates): Promise<ResultOK<DynamoDB.DocumentClient.AttributeMap> | ResultFAIL<Error>>;
static update(client: DynamoDB.DocumentClient, tableName: DynamoDB.DocumentClient.TableName, where: DynamoDB.DocumentClient.Key, data: {
[key: string]: any;
}): Promise<ResultOK<DynamoDB.DocumentClient.AttributeMap> | ResultFAIL<Error>>;
}
{
"name": "node-aws-utils",
"version": "1.0.0",
"version": "1.1.0",
"description": "aws utils",

@@ -5,0 +5,0 @@ "keywords": [

@@ -6,3 +6,3 @@ import {ResultOK, ResultFAIL, ResultOk, tryCatchWrapperAsync} from "node-result";

@tryCatchWrapperAsync
static async update(client: DynamoDB.DocumentClient, tableName: DynamoDB.DocumentClient.TableName, where: DynamoDB.DocumentClient.Key, data: DynamoDB.DocumentClient.AttributeUpdates): Promise<ResultOK<DynamoDB.DocumentClient.AttributeMap> | ResultFAIL<Error>> {
static async update(client: DynamoDB.DocumentClient, tableName: DynamoDB.DocumentClient.TableName, where: DynamoDB.DocumentClient.Key, data: { [key: string]: any }): Promise<ResultOK<DynamoDB.DocumentClient.AttributeMap> | ResultFAIL<Error>> {
const params: DynamoDB.DocumentClient.UpdateItemInput = {

@@ -9,0 +9,0 @@ TableName: tableName,

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