@dbos-inc/sqs-receive 3.0.17-preview → 3.0.20-preview

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/index.ts CHANGED
@@ -210,7 +210,7 @@ class SQSReceiver extends DBOSLifecycleCallback {
210
210
  inDescriptor: TypedPropertyDescriptor<(this: This, ...args: Args) => Promise<Return>>,
211
211
  ) {
212
212
  const { regInfo: receiverInfo } = DBOS.associateFunctionWithInfo(er, inDescriptor.value!, {
213
- classOrInst: target,
213
+ ctorOrProto: target,
214
214
  name: propertyKey,
215
215
  });
216
216
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dbos-inc/sqs-receive",
3
- "version": "3.0.17-preview",
3
+ "version": "3.0.20-preview",
4
4
  "description": "DBOS event receiver for AWS SQS queues",
5
5
  "license": "MIT",
6
6
  "repository": {
package/sqs.test.ts CHANGED
@@ -36,7 +36,9 @@ async function sendMessageInternal(msg: MessageWithOptionalQueueUrl) {
36
36
  }
37
37
  }
38
38
 
39
- const sendMessageStep = DBOS.registerStep(sendMessageInternal, { name: 'Send SQS Message' });
39
+ const sendMessageStep = DBOS.registerStep(sendMessageInternal, {
40
+ name: 'Send SQS Message',
41
+ });
40
42
 
41
43
  const sqsReceiver = new SQSReceiver({
42
44
  client: createSQS,