@drarzter/kafka-client 0.9.3 → 0.9.4

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.
@@ -606,8 +606,8 @@ var AdminOps = class {
606
606
  return result.topics.map((t) => ({
607
607
  name: t.name,
608
608
  partitions: t.partitions.map((p) => ({
609
- partition: p.partitionId ?? p.partition,
610
- leader: p.leader,
609
+ partition: p.partitionId ?? p.partition ?? 0,
610
+ leader: p.leader ?? 0,
611
611
  replicas: (p.replicas ?? []).map(
612
612
  (r) => typeof r === "number" ? r : r.nodeId
613
613
  ),
@@ -3576,4 +3576,4 @@ export {
3576
3576
  KafkaClient,
3577
3577
  topic
3578
3578
  };
3579
- //# sourceMappingURL=chunk-TPIP5VV7.mjs.map
3579
+ //# sourceMappingURL=chunk-SM4FZKAZ.mjs.map