@wireapp/core 36.4.0 → 36.4.4

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 (513) hide show
  1. package/lib/Account.d.ts +4 -4
  2. package/lib/Account.d.ts.map +1 -0
  3. package/lib/Account.js +8 -9
  4. package/lib/CoreError.d.ts +1 -0
  5. package/lib/CoreError.d.ts.map +1 -0
  6. package/lib/CoreError.js +0 -1
  7. package/lib/account/AccountService.d.ts +2 -1
  8. package/lib/account/AccountService.d.ts.map +1 -0
  9. package/lib/account/AccountService.js +0 -1
  10. package/lib/account/index.d.ts +1 -0
  11. package/lib/account/index.d.ts.map +1 -0
  12. package/lib/account/index.js +0 -1
  13. package/lib/auth/LoginSanitizer.d.ts +1 -0
  14. package/lib/auth/LoginSanitizer.d.ts.map +1 -0
  15. package/lib/auth/LoginSanitizer.js +0 -1
  16. package/lib/auth/index.d.ts +1 -0
  17. package/lib/auth/index.d.ts.map +1 -0
  18. package/lib/auth/index.js +0 -1
  19. package/lib/broadcast/AvailabilityType.d.ts +1 -0
  20. package/lib/broadcast/AvailabilityType.d.ts.map +1 -0
  21. package/lib/broadcast/AvailabilityType.js +0 -1
  22. package/lib/broadcast/BroadcastService.d.ts +2 -1
  23. package/lib/broadcast/BroadcastService.d.ts.map +1 -0
  24. package/lib/broadcast/BroadcastService.js +0 -1
  25. package/lib/broadcast/index.d.ts +1 -0
  26. package/lib/broadcast/index.d.ts.map +1 -0
  27. package/lib/broadcast/index.js +0 -1
  28. package/lib/client/ClientBackendRepository.d.ts +2 -1
  29. package/lib/client/ClientBackendRepository.d.ts.map +1 -0
  30. package/lib/client/ClientBackendRepository.js +0 -1
  31. package/lib/client/ClientDatabaseRepository.d.ts +2 -1
  32. package/lib/client/ClientDatabaseRepository.d.ts.map +1 -0
  33. package/lib/client/ClientDatabaseRepository.js +0 -1
  34. package/lib/client/ClientInfo.d.ts +1 -0
  35. package/lib/client/ClientInfo.d.ts.map +1 -0
  36. package/lib/client/ClientInfo.js +0 -1
  37. package/lib/client/ClientService.d.ts +2 -1
  38. package/lib/client/ClientService.d.ts.map +1 -0
  39. package/lib/client/ClientService.js +0 -1
  40. package/lib/client/index.d.ts +1 -0
  41. package/lib/client/index.d.ts.map +1 -0
  42. package/lib/client/index.js +0 -1
  43. package/lib/connection/ConnectionService.d.ts +2 -1
  44. package/lib/connection/ConnectionService.d.ts.map +1 -0
  45. package/lib/connection/ConnectionService.js +0 -1
  46. package/lib/connection/index.d.ts +1 -0
  47. package/lib/connection/index.d.ts.map +1 -0
  48. package/lib/connection/index.js +0 -1
  49. package/lib/conversation/AbortReason.d.ts +1 -0
  50. package/lib/conversation/AbortReason.d.ts.map +1 -0
  51. package/lib/conversation/AbortReason.js +0 -1
  52. package/lib/conversation/AssetService/AssetService.d.ts +2 -1
  53. package/lib/conversation/AssetService/AssetService.d.ts.map +1 -0
  54. package/lib/conversation/AssetService/AssetService.js +0 -1
  55. package/lib/conversation/AssetService/index.d.ts +1 -0
  56. package/lib/conversation/AssetService/index.d.ts.map +1 -0
  57. package/lib/conversation/AssetService/index.js +0 -1
  58. package/lib/conversation/AssetTransferState.d.ts +1 -0
  59. package/lib/conversation/AssetTransferState.d.ts.map +1 -0
  60. package/lib/conversation/AssetTransferState.js +0 -1
  61. package/lib/conversation/ClientActionType.d.ts +1 -0
  62. package/lib/conversation/ClientActionType.d.ts.map +1 -0
  63. package/lib/conversation/ClientActionType.js +0 -1
  64. package/lib/conversation/ConversationMapper/ConversationMapper.d.ts +1 -0
  65. package/lib/conversation/ConversationMapper/ConversationMapper.d.ts.map +1 -0
  66. package/lib/conversation/ConversationMapper/ConversationMapper.js +0 -1
  67. package/lib/conversation/ConversationMapper/index.d.ts +1 -0
  68. package/lib/conversation/ConversationMapper/index.d.ts.map +1 -0
  69. package/lib/conversation/ConversationMapper/index.js +0 -1
  70. package/lib/conversation/ConversationService/ConversationService.d.ts +5 -4
  71. package/lib/conversation/ConversationService/ConversationService.d.ts.map +1 -0
  72. package/lib/conversation/ConversationService/ConversationService.js +6 -7
  73. package/lib/conversation/ConversationService/ConversationService.types.d.ts +3 -2
  74. package/lib/conversation/ConversationService/ConversationService.types.d.ts.map +1 -0
  75. package/lib/conversation/ConversationService/ConversationService.types.js +0 -1
  76. package/lib/conversation/ConversationService/index.d.ts +1 -0
  77. package/lib/conversation/ConversationService/index.d.ts.map +1 -0
  78. package/lib/conversation/ConversationService/index.js +0 -1
  79. package/lib/conversation/GenericMessageType.d.ts +1 -0
  80. package/lib/conversation/GenericMessageType.d.ts.map +1 -0
  81. package/lib/conversation/GenericMessageType.js +0 -1
  82. package/lib/conversation/MessageTimer/MessageTimer.d.ts +1 -0
  83. package/lib/conversation/MessageTimer/MessageTimer.d.ts.map +1 -0
  84. package/lib/conversation/MessageTimer/MessageTimer.js +0 -1
  85. package/lib/conversation/MessageTimer/index.d.ts +1 -0
  86. package/lib/conversation/MessageTimer/index.d.ts.map +1 -0
  87. package/lib/conversation/MessageTimer/index.js +0 -1
  88. package/lib/conversation/ReactionType.d.ts +1 -0
  89. package/lib/conversation/ReactionType.d.ts.map +1 -0
  90. package/lib/conversation/ReactionType.js +0 -1
  91. package/lib/conversation/content/AssetContent.d.ts +2 -1
  92. package/lib/conversation/content/AssetContent.d.ts.map +1 -0
  93. package/lib/conversation/content/AssetContent.js +0 -1
  94. package/lib/conversation/content/ButtonActionConfirmationContent.d.ts +1 -0
  95. package/lib/conversation/content/ButtonActionConfirmationContent.d.ts.map +1 -0
  96. package/lib/conversation/content/ButtonActionConfirmationContent.js +0 -1
  97. package/lib/conversation/content/ButtonActionContent.d.ts +1 -0
  98. package/lib/conversation/content/ButtonActionContent.d.ts.map +1 -0
  99. package/lib/conversation/content/ButtonActionContent.js +0 -1
  100. package/lib/conversation/content/CallingContent.d.ts +1 -0
  101. package/lib/conversation/content/CallingContent.d.ts.map +1 -0
  102. package/lib/conversation/content/CallingContent.js +0 -1
  103. package/lib/conversation/content/ClearedContent.d.ts +1 -0
  104. package/lib/conversation/content/ClearedContent.d.ts.map +1 -0
  105. package/lib/conversation/content/ClearedContent.js +0 -1
  106. package/lib/conversation/content/ClientActionContent.d.ts +1 -0
  107. package/lib/conversation/content/ClientActionContent.d.ts.map +1 -0
  108. package/lib/conversation/content/ClientActionContent.js +0 -1
  109. package/lib/conversation/content/ClientAddContent.d.ts +1 -0
  110. package/lib/conversation/content/ClientAddContent.d.ts.map +1 -0
  111. package/lib/conversation/content/ClientAddContent.js +0 -1
  112. package/lib/conversation/content/ClientRemoveContent.d.ts +1 -0
  113. package/lib/conversation/content/ClientRemoveContent.d.ts.map +1 -0
  114. package/lib/conversation/content/ClientRemoveContent.js +0 -1
  115. package/lib/conversation/content/CompositeContent.d.ts +1 -0
  116. package/lib/conversation/content/CompositeContent.d.ts.map +1 -0
  117. package/lib/conversation/content/CompositeContent.js +0 -1
  118. package/lib/conversation/content/ConfirmationContent.d.ts +1 -0
  119. package/lib/conversation/content/ConfirmationContent.d.ts.map +1 -0
  120. package/lib/conversation/content/ConfirmationContent.js +0 -1
  121. package/lib/conversation/content/ContentType.d.ts +1 -0
  122. package/lib/conversation/content/ContentType.d.ts.map +1 -0
  123. package/lib/conversation/content/ContentType.js +0 -1
  124. package/lib/conversation/content/ConversationContent.d.ts +1 -0
  125. package/lib/conversation/content/ConversationContent.d.ts.map +1 -0
  126. package/lib/conversation/content/ConversationContent.js +0 -1
  127. package/lib/conversation/content/DeletedContent.d.ts +1 -0
  128. package/lib/conversation/content/DeletedContent.d.ts.map +1 -0
  129. package/lib/conversation/content/DeletedContent.js +0 -1
  130. package/lib/conversation/content/EditedTextContent.d.ts +1 -0
  131. package/lib/conversation/content/EditedTextContent.d.ts.map +1 -0
  132. package/lib/conversation/content/EditedTextContent.js +0 -1
  133. package/lib/conversation/content/FileContent.d.ts +1 -0
  134. package/lib/conversation/content/FileContent.d.ts.map +1 -0
  135. package/lib/conversation/content/FileContent.js +0 -1
  136. package/lib/conversation/content/HiddenContent.d.ts +1 -0
  137. package/lib/conversation/content/HiddenContent.d.ts.map +1 -0
  138. package/lib/conversation/content/HiddenContent.js +0 -1
  139. package/lib/conversation/content/ImageContent.d.ts +1 -0
  140. package/lib/conversation/content/ImageContent.d.ts.map +1 -0
  141. package/lib/conversation/content/ImageContent.js +0 -1
  142. package/lib/conversation/content/KnockContent.d.ts +1 -0
  143. package/lib/conversation/content/KnockContent.d.ts.map +1 -0
  144. package/lib/conversation/content/KnockContent.js +0 -1
  145. package/lib/conversation/content/LinkPreviewContent.d.ts +1 -0
  146. package/lib/conversation/content/LinkPreviewContent.d.ts.map +1 -0
  147. package/lib/conversation/content/LinkPreviewContent.js +0 -1
  148. package/lib/conversation/content/LocationContent.d.ts +1 -0
  149. package/lib/conversation/content/LocationContent.d.ts.map +1 -0
  150. package/lib/conversation/content/LocationContent.js +0 -1
  151. package/lib/conversation/content/MentionContent.d.ts +1 -0
  152. package/lib/conversation/content/MentionContent.d.ts.map +1 -0
  153. package/lib/conversation/content/MentionContent.js +0 -1
  154. package/lib/conversation/content/QuoteContent.d.ts +1 -0
  155. package/lib/conversation/content/QuoteContent.d.ts.map +1 -0
  156. package/lib/conversation/content/QuoteContent.js +0 -1
  157. package/lib/conversation/content/ReactionContent.d.ts +2 -1
  158. package/lib/conversation/content/ReactionContent.d.ts.map +1 -0
  159. package/lib/conversation/content/ReactionContent.js +0 -1
  160. package/lib/conversation/content/TextContent.d.ts +1 -0
  161. package/lib/conversation/content/TextContent.d.ts.map +1 -0
  162. package/lib/conversation/content/TextContent.js +0 -1
  163. package/lib/conversation/content/TweetContent.d.ts +1 -0
  164. package/lib/conversation/content/TweetContent.d.ts.map +1 -0
  165. package/lib/conversation/content/TweetContent.js +0 -1
  166. package/lib/conversation/content/index.d.ts +1 -0
  167. package/lib/conversation/content/index.d.ts.map +1 -0
  168. package/lib/conversation/content/index.js +0 -1
  169. package/lib/conversation/index.d.ts +1 -0
  170. package/lib/conversation/index.d.ts.map +1 -0
  171. package/lib/conversation/index.js +0 -1
  172. package/lib/conversation/message/CompositeContentBuilder.d.ts +2 -1
  173. package/lib/conversation/message/CompositeContentBuilder.d.ts.map +1 -0
  174. package/lib/conversation/message/CompositeContentBuilder.js +1 -2
  175. package/lib/conversation/message/Message.d.ts +1 -0
  176. package/lib/conversation/message/Message.d.ts.map +1 -0
  177. package/lib/conversation/message/Message.js +0 -1
  178. package/lib/conversation/message/MessageBuilder.d.ts +3 -2
  179. package/lib/conversation/message/MessageBuilder.d.ts.map +1 -0
  180. package/lib/conversation/message/MessageBuilder.js +4 -8
  181. package/lib/conversation/message/MessageService.d.ts +3 -2
  182. package/lib/conversation/message/MessageService.d.ts.map +1 -0
  183. package/lib/conversation/message/MessageService.js +7 -8
  184. package/lib/conversation/message/MessageToProtoMapper.d.ts +2 -1
  185. package/lib/conversation/message/MessageToProtoMapper.d.ts.map +1 -0
  186. package/lib/conversation/message/MessageToProtoMapper.js +0 -1
  187. package/lib/conversation/message/OtrMessage.d.ts +2 -1
  188. package/lib/conversation/message/OtrMessage.d.ts.map +1 -0
  189. package/lib/conversation/message/OtrMessage.js +0 -1
  190. package/lib/conversation/message/PayloadBundle.d.ts +2 -1
  191. package/lib/conversation/message/PayloadBundle.d.ts.map +1 -0
  192. package/lib/conversation/message/PayloadBundle.js +0 -1
  193. package/lib/conversation/message/TeamMessage.d.ts +1 -0
  194. package/lib/conversation/message/TeamMessage.d.ts.map +1 -0
  195. package/lib/conversation/message/TeamMessage.js +0 -1
  196. package/lib/conversation/message/TextContentBuilder.d.ts +2 -1
  197. package/lib/conversation/message/TextContentBuilder.d.ts.map +1 -0
  198. package/lib/conversation/message/TextContentBuilder.js +0 -1
  199. package/lib/conversation/message/UserClientsUtil.d.ts +1 -0
  200. package/lib/conversation/message/UserClientsUtil.d.ts.map +1 -0
  201. package/lib/conversation/message/UserClientsUtil.js +0 -1
  202. package/lib/conversation/message/UserMessage.d.ts +1 -0
  203. package/lib/conversation/message/UserMessage.d.ts.map +1 -0
  204. package/lib/conversation/message/UserMessage.js +0 -1
  205. package/lib/conversation/message/messageSender.d.ts +1 -0
  206. package/lib/conversation/message/messageSender.d.ts.map +1 -0
  207. package/lib/conversation/message/messageSender.js +0 -1
  208. package/lib/cryptography/AssetCryptography/EncryptedAsset.d.ts +1 -0
  209. package/lib/cryptography/AssetCryptography/EncryptedAsset.d.ts.map +1 -0
  210. package/lib/cryptography/AssetCryptography/EncryptedAsset.js +0 -1
  211. package/lib/cryptography/AssetCryptography/crypto.browser.d.ts +1 -0
  212. package/lib/cryptography/AssetCryptography/crypto.browser.d.ts.map +1 -0
  213. package/lib/cryptography/AssetCryptography/crypto.browser.js +0 -1
  214. package/lib/cryptography/AssetCryptography/crypto.node.d.ts +1 -0
  215. package/lib/cryptography/AssetCryptography/crypto.node.d.ts.map +1 -0
  216. package/lib/cryptography/AssetCryptography/crypto.node.js +0 -1
  217. package/lib/cryptography/AssetCryptography/index.d.ts +1 -0
  218. package/lib/cryptography/AssetCryptography/index.d.ts.map +1 -0
  219. package/lib/cryptography/AssetCryptography/index.js +0 -1
  220. package/lib/cryptography/AssetCryptography/interfaces.d.ts +1 -0
  221. package/lib/cryptography/AssetCryptography/interfaces.d.ts.map +1 -0
  222. package/lib/cryptography/AssetCryptography/interfaces.js +0 -1
  223. package/lib/cryptography/CryptographyDatabaseRepository.d.ts +1 -0
  224. package/lib/cryptography/CryptographyDatabaseRepository.d.ts.map +1 -0
  225. package/lib/cryptography/CryptographyDatabaseRepository.js +0 -1
  226. package/lib/cryptography/CryptographyService.d.ts +2 -1
  227. package/lib/cryptography/CryptographyService.d.ts.map +1 -0
  228. package/lib/cryptography/CryptographyService.js +4 -5
  229. package/lib/cryptography/GenericMessageMapper.d.ts +1 -0
  230. package/lib/cryptography/GenericMessageMapper.d.ts.map +1 -0
  231. package/lib/cryptography/GenericMessageMapper.js +0 -1
  232. package/lib/cryptography/MessageHashService.d.ts +1 -0
  233. package/lib/cryptography/MessageHashService.d.ts.map +1 -0
  234. package/lib/cryptography/MessageHashService.js +0 -1
  235. package/lib/cryptography/SessionPayloadBundle.d.ts +1 -0
  236. package/lib/cryptography/SessionPayloadBundle.d.ts.map +1 -0
  237. package/lib/cryptography/SessionPayloadBundle.js +0 -1
  238. package/lib/cryptography/index.d.ts +1 -0
  239. package/lib/cryptography/index.d.ts.map +1 -0
  240. package/lib/cryptography/index.js +0 -1
  241. package/lib/giphy/GiphyService.d.ts +2 -1
  242. package/lib/giphy/GiphyService.d.ts.map +1 -0
  243. package/lib/giphy/GiphyService.js +0 -1
  244. package/lib/giphy/index.d.ts +1 -0
  245. package/lib/giphy/index.d.ts.map +1 -0
  246. package/lib/giphy/index.js +0 -1
  247. package/lib/index.d.ts +1 -0
  248. package/lib/index.d.ts.map +1 -0
  249. package/lib/index.js +0 -1
  250. package/lib/linkPreview/LinkPreviewService.d.ts +1 -0
  251. package/lib/linkPreview/LinkPreviewService.d.ts.map +1 -0
  252. package/lib/linkPreview/LinkPreviewService.js +0 -1
  253. package/lib/linkPreview/index.d.ts +1 -0
  254. package/lib/linkPreview/index.d.ts.map +1 -0
  255. package/lib/linkPreview/index.js +0 -1
  256. package/lib/mls/EventHandler/ConversationEvent/ConversationEvent.d.ts +1 -0
  257. package/lib/mls/EventHandler/ConversationEvent/ConversationEvent.d.ts.map +1 -0
  258. package/lib/mls/EventHandler/ConversationEvent/ConversationEvent.js +1 -2
  259. package/lib/mls/EventHandler/ConversationEvent/events/index.d.ts +1 -0
  260. package/lib/mls/EventHandler/ConversationEvent/events/index.d.ts.map +1 -0
  261. package/lib/mls/EventHandler/ConversationEvent/events/index.js +0 -1
  262. package/lib/mls/EventHandler/ConversationEvent/events/messageAdd/index.d.ts +1 -0
  263. package/lib/mls/EventHandler/ConversationEvent/events/messageAdd/index.d.ts.map +1 -0
  264. package/lib/mls/EventHandler/ConversationEvent/events/messageAdd/index.js +0 -1
  265. package/lib/mls/EventHandler/ConversationEvent/events/messageAdd/messageAdd.d.ts +1 -0
  266. package/lib/mls/EventHandler/ConversationEvent/events/messageAdd/messageAdd.d.ts.map +1 -0
  267. package/lib/mls/EventHandler/ConversationEvent/events/messageAdd/messageAdd.js +1 -2
  268. package/lib/mls/EventHandler/ConversationEvent/events/welcomeMessage/index.d.ts +1 -0
  269. package/lib/mls/EventHandler/ConversationEvent/events/welcomeMessage/index.d.ts.map +1 -0
  270. package/lib/mls/EventHandler/ConversationEvent/events/welcomeMessage/index.js +0 -1
  271. package/lib/mls/EventHandler/ConversationEvent/events/welcomeMessage/welcomeMessage.d.ts +1 -0
  272. package/lib/mls/EventHandler/ConversationEvent/events/welcomeMessage/welcomeMessage.d.ts.map +1 -0
  273. package/lib/mls/EventHandler/ConversationEvent/events/welcomeMessage/welcomeMessage.js +0 -1
  274. package/lib/mls/EventHandler/ConversationEvent/index.d.ts +1 -0
  275. package/lib/mls/EventHandler/ConversationEvent/index.d.ts.map +1 -0
  276. package/lib/mls/EventHandler/ConversationEvent/index.js +0 -1
  277. package/lib/mls/EventHandler/EventHandler.d.ts +1 -0
  278. package/lib/mls/EventHandler/EventHandler.d.ts.map +1 -0
  279. package/lib/mls/EventHandler/EventHandler.js +0 -1
  280. package/lib/mls/EventHandler/EventHandler.types.d.ts +2 -1
  281. package/lib/mls/EventHandler/EventHandler.types.d.ts.map +1 -0
  282. package/lib/mls/EventHandler/EventHandler.types.js +0 -1
  283. package/lib/mls/EventHandler/index.d.ts +1 -0
  284. package/lib/mls/EventHandler/index.d.ts.map +1 -0
  285. package/lib/mls/EventHandler/index.js +0 -1
  286. package/lib/mls/MLSService/MLSService.d.ts +5 -4
  287. package/lib/mls/MLSService/MLSService.d.ts.map +1 -0
  288. package/lib/mls/MLSService/MLSService.js +5 -6
  289. package/lib/mls/MLSService/commitBundleUtil.d.ts +1 -0
  290. package/lib/mls/MLSService/commitBundleUtil.d.ts.map +1 -0
  291. package/lib/mls/MLSService/commitBundleUtil.js +1 -2
  292. package/lib/mls/MLSService/index.d.ts +1 -0
  293. package/lib/mls/MLSService/index.d.ts.map +1 -0
  294. package/lib/mls/MLSService/index.js +0 -1
  295. package/lib/mls/MLSService/stores/keyMaterialUpdatesStore/index.d.ts +1 -0
  296. package/lib/mls/MLSService/stores/keyMaterialUpdatesStore/index.d.ts.map +1 -0
  297. package/lib/mls/MLSService/stores/keyMaterialUpdatesStore/index.js +0 -1
  298. package/lib/mls/MLSService/stores/keyMaterialUpdatesStore/keyMaterialUpdatesStore.d.ts +1 -0
  299. package/lib/mls/MLSService/stores/keyMaterialUpdatesStore/keyMaterialUpdatesStore.d.ts.map +1 -0
  300. package/lib/mls/MLSService/stores/keyMaterialUpdatesStore/keyMaterialUpdatesStore.js +0 -1
  301. package/lib/mls/MLSService/stores/pendingProposalsStore/index.d.ts +1 -0
  302. package/lib/mls/MLSService/stores/pendingProposalsStore/index.d.ts.map +1 -0
  303. package/lib/mls/MLSService/stores/pendingProposalsStore/index.js +0 -1
  304. package/lib/mls/MLSService/stores/pendingProposalsStore/pendingProposalsStore.d.ts +1 -0
  305. package/lib/mls/MLSService/stores/pendingProposalsStore/pendingProposalsStore.d.ts.map +1 -0
  306. package/lib/mls/MLSService/stores/pendingProposalsStore/pendingProposalsStore.js +0 -1
  307. package/lib/mls/MLSService/stores/stores.mock.d.ts +1 -0
  308. package/lib/mls/MLSService/stores/stores.mock.d.ts.map +1 -0
  309. package/lib/mls/MLSService/stores/stores.mock.js +0 -1
  310. package/lib/mls/index.d.ts +1 -0
  311. package/lib/mls/index.d.ts.map +1 -0
  312. package/lib/mls/index.js +0 -1
  313. package/lib/mls/types.d.ts +1 -0
  314. package/lib/mls/types.d.ts.map +1 -0
  315. package/lib/mls/types.js +0 -1
  316. package/lib/notification/NotificationBackendRepository.d.ts +2 -1
  317. package/lib/notification/NotificationBackendRepository.d.ts.map +1 -0
  318. package/lib/notification/NotificationBackendRepository.js +0 -1
  319. package/lib/notification/NotificationDatabaseRepository.d.ts +1 -0
  320. package/lib/notification/NotificationDatabaseRepository.d.ts.map +1 -0
  321. package/lib/notification/NotificationDatabaseRepository.js +0 -1
  322. package/lib/notification/NotificationService.d.ts +5 -4
  323. package/lib/notification/NotificationService.d.ts.map +1 -0
  324. package/lib/notification/NotificationService.js +4 -5
  325. package/lib/notification/index.d.ts +1 -0
  326. package/lib/notification/index.d.ts.map +1 -0
  327. package/lib/notification/index.js +0 -1
  328. package/lib/self/SelfService.d.ts +2 -1
  329. package/lib/self/SelfService.d.ts.map +1 -0
  330. package/lib/self/SelfService.js +0 -1
  331. package/lib/self/index.d.ts +1 -0
  332. package/lib/self/index.d.ts.map +1 -0
  333. package/lib/self/index.js +0 -1
  334. package/lib/team/TeamService.d.ts +2 -1
  335. package/lib/team/TeamService.d.ts.map +1 -0
  336. package/lib/team/TeamService.js +0 -1
  337. package/lib/team/index.d.ts +1 -0
  338. package/lib/team/index.d.ts.map +1 -0
  339. package/lib/team/index.js +0 -1
  340. package/lib/user/UserMapper.d.ts +1 -0
  341. package/lib/user/UserMapper.d.ts.map +1 -0
  342. package/lib/user/UserMapper.js +0 -1
  343. package/lib/user/UserService.d.ts +2 -1
  344. package/lib/user/UserService.d.ts.map +1 -0
  345. package/lib/user/UserService.js +3 -7
  346. package/lib/user/index.d.ts +1 -0
  347. package/lib/user/index.d.ts.map +1 -0
  348. package/lib/user/index.js +0 -1
  349. package/lib/util/LowPrecisionTaskScheduler/LowPrecisionTaskScheduler.d.ts +1 -0
  350. package/lib/util/LowPrecisionTaskScheduler/LowPrecisionTaskScheduler.d.ts.map +1 -0
  351. package/lib/util/LowPrecisionTaskScheduler/LowPrecisionTaskScheduler.js +0 -1
  352. package/lib/util/LowPrecisionTaskScheduler/index.d.ts +1 -0
  353. package/lib/util/LowPrecisionTaskScheduler/index.d.ts.map +1 -0
  354. package/lib/util/LowPrecisionTaskScheduler/index.js +0 -1
  355. package/lib/util/RecurringTaskScheduler/RecurringTaskScheduler.d.ts +1 -0
  356. package/lib/util/RecurringTaskScheduler/RecurringTaskScheduler.d.ts.map +1 -0
  357. package/lib/util/RecurringTaskScheduler/RecurringTaskScheduler.js +2 -3
  358. package/lib/util/RecurringTaskScheduler/RecurringTaskScheduler.store.d.ts +1 -0
  359. package/lib/util/RecurringTaskScheduler/RecurringTaskScheduler.store.d.ts.map +1 -0
  360. package/lib/util/RecurringTaskScheduler/RecurringTaskScheduler.store.js +0 -1
  361. package/lib/util/RecurringTaskScheduler/index.d.ts +1 -0
  362. package/lib/util/RecurringTaskScheduler/index.d.ts.map +1 -0
  363. package/lib/util/RecurringTaskScheduler/index.js +0 -1
  364. package/lib/util/TaskScheduler/TaskScheduler.d.ts +1 -0
  365. package/lib/util/TaskScheduler/TaskScheduler.d.ts.map +1 -0
  366. package/lib/util/TaskScheduler/TaskScheduler.js +0 -1
  367. package/lib/util/TaskScheduler/index.d.ts +1 -0
  368. package/lib/util/TaskScheduler/index.d.ts.map +1 -0
  369. package/lib/util/TaskScheduler/index.js +0 -1
  370. package/lib/util/TypePredicateUtil.d.ts +1 -0
  371. package/lib/util/TypePredicateUtil.d.ts.map +1 -0
  372. package/lib/util/TypePredicateUtil.js +0 -1
  373. package/lib/util/encryptedStore.d.ts +1 -0
  374. package/lib/util/encryptedStore.d.ts.map +1 -0
  375. package/lib/util/encryptedStore.js +0 -1
  376. package/lib/util/encryptedStore.test.node.d.ts +1 -0
  377. package/lib/util/encryptedStore.test.node.d.ts.map +1 -0
  378. package/lib/util/encryptedStore.test.node.js +0 -1
  379. package/lib/util/fullyQualifiedClientIdUtils.d.ts +1 -0
  380. package/lib/util/fullyQualifiedClientIdUtils.d.ts.map +1 -0
  381. package/lib/util/fullyQualifiedClientIdUtils.js +0 -1
  382. package/lib/util/index.d.ts +1 -0
  383. package/lib/util/index.d.ts.map +1 -0
  384. package/lib/util/index.js +0 -1
  385. package/package.json +7 -9
  386. package/lib/Account.js.map +0 -1
  387. package/lib/CoreError.js.map +0 -1
  388. package/lib/account/AccountService.js.map +0 -1
  389. package/lib/account/index.js.map +0 -1
  390. package/lib/auth/LoginSanitizer.js.map +0 -1
  391. package/lib/auth/index.js.map +0 -1
  392. package/lib/broadcast/AvailabilityType.js.map +0 -1
  393. package/lib/broadcast/BroadcastService.js.map +0 -1
  394. package/lib/broadcast/index.js.map +0 -1
  395. package/lib/client/ClientBackendRepository.js.map +0 -1
  396. package/lib/client/ClientDatabaseRepository.js.map +0 -1
  397. package/lib/client/ClientInfo.js.map +0 -1
  398. package/lib/client/ClientService.js.map +0 -1
  399. package/lib/client/index.js.map +0 -1
  400. package/lib/connection/ConnectionService.js.map +0 -1
  401. package/lib/connection/index.js.map +0 -1
  402. package/lib/conversation/AbortReason.js.map +0 -1
  403. package/lib/conversation/AssetService/AssetService.js.map +0 -1
  404. package/lib/conversation/AssetService/index.js.map +0 -1
  405. package/lib/conversation/AssetTransferState.js.map +0 -1
  406. package/lib/conversation/ClientActionType.js.map +0 -1
  407. package/lib/conversation/ConversationMapper/ConversationMapper.js.map +0 -1
  408. package/lib/conversation/ConversationMapper/index.js.map +0 -1
  409. package/lib/conversation/ConversationService/ConversationService.js.map +0 -1
  410. package/lib/conversation/ConversationService/ConversationService.types.js.map +0 -1
  411. package/lib/conversation/ConversationService/index.js.map +0 -1
  412. package/lib/conversation/GenericMessageType.js.map +0 -1
  413. package/lib/conversation/MessageTimer/MessageTimer.js.map +0 -1
  414. package/lib/conversation/MessageTimer/index.js.map +0 -1
  415. package/lib/conversation/ReactionType.js.map +0 -1
  416. package/lib/conversation/content/AssetContent.js.map +0 -1
  417. package/lib/conversation/content/ButtonActionConfirmationContent.js.map +0 -1
  418. package/lib/conversation/content/ButtonActionContent.js.map +0 -1
  419. package/lib/conversation/content/CallingContent.js.map +0 -1
  420. package/lib/conversation/content/ClearedContent.js.map +0 -1
  421. package/lib/conversation/content/ClientActionContent.js.map +0 -1
  422. package/lib/conversation/content/ClientAddContent.js.map +0 -1
  423. package/lib/conversation/content/ClientRemoveContent.js.map +0 -1
  424. package/lib/conversation/content/CompositeContent.js.map +0 -1
  425. package/lib/conversation/content/ConfirmationContent.js.map +0 -1
  426. package/lib/conversation/content/ContentType.js.map +0 -1
  427. package/lib/conversation/content/ConversationContent.js.map +0 -1
  428. package/lib/conversation/content/DeletedContent.js.map +0 -1
  429. package/lib/conversation/content/EditedTextContent.js.map +0 -1
  430. package/lib/conversation/content/FileContent.js.map +0 -1
  431. package/lib/conversation/content/HiddenContent.js.map +0 -1
  432. package/lib/conversation/content/ImageContent.js.map +0 -1
  433. package/lib/conversation/content/KnockContent.js.map +0 -1
  434. package/lib/conversation/content/LinkPreviewContent.js.map +0 -1
  435. package/lib/conversation/content/LocationContent.js.map +0 -1
  436. package/lib/conversation/content/MentionContent.js.map +0 -1
  437. package/lib/conversation/content/QuoteContent.js.map +0 -1
  438. package/lib/conversation/content/ReactionContent.js.map +0 -1
  439. package/lib/conversation/content/TextContent.js.map +0 -1
  440. package/lib/conversation/content/TweetContent.js.map +0 -1
  441. package/lib/conversation/content/index.js.map +0 -1
  442. package/lib/conversation/index.js.map +0 -1
  443. package/lib/conversation/message/CompositeContentBuilder.js.map +0 -1
  444. package/lib/conversation/message/Message.js.map +0 -1
  445. package/lib/conversation/message/MessageBuilder.js.map +0 -1
  446. package/lib/conversation/message/MessageService.js.map +0 -1
  447. package/lib/conversation/message/MessageToProtoMapper.js.map +0 -1
  448. package/lib/conversation/message/OtrMessage.js.map +0 -1
  449. package/lib/conversation/message/PayloadBundle.js.map +0 -1
  450. package/lib/conversation/message/TeamMessage.js.map +0 -1
  451. package/lib/conversation/message/TextContentBuilder.js.map +0 -1
  452. package/lib/conversation/message/UserClientsUtil.js.map +0 -1
  453. package/lib/conversation/message/UserMessage.js.map +0 -1
  454. package/lib/conversation/message/messageSender.js.map +0 -1
  455. package/lib/cryptography/AssetCryptography/EncryptedAsset.js.map +0 -1
  456. package/lib/cryptography/AssetCryptography/crypto.browser.js.map +0 -1
  457. package/lib/cryptography/AssetCryptography/crypto.node.js.map +0 -1
  458. package/lib/cryptography/AssetCryptography/index.js.map +0 -1
  459. package/lib/cryptography/AssetCryptography/interfaces.js.map +0 -1
  460. package/lib/cryptography/CryptographyDatabaseRepository.js.map +0 -1
  461. package/lib/cryptography/CryptographyService.js.map +0 -1
  462. package/lib/cryptography/GenericMessageMapper.js.map +0 -1
  463. package/lib/cryptography/MessageHashService.js.map +0 -1
  464. package/lib/cryptography/SessionPayloadBundle.js.map +0 -1
  465. package/lib/cryptography/index.js.map +0 -1
  466. package/lib/giphy/GiphyService.js.map +0 -1
  467. package/lib/giphy/index.js.map +0 -1
  468. package/lib/index.js.map +0 -1
  469. package/lib/linkPreview/LinkPreviewService.js.map +0 -1
  470. package/lib/linkPreview/index.js.map +0 -1
  471. package/lib/mls/EventHandler/ConversationEvent/ConversationEvent.js.map +0 -1
  472. package/lib/mls/EventHandler/ConversationEvent/events/index.js.map +0 -1
  473. package/lib/mls/EventHandler/ConversationEvent/events/messageAdd/index.js.map +0 -1
  474. package/lib/mls/EventHandler/ConversationEvent/events/messageAdd/messageAdd.js.map +0 -1
  475. package/lib/mls/EventHandler/ConversationEvent/events/welcomeMessage/index.js.map +0 -1
  476. package/lib/mls/EventHandler/ConversationEvent/events/welcomeMessage/welcomeMessage.js.map +0 -1
  477. package/lib/mls/EventHandler/ConversationEvent/index.js.map +0 -1
  478. package/lib/mls/EventHandler/EventHandler.js.map +0 -1
  479. package/lib/mls/EventHandler/EventHandler.types.js.map +0 -1
  480. package/lib/mls/EventHandler/index.js.map +0 -1
  481. package/lib/mls/MLSService/MLSService.js.map +0 -1
  482. package/lib/mls/MLSService/commitBundleUtil.js.map +0 -1
  483. package/lib/mls/MLSService/index.js.map +0 -1
  484. package/lib/mls/MLSService/stores/keyMaterialUpdatesStore/index.js.map +0 -1
  485. package/lib/mls/MLSService/stores/keyMaterialUpdatesStore/keyMaterialUpdatesStore.js.map +0 -1
  486. package/lib/mls/MLSService/stores/pendingProposalsStore/index.js.map +0 -1
  487. package/lib/mls/MLSService/stores/pendingProposalsStore/pendingProposalsStore.js.map +0 -1
  488. package/lib/mls/MLSService/stores/stores.mock.js.map +0 -1
  489. package/lib/mls/index.js.map +0 -1
  490. package/lib/mls/types.js.map +0 -1
  491. package/lib/notification/NotificationBackendRepository.js.map +0 -1
  492. package/lib/notification/NotificationDatabaseRepository.js.map +0 -1
  493. package/lib/notification/NotificationService.js.map +0 -1
  494. package/lib/notification/index.js.map +0 -1
  495. package/lib/self/SelfService.js.map +0 -1
  496. package/lib/self/index.js.map +0 -1
  497. package/lib/team/TeamService.js.map +0 -1
  498. package/lib/team/index.js.map +0 -1
  499. package/lib/user/UserMapper.js.map +0 -1
  500. package/lib/user/UserService.js.map +0 -1
  501. package/lib/user/index.js.map +0 -1
  502. package/lib/util/LowPrecisionTaskScheduler/LowPrecisionTaskScheduler.js.map +0 -1
  503. package/lib/util/LowPrecisionTaskScheduler/index.js.map +0 -1
  504. package/lib/util/RecurringTaskScheduler/RecurringTaskScheduler.js.map +0 -1
  505. package/lib/util/RecurringTaskScheduler/RecurringTaskScheduler.store.js.map +0 -1
  506. package/lib/util/RecurringTaskScheduler/index.js.map +0 -1
  507. package/lib/util/TaskScheduler/TaskScheduler.js.map +0 -1
  508. package/lib/util/TaskScheduler/index.js.map +0 -1
  509. package/lib/util/TypePredicateUtil.js.map +0 -1
  510. package/lib/util/encryptedStore.js.map +0 -1
  511. package/lib/util/encryptedStore.test.node.js.map +0 -1
  512. package/lib/util/fullyQualifiedClientIdUtils.js.map +0 -1
  513. package/lib/util/index.js.map +0 -1
