@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
@@ -34,4 +34,3 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
34
34
  Object.defineProperty(exports, "__esModule", { value: true });
35
35
  __exportStar(require("./welcomeMessage"), exports);
36
36
  __exportStar(require("./messageAdd"), exports);
37
- //# sourceMappingURL=index.js.map
@@ -1 +1,2 @@
1
1
  export * from './messageAdd';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/mls/EventHandler/ConversationEvent/events/messageAdd/index.ts"],"names":[],"mappings":"AAmBA,cAAc,cAAc,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("./messageAdd"), exports);
36
- //# sourceMappingURL=index.js.map
@@ -8,3 +8,4 @@ interface HandleMLSMessageAddParams extends EventHandlerParams {
8
8
  }
9
9
  declare const handleMLSMessageAdd: ({ mlsService, event, logger }: HandleMLSMessageAddParams) => EventHandlerResult;
10
10
  export { isMLSMessageAddEvent, handleMLSMessageAdd };
11
+ //# sourceMappingURL=messageAdd.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"messageAdd.d.ts","sourceRoot":"","sources":["../../../../../../src/mls/EventHandler/ConversationEvent/events/messageAdd/messageAdd.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAC,YAAY,EAAE,8BAA8B,EAAqB,MAAM,+BAA+B,CAAC;AAE/G,OAAO,OAAO,MAAM,SAAS,CAAC;AAK9B,OAAO,EAAC,kBAAkB,EAAE,kBAAkB,EAAC,MAAM,6BAA6B,CAAC;AAEnF,QAAA,MAAM,oBAAoB,UAAW,YAAY,4CACE,CAAC;AAEpD,UAAU,yBAA0B,SAAQ,kBAAkB;IAC5D,KAAK,EAAE,8BAA8B,CAAC;IACtC,MAAM,EAAE,OAAO,CAAC,MAAM,CAAC;CACxB;AACD,QAAA,MAAM,mBAAmB,kCAAuC,yBAAyB,uBAgDxF,CAAC;AAEF,OAAO,EAAC,oBAAoB,EAAE,mBAAmB,EAAC,CAAC"}
@@ -20,8 +20,8 @@
20
20
  Object.defineProperty(exports, "__esModule", { value: true });
21
21
  exports.handleMLSMessageAdd = exports.isMLSMessageAddEvent = void 0;
22
22
  const event_1 = require("@wireapp/api-client/lib/event");
23
- const protocol_messaging_1 = require("@wireapp/protocol-messaging");
24
23
  const bazinga64_1 = require("bazinga64");
24
+ const protocol_messaging_1 = require("@wireapp/protocol-messaging");
25
25
  const MLSService_1 = require("../../../../MLSService/MLSService");
26
26
  const isMLSMessageAddEvent = (event) => event.type === event_1.CONVERSATION_EVENT.MLS_MESSAGE_ADD;
27
27
  exports.isMLSMessageAddEvent = isMLSMessageAddEvent;
@@ -64,4 +64,3 @@ const handleMLSMessageAdd = async ({ mlsService, event, logger }) => {
64
64
  };
65
65
  };
66
66
  exports.handleMLSMessageAdd = handleMLSMessageAdd;
67
- //# sourceMappingURL=messageAdd.js.map
@@ -1 +1,2 @@
1
1
  export * from './welcomeMessage';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/mls/EventHandler/ConversationEvent/events/welcomeMessage/index.ts"],"names":[],"mappings":"AAmBA,cAAc,kBAAkB,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("./welcomeMessage"), exports);
36
- //# sourceMappingURL=index.js.map
@@ -6,3 +6,4 @@ interface HandleWelcomeMessageParams extends EventHandlerParams {
6
6
  }
7
7
  declare const handleWelcomeMessage: ({ mlsService, event }: HandleWelcomeMessageParams) => EventHandlerResult;
8
8
  export { isWelcomeMessageEvent, handleWelcomeMessage };
9
+ //# sourceMappingURL=welcomeMessage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"welcomeMessage.d.ts","sourceRoot":"","sources":["../../../../../../src/mls/EventHandler/ConversationEvent/events/welcomeMessage/welcomeMessage.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAC,YAAY,EAAE,2BAA2B,EAAqB,MAAM,+BAA+B,CAAC;AAG5G,OAAO,EAAC,kBAAkB,EAAE,kBAAkB,EAAC,MAAM,6BAA6B,CAAC;AAEnF,QAAA,MAAM,qBAAqB,UAAW,YAAY,yCACK,CAAC;AAExD,UAAU,0BAA2B,SAAQ,kBAAkB;IAC7D,KAAK,EAAE,2BAA2B,CAAC;CACpC;AACD,QAAA,MAAM,oBAAoB,0BAA+B,0BAA0B,uBASlF,CAAC;AAEF,OAAO,EAAC,qBAAqB,EAAE,oBAAoB,EAAC,CAAC"}
@@ -34,4 +34,3 @@ const handleWelcomeMessage = async ({ mlsService, event }) => {
34
34
  };
