@shushed/helpers 0.0.281 → 0.0.283

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.
@@ -564,6 +564,7 @@ class EnvEngine extends runtime_1.default {
564
564
  tableRetryMinDelay: 60 * 5,
565
565
  tableRetryMaxDelay: 60 * 10,
566
566
  tableRetryLimit: 10,
567
+ notAckOnSuccess: false,
567
568
  orderingIndexFields: [],
568
569
  orderingSortField: '',
569
570
  batchSize: 1,
@@ -59,6 +59,7 @@ class PubSubHelper extends runtime_1.default {
59
59
  body: messageBody,
60
60
  bodyTxt: rawBody,
61
61
  extraAttributes: (0, lodash_omit_1.default)(rawMessage.message?.attributes || {}, ['buildship_id', 'publish_time']),
62
+ ackId: rawMessage.ackId || undefined,
62
63
  subscriptionName: rawMessage.subscription?.split('/').pop(),
63
64
  };
64
65
  return message;
@@ -16,6 +16,7 @@ export type Message = {
16
16
  };
17
17
  export type ReceivedMessage = Message & {
18
18
  messageId?: string | undefined;
19
+ ackId?: string | undefined;
19
20
  body: any;
20
21
  bodyTxt: string;
21
22
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shushed/helpers",
3
- "version": "0.0.281",
3
+ "version": "0.0.283",
4
4
  "author": "",
5
5
  "license": "UNLICENSED",
6
6
  "description": "",