@@ -17,18 +17,15 @@
17
17
  * along with this program. If not, see http://www.gnu.org/licenses/.
18
18
  *
19
19
  */
20
- var __importDefault = (this && this.__importDefault) || function (mod) {
21
- return (mod && mod.__esModule) ? mod : { "default": mod };
22
- };
23
20
  Object.defineProperty(exports, "__esModule", { value: true });
24
21
  exports.wrapInEphemeral = exports.buildTextMessage = exports.buildHideMessage = exports.buildDeleteMessage = exports.buildCallMessage = exports.buildSessionResetMessage = exports.buildReactionMessage = exports.buildPingMessage = exports.buildLocationMessage = exports.buildImageMessage = exports.buildClearedMessage = exports.buildDataTransferMessage = exports.buildLastReadMessage = exports.buildFileAbortMessage = exports.buildFileMetaDataMessage = exports.buildFileDataMessage = exports.buildEditedTextMessage = exports.buildConfirmationMessage = exports.buildCompositeMessage = exports.buildButtonActionConfirmationMessage = exports.buildButtonActionMessage = exports.createId = void 0;
25
- const uuidjs_1 = __importDefault(require("uuidjs"));
22
+ const uuidjs_1 = require("uuidjs");
26
23
  const protocol_messaging_1 = require("@wireapp/protocol-messaging");