35
35
  };
36
36
  exports.handleWelcomeMessage = handleWelcomeMessage;
37
- //# sourceMappingURL=welcomeMessage.js.map
@@ -1 +1,2 @@
1
1
  export * from './ConversationEvent';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/mls/EventHandler/ConversationEvent/index.ts"],"names":[],"mappings":"AAmBA,cAAc,qBAAqB,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("./ConversationEvent"), exports);
36
- //# sourceMappingURL=index.js.map
@@ -1,3 +1,4 @@
1
1
  import { EventHandlerResult, EventHandlerParams } from './EventHandler.types';
2
2
  declare const handleBackendEvent: (params: EventHandlerParams) => EventHandlerResult;
3
3
  export { handleBackendEvent };
4
+ //# sourceMappingURL=EventHandler.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EventHandler.d.ts","sourceRoot":"","sources":["../../../src/mls/EventHandler/EventHandler.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAC,kBAAkB,EAAE,kBAAkB,EAAC,MAAM,sBAAsB,CAAC;AAE5E,QAAA,MAAM,kBAAkB,WAAkB,kBAAkB,uBAAwD,CAAC;AAErH,OAAO,EAAC,kBAAkB,EAAC,CAAC"}
@@ -22,4 +22,3 @@ exports.handleBackendEvent = void 0;
22
22
  const ConversationEvent_1 = require("./ConversationEvent");
23
23
  const handleBackendEvent = async (params) => (0, ConversationEvent_1.handleConversationEvent)(params);
24
24
  exports.handleBackendEvent = handleBackendEvent;
25
- //# sourceMappingURL=EventHandler.js.map
@@ -1,6 +1,6 @@
1
- import { HandledEventPayload } from '../../notification';
2
1
  import { BackendEvent } from '@wireapp/api-client/lib/event';
3
2
  import { PayloadBundleSource } from '../../conversation';
3
+ import { HandledEventPayload } from '../../notification';
4
4
  import { MLSService } from '../MLSService/MLSService';
5
5
  export { BackendEvent, PayloadBundleSource };
6
6
  export declare type EventHandlerResult = Promise<HandledEventPayload | void>;
@@ -10,3 +10,4 @@ export declare type EventHandlerParams = {
10
10
  source: PayloadBundleSource;
11
11
  dryRun?: boolean;
12
12
  };
13
+ //# sourceMappingURL=EventHandler.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EventHandler.types.d.ts","sourceRoot":"","sources":["../../../src/mls/EventHandler/EventHandler.types.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAC,YAAY,EAAC,MAAM,+BAA+B,CAAC;AAE3D,OAAO,EAAC,mBAAmB,EAAC,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAAC,mBAAmB,EAAC,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAAC,UAAU,EAAC,MAAM,0BAA0B,CAAC;AAEpD,OAAO,EAAC,YAAY,EAAE,mBAAmB,EAAC,CAAC;AAC3C,oBAAY,kBAAkB,GAAG,OAAO,CAAC,mBAAmB,GAAG,IAAI,CAAC,CAAC;AACrE,oBAAY,kBAAkB,GAAG;IAC/B,UAAU,EAAE,UAAU,CAAC;IACvB,KAAK,EAAE,YAAY,CAAC;IACpB,MAAM,EAAE,mBAAmB,CAAC;IAC5B,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC"}
@@ -21,4 +21,3 @@ Object.defineProperty(exports, "__esModule", { value: true });
21
21
  exports.PayloadBundleSource = void 0;
22
22
  const conversation_1 = require("../../conversation");
23
23
  Object.defineProperty(exports, "PayloadBundleSource", { enumerable: true, get: function () { return conversation_1.PayloadBundleSource; } });
24
- //# sourceMappingURL=EventHandler.types.js.map
@@ -1,2 +1,3 @@
1
1
  export * from './EventHandler.types';
2
2
  export * from './EventHandler';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/mls/EventHandler/index.ts"],"names":[],"mappings":"AAmBA,cAAc,sBAAsB,CAAC;AACrC,cAAc,gBAAgB,CAAC"}
