Skip to content

Commit f38ad92

Browse files
committed
update @hawk.so/types dependency to version 0.1.35
1 parent a6a62cc commit f38ad92

3 files changed

Lines changed: 6 additions & 13 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
},
5050
"dependencies": {
5151
"@hawk.so/nodejs": "^3.1.1",
52-
"@hawk.so/types": "^0.1.32",
52+
"@hawk.so/types": "^0.1.35",
5353
"@types/amqplib": "^0.8.2",
5454
"@types/jest": "^29.2.3",
5555
"@types/mongodb": "^3.5.15",

workers/grouper/src/index.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -235,9 +235,7 @@ export default class GrouperWorker extends Worker {
235235
* Add task for NotifierWorker only if event is not ignored
236236
*/
237237
if (process.env.IS_NOTIFIER_WORKER_ENABLED) {
238-
const isIgnored = isFirstOccurrence
239-
? false
240-
: !!(existedEvent as GroupedEventDBScheme & { marks?: { ignored?: boolean } })?.marks?.ignored;
238+
const isIgnored = isFirstOccurrence ? false : !!existedEvent?.marks?.ignored;
241239

242240
if (!isIgnored) {
243241
await this.addTask(WorkerNames.NOTIFIER, {

yarn.lock

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -428,10 +428,10 @@
428428
dependencies:
429429
"@types/mongodb" "^3.5.34"
430430

431-
"@hawk.so/types@^0.1.32":
432-
version "0.1.32"
433-
resolved "https://registry.yarnpkg.com/@hawk.so/types/-/types-0.1.32.tgz#5eb662e91da922e1cbab7af0cf03bfa567ee98df"
434-
integrity sha512-7gdx/fq31iLxmc0hZKs+wPYqtRT4rLvTi9p4am2My9SQ4t/l8if5QEfxh6G4WABKOmhiZLchivFA9Oj+Nn5EcQ==
431+
"@hawk.so/types@^0.1.35":
432+
version "0.1.35"
433+
resolved "https://registry.yarnpkg.com/@hawk.so/types/-/types-0.1.35.tgz#6afd416dced1cc3282d721ca5621bf452b27aea1"
434+
integrity sha512-uMTAeu6DlRlk+oputJBjTlrm1GzOkIwlMfGhpdOp3sRWe/YPGD6nMYlb9MZoVN6Yee7RIpYD7It+DPeUPAyIFw==
435435
dependencies:
436436
"@types/mongodb" "^3.5.34"
437437

@@ -4629,11 +4629,6 @@ jest@^29.2.2:
46294629
import-local "^3.0.2"
46304630
jest-cli "^29.7.0"
46314631

4632-
js-levenshtein@^1.1.6:
4633-
version "1.1.6"
4634-
resolved "https://registry.yarnpkg.com/js-levenshtein/-/js-levenshtein-1.1.6.tgz#c6cee58eb3550372df8deb85fad5ce66ce01d59d"
4635-
integrity sha512-X2BB11YZtrRqY4EnQcLX5Rh373zbK4alC1FW7D7MBhL2gtcC17cTnr6DmfHZeS0s2rTHjUTMMHfG7gO8SSdw+g==
4636-
46374632
js-tokens@^4.0.0:
46384633
version "4.0.0"
46394634
resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499"

0 commit comments

Comments
 (0)