27
- const MessageToProtoMapper_1 = require("../message/MessageToProtoMapper");
28
- const GenericMessageType_1 = require("../GenericMessageType");
29
24
  const AssetTransferState_1 = require("../AssetTransferState");
25
+ const GenericMessageType_1 = require("../GenericMessageType");
26
+ const MessageToProtoMapper_1 = require("../message/MessageToProtoMapper");
30
27
  function createId() {
31
- return uuidjs_1.default.genV4().toString();
28
+ return (0, uuidjs_1.genV4)().toString();
32
29
  }
33
30
  exports.createId = createId;
34
31
  function buildButtonActionMessage(payloadBundle) {
@@ -294,4 +291,3 @@ function wrapInEphemeral(originalGenericMessage, expireAfterMillis) {
294
291
  return genericMessage;
295
292
  }
296
293
  exports.wrapInEphemeral = wrapInEphemeral;
297
- //# sourceMappingURL=MessageBuilder.js.map
@@ -1,7 +1,7 @@
1
- import { APIClient } from '@wireapp/api-client';
2
1
  import { ClientMismatch, MessageSendingStatus, QualifiedUserClients, UserClients } from '@wireapp/api-client/lib/conversation';
3
- import { CryptographyService } from '../../cryptography';
4
2
  import { QualifiedId, QualifiedUserPreKeyBundleMap, UserPreKeyBundleMap } from '@wireapp/api-client/lib/user';
3
+ import { APIClient } from '@wireapp/api-client';
4
+ import { CryptographyService } from '../../cryptography';
5
5
  export declare class MessageService {
6
6
  private readonly apiClient;
7
7
  private readonly cryptographyService;
@@ -65,3 +65,4 @@ export declare class MessageService {
65
65
  private reencryptAfterFederatedMismatch;
66
66
  private sendOTRProtobufMessage;
67
67
  }
68
+ //# sourceMappingURL=MessageService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MessageService.d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E,OAAO,GAAG,WAAW,EAAE,CAAC;QACxC,UAAU,CAAC,EAAE,OAAO,CAAC;QACrB,gBAAgB,CAAC,EAAE,CAAC,QAAQ,EAAE,oBAAoB,KAAK,IAAI,GAAG,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;KAC1F,GACA,OAAO,CAAC,oBAAoB,GAAG;QAAC,OAAO,CAAC,EAAE,OAAO,CAAA;KAAC,CAAC;YAyBxC,uBAAuB;YAiEvB,cAAc;YAmCd,uBAAuB;IAkBrC,OAAO,CAAC,oBAAoB;IAc5B,OAAO,CAAC,qBAAqB;YAIf,sBAAsB;IAmBpC;;;;;;;OAOG;YACW,+BAA+B;YAuB/B,sBAAsB;CAoDrC"}
@@ -22,17 +22,17 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
22
22
  };
23
23
  Object.defineProperty(exports, "__esModule", { value: true });
24
24
  exports.MessageService = void 0;
25
- const http_status_codes_1 = require("http-status-codes");
26
- const otr_1 = require("@wireapp/protocol-messaging/web/otr");
27
- const long_1 = __importDefault(require("long"));
28
25
  const StringUtil_1 = require("@wireapp/commons/lib/util/StringUtil");
26
+ const otr_1 = require("@wireapp/protocol-messaging/web/otr");
29
27
  const bazinga64_1 = require("bazinga64");
30
- const AssetCryptography_1 = require("../../cryptography/AssetCryptography");
31
- const cryptography_1 = require("../../cryptography");
32
- const MessageBuilder_1 = require("./MessageBuilder");
28
+ const http_status_codes_1 = require("http-status-codes");
29
+ const long_1 = __importDefault(require("long"));
33
30
  const protocol_messaging_1 = require("@wireapp/protocol-messaging");
34
- const __1 = require("..");
31
+ const MessageBuilder_1 = require("./MessageBuilder");
35
32
  const UserClientsUtil_1 = require("./UserClientsUtil");
33
+ const __1 = require("..");
34
+ const cryptography_1 = require("../../cryptography");
35
+ const AssetCryptography_1 = require("../../cryptography/AssetCryptography");
36
36
  const util_1 = require("../../util");
37
37
  class MessageService {
38
38
  constructor(apiClient, cryptographyService) {
@@ -290,4 +290,3 @@ class MessageService {
290
290
  }
291
291
  }
292
292
  exports.MessageService = MessageService;
293
- //# sourceMappingURL=MessageService.js.map
@@ -1,7 +1,8 @@
1
1
  import { LinkPreview, Text } from '@wireapp/protocol-messaging';
2
- import { LinkPreviewUploadedContent } from '../content';
3
2
  import { EditedTextMessage, TextMessage } from './OtrMessage';
3
+ import { LinkPreviewUploadedContent } from '../content';
4
4
  export declare class MessageToProtoMapper {
5
5
  static mapLinkPreviews(linkPreviews: LinkPreviewUploadedContent[]): LinkPreview[];
6
6
  static mapText(payloadBundle: TextMessage['content'] | EditedTextMessage['content']): Text;
7
7
  }
8
+ //# sourceMappingURL=MessageToProtoMapper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MessageToProtoMapper.d.ts","sourceRoot":"","sources":["../../../src/conversation/message/MessageToProtoMapper.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAiB,WAAW,EAAkB,IAAI,EAAQ,MAAM,6BAA6B,CAAC;AAErG,OAAO,EAAC,iBAAiB,EAAE,WAAW,EAAC,MAAM,cAAc,CAAC;AAE5D,OAAO,EAAC,0BAA0B,EAAC,MAAM,YAAY,CAAC;AAGtD,qBAAa,oBAAoB;IAC/B,MAAM,CAAC,eAAe,CAAC,YAAY,EAAE,0BAA0B,EAAE,GAAG,WAAW,EAAE;IA+DjF,MAAM,CAAC,OAAO,CAAC,aAAa,EAAE,WAAW,CAAC,SAAS,CAAC,GAAG,iBAAiB,CAAC,SAAS,CAAC,GAAG,IAAI;CA0B3F"}
@@ -96,4 +96,3 @@ class MessageToProtoMapper {
96
96
  }
97
97
  }
98
98
  exports.MessageToProtoMapper = MessageToProtoMapper;
99
- //# sourceMappingURL=MessageToProtoMapper.js.map
@@ -1,5 +1,5 @@
1
- import { AssetContent, ButtonActionContent, ButtonActionConfirmationContent, CallingContent, ClearedContent, ClientActionContent, CompositeContent, ConfirmationContent, DeletedContent, EditedTextContent, FileAssetAbortContent, FileAssetContent, FileAssetMetaDataContent, HiddenContent, ImageAssetContent, KnockContent, LocationContent, ReactionContent, TextContent } from '../content';
2
1
  import { BasePayloadBundle, PayloadBundleType } from './PayloadBundle';
2
+ import { AssetContent, ButtonActionContent, ButtonActionConfirmationContent, CallingContent, ClearedContent, ClientActionContent, CompositeContent, ConfirmationContent, DeletedContent, EditedTextContent, FileAssetAbortContent, FileAssetContent, FileAssetMetaDataContent, HiddenContent, ImageAssetContent, KnockContent, LocationContent, ReactionContent, TextContent } from '../content';
3
3
  export interface TextMessage extends BasePayloadBundle {
4
4
  content: TextContent;
5
5
  type: PayloadBundleType.TEXT;
@@ -78,3 +78,4 @@ export interface DeleteMessage extends BasePayloadBundle {
78
78
  }
79
79
  export declare type OtrMessage = ButtonActionMessage | ButtonActionConfirmationMessage | CallMessage | ClearConversationMessage | CompositeMessage | ConfirmationMessage | DeleteMessage | EditedTextMessage | FileAssetAbortMessage | FileAssetMessage | FileAssetMetaDataMessage | HideMessage | ImageAssetMessage | ImageAssetMessageOutgoing | LocationMessage | PingMessage | ReactionMessage | ResetSessionMessage | TextMessage;
80
80
  export declare type QuotableMessage = EditedTextMessage | ImageAssetMessage | LocationMessage | TextMessage;
81
+ //# sourceMappingURL=OtrMessage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OtrMessage.d.ts","sourceRoot":"","sources":["../../../src/conversation/message/OtrMessage.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAC,iBAAiB,EAAE,iBAAiB,EAAC,MAAM,iBAAiB,CAAC;AAErE,OAAO,EACL,YAAY,EACZ,mBAAmB,EACnB,+BAA+B,EAC/B,cAAc,EACd,cAAc,EACd,mBAAmB,EACnB,gBAAgB,EAChB,mBAAmB,EACnB,cAAc,EACd,iBAAiB,EACjB,qBAAqB,EACrB,gBAAgB,EAChB,wBAAwB,EACxB,aAAa,EACb,iBAAiB,EACjB,YAAY,EACZ,eAAe,EACf,eAAe,EACf,WAAW,EACZ,MAAM,YAAY,CAAC;AAEpB,MAAM,WAAW,WAAY,SAAQ,iBAAiB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AgB,GAChB,wBAAwB,GACxB,WAAW,GACX,iBAAiB,GACjB,yBAAyB,GACzB,eAAe,GACf,WAAW,GACX,eAAe,GACf,mBAAmB,GACnB,WAAW,CAAC;AAEhB,oBAAY,eAAe,GAAG,iBAAiB,GAAG,iBAAiB,GAAG,eAAe,GAAG,WAAW,CAAC"}
@@ -18,4 +18,3 @@
18
18
  *
19
19
  */
20
20
  Object.defineProperty(exports, "__esModule", { value: true });
21
- //# sourceMappingURL=OtrMessage.js.map
@@ -1,7 +1,7 @@
1
1
  import { ConversationEventData, TeamEventData, UserEventData } from '@wireapp/api-client/lib/event/';
2
2
  import { QualifiedId } from '@wireapp/api-client/lib/user';
3
- import { ConversationContent } from '../content';
4
3
  import { Message } from './Message';
4
+ import { ConversationContent } from '../content';
5
5
  export declare type PayloadBundleContent = ConversationContent | ConversationEventData | TeamEventData | UserEventData;
6
6
  export declare enum PayloadBundleSource {
7
7
  LOCAL = "PayloadBundleSource.LOCAL",
@@ -74,3 +74,4 @@ export declare enum PayloadBundleType {
74
74
  USER_PROPERTIES_SET = "PayloadBundleType.USER_PROPERTIES_SET",
75
75
  USER_UPDATE = "PayloadBundleType.USER_UPDATE"
76
76
  }
77
+ //# sourceMappingURL=PayloadBundle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PayloadBundle.d.ts","sourceRoot":"","sources":["../../../src/conversation/message/PayloadBundle.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAC,qBAAqB,EAAE,aAAa,EAAE,aAAa,EAAC,MAAM,gCAAgC,CAAC;AACnG,OAAO,EAAC,WAAW,EAAC,MAAM,8BAA8B,CAAC;AAEzD,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC;AAElC,OAAO,EAAC,mBAAmB,EAAC,MAAM,YAAY,CAAC;AAE/C,oBAAY,oBAAoB,GAAG,mBAAmB,GAAG,qBAAqB,GAAG,aAAa,GAAG,aAAa,CAAC;AAE/G,oBAAY,mBAAmB;IAC7B,KAAK,8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W,kCAAkC;IAC7C,gBAAgB,uCAAuC;IACvD,iBAAiB,wCAAwC;IACzD,WAAW,kCAAkC;IAC7C,IAAI,2BAA2B;IAC/B,YAAY,mCAAmC;IAC/C,MAAM,6BAA6B;IACnC,OAAO,8BAA8B;IACrC,aAAa,oCAAoC;IACjD,eAAe,sCAAsC;IACrD,kBAAkB,yCAAyC;IAC3D,eAAe,sCAAsC;IACrD,WAAW,kCAAkC;IAC7C,uBAAuB,8CAA8C;IACrE,sBAAsB,6CAA6C;IACnE,uBAAuB,8CAA8C;IACrE,mBAAmB,0CAA0C;IAC7D,WAAW,kCAAkC;CAC9C"}
@@ -78,4 +78,3 @@ var PayloadBundleType;
78
78
  PayloadBundleType["USER_PROPERTIES_SET"] = "PayloadBundleType.USER_PROPERTIES_SET";
79
79
  PayloadBundleType["USER_UPDATE"] = "PayloadBundleType.USER_UPDATE";
80
80
  })(PayloadBundleType = exports.PayloadBundleType || (exports.PayloadBundleType = {}));
81
- //# sourceMappingURL=PayloadBundle.js.map
@@ -29,3 +29,4 @@ export interface TeamUpdateMessage extends BasePayloadBundle {
29
29
  type: PayloadBundleType.TEAM_UPDATE;
30
30
  }
31
31
  export declare type TeamMessage = TeamConversationCreateMessage | TeamMemberLeaveMessage | TeamConversationDeleteMessage | TeamDeleteMessage | TeamMemberJoinMessage | TeamMemberLeaveMesssage | TeamUpdateMessage;
32
+ //# sourceMappingURL=TeamMessage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TeamMessage.d.ts","sourceRoot":"","sources":["../../../src/conversation/message/TeamMessage.ts"],"names":[],"mappings":"AAmBA,OAAO,EACL,0BAA0B,EAC1B,0BAA0B,EAC1B,kBAAkB,EAClB,mBAAmB,EACnB,cAAc,EACf,MAAM,mCAAmC,CAAC;AAE3C,OAAO,EAAC,iBAAiB,EAAE,iBAAiB,EAAC,MAAM,iBAAiB,CAAC;AAErE,MAAM,WAAW,6BAA8B,SAAQ,iBAAiB;IACtE,OAAO,EAAE,0BAA0B,CAAC;IACpC,IAAI,EAAE,iBAAiB,CAAC,wBAAwB,CAAC;CAClD;AAED,MAAM,WAAW,sBAAuB,SAAQ,iBAAiB;IAC/D,OAAO,EAAE,mBAAmB,CAAC;IAC7B,IAAI,EAAE,iBAAiB,CAAC,iBAAiB,CAAC;CAC3C;AAED,MAAM,WAAW,6BAA8B,SAAQ,iBAAiB;IACtE,OAAO,EAAE,0BAA0B,CAAC;IACpC,IAAI,EAAE,iBAAiB,CAAC,wBAAwB,CAAC;CAClD;AAED,MAAM,WAAW,iBAAkB,SAAQ,iBAAiB;IAC1D,OAAO,EAAE,IAAI,CAAC;IACd,IAAI,EAAE,iBAAiB,CAAC,WAAW,CAAC;CACrC;AAED,MAAM,WAAW,qBAAsB,SAAQ,iBAAiB;IAC9D,OAAO,EAAE,kBAAkB,CAAC;IAC5B,IAAI,EAAE,iBAAiB,CAAC,gBAAgB,CAAC;CAC1C;AAED,MAAM,WAAW,uBAAwB,SAAQ,iBAAiB;IAChE,OAAO,EAAE,mBAAmB,CAAC;IAC7B,IAAI,EAAE,iBAAiB,CAAC,iBAAiB,CAAC;CAC3C;AAED,MAAM,WAAW,iBAAkB,SAAQ,iBAAiB;IAC1D,OAAO,EAAE,cAAc,CAAC;IACxB,IAAI,EAAE,iBAAiB,CAAC,WAAW,CAAC;CACrC;AAED,oBAAY,WAAW,GACnB,6BAA6B,GAC7B,sBAAsB,GACtB,6BAA6B,GAC7B,iBAAiB,GACjB,qBAAqB,GACrB,uBAAuB,GACvB,iBAAiB,CAAC"}
@@ -18,4 +18,3 @@
18
18
  *
19
19
  */
20
20
  Object.defineProperty(exports, "__esModule", { value: true });
21
- //# sourceMappingURL=TeamMessage.js.map
@@ -1,5 +1,5 @@
1
- import { EditedTextContent, LegalHoldStatus, LinkPreviewUploadedContent, MentionContent, QuoteContent, TextContent } from '../content';
2
1
  import { QuotableMessage } from './OtrMessage';
2
+ import { EditedTextContent, LegalHoldStatus, LinkPreviewUploadedContent, MentionContent, QuoteContent, TextContent } from '../content';
3
3
  export declare class TextContentBuilder<T extends TextContent | EditedTextContent> {
4
4
  private readonly content;
5
5
  constructor(textContent: T);
@@ -10,3 +10,4 @@ export declare class TextContentBuilder<T extends TextContent | EditedTextConten
10
10
  withReadConfirmation(expectsReadConfirmation?: boolean): this;
11
11
  withLegalHoldStatus(legalHoldStatus?: LegalHoldStatus): this;
12
12
  }
13
+ //# sourceMappingURL=TextContentBuilder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TextContentBuilder.d.ts","sourceRoot":"","sources":["../../../src/conversation/message/TextContentBuilder.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAC,eAAe,EAAC,MAAM,cAAc,CAAC;AAG7C,OAAO,EACL,iBAAiB,EACjB,eAAe,EACf,0BAA0B,EAC1B,cAAc,EACd,YAAY,EACZ,WAAW,EACZ,MAAM,YAAY,CAAC;AAEpB,qBAAa,kBAAkB,CAAC,CAAC,SAAS,WAAW,GAAG,iBAAiB;IACvE,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAI;gBAEhB,WAAW,EAAE,CAAC;IAI1B,KAAK,IAAI,CAAC;IAIV,gBAAgB,CAAC,YAAY,CAAC,EAAE,0BAA0B,EAAE;IAQ5D,YAAY,CAAC,QAAQ,CAAC,EAAE,cAAc,EAAE;IAQxC,SAAS,CAAC,KAAK,CAAC,EAAE,eAAe,GAAG,YAAY;IAqBhD,oBAAoB,CAAC,uBAAuB,UAAQ;IAOpD,mBAAmB,CAAC,eAAe,kBAA0B;CAM9D"}
@@ -70,4 +70,3 @@ class TextContentBuilder {
70
70
  }
71
71
  }