@@ -34,4 +34,3 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
34
34
  Object.defineProperty(exports, "__esModule", { value: true });
35
35
  __exportStar(require("./EventHandler.types"), exports);
36
36
  __exportStar(require("./EventHandler"), exports);
37
- //# sourceMappingURL=index.js.map
@@ -1,11 +1,11 @@
1
- import { APIClient } from '@wireapp/api-client';
2
1
  import { PostMlsMessageResponse } from '@wireapp/api-client/lib/conversation';
3
- import { AddProposalArgs, ConversationConfiguration, ConversationId, CoreCrypto, DecryptedMessage, ExternalProposalArgs, ExternalProposalType, ExternalRemoveProposalArgs, Invitee, ProposalArgs, ProposalType, RemoveProposalArgs } from '@wireapp/core-crypto';
2
+ import { QualifiedId } from '@wireapp/api-client/lib/user';
4
3
  import logdown from 'logdown';
4
+ import { APIClient } from '@wireapp/api-client';
5
+ import { AddProposalArgs, ConversationConfiguration, ConversationId, CoreCrypto, DecryptedMessage, ExternalProposalArgs, ExternalProposalType, ExternalRemoveProposalArgs, Invitee, ProposalArgs, ProposalType, RemoveProposalArgs } from '@wireapp/core-crypto';
5
6
  import { QualifiedUsers } from '../../conversation';
6
- import { CommitPendingProposalsParams, HandlePendingProposalsParams, MLSCallbacks } from '../types';
7
- import { QualifiedId } from '@wireapp/api-client/lib/user';
8
7
  import { EventHandlerParams, EventHandlerResult } from '../EventHandler';
8
+ import { CommitPendingProposalsParams, HandlePendingProposalsParams, MLSCallbacks } from '../types';
9
9
  export declare const optionalToUint8Array: (array: Uint8Array | []) => Uint8Array;
10
10
  interface MLSServiceConfig {
11
11
  keyingMaterialUpdateThreshold: number;
@@ -117,3 +117,4 @@ export declare class MLSService {
117
117
  checkExistingPendingProposals(): Promise<void>;
118
118
  }
119
119
  export {};
120
+ //# sourceMappingURL=MLSService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MLSService.d.ts","sourceRoot":"","sources":["../../../src/mls/MLSService/MLSService.ts"],"names":[],"mappings":"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"}
@@ -33,18 +33,18 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
33
33
  };
34
34
  Object.defineProperty(exports, "__esModule", { value: true });
35
35
  exports.MLSService = exports.optionalToUint8Array = void 0;
36
+ const axios_1 = __importDefault(require("axios"));
36
37
  const bazinga64_1 = require("bazinga64");
37
38
  const logdown_1 = __importDefault(require("logdown"));
39
+ const commons_1 = require("@wireapp/commons");
40
+ const commitBundleUtil_1 = require("./commitBundleUtil");
41
+ const keyMaterialUpdatesStore_1 = require("./stores/keyMaterialUpdatesStore");
42
+ const pendingProposalsStore_1 = require("./stores/pendingProposalsStore");
38
43
  const messageSender_1 = require("../../conversation/message/messageSender");
39
44
  const fullyQualifiedClientIdUtils_1 = require("../../util/fullyQualifiedClientIdUtils");
40
- const commitBundleUtil_1 = require("./commitBundleUtil");
41
- const commons_1 = require("@wireapp/commons");
42
45
  const RecurringTaskScheduler_1 = require("../../util/RecurringTaskScheduler");
43
46
  const TaskScheduler_1 = require("../../util/TaskScheduler");
44
47
  const EventHandler_1 = require("../EventHandler");
45
- const keyMaterialUpdatesStore_1 = require("./stores/keyMaterialUpdatesStore");
46
- const pendingProposalsStore_1 = require("./stores/pendingProposalsStore");
47
- const axios_1 = __importDefault(require("axios"));
48
48
  //@todo: this function is temporary, we wait for the update from core-crypto side
49
49
  //they are returning regular array instead of Uint8Array for commit and welcome messages
50
50
  const optionalToUint8Array = (array) => {
@@ -395,4 +395,3 @@ class MLSService {
395
395
  }
396
396
  }
397
397
  exports.MLSService = MLSService;
398
- //# sourceMappingURL=MLSService.js.map
@@ -5,3 +5,4 @@ import { CommitBundle } from '@wireapp/core-crypto';
5
5
  * @returns
6
6
  */
7
7
  export declare function toProtobufCommitBundle({ commit, welcome, publicGroupState }: CommitBundle): Uint8Array;
