Comparing version 1.9.2 to 1.9.3
@@ -8,2 +8,7 @@ # Changelog | ||
## [1.9.3] - 2019-06-27 | ||
### Fixed | ||
- Fix AWS-IAM mechanism name #411 #412 | ||
- Fix TypeScript types for topic subscription with RegExp #413 | ||
## [1.9.2] - 2019-06-26 | ||
@@ -10,0 +15,0 @@ ### Fixed |
{ | ||
"name": "kafkajs", | ||
"version": "1.9.2", | ||
"version": "1.9.3", | ||
"description": "A modern Apache Kafka client for node.js", | ||
@@ -5,0 +5,0 @@ "author": "Tulio Ornelas <ornelas.tulio@gmail.com>", |
@@ -13,3 +13,3 @@ const { requests, lookup } = require('../../protocol/requests') | ||
'SCRAM-SHA-512': SCRAM512Authenticator, | ||
'AWS-IAM': AWSIAMAuthenticator, | ||
AWS: AWSIAMAuthenticator, | ||
} | ||
@@ -16,0 +16,0 @@ |
@@ -37,3 +37,3 @@ /// <reference types="node" /> | ||
export interface SASLOptions { | ||
mechanism: 'plain' | 'scram-sha-256' | 'scram-sha-512' | 'aws-iam' | ||
mechanism: 'plain' | 'scram-sha-256' | 'scram-sha-512' | 'aws' | ||
username: string | ||
@@ -600,3 +600,3 @@ password: string | ||
disconnect(): Promise<void> | ||
subscribe(topic: { topic: string; fromBeginning?: boolean }): Promise<void> | ||
subscribe(topic: { topic: string | RegExp; fromBeginning?: boolean }): Promise<void> | ||
stop(): Promise<void> | ||
@@ -603,0 +603,0 @@ run(config?: { |
460102