72
72
  exports.TextContentBuilder = TextContentBuilder;
73
- //# sourceMappingURL=TextContentBuilder.js.map
@@ -20,3 +20,4 @@ export declare function flattenQualifiedUserClients<T = unknown>(userClients: Qu
20
20
  userId: QualifiedId;
21
21
  }[];
22
22
  export {};
23
+ //# sourceMappingURL=UserClientsUtil.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UserClientsUtil.d.ts","sourceRoot":"","sources":["../../../src/conversation/message/UserClientsUtil.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAC,WAAW,EAAC,MAAM,8BAA8B,CAAC;AAEzD,aAAK,oBAAoB,CAAC,CAAC,IAAI;IAAC,CAAC,MAAM,EAAE,MAAM,GAAG,CAAC,CAAA;CAAC,CAAC;AACrD,aAAK,6BAA6B,CAAC,CAAC,IAAI;IAAC,CAAC,MAAM,EAAE,MAAM,GAAG,oBAAoB,CAAC,CAAC,CAAC,CAAA;CAAC,CAAC;AAEpF,wBAAgB,kBAAkB,CAAC,CAAC,EAClC,WAAW,EAAE,oBAAoB,CAAC,CAAC,CAAC,EACpC,MAAM,GAAE,MAAW,GAClB;IAAC,IAAI,EAAE,CAAC,CAAC;IAAC,MAAM,EAAE,WAAW,CAAA;CAAC,EAAE,CAElC;AAED;;;;;GAKG;AACH,wBAAgB,2BAA2B,CAAC,CAAC,GAAG,OAAO,EACrD,WAAW,EAAE,6BAA6B,CAAC,CAAC,CAAC,GAC5C;IAAC,IAAI,EAAE,CAAC,CAAC;IAAC,MAAM,EAAE,WAAW,CAAA;CAAC,EAAE,CAIlC"}
@@ -35,4 +35,3 @@ function flattenQualifiedUserClients(userClients) {
35
35
  }, []);
