@aws-lambda-powertools/batch
Advanced tools
Comparing version
@@ -120,3 +120,3 @@ "use strict"; | ||
entireBatchFailed() { | ||
return this.errors.length == this.records.length; | ||
return this.errors.length === this.records.length; | ||
} | ||
@@ -139,3 +139,3 @@ /** | ||
hasMessagesToReport() { | ||
return this.failureMessages.length != 0; | ||
return this.failureMessages.length !== 0; | ||
} | ||
@@ -142,0 +142,0 @@ /** |
import type { DynamoDBRecord, KinesisStreamRecord, SQSRecord } from 'aws-lambda'; | ||
import type { PartialItemFailureResponse, EventSourceDataClassTypes } from './types.js'; | ||
import type { EventSourceDataClassTypes, PartialItemFailureResponse } from './types.js'; | ||
/** | ||
@@ -4,0 +4,0 @@ * Enum of supported event types for the utility |
@@ -1,2 +0,2 @@ | ||
import { BasePartialBatchProcessor } from './BasePartialBatchProcessor.js'; | ||
import type { BasePartialBatchProcessor } from './BasePartialBatchProcessor.js'; | ||
import type { BaseRecord, BatchProcessingOptions, PartialItemFailureResponse } from './types.js'; | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
import { BasePartialBatchProcessor } from './BasePartialBatchProcessor.js'; | ||
import type { BasePartialBatchProcessor } from './BasePartialBatchProcessor.js'; | ||
import type { BaseRecord, BatchProcessingOptions, PartialItemFailureResponse } from './types.js'; | ||
@@ -3,0 +3,0 @@ /** |
import type { Context, DynamoDBRecord, KinesisStreamRecord, SQSRecord } from 'aws-lambda'; | ||
import { SqsFifoPartialProcessor } from './SqsFifoPartialProcessor.js'; | ||
import { BasePartialBatchProcessor } from './BasePartialBatchProcessor.js'; | ||
import type { BasePartialBatchProcessor } from './BasePartialBatchProcessor.js'; | ||
import type { SqsFifoPartialProcessor } from './SqsFifoPartialProcessor.js'; | ||
/** | ||
@@ -5,0 +5,0 @@ * Options for batch processing |
@@ -117,3 +117,3 @@ import { BasePartialProcessor } from './BasePartialProcessor.js'; | ||
entireBatchFailed() { | ||
return this.errors.length == this.records.length; | ||
return this.errors.length === this.records.length; | ||
} | ||
@@ -136,3 +136,3 @@ /** | ||
hasMessagesToReport() { | ||
return this.failureMessages.length != 0; | ||
return this.failureMessages.length !== 0; | ||
} | ||
@@ -139,0 +139,0 @@ /** |
import type { DynamoDBRecord, KinesisStreamRecord, SQSRecord } from 'aws-lambda'; | ||
import type { PartialItemFailureResponse, EventSourceDataClassTypes } from './types.js'; | ||
import type { EventSourceDataClassTypes, PartialItemFailureResponse } from './types.js'; | ||
/** | ||
@@ -4,0 +4,0 @@ * Enum of supported event types for the utility |
@@ -1,2 +0,2 @@ | ||
import { BasePartialBatchProcessor } from './BasePartialBatchProcessor.js'; | ||
import type { BasePartialBatchProcessor } from './BasePartialBatchProcessor.js'; | ||
import type { BaseRecord, BatchProcessingOptions, PartialItemFailureResponse } from './types.js'; | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
import { BasePartialBatchProcessor } from './BasePartialBatchProcessor.js'; | ||
import type { BasePartialBatchProcessor } from './BasePartialBatchProcessor.js'; | ||
import type { BaseRecord, BatchProcessingOptions, PartialItemFailureResponse } from './types.js'; | ||
@@ -3,0 +3,0 @@ /** |
import type { Context, DynamoDBRecord, KinesisStreamRecord, SQSRecord } from 'aws-lambda'; | ||
import { SqsFifoPartialProcessor } from './SqsFifoPartialProcessor.js'; | ||
import { BasePartialBatchProcessor } from './BasePartialBatchProcessor.js'; | ||
import type { BasePartialBatchProcessor } from './BasePartialBatchProcessor.js'; | ||
import type { SqsFifoPartialProcessor } from './SqsFifoPartialProcessor.js'; | ||
/** | ||
@@ -5,0 +5,0 @@ * Options for batch processing |
{ | ||
"name": "@aws-lambda-powertools/batch", | ||
"version": "2.5.0", | ||
"version": "2.6.0", | ||
"description": "The batch processing package for the Powertools for AWS Lambda (TypeScript) library.", | ||
@@ -5,0 +5,0 @@ "author": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
167706
0.05%