Comparing version 1.9.0 to 1.9.1
@@ -8,2 +8,6 @@ # Changelog | ||
## [1.9.1] - 2019-06-25 | ||
### Fixed | ||
- Fix typescript types for SSL, SASL and batch #407 | ||
## [1.9.0] - 2019-06-25 | ||
@@ -17,3 +21,3 @@ ### Added | ||
- Prevent the consumption of messages for topics paused while fetch is in-flight #397 | ||
- Add `AWS-IAM` SASL mechanism #402 | ||
- Add `AWS-IAM` SASL mechanism #402 | ||
- Add `batch.offsetLagLow` #405 | ||
@@ -20,0 +24,0 @@ |
{ | ||
"name": "kafkajs", | ||
"version": "1.9.0", | ||
"version": "1.9.1", | ||
"description": "A modern Apache Kafka client for node.js", | ||
@@ -5,0 +5,0 @@ "author": "Tulio Ornelas <ornelas.tulio@gmail.com>", |
@@ -16,3 +16,3 @@ /// <reference types="node" /> | ||
brokers: string[] | ||
ssl?: tls.SecureContextOptions | ||
ssl?: tls.ConnectionOptions | ||
sasl?: SASLOptions | ||
@@ -38,3 +38,3 @@ clientId?: string | ||
export interface SASLOptions { | ||
mechanism: 'plain' | 'scram-sha-256' | 'scram-sha-512' | ||
mechanism: 'plain' | 'scram-sha-256' | 'scram-sha-512' | 'aws-iam' | ||
username: string | ||
@@ -494,2 +494,3 @@ password: string | ||
offsetLag(): string | ||
offsetLagLow(): string | ||
} | ||
@@ -550,2 +551,3 @@ | ||
offsetLag: string | ||
offsetLagLow: string | ||
batchSize: number | ||
@@ -552,0 +554,0 @@ firstOffset: string |
459749
13702