36
36
  }
37
37
  exports.flattenQualifiedUserClients = flattenQualifiedUserClients;
38
- //# sourceMappingURL=UserClientsUtil.js.map
@@ -41,3 +41,4 @@ export interface UserUpdateMessage extends BasePayloadBundle {
41
41
  type: PayloadBundleType.USER_UPDATE;
42
42
  }
43
43
  export declare type UserMessage = UserActivateMessage | UserClientAddMessage | UserLegalHoldRequestMessage | UserLegalHoldEnableMessage | UserLegalHoldDisableMessage | UserClientRemoveMessage | UserConnectionMessage | UserDeleteMessage | UserPropertiesSetEvent | UserUpdateMessage;
44
+ //# sourceMappingURL=UserMessage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UserMessage.d.ts","sourceRoot":"","sources":["../../../src/conversation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;IACxB,IAAI,EAAE,iBAAiB,CAAC,WAAW,CAAC;CACrC;AAED,MAAM,WAAW,sBAAuB,SAAQ,iBAAiB;IAC/D,OAAO,EAAE,qBAAqB,CAAC;IAC/B,IAAI,EAAE,iBAAiB,CAAC,mBAAmB,CAAC;CAC7C;AAED,MAAM,WAAW,iBAAkB,SAAQ,iBAAiB;IAC1D,OAAO,EAAE,cAAc,CAAC;IACxB,IAAI,EAAE,iBAAiB,CAAC,WAAW,CAAC;CACrC;AAED,oBAAY,WAAW,GACnB,mBAAmB,GACnB,oBAAoB,GACpB,2BAA2B,GAC3B,0BAA0B,GAC1B,2BAA2B,GAC3B,uBAAuB,GACvB,qBAAqB,GACrB,iBAAiB,GACjB,sBAAsB,GACtB,iBAAiB,CAAC"}
@@ -18,4 +18,3 @@
18
18
  *