8
+ //# sourceMappingURL=commitBundleUtil.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"commitBundleUtil.d.ts","sourceRoot":"","sources":["../../../src/mls/MLSService/commitBundleUtil.ts"],"names":[],"mappings":"AAqBA,OAAO,EAAC,YAAY,EAAkD,MAAM,sBAAsB,CAAC;AAYnG;;;;GAIG;AACH,wBAAgB,sBAAsB,CAAC,EAAC,MAAM,EAAE,OAAO,EAAE,gBAAgB,EAAC,EAAE,YAAY,GAAG,UAAU,CAWpG"}
@@ -19,8 +19,8 @@
19
19
  */
20
20
  Object.defineProperty(exports, "__esModule", { value: true });
21
21
  exports.toProtobufCommitBundle = void 0;
22
- const core_crypto_1 = require("@wireapp/core-crypto");
23
22
  const mls_1 = require("@wireapp/protocol-messaging/web/mls");
23
+ const core_crypto_1 = require("@wireapp/core-crypto");
24
24
  const ratchetTreeMapping = {
25
25
  [core_crypto_1.RatchetTreeType.Full]: mls_1.mls.RatchetTreeType.FULL,
26
26
  [core_crypto_1.RatchetTreeType.ByRef]: mls_1.mls.RatchetTreeType.REFERENCE,
@@ -48,4 +48,3 @@ function toProtobufCommitBundle({ commit, welcome, publicGroupState }) {
48
48
  }).finish();
49
49
  }
50
50
  exports.toProtobufCommitBundle = toProtobufCommitBundle;
51
- //# sourceMappingURL=commitBundleUtil.js.map
@@ -1 +1,2 @@
1
1
  export * from './MLSService';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/mls/MLSService/index.ts"],"names":[],"mappings":"AAmBA,cAAc,cAAc,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("./MLSService"), exports);
36
- //# sourceMappingURL=index.js.map
@@ -1 +1,2 @@
1
1
  export * from './keyMaterialUpdatesStore';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/mls/MLSService/stores/keyMaterialUpdatesStore/index.ts"],"names":[],"mappings":"AAmBA,cAAc,2BAA2B,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("./keyMaterialUpdatesStore"), exports);
36
- //# sourceMappingURL=index.js.map
@@ -8,3 +8,4 @@ export declare const keyMaterialUpdatesStore: {
8
8
  storeLastKeyMaterialUpdateDate: ({ groupId }: LastKeyMaterialUpdateParams) => void;
9
9
  deleteLastKeyMaterialUpdateDate: ({ groupId }: CommonMLS) => void;
10
10
  };
11
+ //# sourceMappingURL=keyMaterialUpdatesStore.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"keyMaterialUpdatesStore.d.ts","sourceRoot":"","sources":["../../../../../src/mls/MLSService/stores/keyMaterialUpdatesStore/keyMaterialUpdatesStore.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAC,SAAS,EAAC,MAAM,gBAAgB,CAAC;AAEzC,oBAAY,2BAA2B,GAAG,SAAS,CAAC;AACpD,MAAM,WAAW,uBAAuB;IACtC,CAAC,OAAO,EAAE,MAAM,GAAG,2BAA2B,CAAC;CAChD;AA+BD,eAAO,MAAM,uBAAuB;6BAnBN,2BAA2B,EAAE;kDAKR,2BAA2B;mDAM1B,SAAS;CAY5D,CAAC"}
@@ -48,4 +48,3 @@ exports.keyMaterialUpdatesStore = {
48
48
  storeLastKeyMaterialUpdateDate,
49
49
  deleteLastKeyMaterialUpdateDate,
50
50
  };
51
- //# sourceMappingURL=keyMaterialUpdatesStore.js.map
@@ -1 +1,2 @@
1
1
  export * from './pendingProposalsStore';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/mls/MLSService/stores/pendingProposalsStore/index.ts"],"names":[],"mappings":"AAmBA,cAAc,yBAAyB,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("./pendingProposalsStore"), exports);
36
- //# sourceMappingURL=index.js.map
@@ -7,3 +7,4 @@ export declare const pendingProposalsStore: {
7
7
  storeItem: ({ groupId, firingDate }: PendingProposalsParams) => void;
8
8
  deleteItem: ({ groupId }: CommonMLS) => void;
9
9
  };
