Comparing version 2.2.0 to 2.2.1
@@ -9,2 +9,7 @@ # Changelog | ||
## [2.2.1] - 2022-10-13 | ||
### Fixed | ||
- Fixed Typescript definitions for custom authentication mechanisms #1459 | ||
## [2.2.0] - 2022-08-16 | ||
@@ -11,0 +16,0 @@ |
@@ -18,3 +18,3 @@ # Contributing to KafkaJS | ||
Issues are not a support channel. Please use [StackOverflow](https://stackoverflow.com/questions/tagged/kafkajs), [Slack](https://kafkajs-slackin.herokuapp.com/) or other online resources instead. [Limited support from a maintainer](https://github.com/sponsors/Nevon?frequency=one-time&sponsor=Nevon) is available to sponsors. | ||
Issues are not a support channel. Please use [StackOverflow](https://stackoverflow.com/questions/tagged/kafkajs), [Slack](https://join.slack.com/t/kafkajs/shared_invite/zt-1ezd5395v-SOpTqYoYfRCyPKOkUggK0A) or other online resources instead. [Limited support from a maintainer](https://github.com/sponsors/Nevon?frequency=one-time&sponsor=Nevon) is available to sponsors. | ||
@@ -41,2 +41,2 @@ If you find an issue that addresses the problem you're having, please add your own reproduction information to the existing issue rather than creating a new one. Adding a [reaction](https://github.blog/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) can also help be indicating to our maintainers that a particular problem is affecting more than just the reporter. | ||
Join our [Slack community](https://kafkajs-slackin.herokuapp.com/) if you have questions about the contribution process or otherwise want to get in touch. | ||
Join our [Slack community](https://join.slack.com/t/kafkajs/shared_invite/zt-1ezd5395v-SOpTqYoYfRCyPKOkUggK0A) if you have questions about the contribution process or otherwise want to get in touch. |
{ | ||
"name": "kafkajs", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"description": "A modern Apache Kafka client for node.js", | ||
@@ -5,0 +5,0 @@ "author": "Tulio Ornelas <ornelas.tulio@gmail.com>", |
@@ -1,2 +0,2 @@ | ||
[](https://www.npmjs.com/package/kafkajs) [](https://www.npmjs.com/package/kafkajs) [](https://dev.azure.com/tulios/kafkajs/_build/latest?definitionId=2&branchName=master) [](https://kafkajs-slackin.herokuapp.com/) | ||
[](https://www.npmjs.com/package/kafkajs) [](https://www.npmjs.com/package/kafkajs) [](https://dev.azure.com/tulios/kafkajs/_build/latest?definitionId=2&branchName=master) [](https://join.slack.com/t/kafkajs/shared_invite/zt-1ezd5395v-SOpTqYoYfRCyPKOkUggK0A) | ||
<br /> | ||
@@ -76,3 +76,3 @@ <p align="center"> | ||
*To become a sponsor, [reach out in our Slack community](https://kafkajs-slackin.herokuapp.com/) to get in touch with one of the maintainers. Also consider becoming a Github Sponsor by following any of the links under "[Sponsor this project](https://github.com/tulios/kafkajs#sponsors)" in the sidebar.* | ||
*To become a sponsor, [reach out in our Slack community](https://join.slack.com/t/kafkajs/shared_invite/zt-1ezd5395v-SOpTqYoYfRCyPKOkUggK0A) to get in touch with one of the maintainers. Also consider becoming a Github Sponsor by following any of the links under "[Sponsor this project](https://github.com/tulios/kafkajs#sponsors)" in the sidebar.* | ||
@@ -158,3 +158,3 @@ ### <a name="features"></a> Features | ||
We welcome contributions to KafkaJS, but we also want to see a thriving third-party ecosystem. If you would like to create an open-source project that builds on top of KafkaJS, [please get in touch](https://kafkajs-slackin.herokuapp.com/) and we'd be happy to provide feedback and support. | ||
We welcome contributions to KafkaJS, but we also want to see a thriving third-party ecosystem. If you would like to create an open-source project that builds on top of KafkaJS, [please get in touch](https://join.slack.com/t/kafkajs/shared_invite/zt-1ezd5395v-SOpTqYoYfRCyPKOkUggK0A) and we'd be happy to provide feedback and support. | ||
@@ -169,3 +169,3 @@ Here are some projects that we would like to build, but haven't yet been able to prioritize: | ||
[Join our Slack community](https://kafkajs-slackin.herokuapp.com/) | ||
[Join our Slack community](https://join.slack.com/t/kafkajs/shared_invite/zt-1ezd5395v-SOpTqYoYfRCyPKOkUggK0A) | ||
@@ -172,0 +172,0 @@ ## <a name="license"></a> License |
@@ -31,2 +31,7 @@ /// <reference types="node" /> | ||
export type SaslAuthenticateArgs<ParseResult> = { | ||
request: SaslAuthenticationRequest | ||
response?: SaslAuthenticationResponse<ParseResult> | ||
} | ||
export type AuthenticationProviderArgs = { | ||
@@ -37,4 +42,3 @@ host: string | ||
saslAuthenticate: <ParseResult>( | ||
request: SaslAuthenticationRequest, | ||
response?: SaslAuthenticationResponse<ParseResult> | ||
args: SaslAuthenticateArgs<ParseResult> | ||
) => Promise<ParseResult | void> | ||
@@ -264,3 +268,3 @@ } | ||
export interface PartitionReassignment { | ||
topic: string, | ||
topic: string | ||
partitionAssignment: Array<ReplicaAssignment> | ||
@@ -700,3 +704,6 @@ } | ||
}): Promise<any> | ||
listPartitionReassignments(request: { topics?: TopicPartitions[]; timeout?: number }): Promise<ListPartitionReassignmentsResponse> | ||
listPartitionReassignments(request: { | ||
topics?: TopicPartitions[] | ||
timeout?: number | ||
}): Promise<ListPartitionReassignmentsResponse> | ||
} | ||
@@ -703,0 +710,0 @@ |
730814
21281