19
19
  */
20
20
  Object.defineProperty(exports, "__esModule", { value: true });
21
- //# sourceMappingURL=UserMessage.js.map
@@ -3,3 +3,4 @@ export declare function sendMessage<T>(sendingFunction: Task<T>): Promise<T>;
3
3
  export declare function getQueueLength(): number;
4
4
  export declare function resumeMessageSending(): void;
5
5
  export declare function pauseMessageSending(): void;
6
+ //# sourceMappingURL=messageSender.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"messageSender.d.ts","sourceRoot":"","sources":["../../../src/conversation/message/messageSender.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAC,IAAI,EAAe,MAAM,wBAAwB,CAAC;AAI1D,wBAAgB,WAAW,CAAC,CAAC,EAAE,eAAe,EAAE,IAAI,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAEnE;AAED,wBAAgB,cAAc,IAAI,MAAM,CAEvC;AAED,wBAAgB,oBAAoB,IAAI,IAAI,CAE3C;AAED,wBAAgB,mBAAmB,IAAI,IAAI,CAE1C"}
@@ -37,4 +37,3 @@ function pauseMessageSending() {
37
37
  sendingQueue.pause(true);
38
38
  }
39
39
  exports.pauseMessageSending = pauseMessageSending;
40
- //# sourceMappingURL=messageSender.js.map
@@ -9,3 +9,4 @@ export interface EncryptedAssetUploaded extends EncryptedAsset {
9
9
  domain?: string;
10
10
  token: string;
11
11
  }