10
+ //# sourceMappingURL=pendingProposalsStore.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pendingProposalsStore.d.ts","sourceRoot":"","sources":["../../../../../src/mls/MLSService/stores/pendingProposalsStore/pendingProposalsStore.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAC,SAAS,EAAC,MAAM,gBAAgB,CAAC;AAEzC,oBAAY,sBAAsB,GAAG;IACnC,UAAU,EAAE,MAAM,CAAC;CACpB,GAAG,SAAS,CAAC;AAmCd,eAAO,MAAM,qBAAqB;uBAnBV,sBAAsB,EAAE;yCAKN,sBAAsB;8BAMjC,SAAS;CAYvC,CAAC"}
@@ -48,4 +48,3 @@ exports.pendingProposalsStore = {
48
48
  storeItem,
49
49
  deleteItem,
50
50
  };
51
- //# sourceMappingURL=pendingProposalsStore.js.map
@@ -6,3 +6,4 @@ declare function storageMock(): {
6
6
  key: (i: any) => string | null;
7
7
  };
8
8
  export { storageMock };
9
+ //# sourceMappingURL=stores.mock.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stores.mock.d.ts","sourceRoot":"","sources":["../../../../src/mls/MLSService/stores/stores.mock.ts"],"names":[],"mappings":"AAmBA,iBAAS,WAAW;mBAIQ,GAAG,SAAS,GAAG;mBAGf,GAAG;sBAGA,GAAG;;aAMZ,GAAG;EAKxB;AAED,OAAO,EAAC,WAAW,EAAC,CAAC"}
@@ -41,4 +41,3 @@ function storageMock() {
41
41
  };
42
42
  }
43
43
  exports.storageMock = storageMock;
44
- //# sourceMappingURL=stores.mock.js.map
@@ -1 +1,2 @@
1
1
  export * from './MLSService';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/mls/index.ts"],"names":[],"mappings":"AAmBA,cAAc,cAAc,CAAC"}
package/lib/mls/index.js CHANGED
@@ -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("./MLSService"), exports);
36
- //# sourceMappingURL=index.js.map
@@ -46,3 +46,4 @@ export interface CryptoProtocolConfig<T = any> {
46
46
  proteus?: boolean;
47
47
  }
48
48
  export {};
49
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/mls/types.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAC,WAAW,EAAC,MAAM,8BAA8B,CAAC;AAEzD,OAAO,EAAC,mBAAmB,EAAC,MAAM,sBAAsB,CAAC;AAEzD,aAAK,YAAY,CAAC,CAAC,IAAI;IACrB,OAAO,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,OAAO,CAAC,CAAC,CAAC,CAAC;IAC3C,OAAO,EAAE,CAAC,OAAO,EAAE,CAAC,KAAK,OAAO,CAAC,UAAU,CAAC,CAAC;CAC9C,CAAC;AAEF,MAAM,WAAW,YAAa,SAAQ,IAAI,CAAC,mBAAmB,EAAE,WAAW,GAAG,eAAe,CAAC;IAC5F;;;;;OAKG;IACH,yBAAyB,EAAE,CAAC,cAAc,EAAE,WAAW,KAAK,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACzF;AAED,oBAAY,SAAS,GAAG;IACtB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,oBAAY,4BAA4B,GAAG;IACzC,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB,GAAG,SAAS,CAAC;AAEd,oBAAY,4BAA4B,GAAG;IACzC,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,GAAG,SAAS,CAAC;AAEd,MAAM,WAAW,oBAAoB,CAAC,CAAC,GAAG,GAAG;IAC3C;;;OAGG;IACH,YAAY,CAAC,EAAE,YAAY,CAAC,CAAC,CAAC,CAAC;IAE/B;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAE9B,uEAAuE;IACvE,GAAG,CAAC,EAAE;QACJ;;WAEG;QACH,6BAA6B,CAAC,EAAE,MAAM,CAAC;KACxC,CAAC;IAEF,oKAAoK;IACpK,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB"}
package/lib/mls/types.js CHANGED
@@ -18,4 +18,3 @@
18
18
  *
19
19
  */
20
20
  Object.defineProperty(exports, "__esModule", { value: true });
21
- //# sourceMappingURL=types.js.map
@@ -1,5 +1,5 @@
1
- import { APIClient } from '@wireapp/api-client';
2
1
  import { Notification } from '@wireapp/api-client/lib/notification/';
2
+ import { APIClient } from '@wireapp/api-client';
3
3
  export declare class NotificationBackendRepository {
4
4
  private readonly apiClient;
5
5
  constructor(apiClient: APIClient);
@@ -9,3 +9,4 @@ export declare class NotificationBackendRepository {
9
9
  }>;
10
10
  getLastNotification(clientId?: string): Promise<Notification>;
11
11
  }
