Comparing version
{ | ||
"name": "kafkajs", | ||
"version": "1.13.0-beta.25", | ||
"version": "1.13.0-beta.26", | ||
"description": "A modern Apache Kafka client for node.js", | ||
@@ -82,5 +82,5 @@ "author": "Tulio Ornelas <ornelas.tulio@gmail.com>", | ||
"kafkajs": { | ||
"sha": "ea873f654b1fb4a366e0ca5530dc36b4f902fc8c", | ||
"compare": "https://github.com/tulios/kafkajs/compare/v1.12.0...ea873f654b1fb4a366e0ca5530dc36b4f902fc8c" | ||
"sha": "4b7e79b2361f20472303f28f6946930ce2cc9908", | ||
"compare": "https://github.com/tulios/kafkajs/compare/v1.12.0...4b7e79b2361f20472303f28f6946930ce2cc9908" | ||
} | ||
} |
@@ -15,5 +15,3 @@ module.exports = class SeekOffsets extends Map { | ||
const [key, offset] = Array.from(this.entries()) | ||
.reverse() | ||
.pop() | ||
const [key, offset] = this.entries().next().value | ||
this.delete(key) | ||
@@ -20,0 +18,0 @@ const [topic, partition] = key |
513778
-0.01%15209
-0.01%