@wireapp/core 34.1.6 → 35.0.0
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/README.md +2 -2
- package/{src/main → lib}/Account.d.ts +8 -8
- package/{src/main → lib}/Account.js +12 -12
- package/lib/Account.js.map +1 -0
- package/{src/main → lib}/CoreError.d.ts +1 -1
- package/{src/main → lib}/CoreError.js +0 -0
- package/lib/CoreError.js.map +1 -0
- package/{src/main → lib}/account/AccountService.d.ts +1 -1
- package/{src/main → lib}/account/AccountService.js +0 -0
- package/lib/account/AccountService.js.map +1 -0
- package/{src/main → lib}/account/index.d.ts +0 -0
- package/{src/main → lib}/account/index.js +0 -0
- package/lib/account/index.js.map +1 -0
- package/{src/main → lib}/auth/LoginSanitizer.d.ts +1 -1
- package/{src/main → lib}/auth/LoginSanitizer.js +0 -0
- package/lib/auth/LoginSanitizer.js.map +1 -0
- package/{src/main → lib}/auth/index.d.ts +0 -0
- package/{src/main → lib}/auth/index.js +0 -0
- package/lib/auth/index.js.map +1 -0
- package/{src/main → lib}/broadcast/AvailabilityType.d.ts +0 -0
- package/{src/main → lib}/broadcast/AvailabilityType.js +0 -0
- package/lib/broadcast/AvailabilityType.js.map +1 -0
- package/{src/main → lib}/broadcast/BroadcastService.d.ts +2 -2
- package/{src/main → lib}/broadcast/BroadcastService.js +0 -0
- package/lib/broadcast/BroadcastService.js.map +1 -0
- package/{src/main → lib}/broadcast/index.d.ts +0 -0
- package/{src/main → lib}/broadcast/index.js +0 -0
- package/lib/broadcast/index.js.map +1 -0
- package/{src/main → lib}/client/ClientBackendRepository.d.ts +1 -1
- package/{src/main → lib}/client/ClientBackendRepository.js +0 -0
- package/lib/client/ClientBackendRepository.js.map +1 -0
- package/{src/main → lib}/client/ClientDatabaseRepository.d.ts +1 -1
- package/{src/main → lib}/client/ClientDatabaseRepository.js +0 -0
- package/lib/client/ClientDatabaseRepository.js.map +1 -0
- package/{src/main → lib}/client/ClientInfo.d.ts +1 -1
- package/{src/main → lib}/client/ClientInfo.js +0 -0
- package/lib/client/ClientInfo.js.map +1 -0
- package/{src/main → lib}/client/ClientService.d.ts +2 -2
- package/{src/main → lib}/client/ClientService.js +1 -1
- package/lib/client/ClientService.js.map +1 -0
- package/{src/main → lib}/client/index.d.ts +0 -0
- package/{src/main → lib}/client/index.js +0 -0
- package/lib/client/index.js.map +1 -0
- package/{src/main → lib}/connection/ConnectionService.d.ts +2 -2
- package/{src/main → lib}/connection/ConnectionService.js +1 -1
- package/lib/connection/ConnectionService.js.map +1 -0
- package/{src/main → lib}/connection/index.d.ts +0 -0
- package/{src/main → lib}/connection/index.js +0 -0
- package/lib/connection/index.js.map +1 -0
- package/{src/main → lib}/conversation/AbortReason.d.ts +0 -0
- package/{src/main → lib}/conversation/AbortReason.js +0 -0
- package/lib/conversation/AbortReason.js.map +1 -0
- package/{src/main → lib}/conversation/AssetService/AssetService.d.ts +7 -4
- package/{src/main → lib}/conversation/AssetService/AssetService.js +0 -0
- package/lib/conversation/AssetService/AssetService.js.map +1 -0
- package/{src/main → lib}/conversation/AssetService/index.d.ts +0 -0
- package/{src/main → lib}/conversation/AssetService/index.js +0 -0
- package/lib/conversation/AssetService/index.js.map +1 -0
- package/{src/main → lib}/conversation/AssetTransferState.d.ts +0 -0
- package/{src/main → lib}/conversation/AssetTransferState.js +0 -0
- package/lib/conversation/AssetTransferState.js.map +1 -0
- package/{src/main → lib}/conversation/ClientActionType.d.ts +0 -0
- package/{src/main → lib}/conversation/ClientActionType.js +0 -0
- package/lib/conversation/ClientActionType.js.map +1 -0
- package/{src/main → lib}/conversation/ConversationMapper/ConversationMapper.d.ts +1 -1
- package/{src/main → lib}/conversation/ConversationMapper/ConversationMapper.js +1 -1
- package/lib/conversation/ConversationMapper/ConversationMapper.js.map +1 -0
- package/{src/main → lib}/conversation/ConversationMapper/index.d.ts +0 -0
- package/{src/main → lib}/conversation/ConversationMapper/index.js +0 -0
- package/lib/conversation/ConversationMapper/index.js.map +1 -0
- package/{src/main → lib}/conversation/ConversationService/ConversationService.d.ts +5 -5
- package/{src/main → lib}/conversation/ConversationService/ConversationService.js +2 -2
- package/lib/conversation/ConversationService/ConversationService.js.map +1 -0
- package/{src/main → lib}/conversation/ConversationService/ConversationService.types.d.ts +3 -3
- package/{src/main → lib}/conversation/ConversationService/ConversationService.types.js +0 -0
- package/lib/conversation/ConversationService/ConversationService.types.js.map +1 -0
- package/{src/main → lib}/conversation/ConversationService/index.d.ts +0 -0
- package/{src/main → lib}/conversation/ConversationService/index.js +0 -0
- package/lib/conversation/ConversationService/index.js.map +1 -0
- package/{src/main → lib}/conversation/GenericMessageType.d.ts +0 -0
- package/{src/main → lib}/conversation/GenericMessageType.js +0 -0
- package/lib/conversation/GenericMessageType.js.map +1 -0
- package/{src/main → lib}/conversation/MessageTimer/MessageTimer.d.ts +0 -0
- package/{src/main → lib}/conversation/MessageTimer/MessageTimer.js +0 -0
- package/lib/conversation/MessageTimer/MessageTimer.js.map +1 -0
- package/{src/main → lib}/conversation/MessageTimer/index.d.ts +0 -0
- package/{src/main → lib}/conversation/MessageTimer/index.js +0 -0
- package/lib/conversation/MessageTimer/index.js.map +1 -0
- package/{src/main → lib}/conversation/ReactionType.d.ts +0 -0
- package/{src/main → lib}/conversation/ReactionType.js +0 -0
- package/lib/conversation/ReactionType.js.map +1 -0
- package/{src/main → lib}/conversation/content/AssetContent.d.ts +0 -0
- package/{src/main → lib}/conversation/content/AssetContent.js +0 -0
- package/lib/conversation/content/AssetContent.js.map +1 -0
- package/{src/main → lib}/conversation/content/ButtonActionConfirmationContent.d.ts +0 -0
- package/{src/main → lib}/conversation/content/ButtonActionConfirmationContent.js +0 -0
- package/lib/conversation/content/ButtonActionConfirmationContent.js.map +1 -0
- package/{src/main → lib}/conversation/content/ButtonActionContent.d.ts +0 -0
- package/{src/main → lib}/conversation/content/ButtonActionContent.js +0 -0
- package/lib/conversation/content/ButtonActionContent.js.map +1 -0
- package/{src/main → lib}/conversation/content/CallingContent.d.ts +0 -0
- package/{src/main → lib}/conversation/content/CallingContent.js +0 -0
- package/lib/conversation/content/CallingContent.js.map +1 -0
- package/{src/main → lib}/conversation/content/ClearedContent.d.ts +0 -0
- package/{src/main → lib}/conversation/content/ClearedContent.js +0 -0
- package/lib/conversation/content/ClearedContent.js.map +1 -0
- package/{src/main → lib}/conversation/content/ClientActionContent.d.ts +0 -0
- package/{src/main → lib}/conversation/content/ClientActionContent.js +0 -0
- package/lib/conversation/content/ClientActionContent.js.map +1 -0
- package/{src/main → lib}/conversation/content/ClientAddContent.d.ts +1 -1
- package/{src/main → lib}/conversation/content/ClientAddContent.js +0 -0
- package/lib/conversation/content/ClientAddContent.js.map +1 -0
- package/{src/main → lib}/conversation/content/ClientRemoveContent.d.ts +0 -0
- package/{src/main → lib}/conversation/content/ClientRemoveContent.js +0 -0
- package/lib/conversation/content/ClientRemoveContent.js.map +1 -0
- package/{src/main → lib}/conversation/content/CompositeContent.d.ts +0 -0
- package/{src/main → lib}/conversation/content/CompositeContent.js +0 -0
- package/lib/conversation/content/CompositeContent.js.map +1 -0
- package/{src/main → lib}/conversation/content/ConfirmationContent.d.ts +0 -0
- package/{src/main → lib}/conversation/content/ConfirmationContent.js +0 -0
- package/lib/conversation/content/ConfirmationContent.js.map +1 -0
- package/{src/main → lib}/conversation/content/ContentType.d.ts +1 -1
- package/{src/main → lib}/conversation/content/ContentType.js +0 -0
- package/lib/conversation/content/ContentType.js.map +1 -0
- package/{src/main → lib}/conversation/content/ConversationContent.d.ts +0 -0
- package/{src/main → lib}/conversation/content/ConversationContent.js +0 -0
- package/lib/conversation/content/ConversationContent.js.map +1 -0
- package/{src/main → lib}/conversation/content/DeletedContent.d.ts +0 -0
- package/{src/main → lib}/conversation/content/DeletedContent.js +0 -0
- package/lib/conversation/content/DeletedContent.js.map +1 -0
- package/{src/main → lib}/conversation/content/EditedTextContent.d.ts +0 -0
- package/{src/main → lib}/conversation/content/EditedTextContent.js +0 -0
- package/lib/conversation/content/EditedTextContent.js.map +1 -0
- package/{src/main → lib}/conversation/content/FileContent.d.ts +0 -0
- package/{src/main → lib}/conversation/content/FileContent.js +0 -0
- package/lib/conversation/content/FileContent.js.map +1 -0
- package/{src/main → lib}/conversation/content/HiddenContent.d.ts +0 -0
- package/{src/main → lib}/conversation/content/HiddenContent.js +0 -0
- package/lib/conversation/content/HiddenContent.js.map +1 -0
- package/{src/main → lib}/conversation/content/ImageContent.d.ts +0 -0
- package/{src/main → lib}/conversation/content/ImageContent.js +0 -0
- package/lib/conversation/content/ImageContent.js.map +1 -0
- package/{src/main → lib}/conversation/content/KnockContent.d.ts +0 -0
- package/{src/main → lib}/conversation/content/KnockContent.js +0 -0
- package/lib/conversation/content/KnockContent.js.map +1 -0
- package/{src/main → lib}/conversation/content/LinkPreviewContent.d.ts +0 -0
- package/{src/main → lib}/conversation/content/LinkPreviewContent.js +0 -0
- package/lib/conversation/content/LinkPreviewContent.js.map +1 -0
- package/{src/main → lib}/conversation/content/LocationContent.d.ts +0 -0
- package/{src/main → lib}/conversation/content/LocationContent.js +0 -0
- package/lib/conversation/content/LocationContent.js.map +1 -0
- package/{src/main → lib}/conversation/content/MentionContent.d.ts +0 -0
- package/{src/main → lib}/conversation/content/MentionContent.js +0 -0
- package/lib/conversation/content/MentionContent.js.map +1 -0
- package/{src/main → lib}/conversation/content/QuoteContent.d.ts +0 -0
- package/{src/main → lib}/conversation/content/QuoteContent.js +0 -0
- package/lib/conversation/content/QuoteContent.js.map +1 -0
- package/{src/main → lib}/conversation/content/ReactionContent.d.ts +0 -0
- package/{src/main → lib}/conversation/content/ReactionContent.js +0 -0
- package/lib/conversation/content/ReactionContent.js.map +1 -0
- package/{src/main → lib}/conversation/content/TextContent.d.ts +0 -0
- package/{src/main → lib}/conversation/content/TextContent.js +0 -0
- package/lib/conversation/content/TextContent.js.map +1 -0
- package/{src/main → lib}/conversation/content/TweetContent.d.ts +0 -0
- package/{src/main → lib}/conversation/content/TweetContent.js +0 -0
- package/lib/conversation/content/TweetContent.js.map +1 -0
- package/{src/main → lib}/conversation/content/index.d.ts +1 -1
- package/{src/main → lib}/conversation/content/index.js +0 -0
- package/lib/conversation/content/index.js.map +1 -0
- package/{src/main → lib}/conversation/index.d.ts +0 -0
- package/{src/main → lib}/conversation/index.js +0 -0
- package/lib/conversation/index.js.map +1 -0
- package/{src/main → lib}/conversation/message/CompositeContentBuilder.d.ts +0 -0
- package/{src/main → lib}/conversation/message/CompositeContentBuilder.js +0 -0
- package/lib/conversation/message/CompositeContentBuilder.js.map +1 -0
- package/{src/main → lib}/conversation/message/Message.d.ts +0 -0
- package/{src/main → lib}/conversation/message/Message.js +0 -0
- package/lib/conversation/message/Message.js.map +1 -0
- package/{src/main → lib}/conversation/message/MessageBuilder.d.ts +1 -1
- package/{src/main → lib}/conversation/message/MessageBuilder.js +0 -0
- package/lib/conversation/message/MessageBuilder.js.map +1 -0
- package/{src/main → lib}/conversation/message/MessageService.d.ts +2 -2
- package/{src/main → lib}/conversation/message/MessageService.js +1 -1
- package/lib/conversation/message/MessageService.js.map +1 -0
- package/{src/main → lib}/conversation/message/MessageToProtoMapper.d.ts +0 -0
- package/{src/main → lib}/conversation/message/MessageToProtoMapper.js +0 -0
- package/lib/conversation/message/MessageToProtoMapper.js.map +1 -0
- package/{src/main → lib}/conversation/message/OtrMessage.d.ts +0 -0
- package/{src/main → lib}/conversation/message/OtrMessage.js +0 -0
- package/lib/conversation/message/OtrMessage.js.map +1 -0
- package/{src/main → lib}/conversation/message/PayloadBundle.d.ts +2 -2
- package/{src/main → lib}/conversation/message/PayloadBundle.js +0 -0
- package/lib/conversation/message/PayloadBundle.js.map +1 -0
- package/{src/main → lib}/conversation/message/TeamMessage.d.ts +1 -1
- package/{src/main → lib}/conversation/message/TeamMessage.js +0 -0
- package/lib/conversation/message/TeamMessage.js.map +1 -0
- package/{src/main → lib}/conversation/message/TextContentBuilder.d.ts +0 -0
- package/{src/main → lib}/conversation/message/TextContentBuilder.js +0 -0
- package/lib/conversation/message/TextContentBuilder.js.map +1 -0
- package/{src/main → lib}/conversation/message/UserClientsUtil.d.ts +1 -1
- package/{src/main → lib}/conversation/message/UserClientsUtil.js +0 -0
- package/lib/conversation/message/UserClientsUtil.js.map +1 -0
- package/{src/main → lib}/conversation/message/UserMessage.d.ts +1 -1
- package/{src/main → lib}/conversation/message/UserMessage.js +0 -0
- package/lib/conversation/message/UserMessage.js.map +1 -0
- package/{src/main → lib}/conversation/message/messageSender.d.ts +0 -0
- package/{src/main → lib}/conversation/message/messageSender.js +0 -0
- package/lib/conversation/message/messageSender.js.map +1 -0
- package/{src/main → lib}/cryptography/AssetCryptography/EncryptedAsset.d.ts +0 -0
- package/{src/main → lib}/cryptography/AssetCryptography/EncryptedAsset.js +0 -0
- package/lib/cryptography/AssetCryptography/EncryptedAsset.js.map +1 -0
- package/{src/main → lib}/cryptography/AssetCryptography/crypto.browser.d.ts +0 -0
- package/{src/main → lib}/cryptography/AssetCryptography/crypto.browser.js +0 -0
- package/lib/cryptography/AssetCryptography/crypto.browser.js.map +1 -0
- package/{src/main → lib}/cryptography/AssetCryptography/crypto.node.d.ts +0 -0
- package/{src/main → lib}/cryptography/AssetCryptography/crypto.node.js +0 -0
- package/lib/cryptography/AssetCryptography/crypto.node.js.map +1 -0
- package/{src/main → lib}/cryptography/AssetCryptography/index.d.ts +1 -1
- package/{src/main → lib}/cryptography/AssetCryptography/index.js +0 -0
- package/lib/cryptography/AssetCryptography/index.js.map +1 -0
- package/{src/main → lib}/cryptography/AssetCryptography/interfaces.d.ts +0 -0
- package/{src/main → lib}/cryptography/AssetCryptography/interfaces.js +0 -0
- package/lib/cryptography/AssetCryptography/interfaces.js.map +1 -0
- package/{src/main → lib}/cryptography/CryptographyDatabaseRepository.d.ts +0 -0
- package/{src/main → lib}/cryptography/CryptographyDatabaseRepository.js +0 -0
- package/lib/cryptography/CryptographyDatabaseRepository.js.map +1 -0
- package/{src/main → lib}/cryptography/CryptographyService.d.ts +5 -5
- package/{src/main → lib}/cryptography/CryptographyService.js +0 -0
- package/lib/cryptography/CryptographyService.js.map +1 -0
- package/{src/main → lib}/cryptography/GenericMessageMapper.d.ts +1 -1
- package/{src/main → lib}/cryptography/GenericMessageMapper.js +0 -0
- package/lib/cryptography/GenericMessageMapper.js.map +1 -0
- package/{src/main → lib}/cryptography/MessageHashService.d.ts +0 -0
- package/{src/main → lib}/cryptography/MessageHashService.js +0 -0
- package/lib/cryptography/MessageHashService.js.map +1 -0
- package/{src/main → lib}/cryptography/SessionPayloadBundle.d.ts +0 -0
- package/{src/main → lib}/cryptography/SessionPayloadBundle.js +0 -0
- package/lib/cryptography/SessionPayloadBundle.js.map +1 -0
- package/{src/main → lib}/cryptography/index.d.ts +0 -0
- package/{src/main → lib}/cryptography/index.js +0 -0
- package/lib/cryptography/index.js.map +1 -0
- package/{src/main → lib}/giphy/GiphyService.d.ts +1 -1
- package/{src/main → lib}/giphy/GiphyService.js +0 -0
- package/lib/giphy/GiphyService.js.map +1 -0
- package/{src/main → lib}/giphy/index.d.ts +0 -0
- package/{src/main → lib}/giphy/index.js +0 -0
- package/lib/giphy/index.js.map +1 -0
- package/{src/main → lib}/index.d.ts +0 -0
- package/{src/main → lib}/index.js +0 -0
- package/lib/index.js.map +1 -0
- package/{src/main → lib}/linkPreview/LinkPreviewService.d.ts +0 -0
- package/{src/main → lib}/linkPreview/LinkPreviewService.js +0 -0
- package/lib/linkPreview/LinkPreviewService.js.map +1 -0
- package/{src/main → lib}/linkPreview/index.d.ts +0 -0
- package/{src/main → lib}/linkPreview/index.js +0 -0
- package/lib/linkPreview/index.js.map +1 -0
- package/{src/main → lib}/mls/MLSService/MLSService.d.ts +1 -1
- package/{src/main → lib}/mls/MLSService/MLSService.js +0 -0
- package/lib/mls/MLSService/MLSService.js.map +1 -0
- package/{src/main → lib}/mls/index.d.ts +0 -0
- package/{src/main → lib}/mls/index.js +0 -0
- package/lib/mls/index.js.map +1 -0
- package/{src/main → lib}/mls/keyMaterialUpdatesStore/index.d.ts +0 -0
- package/{src/main → lib}/mls/keyMaterialUpdatesStore/index.js +0 -0
- package/lib/mls/keyMaterialUpdatesStore/index.js.map +1 -0
- package/{src/main → lib}/mls/keyMaterialUpdatesStore/keyMaterialUpdatesStore.d.ts +0 -0
- package/{src/main → lib}/mls/keyMaterialUpdatesStore/keyMaterialUpdatesStore.js +0 -0
- package/lib/mls/keyMaterialUpdatesStore/keyMaterialUpdatesStore.js.map +1 -0
- package/{src/main → lib}/mls/keyPackagesStatusStore/keyPackagesStatusStore.d.ts +0 -0
- package/{src/main → lib}/mls/keyPackagesStatusStore/keyPackagesStatusStore.js +0 -0
- package/lib/mls/keyPackagesStatusStore/keyPackagesStatusStore.js.map +1 -0
- package/{src/main → lib}/mls/types.d.ts +1 -1
- package/{src/main → lib}/mls/types.js +0 -0
- package/lib/mls/types.js.map +1 -0
- package/{src/main → lib}/notification/NotificationBackendRepository.d.ts +1 -1
- package/{src/main → lib}/notification/NotificationBackendRepository.js +0 -0
- package/lib/notification/NotificationBackendRepository.js.map +1 -0
- package/{src/main → lib}/notification/NotificationDatabaseRepository.d.ts +2 -2
- package/{src/main → lib}/notification/NotificationDatabaseRepository.js +0 -0
- package/lib/notification/NotificationDatabaseRepository.js.map +1 -0
- package/{src/main → lib}/notification/NotificationService.d.ts +3 -3
- package/{src/main → lib}/notification/NotificationService.js +1 -1
- package/lib/notification/NotificationService.js.map +1 -0
- package/{src/main → lib}/notification/index.d.ts +0 -0
- package/{src/main → lib}/notification/index.js +0 -0
- package/lib/notification/index.js.map +1 -0
- package/{src/main → lib}/notification/types.d.ts +0 -0
- package/{src/main → lib}/notification/types.js +0 -0
- package/lib/notification/types.js.map +1 -0
- package/{src/main → lib}/self/SelfService.d.ts +1 -1
- package/{src/main → lib}/self/SelfService.js +0 -0
- package/lib/self/SelfService.js.map +1 -0
- package/{src/main → lib}/self/index.d.ts +0 -0
- package/{src/main → lib}/self/index.js +0 -0
- package/lib/self/index.js.map +1 -0
- package/{src/main → lib}/team/TeamService.d.ts +1 -1
- package/{src/main → lib}/team/TeamService.js +0 -0
- package/lib/team/TeamService.js.map +1 -0
- package/{src/main → lib}/team/index.d.ts +0 -0
- package/{src/main → lib}/team/index.js +0 -0
- package/lib/team/index.js.map +1 -0
- package/{src/main → lib}/user/UserMapper.d.ts +1 -1
- package/{src/main → lib}/user/UserMapper.js +1 -1
- package/lib/user/UserMapper.js.map +1 -0
- package/{src/main → lib}/user/UserService.d.ts +1 -1
- package/{src/main → lib}/user/UserService.js +1 -1
- package/lib/user/UserService.js.map +1 -0
- package/{src/main → lib}/user/index.d.ts +0 -0
- package/{src/main → lib}/user/index.js +0 -0
- package/lib/user/index.js.map +1 -0
- package/{src/main → lib}/util/LowPrecisionTaskScheduler/LowPrecisionTaskScheduler.d.ts +0 -0
- package/{src/main → lib}/util/LowPrecisionTaskScheduler/LowPrecisionTaskScheduler.js +0 -0
- package/lib/util/LowPrecisionTaskScheduler/LowPrecisionTaskScheduler.js.map +1 -0
- package/{src/main → lib}/util/TaskScheduler/TaskScheduler.d.ts +0 -0
- package/{src/main → lib}/util/TaskScheduler/TaskScheduler.js +0 -0
- package/lib/util/TaskScheduler/TaskScheduler.js.map +1 -0
- package/{src/main → lib}/util/TypePredicateUtil.d.ts +2 -2
- package/{src/main → lib}/util/TypePredicateUtil.js +0 -0
- package/lib/util/TypePredicateUtil.js.map +1 -0
- package/{src/main → lib}/util/encryptedStore.d.ts +0 -0
- package/{src/main → lib}/util/encryptedStore.js +0 -0
- package/lib/util/encryptedStore.js.map +1 -0
- package/lib/util/encryptedStore.test.node.d.ts +1 -0
- package/lib/util/encryptedStore.test.node.js +54 -0
- package/lib/util/encryptedStore.test.node.js.map +1 -0
- package/{src/main → lib}/util/fullyQualifiedClientIdUtils.d.ts +1 -1
- package/{src/main → lib}/util/fullyQualifiedClientIdUtils.js +0 -0
- package/lib/util/fullyQualifiedClientIdUtils.js.map +1 -0
- package/{src/main → lib}/util/index.d.ts +0 -0
- package/{src/main → lib}/util/index.js +0 -0
- package/lib/util/index.js.map +1 -0
- package/package.json +23 -23
- package/src/main/test/AccountHelper.js +0 -21
- package/src/main/test/CryptographyHelper.d.ts +0 -4
- package/src/main/test/CryptographyHelper.js +0 -69
- package/src/main/test/PayloadHelper.d.ts +0 -3
- package/src/main/test/PayloadHelper.js +0 -66
- package/src/main/test/StoreHelper.js +0 -9
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fullyQualifiedClientIdUtils.js","sourceRoot":"","sources":["../../src/util/fullyQualifiedClientIdUtils.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;AASI,MAAM,+BAA+B,GAAG,CAC7C,MAAc,EACd,QAAkB,EAClB,MAAc,EACM,EAAE,CAAC,GAAG,MAAM,IAAI,QAAQ,IAAI,MAAM,EAAE,CAAC;AAJ9C,QAAA,+BAA+B,mCAIe;AAEpD,MAAM,0BAA0B,GAAG,CAAC,WAAmB,EAAoD,EAAE;;IAClH,MAAM,MAAM,GAAG,qDAAqD,CAAC;IACrE,MAAM,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC,GAAG,MAAA,WAAW,CAAC,KAAK,CAAC,MAAM,CAAC,mCAAI,EAAE,CAAC;IACjE,IAAI,CAAC,IAAI,IAAI,CAAC,MAAM,IAAI,CAAC,MAAM,EAAE;QAC/B,MAAM,IAAI,KAAK,CAAC,iDAAiD,WAAW,GAAG,CAAC,CAAC;KAClF;IACD,OAAO,EAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAC,CAAC;AAChC,CAAC,CAAC;AAPW,QAAA,0BAA0B,8BAOrC;AAEK,MAAM,kDAAkD,GAAG,CAAC,gBAAwC,EAAE,EAAE;IAC7G,MAAM,OAAO,GAAG,IAAI,WAAW,EAAE,CAAC;IAClC,OAAO,MAAM,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,EAAE,KAAK,CAAC,EAAE,EAAE;QAClE,MAAM,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;QACtC,OAAO,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,EAAE,CAC3C,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,uCAA+B,EAAC,MAAM,EAAE,MAAM,CAAC,EAAE,EAAE,MAAM,CAAC,CAAC,CAAC,CAClG,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC;AARW,QAAA,kDAAkD,sDAQ7D"}
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/util/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;;;;;;;;;;;;;;AAEH,sDAAoC"}
|
package/package.json
CHANGED
|
@@ -1,17 +1,25 @@
|
|
|
1
1
|
{
|
|
2
|
+
"name": "@wireapp/core",
|
|
3
|
+
"license": "GPL-3.0",
|
|
4
|
+
"description": "Wire for Web's communication core.",
|
|
5
|
+
"repository": "https://github.com/wireapp/wire-web-packages/tree/main/packages/core",
|
|
6
|
+
"files": [
|
|
7
|
+
"lib"
|
|
8
|
+
],
|
|
9
|
+
"main": "lib/index",
|
|
2
10
|
"browser": {
|
|
3
|
-
"./
|
|
11
|
+
"./lib/cryptography/AssetCryptography/crypto.node": "./lib/cryptography/AssetCryptography/crypto.browser.js"
|
|
4
12
|
},
|
|
5
13
|
"dependencies": {
|
|
6
|
-
"@wireapp/api-client": "^
|
|
7
|
-
"@wireapp/commons": "^
|
|
14
|
+
"@wireapp/api-client": "^22.0.0",
|
|
15
|
+
"@wireapp/commons": "^5.0.0",
|
|
8
16
|
"@wireapp/core-crypto": "0.5.2",
|
|
9
17
|
"@wireapp/cryptobox": "12.8.0",
|
|
10
|
-
"@wireapp/promise-queue": "^
|
|
18
|
+
"@wireapp/promise-queue": "^2.0.0",
|
|
11
19
|
"@wireapp/protocol-messaging": "1.42.0",
|
|
12
|
-
"@wireapp/store-engine-dexie": "^
|
|
20
|
+
"@wireapp/store-engine-dexie": "^2.0.0",
|
|
13
21
|
"axios": "1.1.2",
|
|
14
|
-
"bazinga64": "
|
|
22
|
+
"bazinga64": "6.0.0",
|
|
15
23
|
"hash.js": "1.1.7",
|
|
16
24
|
"http-status-codes": "2.2.0",
|
|
17
25
|
"idb": "7.1.0",
|
|
@@ -25,6 +33,7 @@
|
|
|
25
33
|
"@swc/jest": "^0.2.23",
|
|
26
34
|
"@types/jest": "^29.2.0",
|
|
27
35
|
"@types/long": "^5.0.0",
|
|
36
|
+
"@types/rimraf": "^3.0.2",
|
|
28
37
|
"@types/tough-cookie": "4.0.2",
|
|
29
38
|
"@wireapp/commons": "workspace:^",
|
|
30
39
|
"@wireapp/store-engine-dexie": "workspace:^",
|
|
@@ -34,25 +43,16 @@
|
|
|
34
43
|
"jest": "^29.2.1",
|
|
35
44
|
"jest-websocket-mock": "2.4.0",
|
|
36
45
|
"mock-socket": "9.1.5",
|
|
37
|
-
"nock": "13.2.9"
|
|
46
|
+
"nock": "13.2.9",
|
|
47
|
+
"rimraf": "^3.0.2",
|
|
48
|
+
"typescript": "^4.8.4"
|
|
38
49
|
},
|
|
39
|
-
"description": "Wire for Web's communication core.",
|
|
40
|
-
"files": [
|
|
41
|
-
"src/main/**/*.d.ts",
|
|
42
|
-
"src/main/**/*.js",
|
|
43
|
-
"!src/main/**/*test*.js",
|
|
44
|
-
"!src/main/**/*test*.ts"
|
|
45
|
-
],
|
|
46
|
-
"license": "GPL-3.0",
|
|
47
|
-
"main": "src/main/index",
|
|
48
|
-
"name": "@wireapp/core",
|
|
49
|
-
"repository": "https://github.com/wireapp/wire-web-packages/tree/main/packages/core",
|
|
50
50
|
"scripts": {
|
|
51
|
-
"build": "tsc",
|
|
52
|
-
"clean": "rimraf .tmp
|
|
51
|
+
"build": "yarn clean && tsc",
|
|
52
|
+
"clean": "rimraf .tmp lib",
|
|
53
|
+
"dist": "yarn build",
|
|
53
54
|
"demo:composite": "cross-env NODE_DEBUG='@wireapp*' ts-node src/demo/composite.ts",
|
|
54
55
|
"demo:sendCounter": "cross-env NODE_DEBUG='@wireapp*' ts-node src/demo/sendCounter.ts",
|
|
55
|
-
"dist": "yarn clean && yarn build",
|
|
56
56
|
"start": "yarn dist && node index.js",
|
|
57
57
|
"start:echo": "cross-env NODE_DEBUG='@wireapp/core*' node src/demo/echo.js",
|
|
58
58
|
"start:sender": "cross-env NODE_DEBUG='@wireapp/core*' node src/demo/sender.js",
|
|
@@ -60,6 +60,6 @@
|
|
|
60
60
|
"test:coverage": "jest --coverage",
|
|
61
61
|
"watch": "tsc --watch"
|
|
62
62
|
},
|
|
63
|
-
"version": "
|
|
64
|
-
"gitHead": "
|
|
63
|
+
"version": "35.0.0",
|
|
64
|
+
"gitHead": "2d645a80b9db0e9db3f735e6063d036433a41e36"
|
|
65
65
|
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
const StoreHelper = require('./StoreHelper');
|
|
2
|
-
const {Account} = require('@wireapp/core');
|
|
3
|
-
const {APIClient} = require('@wireapp/api-client');
|
|
4
|
-
const {ClientType} = require('@wireapp/api-client/src/client/');
|
|
5
|
-
|
|
6
|
-
module.exports = {
|
|
7
|
-
getAccount: async function (email, password) {
|
|
8
|
-
const login = {
|
|
9
|
-
clientType: ClientType.TEMPORARY,
|
|
10
|
-
email,
|
|
11
|
-
password,
|
|
12
|
-
};
|
|
13
|
-
const backend = APIClient.BACKEND.STAGING;
|
|
14
|
-
const engine = await StoreHelper.createMemoryEngine(email);
|
|
15
|
-
const apiClient = new APIClient({store: engine, urls: backend});
|
|
16
|
-
const account = new Account(apiClient);
|
|
17
|
-
await account.login(login);
|
|
18
|
-
await account.listen();
|
|
19
|
-
return account;
|
|
20
|
-
},
|
|
21
|
-
};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { keys } from '@wireapp/proteus';
|
|
2
|
-
import { CryptographyService } from '../cryptography';
|
|
3
|
-
export declare function createEncodedCipherText(receiver: keys.IdentityKeyPair, preKey: keys.PreKey, text: string): Promise<string>;
|
|
4
|
-
export declare function getPlainText(cryptographyService: CryptographyService, encodedPreKeyMessage: string, sessionId?: string): Promise<string | void>;
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Wire
|
|
4
|
-
* Copyright (C) 2018 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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
32
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
33
|
-
}) : function(o, v) {
|
|
34
|
-
o["default"] = v;
|
|
35
|
-
});
|
|
36
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
37
|
-
if (mod && mod.__esModule) return mod;
|
|
38
|
-
var result = {};
|
|
39
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
40
|
-
__setModuleDefault(result, mod);
|
|
41
|
-
return result;
|
|
42
|
-
};
|
|
43
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
44
|
-
exports.getPlainText = exports.createEncodedCipherText = void 0;
|
|
45
|
-
const cryptobox_1 = require("@wireapp/cryptobox");
|
|
46
|
-
const proteus_1 = require("@wireapp/proteus");
|
|
47
|
-
const bazinga64 = __importStar(require("bazinga64"));
|
|
48
|
-
const StoreHelper = require('./StoreHelper');
|
|
49
|
-
async function createEncodedCipherText(receiver, preKey, text) {
|
|
50
|
-
await (0, proteus_1.init)();
|
|
51
|
-
const senderEngine = await StoreHelper.createMemoryEngine();
|
|
52
|
-
const sender = new cryptobox_1.Cryptobox(senderEngine, 1);
|
|
53
|
-
await sender.create();
|
|
54
|
-
const sessionId = `from-${sender['identity'].public_key.fingerprint()}-to-${preKey.key_pair.public_key.fingerprint()}`;
|
|
55
|
-
const alicePublicKey = receiver.public_key;
|
|
56
|
-
const publicPreKeyBundle = new proteus_1.keys.PreKeyBundle(alicePublicKey, preKey);
|
|
57
|
-
const encryptedPreKeyMessage = await sender.encrypt(sessionId, text, publicPreKeyBundle.serialise());
|
|
58
|
-
return bazinga64.Encoder.toBase64(encryptedPreKeyMessage).asString;
|
|
59
|
-
}
|
|
60
|
-
exports.createEncodedCipherText = createEncodedCipherText;
|
|
61
|
-
async function getPlainText(cryptographyService, encodedPreKeyMessage, sessionId = `temp-${Date.now()}`) {
|
|
62
|
-
try {
|
|
63
|
-
const decryptedMessage = await cryptographyService.decrypt(sessionId, encodedPreKeyMessage);
|
|
64
|
-
return Buffer.from(decryptedMessage).toString('utf8');
|
|
65
|
-
}
|
|
66
|
-
catch (error) { }
|
|
67
|
-
}
|
|
68
|
-
exports.getPlainText = getPlainText;
|
|
69
|
-
//# sourceMappingURL=CryptographyHelper.js.map
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Wire
|
|
4
|
-
* Copyright (C) 2018 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 __importDefault = (this && this.__importDefault) || function (mod) {
|
|
21
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
22
|
-
};
|
|
23
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24
|
-
exports.mockUserPayload = exports.getUrlParameter = exports.getUUID = void 0;
|
|
25
|
-
const faker_1 = require("@faker-js/faker");
|
|
26
|
-
const uuidjs_1 = __importDefault(require("uuidjs"));
|
|
27
|
-
function getUUID() {
|
|
28
|
-
return uuidjs_1.default.genV4().toString();
|
|
29
|
-
}
|
|
30
|
-
exports.getUUID = getUUID;
|
|
31
|
-
function getUrlParameter(url, parameter) {
|
|
32
|
-
if (typeof window === 'undefined') {
|
|
33
|
-
return require('url').parse(url, true).query[parameter];
|
|
34
|
-
}
|
|
35
|
-
return new URL(url).searchParams.get(parameter);
|
|
36
|
-
}
|
|
37
|
-
exports.getUrlParameter = getUrlParameter;
|
|
38
|
-
function mockUserPayload(userId) {
|
|
39
|
-
return {
|
|
40
|
-
accent_id: 3,
|
|
41
|
-
assets: [],
|
|
42
|
-
id: userId,
|
|
43
|
-
locale: 'en',
|
|
44
|
-
name: faker_1.faker.name.fullName(),
|
|
45
|
-
picture: [
|
|
46
|
-
{
|
|
47
|
-
content_length: 263345,
|
|
48
|
-
content_type: 'image/jpeg',
|
|
49
|
-
data: null,
|
|
50
|
-
id: getUUID(),
|
|
51
|
-
info: {
|
|
52
|
-
correlation_id: getUUID(),
|
|
53
|
-
height: 960,
|
|
54
|
-
nonce: getUUID(),
|
|
55
|
-
original_height: 960,
|
|
56
|
-
original_width: 1280,
|
|
57
|
-
public: true,
|
|
58
|
-
tag: 'medium',
|
|
59
|
-
width: 1280,
|
|
60
|
-
},
|
|
61
|
-
},
|
|
62
|
-
],
|
|
63
|
-
};
|
|
64
|
-
}
|
|
65
|
-
exports.mockUserPayload = mockUserPayload;
|
|
66
|
-
//# sourceMappingURL=PayloadHelper.js.map
|