12
+ //# sourceMappingURL=EncryptedAsset.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EncryptedAsset.d.ts","sourceRoot":"","sources":["../../../src/cryptography/AssetCryptography/EncryptedAsset.ts"],"names":[],"mappings":"AAmBA,MAAM,WAAW,cAAc;IAC7B,UAAU,EAAE,UAAU,CAAC;IACvB,QAAQ,EAAE,UAAU,CAAC;IACrB,sCAAsC;IACtC,MAAM,EAAE,UAAU,CAAC;CACpB;AAED,MAAM,WAAW,sBAAuB,SAAQ,cAAc;IAC5D,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;CACf"}
@@ -18,4 +18,3 @@
18
18
  *
19
19
  */
20
20
  Object.defineProperty(exports, "__esModule", { value: true });
21
- //# sourceMappingURL=EncryptedAsset.js.map
@@ -1,2 +1,3 @@
1
1
  import { Crypto } from './interfaces';
2
2
  export declare const crypto: Crypto;
3
+ //# sourceMappingURL=crypto.browser.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"crypto.browser.d.ts","sourceRoot":"","sources":["../../../src/cryptography/AssetCryptography/crypto.browser.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAC,MAAM,EAAC,MAAM,cAAc,CAAC;AAIpC,eAAO,MAAM,MAAM,EAAE,MA+BpB,CAAC"}
@@ -43,4 +43,3 @@ exports.crypto = {
43
43
  };
44
44
  },
45
45
  };
46
- //# sourceMappingURL=crypto.browser.js.map
@@ -1,2 +1,3 @@
1
1
  import { Crypto } from './interfaces';
2
2
  export declare const crypto: Crypto;
3
+ //# sourceMappingURL=crypto.node.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"crypto.node.d.ts","sourceRoot":"","sources":["../../../src/cryptography/AssetCryptography/crypto.node.ts"],"names":[],"mappings":"AAqBA,OAAO,EAAC,MAAM,EAAC,MAAM,cAAc,CAAC;AAEpC,eAAO,MAAM,MAAM,EAAE,MAoCpB,CAAC"}
@@ -69,4 +69,3 @@ exports.crypto = {
69
69
  };
70
70
  },
71
71
  };
72
- //# sourceMappingURL=crypto.node.js.map
@@ -6,3 +6,4 @@ interface EncryptOptions extends CipherOptions {
6
6
  export declare const decryptAsset: ({ cipherText, keyBytes, sha256: referenceSha256, }: EncryptedAsset) => Promise<Uint8Array>;
7
7
  export declare const encryptAsset: ({ plainText, algorithm }: EncryptOptions) => Promise<EncryptedAsset>;
8
8
  export {};
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/cryptography/AssetCryptography/index.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAC,aAAa,EAAC,MAAM,+BAA+B,CAAC;AAG5D,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAYhD,UAAU,cAAe,SAAQ,aAAa;IAC5C,SAAS,EAAE,UAAU,CAAC;CACvB;AAED,eAAO,MAAM,YAAY,uDAItB,cAAc,KAAG,QAAQ,UAAU,CAQrC,CAAC;AAEF,eAAO,MAAM,YAAY,6BAAkD,cAAc,KAAG,QAAQ,cAAc,CAiBjH,CAAC"}
@@ -50,4 +50,3 @@ const encryptAsset = async ({ plainText, algorithm = 'AES-256-CBC' }) => {
50
50
  };
51
51
  };
52
52
  exports.encryptAsset = encryptAsset;
53
- //# sourceMappingURL=index.js.map
@@ -7,3 +7,4 @@ export interface Crypto {
7
7
  cipher: Uint8Array | ArrayBuffer;
8
8
  }>;
9
9
  }
10
+ //# sourceMappingURL=interfaces.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../src/cryptography/AssetCryptography/interfaces.ts"],"names":[],"mappings":"AAmBA,MAAM,WAAW,MAAM;IACrB,MAAM,CAAC,UAAU,EAAE,UAAU,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;IAEpD,OAAO,CAAC,UAAU,EAAE,UAAU,EAAE,QAAQ,EAAE,UAAU,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;IAE3E,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,UAAU,CAAC;IAE1C,OAAO,CACL,SAAS,EAAE,UAAU,EACrB,QAAQ,EAAE,UAAU,EACpB,oBAAoB,EAAE,UAAU,EAChC,SAAS,EAAE,MAAM,GAChB,OAAO,CAAC;QAAC,GAAG,EAAE,UAAU,CAAC;QAAC,MAAM,EAAE,UAAU,GAAG,WAAW,CAAA;KAAC,CAAC,CAAC;CACjE"}
@@ -18,4 +18,3 @@
18
18
  *
19
19
  */
20
20
  Object.defineProperty(exports, "__esModule", { value: true });
21
- //# sourceMappingURL=interfaces.js.map
@@ -13,3 +13,4 @@ export declare class CryptographyDatabaseRepository {
13
13
  constructor(storeEngine: CRUDEngine);
14
14
  deleteStores(): Promise<boolean[]>;
15
15
  }
16
+ //# sourceMappingURL=CryptographyDatabaseRepository.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CryptographyDatabaseRepository.d.ts","sourceRoot":"","sources":["../../src/cryptography/CryptographyDatabaseRepository.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAC,UAAU,EAAC,MAAM,uBAAuB,CAAC;AAEjD,oBAAY,cAAc;IACxB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,QAAQ,YAAY;IACpB,QAAQ,aAAa;IACrB,SAAS,cAAc;CACxB;AAED,qBAAa,8BAA8B;IAG7B,OAAO,CAAC,QAAQ,CAAC,WAAW;IAFxC,gBAAuB,MAAM,wBAAkB;gBAElB,WAAW,EAAE,UAAU;IAE7C,YAAY,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC;CAM1C"}
@@ -40,4 +40,3 @@ class CryptographyDatabaseRepository {
40
40
  }
41
41
  exports.CryptographyDatabaseRepository = CryptographyDatabaseRepository;
42
42
  CryptographyDatabaseRepository.STORES = DatabaseStores;
43
- //# sourceMappingURL=CryptographyDatabaseRepository.js.map
@@ -1,9 +1,9 @@
1
- import { APIClient } from '@wireapp/api-client';
2
1
  import { PreKey } from '@wireapp/api-client/lib/auth/';
3
2
  import { RegisteredClient } from '@wireapp/api-client/lib/client/';
4
3
  import { OTRRecipients, QualifiedOTRRecipients, QualifiedUserClients, UserClients } from '@wireapp/api-client/lib/conversation/';
5
4
  import { ConversationOtrMessageAddEvent } from '@wireapp/api-client/lib/event';
6
5
  import { QualifiedId, QualifiedUserPreKeyBundleMap, UserPreKeyBundleMap } from '@wireapp/api-client/lib/user/';
6
+ import { APIClient } from '@wireapp/api-client';
7
7
  import { Cryptobox } from '@wireapp/cryptobox';
8
8
  import { GenericMessage } from '@wireapp/protocol-messaging';
9
9
  import { CRUDEngine } from '@wireapp/store-engine';
@@ -81,3 +81,4 @@ export declare class CryptographyService {
81
81
  mapGenericMessage(otrMessage: ConversationOtrMessageAddEvent, genericMessage: GenericMessage, source: PayloadBundleSource): PayloadBundle;
82
82
  private generateDecryptionError;
83
83
  }
84
+ //# sourceMappingURL=CryptographyService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CryptographyService.d.ts","sourceRoot":"","sources":["../../src/cryptography/CryptographyService.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAC,MAAM,EAAC,MAAM,+BAA+B,CAAC;AACrD,OAAO,EAAC,gBAAgB,EAAC,MAAM,iCAAiC,CAAC;AACjE,OAAO,EAEL,aAAa,EACb,sBAAsB,EACtB,oBAAoB,EACpB,WAAW,EACZ,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAC,8BAA8B,EAAC,MAAM,+BAA+B,CAAC;AAC7E,OAAO,EAAC,WAAW,EAAE,4BAA4B,EAAE,mBAAmB,EAAC,MAAM,+BAA+B,CAAC;AAI7G,OAAO,EAAC,SAAS,EAAC,MAAM,qBA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AehC,OAAO,CAAC,aAAa;IAId,wBAAwB,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC;IAIxC,YAAY,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAK9C,cAAc,CAAC,UAAU,EAAE,8BAA8B,GAAG,OAAO,CAAC,cAAc,CAAC;IAgBzF,iBAAiB,CACtB,UAAU,EAAE,8BAA8B,EAC1C,cAAc,EAAE,cAAc,EAC9B,MAAM,EAAE,mBAAmB,GAC1B,aAAa;IAchB,OAAO,CAAC,uBAAuB;CAiChC"}
@@ -22,15 +22,15 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
22
22
  };
23
23
  Object.defineProperty(exports, "__esModule", { value: true });
24
24
  exports.CryptographyService = void 0;
25
+ const bazinga64_1 = require("bazinga64");
26
+ const logdown_1 = __importDefault(require("logdown"));
25
27
  const cryptobox_1 = require("@wireapp/cryptobox");
26
28
  const proteus_1 = require("@wireapp/proteus");
27
29
  const protocol_messaging_1 = require("@wireapp/protocol-messaging");
28
- const bazinga64_1 = require("bazinga64");
29
- const logdown_1 = __importDefault(require("logdown"));
30
- const conversation_1 = require("../conversation");
31
- const util_1 = require("../util");
32
30
  const CryptographyDatabaseRepository_1 = require("./CryptographyDatabaseRepository");
33
31
  const GenericMessageMapper_1 = require("./GenericMessageMapper");
32
+ const conversation_1 = require("../conversation");
33
+ const util_1 = require("../util");
34
34
  class CryptographyService {
35
35
  constructor(apiClient, storeEngine, config) {
36
36
  this.apiClient = apiClient;
@@ -259,4 +259,3 @@ class CryptographyService {
259
259
  }
260
260
  }
261
261
  exports.CryptographyService = CryptographyService;
262
- //# sourceMappingURL=CryptographyService.js.map
@@ -4,3 +4,4 @@ export declare class GenericMessageMapper {
4
4
  private static readonly logger;
5
5
  static mapGenericMessage(genericMessage: any, event: ConversationOtrMessageAddEvent, source: PayloadBundleSource): PayloadBundle;
6
6
  }
7
+ //# sourceMappingURL=GenericMessageMapper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GenericMessageMapper.d.ts","sourceRoot":"","sources":["../../src/cryptography/GenericMessageMapper.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAC,8BAA8B,EAAC,MAAM,gCAAgC,CAAC;AAG9E,OAAO,EAEL,aAAa,EACb,mBAAmB,EAGpB,MAAM,iBAAiB,CAAC;AAczB,qBAAa,oBAAoB;IAC/B,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,MAAM,CAG3B;WAIW,iBAAiB,CAC7B,cAAc,EAAE,GAAG,EACnB,KAAK,EAAE,8BAA8B,EACrC,MAAM,EAAE,mBAAmB,GAC1B,aAAa;CA4NjB"}
@@ -157,4 +157,3 @@ GenericMessageMapper.logger = (0, logdown_1.default)('@wireapp/core/GenericMessa
157
157
  logger: console,
158
158
  markdown: false,
159
159
  });
