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

@elastic.io/batching-library

Package Overview
Dependencies
Maintainers
2
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@elastic.io/batching-library - npm Package Compare versions

Comparing version 0.0.1-dev.15 to 0.0.1-dev.16

4

lib/client.ts

@@ -33,3 +33,3 @@ import { AbstractStore } from './storage/IStore';

/**
* Atomic Get 'READY' batches and locks them (set status tu 'LOCKED')
* Atomic Get 'READY' batches and locks them (set status to 'LOCKED')
*/

@@ -56,3 +56,3 @@ public async getReadyBatches(): Promise<Batch[]> {

* Ensures that item can be added to batch. If cant add to existing create new batch.
* Check batches after insett new item
* Check batches after insert new item
* @param item batch item

@@ -59,0 +59,0 @@ * @return Batch with saved item.

@@ -117,5 +117,5 @@ import { Batch, BatchConfig, BatchItem, BatchStatus, Pair } from '../entity/dto';

/**
* @async update batches status by batch Configuration.
* @async update batches status by batch Configuration to READY.
*
* @param batchConfig of batch Configuration.
* @param batchConfig batch Configuration.
* @return number(count) of updated objects.

@@ -122,0 +122,0 @@ */

{
"name": "@elastic.io/batching-library",
"version": "0.0.1-dev.15",
"version": "0.0.1-dev.16",
"description": "Library for batching implementation on elastic.io",

@@ -21,4 +21,4 @@ "homepage": "https://github.com/elasticio/batching-library#readme",

"posttest": "npm run tsc",
"test": "mocha --exit --require ts-node/register test/spec/**/*.ts",
"integration-test": "mocha --exit --require ts-node/register test/spec-integration/**/*.ts"
"test": "mocha --exit --require ts-node/register test/spec/**/*.ts --timeout 50000",
"integration-test": "mocha --exit --require ts-node/register test/spec-integration/**/*.ts --timeout 50000"
},

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

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