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

dynamodb-doc-client-wrapper

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dynamodb-doc-client-wrapper - npm Package Versions

2

2.0.1

Diff

Changelog

Source

2.0.1

Added link in README file to Version 2 migration instructions.

middleengine
published 2.0.0 •

Changelog

Source

2.0.0

You are now able to pass configuration options to the library. Notably, you are able to pass options to the AWS.DynamoDB.DocumentClient constructor, for example if you want to run against a Dynamodb Local instance while developing. Allowing options to be passed means that the wrapper has to be configured before use. Previously you could just use the wrapper directly:

// old way:
const clientWrapper = require("dynamodb-doc-client-wrapper");
// clientWrapper was then good to go

Now it is a factory function and so needs to be invoked before use. This means that you will almost certainly want to add a file that creates an instance of the wrapper, configured how you see fit, and that then exports the configured instance. You would then require this file wherever in your service you need to access Dynamodb:

// new way:
const clientWrapper = require("dynamodb-doc-client-wrapper");
module.exports = clientWrapper(); // <-- can now pass config options here
middleengine
published 1.3.3 •

middleengine
published 1.3.2 •

middleengine
published 1.3.0 •

middleengine
published 1.2.0 •

middleengine
published 1.1.1 •

middleengine
published 1.1.0 •

middleengine
published 1.0.10 •

middleengine
published 1.0.9 •

2
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