@skillstew/common 1.0.15 → 1.0.16

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.
@@ -30,7 +30,7 @@ class Consumer {
30
30
  durable: true,
31
31
  });
32
32
  yield Promise.all(interestedEvents.map((eventName) => this._channel.bindQueue(queue.queue, this._exchange, eventName)));
33
- this._channel.consume(queue.queue, this.handleEvent, { noAck: true });
33
+ this._channel.consume(queue.queue, this.handleEvent, { noAck: false });
34
34
  this._initialized = true;
35
35
  });
36
36
  this.handleEvent = (msg) => __awaiter(this, void 0, void 0, function* () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skillstew/common",
3
- "version": "1.0.15",
3
+ "version": "1.0.16",
4
4
  "main": "./build/index.js",
5
5
  "types": "./build/index.d.ts",
6
6
  "scripts": {
package/publish.sh CHANGED
@@ -18,7 +18,7 @@ git add .
18
18
  # Step 4: Prompt for a commit message
19
19
  echo "Enter commit message:"
20
20
  read COMMIT_MESSAGE
21
- git commit -m "$COMMIT_MESSAGE"
21
+ git commit -m "[common] $COMMIT_MESSAGE"
22
22
 
23
23
  # Step 5: Push to GitHub
24
24
  echo "Enter remote branch to push to:"
@@ -40,7 +40,7 @@ export class Consumer {
40
40
  ),
41
41
  );
42
42
 
43
- this._channel.consume(queue.queue, this.handleEvent, { noAck: true });
43
+ this._channel.consume(queue.queue, this.handleEvent, { noAck: false });
44
44
 
45
45
  this._initialized = true;
46
46
  };