12
+ //# sourceMappingURL=NotificationBackendRepository.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NotificationBackendRepository.d.ts","sourceRoot":"","sources":["../../src/notification/NotificationBackendRepository.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAC,YAAY,EAAC,MAAM,uCAAuC,CAAC;AAEnE,OAAO,EAAC,SAAS,EAAC,MAAM,qBAAqB,CAAC;AAE9C,qBAAa,6BAA6B;IAC5B,OAAO,CAAC,QAAQ,CAAC,SAAS;gBAAT,SAAS,EAAE,SAAS;IAEpC,mBAAmB,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,kBAAkB,CAAC,EAAE,MAAM;;;;IAIxE,mBAAmB,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,CAAC;CAGrE"}
@@ -31,4 +31,3 @@ class NotificationBackendRepository {
31
31
  }
32
32
  }
33
33
  exports.NotificationBackendRepository = NotificationBackendRepository;
34
- //# sourceMappingURL=NotificationBackendRepository.js.map
@@ -18,3 +18,4 @@ export declare class NotificationDatabaseRepository {
18
18
  getLastNotificationId(): Promise<string>;
19
19
  updateLastNotificationId(lastNotification: Notification): Promise<string>;
20
20
  }
21
+ //# sourceMappingURL=NotificationDatabaseRepository.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NotificationDatabaseRepository.d.ts","sourceRoot":"","sources":["../../src/notification/NotificationDatabaseRepository.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAC,YAAY,EAAC,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAC,YAAY,EAAC,MAAM,uCAAuC,CAAC;AAEnE,OAAO,EAAC,UAAU,EAAC,MAAM,uBAAuB,CAAC;AAIjD,oBAAY,cAAc;IACxB,MAAM,WAAW;CAClB;AAED,oBAAY,YAAY;IACtB,sBAAsB,yCAAyC;IAC/D,6BAA6B,8CAA8C;CAC5E;AAMD,qBAAa,8BAA8B;IAC7B,OAAO,CAAC,QAAQ,CAAC,WAAW;gBAAX,WAAW,EAAE,UAAU;IAE7C,wBAAwB;IAIlB,gBAAgB;IAOhB,mBAAmB,CAAC,SAAS,EAAE,IAAI;IAOnC,mBAAmB,CAAC,SAAS,EAAE,IAAI;IAOnC,qBAAqB;IAOrB,wBAAwB,CAAC,gBAAgB,EAAE,YAAY;CAMrE"}
@@ -65,4 +65,3 @@ class NotificationDatabaseRepository {
65
65
  }
66
66
  }
67
67
  exports.NotificationDatabaseRepository = NotificationDatabaseRepository;
68
- //# sourceMappingURL=NotificationDatabaseRepository.js.map
@@ -1,14 +1,14 @@
1
1
  /// <reference types="node" />
2
- import { APIClient } from '@wireapp/api-client';
3
2
  import * as Events from '@wireapp/api-client/lib/event';
4
3
  import { Notification } from '@wireapp/api-client/lib/notification/';
5
- import { CRUDEngine } from '@wireapp/store-engine';
4
+ import { AbortHandler } from '@wireapp/api-client/lib/tcp';
6
5
  import { EventEmitter } from 'events';
6
+ import { APIClient } from '@wireapp/api-client';
7
+ import { GenericMessage } from '@wireapp/protocol-messaging';
8
+ import { CRUDEngine } from '@wireapp/store-engine';
7
9
  import { PayloadBundle, PayloadBundleSource } from '../conversation';
8
10
  import { NotificationError } from '../CoreError';
9
11
  import { CryptographyService } from '../cryptography';
10
- import { GenericMessage } from '@wireapp/protocol-messaging';
11
- import { AbortHandler } from '@wireapp/api-client/lib/tcp';
12
12
  import { MLSService } from '../mls';
