Skip to content

Commit

Permalink
Minor tweaks (#189)
Browse files Browse the repository at this point in the history
  • Loading branch information
kibertoad authored Jul 11, 2024
1 parent 0ecd291 commit 36c7846
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion packages/core/lib/queues/AbstractPublisherManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ export abstract class AbstractPublisherManager<
if (this.isAsync) {
await (publisher as AsyncPublisher<object, unknown>).publish(resolvedMessage, messageOptions)
} else {
;(publisher as SyncPublisher<object, unknown>).publish(resolvedMessage, messageOptions)
publisher.publish(resolvedMessage, messageOptions)
}

return resolvedMessage
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"awilix": "^10.0.2",
"awilix-manager": "^5.2.1",
"del-cli": "^5.1.0",
"typescript": "^5.5.2",
"typescript": "^5.5.3",
"vitest": "^1.6.0"
},
"homepage": "https://github.com/kibertoad/message-queue-toolkit",
Expand Down
2 changes: 1 addition & 1 deletion packages/s3-payload-store/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-vitest": "0.4.1",
"prettier": "^3.2.5",
"typescript": "^5.4.5",
"typescript": "^5.5.3",
"vitest": "^1.6.0"
},
"homepage": "https://github.com/kibertoad/message-queue-toolkit",
Expand Down
14 changes: 7 additions & 7 deletions packages/sns/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,20 +30,20 @@
"zod": "^3.23.8"
},
"peerDependencies": {
"@aws-sdk/client-sns": "^3.606.0",
"@aws-sdk/client-sqs": "^3.606.0",
"@aws-sdk/client-sns": "^3.598.0",
"@aws-sdk/client-sqs": "^3.598.0",
"@message-queue-toolkit/core": "^15.0.0",
"@message-queue-toolkit/schemas": "^2.0.0",
"@message-queue-toolkit/sqs": "^17.0.0"
},
"devDependencies": {
"@aws-sdk/client-s3": "^3.608.0",
"@aws-sdk/client-sns": "^3.606.0",
"@aws-sdk/client-sqs": "^3.606.0",
"@aws-sdk/client-s3": "^3.614.0",
"@aws-sdk/client-sns": "^3.614.0",
"@aws-sdk/client-sqs": "^3.614.0",
"@message-queue-toolkit/core": "*",
"@message-queue-toolkit/s3-payload-store": "*",
"@message-queue-toolkit/sqs": "*",
"@types/node": "^20.12.8",
"@types/node": "^20.14.10",
"@typescript-eslint/eslint-plugin": "^7.7.1",
"@typescript-eslint/parser": "^7.7.1",
"@vitest/coverage-v8": "^1.6.0",
Expand All @@ -54,7 +54,7 @@
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-vitest": "0.4.1",
"prettier": "^3.2.5",
"typescript": "^5.4.5",
"typescript": "^5.5.3",
"vitest": "^1.6.0"
},
"homepage": "https://github.com/kibertoad/message-queue-toolkit",
Expand Down
4 changes: 2 additions & 2 deletions packages/sqs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"zod": "^3.23.8"
},
"peerDependencies": {
"@aws-sdk/client-sqs": "^3.606.0",
"@aws-sdk/client-sqs": "^3.598.0",
"@message-queue-toolkit/core": "^15.0.0"
},
"devDependencies": {
Expand All @@ -40,7 +40,7 @@
"@kibertoad/biome-config": "^1.2.1",
"@message-queue-toolkit/core": "*",
"@message-queue-toolkit/s3-payload-store": "*",
"@types/node": "^20.12.8",
"@types/node": "^20.14.10",
"@vitest/coverage-v8": "^1.6.0",
"awilix": "^10.0.1",
"awilix-manager": "^5.1.0",
Expand Down

0 comments on commit 36c7846

Please sign in to comment.