@wireapp/core 46.46.6-beta.14.f6fd03fe6 → 46.46.6
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/lib/Account.d.ts +156 -51
- package/lib/Account.d.ts.map +1 -1
- package/lib/Account.js +503 -127
- package/lib/Account.test.js +158 -147
- package/lib/broadcast/AvailabilityType.d.ts +1 -1
- package/lib/broadcast/AvailabilityType.d.ts.map +1 -1
- package/lib/broadcast/BroadcastService.d.ts +1 -1
- package/lib/broadcast/BroadcastService.d.ts.map +1 -1
- package/lib/broadcast/BroadcastService.js +1 -1
- package/lib/client/ClientService.d.ts +4 -3
- package/lib/client/ClientService.d.ts.map +1 -1
- package/lib/client/ClientService.js +19 -5
- package/lib/conversation/AbortReason.d.ts +1 -1
- package/lib/conversation/AbortReason.d.ts.map +1 -1
- package/lib/conversation/AssetService/AssetService.d.ts +12 -30
- package/lib/conversation/AssetService/AssetService.d.ts.map +1 -1
- package/lib/conversation/AssetService/AssetService.js +1 -10
- package/lib/conversation/AssetService/AssetService.test.js +8 -3
- package/lib/conversation/ClientActionType.d.ts +1 -1
- package/lib/conversation/ClientActionType.d.ts.map +1 -1
- package/lib/conversation/ClientActionType.js +1 -1
- package/lib/conversation/ConversationService/ConversationService.d.ts +98 -14
- package/lib/conversation/ConversationService/ConversationService.d.ts.map +1 -1
- package/lib/conversation/ConversationService/ConversationService.js +314 -101
- package/lib/conversation/ConversationService/ConversationService.test.js +441 -47
- package/lib/conversation/ConversationService/ConversationService.types.d.ts +5 -4
- package/lib/conversation/ConversationService/ConversationService.types.d.ts.map +1 -1
- package/lib/conversation/ConversationService/Utility/getConversationQualifiedMembers.d.ts.map +1 -1
- package/lib/conversation/ConversationService/Utility/getConversationQualifiedMembers.js +6 -3
- package/lib/conversation/SubconversationService/SubconversationService.d.ts.map +1 -1
- package/lib/conversation/SubconversationService/SubconversationService.js +158 -11
- package/lib/conversation/SubconversationService/SubconversationService.test.js +8 -2
- package/lib/conversation/content/AssetContent.d.ts +1 -1
- package/lib/conversation/content/AssetContent.d.ts.map +1 -1
- package/lib/conversation/content/ButtonActionConfirmationContent.d.ts +1 -1
- package/lib/conversation/content/ButtonActionConfirmationContent.d.ts.map +1 -1
- package/lib/conversation/content/ButtonActionContent.d.ts +1 -1
- package/lib/conversation/content/ButtonActionContent.d.ts.map +1 -1
- package/lib/conversation/content/ClearedContent.d.ts +1 -1
- package/lib/conversation/content/ClearedContent.d.ts.map +1 -1
- package/lib/conversation/content/ClientActionContent.d.ts +1 -1
- package/lib/conversation/content/ClientActionContent.d.ts.map +1 -1
- package/lib/conversation/content/CompositeContent.d.ts +1 -1
- package/lib/conversation/content/CompositeContent.d.ts.map +1 -1
- package/lib/conversation/content/ConfirmationContent.d.ts +1 -1
- package/lib/conversation/content/ConfirmationContent.d.ts.map +1 -1
- package/lib/conversation/content/DeletedContent.d.ts +1 -1
- package/lib/conversation/content/DeletedContent.d.ts.map +1 -1
- package/lib/conversation/content/HiddenContent.d.ts +1 -1
- package/lib/conversation/content/HiddenContent.d.ts.map +1 -1
- package/lib/conversation/content/KnockContent.d.ts +1 -1
- package/lib/conversation/content/KnockContent.d.ts.map +1 -1
- package/lib/conversation/content/LinkPreviewContent.d.ts +1 -1
- package/lib/conversation/content/LinkPreviewContent.d.ts.map +1 -1
- package/lib/conversation/content/MentionContent.d.ts +1 -1
- package/lib/conversation/content/MentionContent.d.ts.map +1 -1
- package/lib/conversation/content/MultipartContent.d.ts +1 -1
- package/lib/conversation/content/MultipartContent.d.ts.map +1 -1
- package/lib/conversation/content/QuoteContent.d.ts +1 -1
- package/lib/conversation/content/QuoteContent.d.ts.map +1 -1
- package/lib/conversation/content/TweetContent.d.ts +1 -1
- package/lib/conversation/content/TweetContent.d.ts.map +1 -1
- package/lib/conversation/content/index.d.ts +1 -1
- package/lib/conversation/content/index.d.ts.map +1 -1
- package/lib/conversation/content/index.js +1 -1
- package/lib/conversation/message/MessageBuilder.d.ts +1 -1
- package/lib/conversation/message/MessageBuilder.d.ts.map +1 -1
- package/lib/conversation/message/MessageBuilder.js +1 -1
- package/lib/conversation/message/MessageService.d.ts.map +1 -1
- package/lib/conversation/message/MessageService.js +1 -1
- package/lib/conversation/message/MessageService.test.js +7 -1
- package/lib/conversation/message/MessageToProtoMapper.d.ts +1 -1
- package/lib/conversation/message/MessageToProtoMapper.d.ts.map +1 -1
- package/lib/conversation/message/MessageToProtoMapper.js +1 -1
- package/lib/conversation/message/messageSender.js +2 -2
- package/lib/cryptography/AssetCryptography/EncryptedAsset.d.ts +2 -2
- package/lib/cryptography/AssetCryptography/EncryptedAsset.d.ts.map +1 -1
- package/lib/messagingProtocols/common.types.d.ts +9 -0
- package/lib/messagingProtocols/common.types.d.ts.map +1 -1
- package/lib/messagingProtocols/mls/E2EIdentityService/E2EIService.types.d.ts +2 -2
- package/lib/messagingProtocols/mls/E2EIdentityService/E2EIService.types.d.ts.map +1 -1
- package/lib/messagingProtocols/mls/E2EIdentityService/E2EIService.types.js +2 -1
- package/lib/messagingProtocols/mls/E2EIdentityService/E2EIServiceExternal.d.ts +1 -1
- package/lib/messagingProtocols/mls/E2EIdentityService/E2EIServiceExternal.d.ts.map +1 -1
- package/lib/messagingProtocols/mls/E2EIdentityService/E2EIServiceExternal.js +13 -11
- package/lib/messagingProtocols/mls/E2EIdentityService/E2EIServiceExternal.test.js +21 -16
- package/lib/messagingProtocols/mls/E2EIdentityService/E2EIServiceInternal.d.ts +9 -3
- package/lib/messagingProtocols/mls/E2EIdentityService/E2EIServiceInternal.d.ts.map +1 -1
- package/lib/messagingProtocols/mls/E2EIdentityService/E2EIServiceInternal.js +31 -12
- package/lib/messagingProtocols/mls/E2EIdentityService/Helper/index.d.ts +6 -0
- package/lib/messagingProtocols/mls/E2EIdentityService/Helper/index.d.ts.map +1 -1
- package/lib/messagingProtocols/mls/E2EIdentityService/Helper/index.js +19 -1
- package/lib/messagingProtocols/mls/EventHandler/events/messageAdd/IncomingProposalsQueue/IncomingProposalsQueue.d.ts +7 -0
- package/lib/messagingProtocols/mls/EventHandler/events/messageAdd/IncomingProposalsQueue/IncomingProposalsQueue.d.ts.map +1 -0
- package/lib/messagingProtocols/mls/EventHandler/events/messageAdd/IncomingProposalsQueue/IncomingProposalsQueue.js +48 -0
- package/lib/messagingProtocols/mls/EventHandler/events/messageAdd/IncomingProposalsQueue/index.d.ts +2 -0
- package/lib/messagingProtocols/mls/EventHandler/events/messageAdd/{IncomingMessagesQueue → IncomingProposalsQueue}/index.d.ts.map +1 -1
- package/lib/messagingProtocols/mls/EventHandler/events/messageAdd/{IncomingMessagesQueue → IncomingProposalsQueue}/index.js +1 -1
- package/lib/messagingProtocols/mls/EventHandler/events/messageAdd/index.d.ts +0 -1
- package/lib/messagingProtocols/mls/EventHandler/events/messageAdd/index.d.ts.map +1 -1
- package/lib/messagingProtocols/mls/EventHandler/events/messageAdd/index.js +0 -1
- package/lib/messagingProtocols/mls/EventHandler/events/messageAdd/messageAdd.d.ts.map +1 -1
- package/lib/messagingProtocols/mls/EventHandler/events/messageAdd/messageAdd.js +23 -14
- package/lib/messagingProtocols/mls/EventHandler/events/welcomeMessage/welcomeMessage.d.ts.map +1 -1
- package/lib/messagingProtocols/mls/EventHandler/events/welcomeMessage/welcomeMessage.js +5 -2
- package/lib/messagingProtocols/mls/EventHandler/events/welcomeMessage/welcomeMessage.test.js +13 -3
- package/lib/messagingProtocols/mls/MLSService/CoreCryptoMLSError.d.ts +38 -2
- package/lib/messagingProtocols/mls/MLSService/CoreCryptoMLSError.d.ts.map +1 -1
- package/lib/messagingProtocols/mls/MLSService/CoreCryptoMLSError.js +41 -6
- package/lib/messagingProtocols/mls/MLSService/CoreCryptoMLSError.test.d.ts +2 -0
- package/lib/messagingProtocols/mls/MLSService/CoreCryptoMLSError.test.d.ts.map +1 -0
- package/lib/messagingProtocols/mls/MLSService/CoreCryptoMLSError.test.js +124 -0
- package/lib/messagingProtocols/mls/MLSService/MLSService.d.ts +38 -34
- package/lib/messagingProtocols/mls/MLSService/MLSService.d.ts.map +1 -1
- package/lib/messagingProtocols/mls/MLSService/MLSService.js +267 -208
- package/lib/messagingProtocols/mls/MLSService/MLSService.test.js +157 -160
- package/lib/messagingProtocols/mls/MLSService/commitBundleUtil.js +3 -3
- package/lib/messagingProtocols/mls/MLSService/commitBundleUtil.test.js +5 -5
- package/lib/messagingProtocols/mls/conversationRejoinQueue.js +2 -2
- package/lib/messagingProtocols/mls/recovery/MlsErrorMapper.d.ts +78 -0
- package/lib/messagingProtocols/mls/recovery/MlsErrorMapper.d.ts.map +1 -0
- package/lib/messagingProtocols/mls/recovery/MlsErrorMapper.js +173 -0
- package/lib/messagingProtocols/mls/recovery/MlsErrorMapper.test.d.ts +2 -0
- package/lib/messagingProtocols/mls/recovery/MlsErrorMapper.test.d.ts.map +1 -0
- package/lib/messagingProtocols/mls/recovery/MlsErrorMapper.test.js +117 -0
- package/lib/messagingProtocols/mls/recovery/MlsRecoveryOrchestrator.d.ts +167 -0
- package/lib/messagingProtocols/mls/recovery/MlsRecoveryOrchestrator.d.ts.map +1 -0
- package/lib/messagingProtocols/mls/recovery/MlsRecoveryOrchestrator.js +317 -0
- package/lib/messagingProtocols/mls/recovery/MlsRecoveryOrchestrator.test.d.ts +2 -0
- package/lib/messagingProtocols/mls/recovery/MlsRecoveryOrchestrator.test.d.ts.map +1 -0
- package/lib/messagingProtocols/mls/recovery/MlsRecoveryOrchestrator.test.js +248 -0
- package/lib/messagingProtocols/mls/recovery/index.d.ts +5 -0
- package/lib/messagingProtocols/mls/recovery/index.d.ts.map +1 -0
- package/lib/messagingProtocols/mls/recovery/index.js +28 -0
- package/lib/messagingProtocols/mls/types.d.ts +0 -8
- package/lib/messagingProtocols/mls/types.d.ts.map +1 -1
- package/lib/messagingProtocols/proteus/EventHandler/events/otrMessageAdd/otrMessageAdd.d.ts.map +1 -1
- package/lib/messagingProtocols/proteus/EventHandler/events/otrMessageAdd/otrMessageAdd.js +7 -1
- package/lib/messagingProtocols/proteus/ProteusService/CryptoClient/CoreCryptoWrapper/CoreCryptoWrapper.d.ts +8 -15
- package/lib/messagingProtocols/proteus/ProteusService/CryptoClient/CoreCryptoWrapper/CoreCryptoWrapper.d.ts.map +1 -1
- package/lib/messagingProtocols/proteus/ProteusService/CryptoClient/CoreCryptoWrapper/CoreCryptoWrapper.js +97 -62
- package/lib/messagingProtocols/proteus/ProteusService/CryptoClient/CryptoClient.types.d.ts +0 -6
- package/lib/messagingProtocols/proteus/ProteusService/CryptoClient/CryptoClient.types.d.ts.map +1 -1
- package/lib/messagingProtocols/proteus/ProteusService/DecryptionErrorGenerator/DecryptionErrorGenerator.d.ts +1 -6
- package/lib/messagingProtocols/proteus/ProteusService/DecryptionErrorGenerator/DecryptionErrorGenerator.d.ts.map +1 -1
- package/lib/messagingProtocols/proteus/ProteusService/DecryptionErrorGenerator/DecryptionErrorGenerator.js +19 -22
- package/lib/messagingProtocols/proteus/ProteusService/ProteusService.d.ts +5 -3
- package/lib/messagingProtocols/proteus/ProteusService/ProteusService.d.ts.map +1 -1
- package/lib/messagingProtocols/proteus/ProteusService/ProteusService.js +11 -24
- package/lib/messagingProtocols/proteus/ProteusService/ProteusService.mocks.d.ts +1 -0
- package/lib/messagingProtocols/proteus/ProteusService/ProteusService.mocks.d.ts.map +1 -1
- package/lib/messagingProtocols/proteus/ProteusService/ProteusService.mocks.js +11 -2
- package/lib/messagingProtocols/proteus/ProteusService/ProteusService.test.js +13 -9
- package/lib/messagingProtocols/proteus/ProteusService/ProteusService.types.d.ts +3 -2
- package/lib/messagingProtocols/proteus/ProteusService/ProteusService.types.d.ts.map +1 -1
- package/lib/messagingProtocols/proteus/ProteusService/WithMockedGenerics.test.js +11 -4
- package/lib/messagingProtocols/proteus/ProteusService/cryptoMigrationStateStore.d.ts +0 -4
- package/lib/messagingProtocols/proteus/ProteusService/cryptoMigrationStateStore.d.ts.map +1 -1
- package/lib/messagingProtocols/proteus/ProteusService/cryptoMigrationStateStore.js +0 -5
- package/lib/messagingProtocols/proteus/ProteusService/identityClearer.d.ts +2 -1
- package/lib/messagingProtocols/proteus/ProteusService/identityClearer.d.ts.map +1 -1
- package/lib/messagingProtocols/proteus/ProteusService/identityClearer.js +8 -2
- package/lib/messagingProtocols/proteus/Utility/SessionHandler/SessionHandler.test.js +4 -0
- package/lib/messagingProtocols/proteus/Utility/getGenericMessageParams.d.ts +1 -1
- package/lib/messagingProtocols/proteus/Utility/getGenericMessageParams.d.ts.map +1 -1
- package/lib/messagingProtocols/proteus/Utility/getGenericMessageParams.js +1 -1
- package/lib/notification/NotificationService.d.ts +20 -6
- package/lib/notification/NotificationService.d.ts.map +1 -1
- package/lib/notification/NotificationService.js +23 -14
- package/lib/notification/NotificationService.test.js +8 -0
- package/lib/secretStore/secretKeyGenerator.d.ts +1 -0
- package/lib/secretStore/secretKeyGenerator.d.ts.map +1 -1
- package/lib/secretStore/secretKeyGenerator.js +3 -1
- package/lib/self/SelfService.d.ts +2 -2
- package/lib/self/SelfService.d.ts.map +1 -1
- package/lib/self/SelfService.test.js +5 -2
- package/lib/team/TeamService.d.ts +5 -2
- package/lib/team/TeamService.d.ts.map +1 -1
- package/lib/team/TeamService.js +12 -2
- package/lib/test/StoreHelper.d.ts +2 -0
- package/lib/test/StoreHelper.d.ts.map +1 -0
- package/lib/test/StoreHelper.js +27 -0
- package/lib/user/UserService.d.ts +2 -2
- package/lib/user/UserService.d.ts.map +1 -1
- package/lib/user/UserService.js +3 -3
- package/lib/util/TypePredicateUtil.d.ts.map +1 -1
- package/lib/util/TypePredicateUtil.js +2 -2
- package/package.json +3 -3
- package/lib/messagingProtocols/mls/EventHandler/events/messageAdd/IncomingMessagesQueue/IncomingMesssagesQueue.d.ts +0 -4
- package/lib/messagingProtocols/mls/EventHandler/events/messageAdd/IncomingMessagesQueue/IncomingMesssagesQueue.d.ts.map +0 -1
- package/lib/messagingProtocols/mls/EventHandler/events/messageAdd/IncomingMessagesQueue/IncomingMesssagesQueue.js +0 -69
- package/lib/messagingProtocols/mls/EventHandler/events/messageAdd/IncomingMessagesQueue/index.d.ts +0 -2
- package/lib/messagingProtocols/mls/EventHandler/events/messageAdd/messageAdd.test.d.ts +0 -2
- package/lib/messagingProtocols/mls/EventHandler/events/messageAdd/messageAdd.test.d.ts.map +0 -1
- package/lib/messagingProtocols/mls/EventHandler/events/messageAdd/messageAdd.test.js +0 -98
|
@@ -2,33 +2,13 @@ import { AssetOptions, AssetResponse } from '@wireapp/api-client/lib/asset';
|
|
|
2
2
|
import { ProgressCallback, RequestCancelable } from '@wireapp/api-client/lib/http';
|
|
3
3
|
import { APIClient } from '@wireapp/api-client';
|
|
4
4
|
import { EncryptedAsset, EncryptedAssetUploaded } from '../../cryptography';
|
|
5
|
-
|
|
5
|
+
export { ProgressCallback };
|
|
6
|
+
export type AssetUrlData = {
|
|
6
7
|
assetKey: string;
|
|
7
|
-
assetToken: string;
|
|
8
8
|
assetDomain: string;
|
|
9
|
-
forceCaching
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
interface AssetDataV3 {
|
|
13
|
-
assetKey: string;
|
|
14
|
-
assetToken: string;
|
|
15
|
-
forceCaching: boolean;
|
|
16
|
-
version: 3;
|
|
17
|
-
}
|
|
18
|
-
interface AssetDataV2 {
|
|
19
|
-
assetId: string;
|
|
20
|
-
conversationId: string;
|
|
21
|
-
forceCaching: boolean;
|
|
22
|
-
version: 2;
|
|
23
|
-
}
|
|
24
|
-
interface AssetDataV1 {
|
|
25
|
-
assetId: string;
|
|
26
|
-
conversationId: string;
|
|
27
|
-
forceCaching: boolean;
|
|
28
|
-
version: 1;
|
|
29
|
-
}
|
|
30
|
-
export { ProgressCallback };
|
|
31
|
-
export type AssetUrlData = AssetDataV1 | AssetDataV2 | AssetDataV3 | AssetDataV4;
|
|
9
|
+
forceCaching?: boolean;
|
|
10
|
+
assetToken?: string;
|
|
11
|
+
};
|
|
32
12
|
export declare class AssetService {
|
|
33
13
|
private readonly apiClient;
|
|
34
14
|
constructor(apiClient: APIClient);
|
|
@@ -40,10 +20,7 @@ export declare class AssetService {
|
|
|
40
20
|
* @param progressCallback?
|
|
41
21
|
* @return Resolves when the asset has been uploaded
|
|
42
22
|
*/
|
|
43
|
-
downloadRawAsset(assetData: AssetUrlData, progressCallback?: ProgressCallback):
|
|
44
|
-
cancel: () => void;
|
|
45
|
-
response: Promise<AssetResponse>;
|
|
46
|
-
};
|
|
23
|
+
downloadRawAsset(assetData: AssetUrlData, progressCallback?: ProgressCallback): RequestCancelable<AssetResponse>;
|
|
47
24
|
/**
|
|
48
25
|
* Uploads a raw asset to the backend without encrypting it
|
|
49
26
|
*
|
|
@@ -52,7 +29,12 @@ export declare class AssetService {
|
|
|
52
29
|
* @param progressCallback?
|
|
53
30
|
* @return cancellable request that resolves with the uploaded image
|
|
54
31
|
*/
|
|
55
|
-
uploadRawAsset(asset: Buffer | Uint8Array, options?: AssetOptions, progressCallback?: ProgressCallback): RequestCancelable<
|
|
32
|
+
uploadRawAsset(asset: Buffer | Uint8Array, options?: AssetOptions, progressCallback?: ProgressCallback): RequestCancelable<{
|
|
33
|
+
key: string;
|
|
34
|
+
domain: string;
|
|
35
|
+
token?: string | undefined;
|
|
36
|
+
expires?: string | undefined;
|
|
37
|
+
}>;
|
|
56
38
|
/**
|
|
57
39
|
* Will encrypt and upload an asset to the backend
|
|
58
40
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AssetService.d.ts","sourceRoot":"","sources":["../../../src/conversation/AssetService/AssetService.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAC,YAAY,EAAE,aAAa,EAAC,MAAM,+BAA+B,CAAC;AAC1E,OAAO,EAAC,gBAAgB,EAAE,iBAAiB,EAAC,MAAM,8BAA8B,CAAC;AAEjF,OAAO,EAAC,SAAS,EAAC,MAAM,qBAAqB,CAAC;AAE9C,OAAO,EAAC,cAAc,EAAE,sBAAsB,EAAC,MAAM,oBAAoB,CAAC;AAG1E,
|
|
1
|
+
{"version":3,"file":"AssetService.d.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CAAC,aAAa,CAAC,CAAC;QAAC,MAAM,EAAE,MAAM,IAAI,CAAA;KAAC;CAgB1D"}
|
|
@@ -35,16 +35,7 @@ class AssetService {
|
|
|
35
35
|
*/
|
|
36
36
|
downloadRawAsset(assetData, progressCallback) {
|
|
37
37
|
const { forceCaching } = assetData;
|
|
38
|
-
|
|
39
|
-
case 1:
|
|
40
|
-
return this.apiClient.api.asset.getAssetV1(assetData.assetId, assetData.conversationId, forceCaching, progressCallback);
|
|
41
|
-
case 2:
|
|
42
|
-
return this.apiClient.api.asset.getAssetV2(assetData.assetId, assetData.conversationId, forceCaching, progressCallback);
|
|
43
|
-
case 3:
|
|
44
|
-
return this.apiClient.api.asset.getAssetV3(assetData.assetKey, assetData.assetToken, forceCaching, progressCallback);
|
|
45
|
-
case 4:
|
|
46
|
-
return this.apiClient.api.asset.getAssetV4(assetData.assetKey, assetData.assetDomain, assetData.assetToken, forceCaching, progressCallback);
|
|
47
|
-
}
|
|
38
|
+
return this.apiClient.api.asset.getAsset(assetData.assetKey, assetData.assetDomain, assetData.assetToken, forceCaching, progressCallback);
|
|
48
39
|
}
|
|
49
40
|
/**
|
|
50
41
|
* Uploads a raw asset to the backend without encrypting it
|
|
@@ -23,10 +23,15 @@ const api_client_1 = require("@wireapp/api-client");
|
|
|
23
23
|
const AssetService_1 = require("./AssetService");
|
|
24
24
|
describe('AssetService', () => {
|
|
25
25
|
describe('"uploadAsset"', () => {
|
|
26
|
+
let apiClient;
|
|
27
|
+
afterEach(() => {
|
|
28
|
+
apiClient?.disconnect();
|
|
29
|
+
});
|
|
26
30
|
it('builds an encrypted asset payload', async () => {
|
|
27
|
-
|
|
31
|
+
apiClient = new api_client_1.APIClient();
|
|
28
32
|
const assetService = new AssetService_1.AssetService(apiClient);
|
|
29
33
|
const assetServerData = {
|
|
34
|
+
domain: 'asset-server.test.wire.com',
|
|
30
35
|
key: `3-2-${(0, uuid_1.v4)()}`,
|
|
31
36
|
token: (0, uuid_1.v4)(),
|
|
32
37
|
expires: '',
|
|
@@ -44,7 +49,7 @@ describe('AssetService', () => {
|
|
|
44
49
|
}));
|
|
45
50
|
});
|
|
46
51
|
it('allows cancelling asset upload', async () => {
|
|
47
|
-
|
|
52
|
+
apiClient = new api_client_1.APIClient();
|
|
48
53
|
const assetService = new AssetService_1.AssetService(apiClient);
|
|
49
54
|
const apiUpload = {
|
|
50
55
|
cancel: jest.fn(),
|
|
@@ -56,7 +61,7 @@ describe('AssetService', () => {
|
|
|
56
61
|
expect(apiUpload.cancel).toHaveBeenCalled();
|
|
57
62
|
});
|
|
58
63
|
it('exposes upload progress', async () => {
|
|
59
|
-
|
|
64
|
+
apiClient = new api_client_1.APIClient();
|
|
60
65
|
const assetService = new AssetService_1.AssetService(apiClient);
|
|
61
66
|
const apiUpload = {
|
|
62
67
|
cancel: jest.fn(),
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { ClientAction as ClientActionType } from '@
|
|
1
|
+
export { ClientAction as ClientActionType } from '@wireapp/protocol-messaging';
|
|
2
2
|
//# sourceMappingURL=ClientActionType.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClientActionType.d.ts","sourceRoot":"","sources":["../../src/conversation/ClientActionType.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAC,YAAY,IAAI,gBAAgB,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"ClientActionType.d.ts","sourceRoot":"","sources":["../../src/conversation/ClientActionType.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAC,YAAY,IAAI,gBAAgB,EAAC,MAAM,6BAA6B,CAAC"}
|
|
@@ -19,5 +19,5 @@
|
|
|
19
19
|
*/
|
|
20
20
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
21
|
exports.ClientActionType = void 0;
|
|
22
|
-
var protocol_messaging_1 = require("@
|
|
22
|
+
var protocol_messaging_1 = require("@wireapp/protocol-messaging");
|
|
23
23
|
Object.defineProperty(exports, "ClientActionType", { enumerable: true, get: function () { return protocol_messaging_1.ClientAction; } });
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Conversation, DefaultConversationRoleName, MutedStatus, NewConversation, QualifiedUserClients, RemoteConversations,
|
|
1
|
+
import { Conversation, DefaultConversationRoleName, MutedStatus, NewConversation, QualifiedUserClients, RemoteConversations, MLSConversation, SUBCONVERSATION_ID } from '@wireapp/api-client/lib/conversation';
|
|
2
2
|
import { BackendEvent, ConversationMemberLeaveEvent } from '@wireapp/api-client/lib/event';
|
|
3
3
|
import { QualifiedId } from '@wireapp/api-client/lib/user';
|
|
4
4
|
import { XOR } from '@wireapp/commons/lib/util/TypeUtil';
|
|
5
5
|
import { APIClient } from '@wireapp/api-client';
|
|
6
6
|
import { TypedEventEmitter } from '@wireapp/commons';
|
|
7
|
-
import { AddUsersParams,
|
|
7
|
+
import { AddUsersParams, BaseCreateConversationResponse, SendMlsMessageParams, SendResult } from './ConversationService.types';
|
|
8
8
|
import { MessageTimer, RemoveUsersParams } from '../../conversation/';
|
|
9
|
-
import { MLSService } from '../../messagingProtocols/mls';
|
|
9
|
+
import { MLSService, MLSServiceEvents } from '../../messagingProtocols/mls';
|
|
10
10
|
import { ProteusService } from '../../messagingProtocols/proteus';
|
|
11
11
|
import { AddUsersToProteusConversationParams, SendProteusMessageParams } from '../../messagingProtocols/proteus/ProteusService/ProteusService.types';
|
|
12
12
|
import { HandledEventResult } from '../../notification';
|
|
@@ -16,6 +16,10 @@ type Events = {
|
|
|
16
16
|
MLSConversationRecovered: {
|
|
17
17
|
conversationId: QualifiedId;
|
|
18
18
|
};
|
|
19
|
+
[MLSServiceEvents.MLS_EVENT_DISTRIBUTED]: {
|
|
20
|
+
events: any;
|
|
21
|
+
time: string;
|
|
22
|
+
};
|
|
19
23
|
};
|
|
20
24
|
export declare class ConversationService extends TypedEventEmitter<Events> {
|
|
21
25
|
private readonly apiClient;
|
|
@@ -23,10 +27,13 @@ export declare class ConversationService extends TypedEventEmitter<Events> {
|
|
|
23
27
|
private readonly coreDatabase;
|
|
24
28
|
private readonly groupIdFromConversationId;
|
|
25
29
|
private readonly subconversationService;
|
|
30
|
+
private readonly isMLSConversationRecoveryEnabled;
|
|
26
31
|
private readonly _mlsService?;
|
|
27
32
|
readonly messageTimer: MessageTimer;
|
|
28
33
|
private readonly logger;
|
|
29
|
-
|
|
34
|
+
private groupIdConversationMap;
|
|
35
|
+
private MLSRecoveryOrchestrator;
|
|
36
|
+
constructor(apiClient: APIClient, proteusService: ProteusService, coreDatabase: CoreDatabase, groupIdFromConversationId: (conversationId: QualifiedId, subconversationId?: SUBCONVERSATION_ID) => Promise<string | undefined>, subconversationService: SubconversationService, isMLSConversationRecoveryEnabled: () => Promise<boolean>, _mlsService?: MLSService | undefined);
|
|
30
37
|
get mlsService(): MLSService;
|
|
31
38
|
/**
|
|
32
39
|
* Get a fresh list from backend of clients for all the participants of the conversation.
|
|
@@ -46,7 +53,7 @@ export declare class ConversationService extends TypedEventEmitter<Events> {
|
|
|
46
53
|
* @param conversationData Payload object for group creation
|
|
47
54
|
* @returns Resolves when the conversation was created
|
|
48
55
|
*/
|
|
49
|
-
createProteusConversation(conversationData: NewConversation): Promise<
|
|
56
|
+
createProteusConversation(conversationData: NewConversation): Promise<BaseCreateConversationResponse>;
|
|
50
57
|
getConversation(conversationId: QualifiedId): Promise<Conversation>;
|
|
51
58
|
getMLSSelfConversation(): Promise<MLSConversation>;
|
|
52
59
|
getConversations(conversationIds?: QualifiedId[]): Promise<RemoteConversations>;
|
|
@@ -86,18 +93,76 @@ export declare class ConversationService extends TypedEventEmitter<Events> {
|
|
|
86
93
|
* Will create a conversation on backend and register it to CoreCrypto once created
|
|
87
94
|
* @param conversationData
|
|
88
95
|
*/
|
|
89
|
-
createMLSConversation(conversationData: NewConversation, selfUserId: QualifiedId, selfClientId: string): Promise<
|
|
96
|
+
createMLSConversation(conversationData: NewConversation, selfUserId: QualifiedId, selfClientId: string): Promise<BaseCreateConversationResponse>;
|
|
97
|
+
/**
|
|
98
|
+
* Centralized handler for scenarios where an MLS conversation is detected as broken.
|
|
99
|
+
* It resets the conversation and then invokes the provided callback so callers can retry
|
|
100
|
+
* their original operation (e.g., re-adding/removing users, re-joining, etc.) with the new group id.
|
|
101
|
+
*
|
|
102
|
+
* Contract:
|
|
103
|
+
* - input: conversationId to reset; callback invoked after reset with the new group id
|
|
104
|
+
* - output: the value returned by the callback
|
|
105
|
+
* - error: throws if reset fails or new group id is missing
|
|
106
|
+
*/
|
|
107
|
+
private handleBrokenMLSConversation;
|
|
108
|
+
/**
|
|
109
|
+
* Will create a conversation on backend and register it to CoreCrypto once created
|
|
110
|
+
* @param conversationData
|
|
111
|
+
*/
|
|
112
|
+
establishMLSGroupConversation(groupId: string, userIdsToAdd: QualifiedId[], selfUserId: QualifiedId, selfClientId: string, conversationQualifiedId: QualifiedId): Promise<BaseCreateConversationResponse>;
|
|
113
|
+
/**
|
|
114
|
+
* Send an MLS message wrapped with recovery.
|
|
115
|
+
*
|
|
116
|
+
* Uses the MLS recovery orchestrator to handle transient MLS errors (for example, wrong epoch)
|
|
117
|
+
* according to per-operation policies. When configured, the original send is retried once
|
|
118
|
+
* after a successful recovery. Unrecoverable errors are re-thrown by the orchestrator.
|
|
119
|
+
* The low-level send logic lives in {@link performSendMLSMessageAPI}.
|
|
120
|
+
*/
|
|
90
121
|
private sendMLSMessage;
|
|
122
|
+
private performSendMLSMessageAPI;
|
|
123
|
+
/**
|
|
124
|
+
* Add users to an existing MLS group with recovery.
|
|
125
|
+
*
|
|
126
|
+
* Claims key packages and passes them to CoreCrypto.addClientsToConversation. The MLS recovery
|
|
127
|
+
* orchestrator handles recoverable failures (e.g., wrong epoch) and may retry the operation once
|
|
128
|
+
* depending on policy. The optional shouldRetry flag is ignored; retries are governed by policies.
|
|
129
|
+
*
|
|
130
|
+
* @param qualifiedUsers List of qualified user ids (use skipOwnClientId on self to avoid claiming its key package)
|
|
131
|
+
* @param groupId Id of the MLS group to add users to
|
|
132
|
+
* @param conversationId Qualified id of the conversation
|
|
133
|
+
*/
|
|
134
|
+
addUsersToMLSConversation({ qualifiedUsers, groupId, conversationId, }: Required<AddUsersParams> & {
|
|
135
|
+
shouldRetry?: boolean;
|
|
136
|
+
}): Promise<BaseCreateConversationResponse>;
|
|
137
|
+
private performAddUsersToMLSConversationAPI;
|
|
91
138
|
/**
|
|
92
|
-
*
|
|
139
|
+
* Remove users from an existing MLS group with recovery.
|
|
93
140
|
*
|
|
94
|
-
*
|
|
95
|
-
*
|
|
96
|
-
* @param conversationId Id of the conversation to which we want to add users
|
|
141
|
+
* The MLS recovery orchestrator handles recoverable failures and may retry the operation once
|
|
142
|
+
* depending on policy. The optional shouldRetry flag is ignored; retries are policy-driven.
|
|
97
143
|
*/
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
144
|
+
removeUsersFromMLSConversation({ groupId, conversationId, qualifiedUserIds, }: RemoveUsersParams & {
|
|
145
|
+
shouldRetry?: boolean;
|
|
146
|
+
}): Promise<Conversation>;
|
|
147
|
+
private performRemoveUsersFromMLSConversationAPI;
|
|
148
|
+
/**
|
|
149
|
+
* Join an MLS conversation via external commit with recovery.
|
|
150
|
+
*
|
|
151
|
+
* If the group is not established or is out of date, the orchestrator recovers accordingly.
|
|
152
|
+
* The join operation itself is not automatically re-run by policy.
|
|
153
|
+
*/
|
|
154
|
+
joinByExternalCommit(conversationId: QualifiedId): Promise<void>;
|
|
155
|
+
private performJoinByExternalCommitAPI;
|
|
156
|
+
private refreshGroupIdConversationMap;
|
|
157
|
+
private getConversationByGroupId;
|
|
158
|
+
/**
|
|
159
|
+
* React to a key material update failure using the recovery orchestrator.
|
|
160
|
+
*
|
|
161
|
+
* The original error is forwarded to the orchestrator under the 'keyMaterialUpdate' operation
|
|
162
|
+
* so it can map and apply the configured recovery policy. Unrecoverable errors are logged.
|
|
163
|
+
*/
|
|
164
|
+
private reactToKeyMaterialUpdateFailure;
|
|
165
|
+
private resetMLSConversation;
|
|
101
166
|
/**
|
|
102
167
|
* Will check if mls group exists locally.
|
|
103
168
|
* @param groupId groupId of the conversation
|
|
@@ -109,7 +174,7 @@ export declare class ConversationService extends TypedEventEmitter<Events> {
|
|
|
109
174
|
* @param groupId groupId of the conversation
|
|
110
175
|
*/
|
|
111
176
|
isMLSGroupEstablishedLocally(groupId: string): Promise<boolean>;
|
|
112
|
-
wipeMLSConversation(groupId: string)
|
|
177
|
+
wipeMLSConversation: (groupId: string) => Promise<void>;
|
|
113
178
|
private matchesEpoch;
|
|
114
179
|
handleConversationsEpochMismatch(): Promise<void>;
|
|
115
180
|
/**
|
|
@@ -163,8 +228,27 @@ export declare class ConversationService extends TypedEventEmitter<Events> {
|
|
|
163
228
|
selfUserId: QualifiedId;
|
|
164
229
|
qualifiedUsers: QualifiedId[];
|
|
165
230
|
}): Promise<void>;
|
|
231
|
+
/**
|
|
232
|
+
* Handle an inbound MLS message-add event with recovery.
|
|
233
|
+
*
|
|
234
|
+
* Policies (see MlsRecoveryOrchestrator):
|
|
235
|
+
* - WrongEpoch.handleMessageAdd → recover from epoch mismatch and re-run once.
|
|
236
|
+
* - GroupOutOfSync.handleMessageAdd → not handled here; the error bubbles.
|
|
237
|
+
*
|
|
238
|
+
* Returns the decrypted payload when available. Unknown or unrecoverable errors are logged
|
|
239
|
+
* and result in null so event processing can continue safely.
|
|
240
|
+
*/
|
|
166
241
|
private handleMLSMessageAddEvent;
|
|
167
242
|
private recoverMLSGroupFromEpochMismatch;
|
|
243
|
+
/**
|
|
244
|
+
* Handle an MLS welcome event with recovery.
|
|
245
|
+
*
|
|
246
|
+
* Policies (see MlsRecoveryOrchestrator):
|
|
247
|
+
* - OrphanWelcome → join via external commit (no auto re-run).
|
|
248
|
+
* - ConversationAlreadyExists → wipe local state and re-run welcome once.
|
|
249
|
+
*
|
|
250
|
+
* Always resolves to null; the effects are applied to local state.
|
|
251
|
+
*/
|
|
168
252
|
private handleMLSWelcomeMessageEvent;
|
|
169
253
|
private handleOtrMessageAddEvent;
|
|
170
254
|
private isConversationBlacklisted;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConversationService.d.ts","sourceRoot":"","sources":["../../../src/conversation/ConversationService/ConversationService.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ConversationService.d.ts","sourceRoot":"","sources":["../../../src/conversation/ConversationService/ConversationService.ts"],"names":[],"mappings":"AAmBA,OAAO,EACL,YAAY,EACZ,2BAA2B,EAC3B,WAAW,EACX,eAAe,EACf,oBAAoB,EACpB,mBAAmB,EACnB,eAAe,EACf,kBAAkB,EAGnB,MAAM,sCAAsC,CAAC;AAE9C,OAAO,EACL,YAAY,EAIZ,4BAA4B,EAE7B,MAAM,+BAA+B,CAAC;AAEvC,OAAO,EAAC,WAAW,EAAC,MAAM,8BAA8B,CAAC;AACzD,OAAO,EAAC,GAAG,EAAC,MAAM,oCAAoC,CAAC;AAGvD,OAAO,EAAC,SAAS,EAAC,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAa,iBAAiB,EAAC,MAAM,kBAAkB,CAAC;AAI/D,OAAO,EACL,cAAc,EACd,8BAA8B,EAE9B,oBAAoB,EACpB,UAAU,EACX,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAAC,YAAY,EAAuB,iBAAiB,EAAC,MAAM,qBAAqB,CAAC;AACzF,OAAO,EAAC,UAAU,EAAE,gBAAgB,EAAC,MAAM,8BAA8B,CAAC;AAQ1E,OAAO,EAAkC,cAAc,EAAC,MAAM,kCAAkC,CAAC;AACjG,OAAO,EACL,mCAAmC,EACnC,wBAAwB,EACzB,MAAM,sEAAsE,CAAC;AAC9E,OAAO,EAAsB,kBAAkB,EAAC,MAAM,oBAAoB,CAAC;AAC3E,OAAO,EAAC,YAAY,EAAC,MAAM,sBAAsB,CAAC;AAIlD,OAAO,EAAC,sBAAsB,EAAC,MAAM,kDAAkD,CAAC;AAExF,KAAK,MAAM,GAAG;IACZ,wBAAwB,EAAE;QAAC,cAAc,EAAE,WAAW,CAAA;KAAC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