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 1.0.0-alpha.11 to 1.0.0-alpha.12

dist/__test__/StubObject.d.ts

6

dist/service/DynamoService.js

@@ -15,3 +15,2 @@ "use strict";

const Object_1 = require("../utils/Object");
const ValidationError_1 = require("./ValidationError");
exports.MAX_PUT_ALL_ATTEMPTS = 15;

@@ -244,8 +243,5 @@ class DynamoService {

}
else if (db instanceof aws_sdk_1.DynamoDB.DocumentClient) {
else {
return db;
}
else {
throw new ValidationError_1.ValidationError("Could not construct DynamoService. Bad input.");
}
}

@@ -252,0 +248,0 @@ function getUpdateParameters(body) {

@@ -83,4 +83,1 @@ export interface Converter<From, To> {

export declare function isMultiTypeSchema(v: KeySchema): v is MultiSchema;
export declare function isStringMapAttribute(v: MapAttribute): v is StringMapAttribute;
export declare function isMapMapAttribute(v: MapAttribute): v is MapMapAttribute;
export declare function isDateMapAttribute(v: MapAttribute): v is DateMapAttribute;

@@ -31,13 +31,1 @@ "use strict";

exports.isMultiTypeSchema = isMultiTypeSchema;
function isStringMapAttribute(v) {
return v.type === "S";
}
exports.isStringMapAttribute = isStringMapAttribute;
function isMapMapAttribute(v) {
return v.type === "M";
}
exports.isMapMapAttribute = isMapMapAttribute;
function isDateMapAttribute(v) {
return v.type === "Date";
}
exports.isDateMapAttribute = isDateMapAttribute;

@@ -17,3 +17,3 @@ import { UpdateBody } from "../../../DynamoService";

addProcessor(...processor: (Processor<any> | Converter<any, any>)[]): void;
protected addJavascriptProcessor(...processor: Converter<any, any>[]): void;
addJavascriptProcessor(...processor: Converter<any, any>[]): void;
addPutValidator(...validators: Validator<any>[]): void;

@@ -20,0 +20,0 @@ addUpdateBodyValidator(...validators: Validator<UpdateBody<any>, T>[]): void;

{
"name": "@xapp/dynamo-service",
"version": "1.0.0-alpha.11",
"version": "1.0.0-alpha.12",
"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