13
13
  export declare type HandledEventPayload = {
14
14
  event: Events.BackendEvent;
@@ -71,3 +71,4 @@ export declare class NotificationService extends EventEmitter {
71
71
  private handleEvent;
72
72
  }
73
73
  export {};
74
+ //# sourceMappingURL=NotificationService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NotificationService.d.ts","sourceRoot":"","sources":["../../src/notification/NotificationService.ts"],"names":[],"mappings":"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"}
@@ -58,15 +58,15 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
58
58
  Object.defineProperty(exports, "__esModule", { value: true });
59
59
  exports.NotificationService = void 0;
60
60
  const Events = __importStar(require("@wireapp/api-client/lib/event"));
61
- const store_engine_1 = require("@wireapp/store-engine");
62
- const events_1 = require("events");
63
61
  const logdown_1 = __importDefault(require("logdown"));
62
+ const events_1 = require("events");
63
+ const store_engine_1 = require("@wireapp/store-engine");
64
+ const NotificationBackendRepository_1 = require("./NotificationBackendRepository");
65
+ const NotificationDatabaseRepository_1 = require("./NotificationDatabaseRepository");
64
66
  const conversation_1 = require("../conversation");
65
67
  const ConversationMapper_1 = require("../conversation/ConversationMapper");
66
68
  const CoreError_1 = require("../CoreError");
67
69
  const UserMapper_1 = require("../user/UserMapper");
68
- const NotificationBackendRepository_1 = require("./NotificationBackendRepository");
69
- const NotificationDatabaseRepository_1 = require("./NotificationDatabaseRepository");
70
70
  var TOPIC;
71
71
  (function (TOPIC) {
72
72
  TOPIC["NOTIFICATION_ERROR"] = "NotificationService.TOPIC.NOTIFICATION_ERROR";
@@ -290,4 +290,3 @@ class NotificationService extends events_1.EventEmitter {
290
290
  }
291
291
  exports.NotificationService = NotificationService;
292
292
  NotificationService.TOPIC = TOPIC;
293
- //# sourceMappingURL=NotificationService.js.map
@@ -1 +1,2 @@
1
1
  export * from './NotificationService';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/notification/index.ts"],"names":[],"mappings":"AAmBA,cAAc,uBAAuB,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("./NotificationService"), exports);
36
- //# sourceMappingURL=index.js.map
@@ -1,5 +1,5 @@
1
- import { APIClient } from '@wireapp/api-client';
2
1
  import { Self } from '@wireapp/api-client/lib/self/';
2
+ import { APIClient } from '@wireapp/api-client';
3
3
  export declare class SelfService {
4
4
  private readonly apiClient;
5
5
  constructor(apiClient: APIClient);
@@ -11,3 +11,4 @@ export declare class SelfService {
11
11
  setName(name: string): Promise<void>;
12
12
  setUsername(username: string): Promise<void>;
13
13
  }
14
+ //# sourceMappingURL=SelfService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SelfService.d.ts","sourceRoot":"","sources":["../../src/self/SelfService.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAC,IAAI,EAAC,MAAM,+BAA+B,CAAC;AAEnD,OAAO,EAAC,SAAS,EAAC,MAAM,qBAAqB,CAAC;AAE9C,qBAAa,WAAW;IACV,OAAO,CAAC,QAAQ,CAAC,SAAS;gBAAT,SAAS,EAAE,SAAS;IAEpC,aAAa,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAKvD,cAAc,CAAC,SAAS,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC;IAMhD,OAAO,IAAI,OAAO,CAAC,MAAM,CAAC;IAK1B,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;IAKxB,WAAW,IAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC;IAKhD,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAIpC,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAGpD"}
@@ -52,4 +52,3 @@ class SelfService {
52
52
  }
53
53
  }
54
54
  exports.SelfService = SelfService;
55
- //# sourceMappingURL=SelfService.js.map
@@ -1 +1,2 @@
1
1
  export * from './SelfService';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/self/index.ts"],"names":[],"mappings":"AAmBA,cAAc,eAAe,CAAC"}
package/lib/self/index.js CHANGED
@@ -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("./SelfService"), exports);
36
- //# sourceMappingURL=index.js.map
@@ -1,5 +1,5 @@
1
- import { APIClient } from '@wireapp/api-client';
2
1
  import { MemberData, Members, NewTeamData, TeamChunkData, TeamData, UpdateTeamData } from '@wireapp/api-client/lib/team/';
2
+ import { APIClient } from '@wireapp/api-client';
3
3
  export declare class TeamService {
4
4
  private readonly apiClient;
5
5
  constructor(apiClient: APIClient);
@@ -13,3 +13,4 @@ export declare class TeamService {
13
13
  updateMember(teamId: string, memberData: MemberData): Promise<void>;
14
14
  updateTeam(teamId: string, teamData: UpdateTeamData): Promise<void>;
15
15
  }
16
+ //# sourceMappingURL=TeamService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TeamService.d.ts","sourceRoot":"","sources":["../../src/team/TeamService.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAC,UAAU,EAAE,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,QAAQ,EAAE,cAAc,EAAC,MAAM,+BAA+B,CAAC;AAExH,OAAO,EAAC,SAAS,EAAC,MAAM,qBAAqB,CAAC;AAE9C,qBAAa,WAAW;IACV,OAAO,CAAC,QAAQ,CAAC,SAAS;gBAAT,SAAS,EAAE,SAAS;IAE1C,SAAS,CAAC,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC;IAIhE,UAAU,CAAC,QAAQ,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;IAIhD,UAAU,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAI3D,aAAa,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAI/C,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,QAAQ,CAAC;IAI1C,QAAQ,IAAI,OAAO,CAAC,aAAa,CAAC;IAIlC,YAAY,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAI7E,YAAY,CAAC,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC;IAInE,UAAU,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CAG3E"}
@@ -52,4 +52,3 @@ class TeamService {
52
52
  }
53
53
  }
54
54
  exports.TeamService = TeamService;
55
- //# sourceMappingURL=TeamService.js.map
@@ -1 +1,2 @@
1
1
  export * from './TeamService';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/team/index.ts"],"names":[],"mappings":"AAmBA,cAAc,eAAe,CAAC"}
package/lib/team/index.js CHANGED
@@ -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("./TeamService"), exports);
36
- //# sourceMappingURL=index.js.map
@@ -3,3 +3,4 @@ import { PayloadBundle, PayloadBundleSource } from '../conversation';
3
3
  export declare class UserMapper {
4
4
  static mapUserEvent(event: UserEvent, selfUserId: string, source: PayloadBundleSource): PayloadBundle | undefined;
5
5
  }
