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

electrodb

Package Overview
Dependencies
Maintainers
1
Versions
163
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electrodb - npm Package Compare versions

Comparing version 1.4.8 to 1.5.0

9

CHANGELOG.md

@@ -118,2 +118,9 @@ # Changelog

### Fixed
- Addressed issue#90 to flip batchGet's response tuple type definition.
- Addressed issue#90 to flip batchGet's response tuple type definition.
## [1.5.0] = 2021-11-07
### Changed
- Queries will now fully paginate all responses. Prior to this change, ElectroDB would only return items from a single ElectroDB query result. Now ElectroDB will paginate through all query results. This will impact both uses of entity queries and service collections. [[read more](./README.md#query-method)]
- The query option `limit` has an extended meaning with the change to automatically paginate records on query. The option `limit` now represents a target for the number of items to return from DynamoDB. If this option is passed, Queries on entities and through collections will paginate DynamoDB until this limit is reached or all items for that query have been returned. [[read more](./README.md#query-options)]
### Added
- A new query option `pages` has been added to coincide with the change to automatically paginate all records when queried. The `pages` option sets a max number of pagination iterations ElectroDB will perform on a query. When this option is paired with `limit`, ElectroDB will respect the first condition reached. [[read more](./README.md#query-options)]

2

package.json
{
"name": "electrodb",
"version": "1.4.8",
"version": "1.5.0",
"description": "A library to more easily create and interact with multiple entities and heretical relationships in dynamodb",

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

@@ -154,2 +154,14 @@ // # Errors:

},
InvalidPagesOption: {
code: 2005,
section: "invalid-pages-option",
name: "InvalidPagesOption",
sym: ErrorCode,
},
InvalidLimitOption: {
code: 2006,
section: "invalid-limit-option",
name: "InvalidLimitOption",
sym: ErrorCode,
},
InvalidAttribute: {

@@ -156,0 +168,0 @@ code: 3001,

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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