@wireapp/core 46.31.5 → 46.31.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.
@@ -1 +1 @@
1
- {"version":3,"file":"Account.d.ts","sourceRoot":"","sources":["../src/Account.ts"],"names":[],"mappings":"AAmBA,OAAO,EACL,YAAY,EAGZ,OAAO,EACP,MAAM,EAEN,SAAS,EAEV,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAC,gBAAgB,EAAwB,UAAU,EAAE,gBAAgB,EAAC,MAAM,iCAAiC,CAAC;AAErH,OAAO,KAAK,MAAM,MAAM,+BAA+B,CAAC;AAExD,OAAO,EAAC,YAAY,EAAC,MAAM,uCAAuC,CAAC;AACnE,OAAO,EAEL,sBAAsB,EAGvB,MAAM,6DAA6D,CAAC;AAQrE,OAAO,EAAC,SAAS,EAAE,eAAe,EAAC,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EAAa,iBAAiB,EAAC,MAAM,kBAAkB,CAAC;AAE/D,OAAO,EAAC,UAAU,EAAe,MAAM,uBAAuB,CAAC;AAE/D,OAAO,EAAC,cAAc,EAAC,MAAM,YAAY,CAAC;AAE1C,OAAO,EAAC,gBAAgB,EAAC,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAC,UAAU,EAAE,aAAa,EAAC,MAAM,WAAW,CAAC;AACpD,OAAO,EAAC,iBAAiB,EAAC,MAAM,eAAe,CAAC;AAChD,OAAO,EAAC,YAAY,EAAE,mBAAmB,EAAC,MAAM,iBAAiB,CAAC;AAElE,OAAO,EAAC,sBAAsB,EAAC,MAAM,8DAA8D,CAAC;AACpG,OAAO,EAAC,YAAY,EAAC,MAAM,UAAU,CAAC;AACtC,OAAO,EAAC,kBAAkB,EAAC,MAAM,eAAe,CAAC;AACjD,OAAO,EAAC,gBAAgB,EAAC,MAAM,mCAAmC,CAAC;AACnE,OAAO,EAAC,iBAAiB,EAAE,UAAU,EAAC,MAAM,0BAA0B,CAAC;AAMvE,O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AC,sCAAsC,CAE5C;IAEF,OAAO,CAAC,iCAAiC,CAoBvC;IAEF,OAAO,CAAC,0BAA0B,CAyBhC;IAEK,wBAAwB,iBAAkB,MAAM,CAAC,YAAY,mBAMlE;IAEF;;;;;;;;OAQG;IACH,OAAO,CAAC,sCAAsC,CAU5C;IAEF;;;;;;;;;;OAUG;IACH,OAAO,CAAC,uCAAuC,CAoC7C;IAEF;;;;;OAKG;IACH,OAAO,CAAC,8BAA8B,CAIpC;IAEF;;;;;;OAMG;IACH,OAAO,CAAC,uBAAuB,CA0B7B;IAEF;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,OAAO,CAAC,yBAAyB,CAa/B;IAEK,qBAAqB,2BAE1B;IAEK,iBAAiB,iBACR,YAAY,GAAG,sBAAsB,KAClD,YAAY,IAAI,sBAAsB,CAEvC;IAEF,OAAO,CAAC,cAAc,CAGpB;IAEF,OAAO,CAAC,kBAAkB,CAExB;IAEF,OAAO,CAAC,uBAAuB,CAE7B;IAEF,OAAO,CAAC,UAAU,CAqBhB;IAEF,OAAO,CAAC,yBAAyB,CAS/B;IAEK,oBAAoB,QAAa,OAAO,CAAC,OAAO,CAAC,CActD;CACH"}
package/lib/Account.js CHANGED
@@ -67,6 +67,7 @@ const linkPreview_1 = require("./linkPreview");
67
67
  const mls_1 = require("./messagingProtocols/mls");
68
68
  const conversationRejoinQueue_1 = require("./messagingProtocols/mls/conversationRejoinQueue");
