@platformatic/kafka 2.4.0-alpha.1 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -499,7 +499,7 @@ export class Admin extends Base {
499
499
  });
500
500
  }, (error, response) => {
501
501
  if (error) {
502
- callback(new MultipleErrors('Deleting topics failed.', [error]));
502
+ deduplicateCallback(new MultipleErrors('Deleting topics failed.', [error]));
503
503
  return;
504
504
  }
505
505
  deduplicateCallback(null, response);
@@ -85,7 +85,7 @@ export class MessagesStream extends Readable {
85
85
  constructor(consumer, options) {
86
86
  const { autocommit, mode, fallbackMode, maxFetches, offsets, context, deserializers, onCorruptedMessage, registry, beforeDeserialization,
87
87
  // The options below are only destructured to avoid being part of structuredClone below
88
- partitionAssigner: _partitionAssigner, ...otherOptions } = options;
88
+ partitionAssigner: _partitionAssigner, protocolsMetadata: _protocolsMetadata, ...otherOptions } = options;
89
89
  if (offsets && mode !== MessagesStreamModes.MANUAL) {
90
90
  throw new UserError('Cannot specify offsets when the stream mode is not MANUAL.');
91
91
  }
package/dist/version.js CHANGED
@@ -1,2 +1,2 @@
1
1
  export const name = "@platformatic/kafka";
2
- export const version = "2.4.0-alpha.1";
2
+ export const version = "2.4.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/kafka",
3
- "version": "2.4.0-alpha.1",
3
+ "version": "2.4.0",
4
4
  "description": "Modern and performant client for Apache Kafka",
5
5
  "homepage": "https://github.com/platformatic/kafka",
6
6
  "author": "Platformatic Inc. <oss@platformatic.dev> (https://platformatic.dev)",