@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.
- package/dist/{chunk-TPIP5VV7.mjs → chunk-SM4FZKAZ.mjs} +3 -3
- package/dist/chunk-SM4FZKAZ.mjs.map +1 -0
- package/dist/{client-D-SxYV2b.d.mts → client-1irhGEu0.d.mts} +3 -3
- package/dist/{client-CBBUDDtu.d.ts → client-BpFjkHhr.d.ts} +3 -3
- package/dist/core.d.mts +2 -2
- package/dist/core.d.ts +2 -2
- package/dist/core.js +2 -2
- package/dist/core.js.map +1 -1
- package/dist/core.mjs +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/testing.d.mts +1 -1
- package/dist/testing.d.ts +1 -1
- package/dist/testing.js +2 -2
- package/dist/testing.js.map +1 -1
- package/dist/testing.mjs +2 -2
- package/dist/testing.mjs.map +1 -1
- package/package.json +2 -2
- package/dist/chunk-TPIP5VV7.mjs.map +0 -1
|
@@ -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-
|
|
3579
|
+
//# sourceMappingURL=chunk-SM4FZKAZ.mjs.map
|