redis-consumer 1.1.3 → 1.1.5

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.
Files changed (2) hide show
  1. package/dist/consumer.js +1 -1
  2. package/package.json +1 -1
package/dist/consumer.js CHANGED
@@ -154,7 +154,7 @@ class RedisConsumer {
154
154
  const id = await this.originalClient.xAck(stream, this.originalClient.groupName, ackMessages);
155
155
  if (id) {
156
156
  this.successfullMessages.delete(stream);
157
- this.originalClient.xDel(stream, ackMessages);
157
+ await this.originalClient.xDel(stream, ackMessages);
158
158
  }
159
159
  }
160
160
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "redis-consumer",
3
- "version": "1.1.3",
3
+ "version": "1.1.5",
4
4
  "description": "Simple NodeJs consumer and producer for Redis Streams",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",