6
+ //# sourceMappingURL=UserMapper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UserMapper.d.ts","sourceRoot":"","sources":["../../src/user/UserMapper.ts"],"names":[],"mappings":"AAmBA,OAAO,EAKL,SAAS,EAEV,MAAM,+BAA+B,CAAC;AAEvC,OAAO,EAAC,aAAa,EAAE,mBAAmB,EAAwC,MAAM,iBAAiB,CAAC;AAG1G,qBAAa,UAAU;WACP,YAAY,CACxB,KAAK,EAAE,SAAS,EAChB,UAAU,EAAE,MAAM,EAClB,MAAM,EAAE,mBAAmB,GAC1B,aAAa,GAAG,SAAS;CA4D7B"}
@@ -85,4 +85,3 @@ class UserMapper {
85
85
  }
86
86
  }
87
87
  exports.UserMapper = UserMapper;
88
- //# sourceMappingURL=UserMapper.js.map
@@ -1,5 +1,5 @@
1
- import { APIClient } from '@wireapp/api-client';
2
1
  import { QualifiedId, User } from '@wireapp/api-client/lib/user/';
2
+ import { APIClient } from '@wireapp/api-client';
3
3
  import { AvailabilityType, BroadcastService } from '../broadcast/';
4
4
  import { ConnectionService } from '../connection';
5
5
  import { ConversationService } from '../conversation';
@@ -23,3 +23,4 @@ export declare class UserService {
23
23
  sendAsProtobuf?: boolean | undefined;
24
24
  }): Promise<void>;
25
25
  }
26
+ //# sourceMappingURL=UserService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UserService.d.ts","sourceRoot":"","sources":["../../src/user/UserService.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAC,WAAW,EAAE,IAAI,EAAsB,MAAM,+BAA+B,CAAC;AAGrF,OAAO,EAAC,SAAS,EAAC,MAAM,qBAAqB,CAAC;AAG9C,OAAO,EAAC,gBAAgB,EAAE,gBAAgB,EAAC,MAAM,eAAe,CAAC;AACjE,OAAO,EAAC,iBAAiB,EAAC,MAAM,eAAe,CAAC;AAChD,OAAO,EAAC,mBAAmB,EAAC,MAAM,iBAAiB,CAAC;AAGpD,qBAAa,WAAW;IACtB,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAY;IACtC,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAmB;IACpD,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAoB;IACtD,OAAO,CAAC,QAAQ,CAAC,mBAAmB,CAAsB;gBAGxD,SAAS,EAAE,SAAS,EACpB,gBAAgB,EAAE,gBAAgB,EAClC,mBAAmB,EAAE,mBAAmB,EACxC,iBAAiB,EAAE,iBAAiB;IAQ/B,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;IAI9C,QAAQ,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,WAAW,EAAE,GAAG,OAAO,CAAC,IAAI,EAAE,CAAC;IASzE;;;;;;OAMG;IACU,eAAe,CAC1B,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,gBAAgB,EACtB,EAAC,OAAe,EAAE,cAAsB,EAAC;;;KAAK,GAC7C,OAAO,CAAC,IAAI,CAAC;CAqCjB"}