69
69
  const E2EIdentityService_1 = require("./messagingProtocols/mls/E2EIdentityService");
70
+ const IncomingProposalsQueue_1 = require("./messagingProtocols/mls/EventHandler/events/messageAdd/IncomingProposalsQueue");
70
71
  const proteus_1 = require("./messagingProtocols/proteus");
71
72
  const CryptoClient_1 = require("./messagingProtocols/proteus/ProteusService/CryptoClient");
72
73
  const CoreCryptoWrapper_1 = require("./messagingProtocols/proteus/ProteusService/CryptoClient/CoreCryptoWrapper");
@@ -464,6 +465,11 @@ class Account extends commons_1.TypedEventEmitter {
464
465
  await processNotificationStream();
465
466
  }
466
467
  this.apiClient.connect(() => {
468
+ /**
469
+ * This is to avoid passing proposals too early to core crypto
470
+ * @See WPB-18995
471
+ */
472
+ (0, IncomingProposalsQueue_1.pauseProposalProcessing)();
467
473
  (0, messageSender_1.pauseMessageSending)(); // pause message sending while processing notifications, it will be resumed once the processing is done and we have the marker token
468
474
  /**
469
475
  * unpause the notification processing queue
@@ -571,6 +577,7 @@ class Account extends commons_1.TypedEventEmitter {
571
577
  * if the marker ID matches the current marker ID.
572
578
  */
573
579
  if (markerId === currentMarkerId) {
580
+ (0, IncomingProposalsQueue_1.resumeProposalProcessing)();
574
581
  (0, messageSender_1.resumeMessageSending)();
575
582
  onConnectionStateChanged(ConnectionState.LIVE);
576
583
  }
@@ -629,6 +636,7 @@ class Account extends commons_1.TypedEventEmitter {
629
636
  */
630
637
  createLegacyNotificationStreamProcessor = ({ handleLegacyNotification, handleMissedNotifications, onNotificationStreamProgress, onConnectionStateChanged, }) => {
631
638
  return async () => {
639
+ (0, IncomingProposalsQueue_1.pauseProposalProcessing)();
632
640
  (0, messageSender_1.pauseMessageSending)();
633
641
  // We want to avoid triggering rejoins of out-of-sync MLS conversations while we are processing the notification stream
634
642
  (0, conversationRejoinQueue_1.pauseRejoiningMLSConversations)();
@@ -644,6 +652,7 @@ class Account extends commons_1.TypedEventEmitter {
644
652
  // We need to wait for the notification stream to be fully handled before releasing the message sending queue.
645
653
  // This is due to the nature of how message are encrypted, any change in mls epoch needs to happen before we start encrypting any kind of messages
646
654
  this.logger.info(`Resuming message sending. ${(0, messageSender_1.getQueueLength)()} messages to be sent`);
655
+ (0, IncomingProposalsQueue_1.resumeProposalProcessing)();
647
656
  (0, messageSender_1.resumeMessageSending)();
648
657
  (0, conversationRejoinQueue_1.resumeRejoiningMLSConversations)();
649
658
  onConnectionStateChanged(ConnectionState.LIVE);
@@ -0,0 +1,5 @@
1
+ import { Task } from '@wireapp/promise-queue';
2
+ export declare function queueProposal<T>(cb: Task<T>): Promise<T>;
3
+ export declare function resumeProposalProcessing(): void;
4
+ export declare function pauseProposalProcessing(): void;
5
+ //# sourceMappingURL=IncomingProposalsQueue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IncomingProposalsQueue.d.ts","sourceRoot":"","sources":["../../../../../../../src/messagingProtocols/mls/EventHandler/events/messageAdd/IncomingProposalsQueue/IncomingProposalsQueue.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAC,IAAI,EAAe,MAAM,wBAAwB,CAAC;AAM1D,wBAAgB,aAAa,CAAC,CAAC,EAAE,EAAE,EAAE,IAAI,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAGxD;AAED,wBAAgB,wBAAwB,IAAI,IAAI,CAG/C;AAED,wBAAgB,uBAAuB,IAAI,IAAI,CAG9C"}
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ /*
3
+ * Wire
4
+ * Copyright (C) 2025 Wire Swiss GmbH
5
+ *
6
+ * This program is free software: you can redistribute it and/or modify
7
+ * it under the terms of the GNU General Public License as published by
8
+ * the Free Software Foundation, either version 3 of the License, or
9
+ * (at your option) any later version.
10
+ *
11
+ * This program is distributed in the hope that it will be useful,
12
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
+ * GNU General Public License for more details.
15
+ *
16
+ * You should have received a copy of the GNU General Public License
17
+ * along with this program. If not, see http://www.gnu.org/licenses/.
18
+ *
19
+ */
20
+ Object.defineProperty(exports, "__esModule", { value: true });
21
+ exports.queueProposal = queueProposal;
22
+ exports.resumeProposalProcessing = resumeProposalProcessing;
23
+ exports.pauseProposalProcessing = pauseProposalProcessing;
24
+ const commons_1 = require("@wireapp/commons");
25
+ const promise_queue_1 = require("@wireapp/promise-queue");
26
+ const logger = commons_1.LogFactory.getLogger('@wireapp/core/MLSService/IncomingProposalsQueue');
27
+ const proposalsQueue = new promise_queue_1.PromiseQueue({ name: 'incoming-proposals-queue', paused: true });
28
+ function queueProposal(cb) {
29
+ logger.info('Queueing proposal for processing');
30
+ return proposalsQueue.push(cb);
31
+ }
32
+ function resumeProposalProcessing() {
33
+ logger.info('Resuming proposal processing');
34
+ proposalsQueue.pause(false);
35
+ }
36
+ function pauseProposalProcessing() {
37
+ logger.info('Pausing proposal processing');
38
+ proposalsQueue.pause(true);
39
+ }
@@ -0,0 +1,2 @@
1
+ export * from './IncomingProposalsQueue';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/messagingProtocols/mls/EventHandler/events/messageAdd/IncomingProposalsQueue/index.ts"],"names":[],"mappings":"AAmBA,cAAc,0BAA0B,CAAC"}
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ /*
3
+ * Wire
4
+ * Copyright (C) 2023 Wire Swiss GmbH
5
+ *
6
+ * This program is free software: you can redistribute it and/or modify
7
+ * it under the terms of the GNU General Public License as published by
8
+ * the Free Software Foundation, either version 3 of the License, or
9
+ * (at your option) any later version.
10
+ *
11
+ * This program is distributed in the hope that it will be useful,
12
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
+ * GNU General Public License for more details.
15
+ *
16
+ * You should have received a copy of the GNU General Public License
17
+ * along with this program. If not, see http://www.gnu.org/licenses/.
18
+ *
19
+ */
20
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
21
+ if (k2 === undefined) k2 = k;
22
+ var desc = Object.getOwnPropertyDescriptor(m, k);
23
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
24
+ desc = { enumerable: true, get: function() { return m[k]; } };
25
+ }
26
+ Object.defineProperty(o, k2, desc);
27
+ }) : (function(o, m, k, k2) {
28
+ if (k2 === undefined) k2 = k;
29
+ o[k2] = m[k];
30
+ }));
31
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
32
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
33
+ };
34
+ Object.defineProperty(exports, "__esModule", { value: true });
35
+ __exportStar(require("./IncomingProposalsQueue"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"messageAdd.d.ts","sourceRoot":"","sources":["../../../../../../src/messagingProtocols/mls/EventHandler/events/messageAdd/messageAdd.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAC,8BAA8B,EAAC,MAAM,+BAA+B,CAAC;AAK7E,OAAO,EAAC,mBAAmB,EAAC,MAAM,6BAA6B,CAAC;AAChE,OAAO,EAAC,UAAU,EAAuB,MAAM,gCAAgC,CAAC;AAEhF,UAAU,yBAAyB;IACjC,KAAK,EAAE,8BAA8B,CAAC;IACtC,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,UAAU,CAAC;CACxB;AAED,eAAO,MAAM,mBAAmB,oCAI7B,yBAAyB,KAAG,OAAO,CAAC,mBAAmB,GAAG,IAAI,CAgChE,CAAC"}
1
+ {"version":3,"file":"messageAdd.d.ts","sourceRoot":"","sources":["../../../../../../src/messagingProtocols/mls/EventHandler/events/messageAdd/messageAdd.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAC,8BAA8B,EAAC,MAAM,+BAA+B,CAAC;AAO7E,OAAO,EAAC,mBAAmB,EAAC,MAAM,6BAA6B,CAAC;AAChE,OAAO,EAAC,UAAU,EAAuB,MAAM,gCAAgC,CAAC;AAEhF,UAAU,yBAAyB;IACjC,KAAK,EAAE,8BAA8B,CAAC;IACtC,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,UAAU,CAAC;CACxB;AAED,eAAO,MAAM,mBAAmB,oCAI7B,yBAAyB,KAAG,OAAO,CAAC,mBAAmB,GAAG,IAAI,CAoChE,CAAC"}
@@ -21,6 +21,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
21
21
  exports.handleMLSMessageAdd = void 0;
22
22
  const bazinga64_1 = require("bazinga64");
23
23
  const protocol_messaging_1 = require("@wireapp/protocol-messaging");
24
+ const IncomingProposalsQueue_1 = require("./IncomingProposalsQueue");
24
25
  const MLSService_1 = require("../../../MLSService/MLSService");
25
26
  const handleMLSMessageAdd = async ({ event, groupId, mlsService, }) => {
26
27
  const encryptedData = bazinga64_1.Decoder.fromBase64(event.data).asBytes;
@@ -38,12 +39,16 @@ const handleMLSMessageAdd = async ({ event, groupId, mlsService, }) => {
38
39
  }
39
40
  // Check if the message includes proposals
40
41
  if (typeof commitDelay === 'number') {
41
- // we are dealing with a proposal, add a task to process this proposal later on
42
- // Those proposals are stored inside of coreCrypto and will be handled after a timeout
43
- await mlsService.handlePendingProposals({
44
- groupId,
45
- delayInMs: commitDelay ?? 0,
46
- eventTime: event.time,
42
+ (0, IncomingProposalsQueue_1.queueProposal)(async () => {
43
+ // we are dealing with a proposal, add a task to process this proposal later on
44
+ // Those proposals are stored inside of coreCrypto and will be handled after a timeout
45
+ await mlsService.handlePendingProposals({
46
+ groupId,
47
+ delayInMs: commitDelay ?? 0,
48
+ eventTime: event.time,
49
+ });
50
+ }).catch(error => {
51
+ console.error('Failed to process proposal:', error);
47
52
  });
48
53
  }
49
54
  return message ? { event, decryptedData: protocol_messaging_1.GenericMessage.decode(message) } : null;
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "./lib/cryptography/AssetCryptography/crypto.node": "./lib/cryptography/AssetCryptography/crypto.browser.js"
12
12
  },
13
13
  "dependencies": {
14
- "@wireapp/api-client": "^27.69.2",
14
+ "@wireapp/api-client": "^27.70.0",
15
15
  "@wireapp/commons": "^5.4.3",
16
16
  "@wireapp/core-crypto": "7.0.1",
17
17
  "@wireapp/cryptobox": "12.8.0",
@@ -61,6 +61,6 @@
61
61
  "test:coverage": "jest --coverage",
62
62
  "watch": "tsc --watch"
63
63
  },
64
- "version": "46.31.5",
65
- "gitHead": "775ed3122ee95412537e41b1518a8479361a0009"
64
+ "version": "46.31.7",
65
+ "gitHead": "c4711f0c33eebf8910cd9a6dd4f94f8696c3da7b"
66
66
  }