@wireapp/core 46.34.5 → 46.34.7

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.
Files changed (2) hide show
  1. package/lib/Account.js +3 -3
  2. package/package.json +4 -4
package/lib/Account.js CHANGED
@@ -526,7 +526,7 @@ class Account extends commons_1.TypedEventEmitter {
526
526
  * forwarding the event to the consumer via the `onEvent` callback.
527
527
  */
528
528
  createEventHandler = (onEvent) => {
529
- return async (payload, source) => {
529
+ return (payload, source) => {
530
530
  const { event } = payload;
531
531
  switch (event?.type) {
532
532
  case event_1.CONVERSATION_EVENT.MESSAGE_TIMER_UPDATE: {
@@ -563,7 +563,7 @@ class Account extends commons_1.TypedEventEmitter {
563
563
  }
564
564
  const messages = this.service.notification.handleNotification(notification, source, dryRun);
565
565
  for await (const message of messages) {
566
- await handleEvent(message, source);
566
+ handleEvent(message, source);
567
567
  }
568
568
  this.logger.info(`Finished processing legacy notification "${notification.id}" in ${Date.now() - start}ms`);
569
569
  }
@@ -639,7 +639,7 @@ class Account extends commons_1.TypedEventEmitter {
639
639
  this.apiClient.transport.ws.acknowledgeNotification(notification);
640
640
  }
641
641
  for await (const payload of payloads ?? []) {
642
- await handleEvent(payload, source);
642
+ handleEvent(payload, source);
643
643
  }
644
644
  }
645
645
  catch (err) {
package/package.json CHANGED
@@ -11,12 +11,12 @@
11
11
  "./lib/cryptography/AssetCryptography/crypto.node": "./lib/cryptography/AssetCryptography/crypto.browser.js"
12
12
  },
13
13
  "dependencies": {
14
- "@wireapp/api-client": "^27.75.4",
14
+ "@wireapp/api-client": "^27.75.6",
15
15
  "@wireapp/commons": "^5.4.4",
16
16
  "@wireapp/core-crypto": "7.0.2",
17
17
  "@wireapp/cryptobox": "12.8.0",
18
18
  "@wireapp/priority-queue": "^2.1.11",
19
- "@wireapp/promise-queue": "^2.4.3",
19
+ "@wireapp/promise-queue": "^2.4.4",
20
20
  "@wireapp/protocol-messaging": "1.53.0",
21
21
  "@wireapp/store-engine": "^5.1.11",
22
22
  "axios": "1.11.0",
@@ -61,6 +61,6 @@
61
61
  "test:coverage": "jest --coverage",
62
62
  "watch": "tsc --watch"
63
63
  },
64
- "version": "46.34.5",
65
- "gitHead": "75ab1d292a4f68868eec66523ed929b35c5d97e3"
64
+ "version": "46.34.7",
65
+ "gitHead": "8b55a99d27eb07e9757568c25e4a4bfe6c11b380"
66
66
  }