160
- //# sourceMappingURL=GenericMessageMapper.js.map
@@ -14,3 +14,4 @@ export declare class MessageHashService {
14
14
  private getBytes;
15
15
  getHash(): Buffer;
16
16
  }
17
+ //# sourceMappingURL=MessageHashService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MessageHashService.d.ts","sourceRoot":"","sources":["../../src/cryptography/MessageHashService.ts"],"names":[],"mappings":";AAsBA,OAAO,EAAC,YAAY,EAAoC,eAAe,EAAE,WAAW,EAAC,MAAM,yBAAyB,CAAC;AAErH,oBAAY,uBAAuB,GAAG,YAAY,GAAG,eAAe,GAAG,WAAW,CAAC;AAEnF,qBAAa,kBAAkB;IAC7B,OAAO,CAAC,QAAQ,CAAC,cAAc,CAA0B;IACzD,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAS;gBAEvB,cAAc,EAAE,uBAAuB,EAAE,SAAS,GAAE,MAAmB;IAMnF,OAAO,CAAC,gBAAgB;IAKxB,OAAO,CAAC,gBAAgB;IAgBxB,OAAO,CAAC,aAAa;IAQrB,OAAO,CAAC,kBAAkB;IAK1B,OAAO,CAAC,gBAAgB;IAaxB,OAAO,CAAC,YAAY;IAIpB,OAAO,CAAC,QAAQ;IAiBhB,OAAO,IAAI,MAAM;CAIlB"}
@@ -115,4 +115,3 @@ class MessageHashService {
115
115
  }
116
116
  }
117
117
  exports.MessageHashService = MessageHashService;
118
- //# sourceMappingURL=MessageHashService.js.map
@@ -2,3 +2,4 @@ export interface SessionPayloadBundle {
2
2
  encryptedPayload: Uint8Array;
3
3
  sessionId: string;
4
4
  }
5
+ //# sourceMappingURL=SessionPayloadBundle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SessionPayloadBundle.d.ts","sourceRoot":"","sources":["../../src/cryptography/SessionPayloadBundle.ts"],"names":[],"mappings":"AAmBA,MAAM,WAAW,oBAAoB;IACnC,gBAAgB,EAAE,UAAU,CAAC;IAC7B,SAAS,EAAE,MAAM,CAAC;CACnB"}
@@ -18,4 +18,3 @@
18
18
  *
19
19
  */
20
20
  Object.defineProperty(exports, "__esModule", { value: true });
21
- //# sourceMappingURL=SessionPayloadBundle.js.map
@@ -2,3 +2,4 @@ export * from './CryptographyService';
2
2
  export * from './AssetCryptography/EncryptedAsset';
3
3
  export * from './SessionPayloadBundle';
4
4
  export * from './MessageHashService';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/cryptography/index.ts"],"names":[],"mappings":"AAmBA,cAAc,uBAAuB,CAAC;AACtC,cAAc,oCAAoC,CAAC;AACnD,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC"}
@@ -36,4 +36,3 @@ __exportStar(require("./CryptographyService"), exports);
36
36
  __exportStar(require("./AssetCryptography/EncryptedAsset"), exports);
37
37
  __exportStar(require("./SessionPayloadBundle"), exports);
38
38
  __exportStar(require("./MessageHashService"), exports);
39
- //# sourceMappingURL=index.js.map
@@ -1,5 +1,5 @@
1
- import { APIClient } from '@wireapp/api-client';
2
1
  import { GiphySearchOptions, GiphyMultipleResult, GiphyResult, GIPHY_RATING } from '@wireapp/api-client/lib/giphy/';
2
+ import { APIClient } from '@wireapp/api-client';
3
3
  export declare class GiphyService {
4
4
  private readonly apiClient;
5
5
  constructor(apiClient: APIClient);
@@ -7,3 +7,4 @@ export declare class GiphyService {
7
7
  getTrendingGif(rating?: GIPHY_RATING): Promise<GiphyMultipleResult>;
8
8
  searchGif(options: GiphySearchOptions): Promise<GiphyMultipleResult>;
9
9
  }
10
+ //# sourceMappingURL=GiphyService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GiphyService.d.ts","sourceRoot":"","sources":["../../src/giphy/GiphyService.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAC,kBAAkB,EAAE,mBAAmB,EAAE,WAAW,EAAE,YAAY,EAAC,MAAM,gCAAgC,CAAC;AAElH,OAAO,EAAC,SAAS,EAAC,MAAM,qBAAqB,CAAC;AAE9C,qBAAa,YAAY;IACX,OAAO,CAAC,QAAQ,CAAC,SAAS;gBAAT,SAAS,EAAE,SAAS;IAE1C,YAAY,CAAC,GAAG,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,YAAY,GAAG,OAAO,CAAC,WAAW,CAAC;IAIvE,cAAc,CAAC,MAAM,CAAC,EAAE,YAAY,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAInE,SAAS,CAAC,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,mBAAmB,CAAC;CAG5E"}
@@ -34,4 +34,3 @@ class GiphyService {
34
34
  }
35
35
  }
36
36
  exports.GiphyService = GiphyService;
37
- //# sourceMappingURL=GiphyService.js.map
@@ -1 +1,2 @@
1
1
  export * from './GiphyService';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/giphy/index.ts"],"names":[],"mappings":"AAmBA,cAAc,gBAAgB,CAAC"}
@@ -33,4 +33,3 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
33
33
  };
34
34
  Object.defineProperty(exports, "__esModule", { value: true });
35
35
  __exportStar(require("./GiphyService"), exports);
36
- //# sourceMappingURL=index.js.map
package/lib/index.d.ts CHANGED
@@ -5,3 +5,4 @@ export { CoreError } from './CoreError';
5
5
  export * as cryptography from './cryptography/';
6
6
  export * as util from './util';
7
7
  export * as MessageBuilder from './conversation/message/MessageBuilder';
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAC,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAC,MAAM,WAAW,CAAC;AAC1E,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAChC,OAAO,KAAK,YAAY,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAC,SAAS,EAAC,MAAM,aAAa,CAAC;AACtC,OAAO,KAAK,YAAY,MAAM,iBAAiB,CAAC;AAChD,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC;AAC/B,OAAO,KAAK,cAAc,MAAM,uCAAuC,CAAC"}
package/lib/index.js CHANGED
@@ -52,4 +52,3 @@ Object.defineProperty(exports, "CoreError", { enumerable: true, get: function ()
52
52
  exports.cryptography = __importStar(require("./cryptography/"));
53
53
  exports.util = __importStar(require("./util"));
54
54
  exports.MessageBuilder = __importStar(require("./conversation/message/MessageBuilder"));
55
- //# sourceMappingURL=index.js.map
@@ -5,3 +5,4 @@ export declare class LinkPreviewService {
5
5
  constructor(assetService: AssetService);
6
6
  uploadLinkPreviewImage(linkPreview: LinkPreviewContent, domain?: string): Promise<LinkPreviewUploadedContent>;
7
7
  }
8
+ //# sourceMappingURL=LinkPreviewService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LinkPreviewService.d.ts","sourceRoot":"","sources":["../../src/linkPreview/LinkPreviewService.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAC,YAAY,EAAC,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAC,kBAAkB,EAAE,0BAA0B,EAAC,MAAM,yBAAyB,CAAC;AAEvF,qBAAa,kBAAkB;IACjB,OAAO,CAAC,QAAQ,CAAC,YAAY;gBAAZ,YAAY,EAAE,YAAY;IAE1C,sBAAsB,CACjC,WAAW,EAAE,kBAAkB,EAC/B,MAAM,CAAC,EAAE,MAAM,GACd,OAAO,CAAC,0BAA0B,CAAC;CAcvC"}
@@ -49,4 +49,3 @@ class LinkPreviewService {
49
49
  }
50
50
  }
51
51
  exports.LinkPreviewService = LinkPreviewService;
52
- //# sourceMappingURL=LinkPreviewService.js.map
@@ -1 +1,2 @@
1
1
  export * from './LinkPreviewService';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/linkPreview/index.ts"],"names":[],"mappings":"AAmBA,cAAc,sBAAsB,CAAC"}
@@ -33,4 +33,3 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
33
33
  };
34
34
  Object.defineProperty(exports, "__esModule", { value: true });
35
35
  __exportStar(require("./LinkPreviewService"), exports);
36
- //# sourceMappingURL=index.js.map
@@ -1,3 +1,4 @@
1
1
  import { EventHandlerParams, EventHandlerResult } from '..';
2
2
  declare const handleConversationEvent: (params: EventHandlerParams) => EventHandlerResult;
3
3
  export { handleConversationEvent };
4
+ //# sourceMappingURL=ConversationEvent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConversationEvent.d.ts","sourceRoot":"","sources":["../../../../src/mls/EventHandler/ConversationEvent/ConversationEvent.ts"],"names":[],"mappings":"AAuBA,OAAO,EAAC,kBAAkB,EAAE,kBAAkB,EAAC,MAAM,IAAI,CAAC;AAI1D,QAAA,MAAM,uBAAuB,WAAkB,kBAAkB,uBAQhE,CAAC;AAEF,OAAO,EAAC,uBAAuB,EAAC,CAAC"}
@@ -22,8 +22,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
22
22
  };
23
23
  Object.defineProperty(exports, "__esModule", { value: true });
24
24
  exports.handleConversationEvent = void 0;
25
- const events_1 = require("./events");
26
25
  const logdown_1 = __importDefault(require("logdown"));
26
+ const events_1 = require("./events");
27
27
  const logger = (0, logdown_1.default)('@wireapp/core/EventHandler/ConversationEvent');
28
28
  const handleConversationEvent = async (params) => {
29
29
  const { event } = params;
@@ -35,4 +35,3 @@ const handleConversationEvent = async (params) => {
35
35
  }
36
36
  };
37
37
  exports.handleConversationEvent = handleConversationEvent;
38
- //# sourceMappingURL=ConversationEvent.js.map
@@ -1,2 +1,3 @@
1
1
  export * from './welcomeMessage';
2
2
  export * from './messageAdd';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/mls/EventHandler/ConversationEvent/events/index.ts"],"names":[],"mappings":"AAmBA,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC"}