@sudoplatform/sudo-secure-communications 5.3.2 → 5.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/gen/graphqlTypes.js.map +1 -1
- package/cjs/private/data/channels/defaultChannelsService.js +9 -1
- package/cjs/private/data/channels/defaultChannelsService.js.map +1 -1
- package/cjs/private/data/channels/transformer/channelTransformer.js +5 -1
- package/cjs/private/data/channels/transformer/channelTransformer.js.map +1 -1
- package/cjs/private/data/common/matrixClientManager.js +34 -4
- package/cjs/private/data/common/matrixClientManager.js.map +1 -1
- package/cjs/private/data/common/transformer/avatarImageMetadataTransformer.js +17 -0
- package/cjs/private/data/common/transformer/avatarImageMetadataTransformer.js.map +1 -0
- package/cjs/private/data/groups/transformer/groupTransformer.js +10 -2
- package/cjs/private/data/groups/transformer/groupTransformer.js.map +1 -1
- package/cjs/private/data/messaging/matrixMessagingService.js +4 -0
- package/cjs/private/data/messaging/matrixMessagingService.js.map +1 -1
- package/cjs/private/data/messaging/transformer/messageTransformer.js +4 -4
- package/cjs/private/data/messaging/transformer/messageTransformer.js.map +1 -1
- package/cjs/private/data/messaging/transformer/searchMessagesItemTransformer.js +6 -2
- package/cjs/private/data/messaging/transformer/searchMessagesItemTransformer.js.map +1 -1
- package/cjs/private/domain/entities/channels/channelEntity.js.map +1 -1
- package/cjs/private/domain/entities/common/avatarImageMetadataEntity.js +8 -0
- package/cjs/private/domain/entities/common/avatarImageMetadataEntity.js.map +1 -0
- package/cjs/private/domain/entities/groups/groupEntity.js.map +1 -1
- package/cjs/private/domain/entities/rooms/roomEntity.js.map +1 -1
- package/cjs/private/domain/use-cases/channels/createChannelUseCase.js +1 -0
- package/cjs/private/domain/use-cases/channels/createChannelUseCase.js.map +1 -1
- package/cjs/private/domain/use-cases/channels/listInvitationsUseCase.js +31 -18
- package/cjs/private/domain/use-cases/channels/listInvitationsUseCase.js.map +1 -1
- package/cjs/private/domain/use-cases/channels/updateChannelUseCase.js +6 -0
- package/cjs/private/domain/use-cases/channels/updateChannelUseCase.js.map +1 -1
- package/cjs/private/domain/use-cases/groups/listInvitationsUseCase.js +23 -13
- package/cjs/private/domain/use-cases/groups/listInvitationsUseCase.js.map +1 -1
- package/cjs/private/domain/use-cases/messaging/markAsUnreadUseCase.js +34 -0
- package/cjs/private/domain/use-cases/messaging/markAsUnreadUseCase.js.map +1 -0
- package/cjs/public/modules/messagingModule.js +11 -0
- package/cjs/public/modules/messagingModule.js.map +1 -1
- package/cjs/public/typings/channel.js.map +1 -1
- package/cjs/public/typings/group.js.map +1 -1
- package/docs/assets/hierarchy.js +1 -1
- package/docs/assets/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/ChannelPermissions.html +3 -3
- package/docs/classes/DefaultMessagingModule.html +27 -24
- package/docs/classes/GroupPermissions.html +3 -3
- package/docs/enums/ChannelJoinRule.html +2 -2
- package/docs/enums/ChannelRole.html +2 -2
- package/docs/enums/ChannelSortDirection.html +2 -2
- package/docs/enums/ChannelSortField.html +2 -2
- package/docs/enums/GroupRole.html +2 -2
- package/docs/enums/PublicChannelJoinRule.html +2 -2
- package/docs/hierarchy.html +1 -1
- package/docs/interfaces/Audio.html +1 -1
- package/docs/interfaces/AudioMedia.html +1 -1
- package/docs/interfaces/BaseMessageContent.html +1 -1
- package/docs/interfaces/Channel.html +14 -12
- package/docs/interfaces/ChannelInvite.html +1 -1
- package/docs/interfaces/ChannelMember.html +1 -1
- package/docs/interfaces/ChannelPermissionsInput.html +2 -2
- package/docs/interfaces/ChannelSortOrder.html +3 -3
- package/docs/interfaces/CreatePollInput.html +7 -7
- package/docs/interfaces/DeleteMessageInput.html +5 -5
- package/docs/interfaces/DirectChatInvite.html +1 -1
- package/docs/interfaces/EditMediaCaptionInput.html +6 -6
- package/docs/interfaces/EditMessageInput.html +5 -5
- package/docs/interfaces/EditPollInput.html +8 -8
- package/docs/interfaces/EditedMessage.html +1 -1
- package/docs/interfaces/Emote.html +1 -1
- package/docs/interfaces/EncryptedMessage.html +1 -1
- package/docs/interfaces/EndPollInput.html +4 -4
- package/docs/interfaces/EventListenerContent.html +4 -4
- package/docs/interfaces/EventListenerReaction.html +6 -6
- package/docs/interfaces/File.html +1 -1
- package/docs/interfaces/FileMedia.html +1 -1
- package/docs/interfaces/GetChatSummariesInput.html +3 -3
- package/docs/interfaces/GetMessageInput.html +4 -4
- package/docs/interfaces/GetMessagesInput.html +3 -3
- package/docs/interfaces/GetPinnedMessagesInput.html +3 -3
- package/docs/interfaces/GetPollResponsesInput.html +4 -4
- package/docs/interfaces/Group.html +9 -7
- package/docs/interfaces/GroupInvite.html +1 -1
- package/docs/interfaces/GroupMember.html +1 -1
- package/docs/interfaces/Handle.html +1 -1
- package/docs/interfaces/Image.html +1 -1
- package/docs/interfaces/ImageMedia.html +1 -1
- package/docs/interfaces/Invite.html +1 -1
- package/docs/interfaces/KeyVerificationRequest.html +1 -1
- package/docs/interfaces/Location.html +1 -1
- package/docs/interfaces/MarkAsReadInput.html +3 -3
- package/docs/interfaces/MarkAsUnreadInput.html +7 -0
- package/docs/interfaces/Member.html +1 -1
- package/docs/interfaces/MembershipChange.html +1 -1
- package/docs/interfaces/MessageNotification.html +1 -1
- package/docs/interfaces/MessagingModule.html +26 -23
- package/docs/interfaces/Notice.html +1 -1
- package/docs/interfaces/NotificationInfo.html +1 -1
- package/docs/interfaces/OwnedHandle.html +1 -1
- package/docs/interfaces/Pagination.html +1 -1
- package/docs/interfaces/PinMessageInput.html +4 -4
- package/docs/interfaces/Poll.html +1 -1
- package/docs/interfaces/PollResponse.html +1 -1
- package/docs/interfaces/PublicChannelSearchResult.html +10 -10
- package/docs/interfaces/RedactedMessage.html +1 -1
- package/docs/interfaces/RegisterMessageListenerInput.html +5 -5
- package/docs/interfaces/SearchMessagesInput.html +3 -3
- package/docs/interfaces/SelfDestructedMessage.html +1 -1
- package/docs/interfaces/SelfDestructible.html +1 -1
- package/docs/interfaces/SendMediaInput.html +15 -15
- package/docs/interfaces/SendMessageInput.html +9 -9
- package/docs/interfaces/SendPollResponseInput.html +5 -5
- package/docs/interfaces/SendTypingNotificationInput.html +4 -4
- package/docs/interfaces/Text.html +1 -1
- package/docs/interfaces/ToggleReactionInput.html +5 -5
- package/docs/interfaces/UnpinMessageInput.html +4 -4
- package/docs/interfaces/UnregisterMessageListenerInput.html +4 -4
- package/docs/interfaces/Video.html +1 -1
- package/docs/interfaces/VideoMedia.html +1 -1
- package/docs/modules.html +1 -1
- package/lib/gen/graphqlTypes.js.map +1 -1
- package/lib/private/data/channels/defaultChannelsService.js +9 -1
- package/lib/private/data/channels/defaultChannelsService.js.map +1 -1
- package/lib/private/data/channels/transformer/channelTransformer.js +5 -1
- package/lib/private/data/channels/transformer/channelTransformer.js.map +1 -1
- package/lib/private/data/common/matrixClientManager.js +34 -4
- package/lib/private/data/common/matrixClientManager.js.map +1 -1
- package/lib/private/data/common/transformer/avatarImageMetadataTransformer.js +13 -0
- package/lib/private/data/common/transformer/avatarImageMetadataTransformer.js.map +1 -0
- package/lib/private/data/groups/transformer/groupTransformer.js +10 -2
- package/lib/private/data/groups/transformer/groupTransformer.js.map +1 -1
- package/lib/private/data/messaging/matrixMessagingService.js +4 -0
- package/lib/private/data/messaging/matrixMessagingService.js.map +1 -1
- package/lib/private/data/messaging/transformer/messageTransformer.js +4 -4
- package/lib/private/data/messaging/transformer/messageTransformer.js.map +1 -1
- package/lib/private/data/messaging/transformer/searchMessagesItemTransformer.js +6 -2
- package/lib/private/data/messaging/transformer/searchMessagesItemTransformer.js.map +1 -1
- package/lib/private/domain/entities/channels/channelEntity.js.map +1 -1
- package/lib/private/domain/entities/common/avatarImageMetadataEntity.js +7 -0
- package/lib/private/domain/entities/common/avatarImageMetadataEntity.js.map +1 -0
- package/lib/private/domain/entities/groups/groupEntity.js.map +1 -1
- package/lib/private/domain/entities/rooms/roomEntity.js.map +1 -1
- package/lib/private/domain/use-cases/channels/createChannelUseCase.js +1 -0
- package/lib/private/domain/use-cases/channels/createChannelUseCase.js.map +1 -1
- package/lib/private/domain/use-cases/channels/listInvitationsUseCase.js +31 -18
- package/lib/private/domain/use-cases/channels/listInvitationsUseCase.js.map +1 -1
- package/lib/private/domain/use-cases/channels/updateChannelUseCase.js +6 -0
- package/lib/private/domain/use-cases/channels/updateChannelUseCase.js.map +1 -1
- package/lib/private/domain/use-cases/groups/listInvitationsUseCase.js +23 -13
- package/lib/private/domain/use-cases/groups/listInvitationsUseCase.js.map +1 -1
- package/lib/private/domain/use-cases/messaging/markAsUnreadUseCase.js +30 -0
- package/lib/private/domain/use-cases/messaging/markAsUnreadUseCase.js.map +1 -0
- package/lib/public/modules/messagingModule.js +11 -0
- package/lib/public/modules/messagingModule.js.map +1 -1
- package/lib/public/typings/channel.js.map +1 -1
- package/lib/public/typings/group.js.map +1 -1
- package/package.json +148 -28
- package/types/gen/graphqlTypes.d.ts +5 -0
- package/types/private/data/channels/defaultChannelsService.d.ts +2 -1
- package/types/private/data/common/matrixClientManager.d.ts +1 -0
- package/types/private/data/common/transformer/avatarImageMetadataTransformer.d.ts +5 -0
- package/types/private/data/messaging/matrixMessagingService.d.ts +2 -1
- package/types/private/domain/entities/channels/channelEntity.d.ts +3 -0
- package/types/private/domain/entities/channels/channelsService.d.ts +9 -1
- package/types/private/domain/entities/common/avatarImageMetadataEntity.d.ts +9 -0
- package/types/private/domain/entities/groups/groupEntity.d.ts +3 -0
- package/types/private/domain/entities/messaging/messagingService.d.ts +9 -0
- package/types/private/domain/entities/rooms/roomEntity.d.ts +3 -0
- package/types/private/domain/use-cases/messaging/markAsUnreadUseCase.d.ts +22 -0
- package/types/public/modules/messagingModule.d.ts +18 -0
- package/types/public/typings/channel.d.ts +3 -0
- package/types/public/typings/group.d.ts +3 -0
- package/vendor/matrix-js-sdk/lib/client.cjs +3766 -2572
- package/vendor/matrix-js-sdk/lib/client.js +3766 -2572
- package/vendor/matrix-js-sdk/lib/crypto-api.cjs +9 -0
- package/vendor/matrix-js-sdk/lib/crypto-api.js +9 -0
- package/vendor/matrix-js-sdk/lib/matrix.cjs +4592 -2992
- package/vendor/matrix-js-sdk/lib/matrix.js +4592 -2992
- package/vendor/matrix-js-sdk/lib/sliding-sync.cjs +12 -319
- package/vendor/matrix-js-sdk/lib/sliding-sync.js +12 -319
- package/vendor/matrix-js-sdk/matrix-js-sdk.cjs +4603 -2992
- package/vendor/matrix-js-sdk/matrix-js-sdk.js +4603 -2992
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sudoplatform/sudo-secure-communications",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.5.0",
|
|
4
4
|
"author": "Anonyome Labs, Inc.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
"husky": "^8.0.3",
|
|
154
154
|
"isomorphic-fetch": "^3.0.0",
|
|
155
155
|
"jest": "27.5.1",
|
|
156
|
-
"matrix-js-sdk": "
|
|
156
|
+
"matrix-js-sdk": "^41.2.0",
|
|
157
157
|
"npm-run-all": "^4.1.5",
|
|
158
158
|
"prettier": "^3.7.4",
|
|
159
159
|
"rimraf": "^6.0.1",
|
|
@@ -168,71 +168,191 @@
|
|
|
168
168
|
},
|
|
169
169
|
"packageManager": "yarn@4.12.0+sha512.f45ab632439a67f8bc759bf32ead036a1f413287b9042726b7cc4818b7b49e14e9423ba49b18f9e06ea4941c1ad062385b1d8760a8d5091a1a31e5f6219afca8",
|
|
170
170
|
"auditSuppressions": {
|
|
171
|
+
"1111987": {
|
|
172
|
+
"until": 1777593599,
|
|
173
|
+
"untilISO": "2026-04-30T23:59:59Z",
|
|
174
|
+
"reason": "Waiting for patch - @smithy/config-resolver"
|
|
175
|
+
},
|
|
176
|
+
"1112255": {
|
|
177
|
+
"until": 1777593599,
|
|
178
|
+
"untilISO": "2026-04-30T23:59:59Z",
|
|
179
|
+
"reason": "node-tar used by bufferutil by websocket"
|
|
180
|
+
},
|
|
181
|
+
"1112329": {
|
|
182
|
+
"until": 1777593599,
|
|
183
|
+
"untilISO": "2026-04-30T23:59:59Z",
|
|
184
|
+
"reason": "node-tar used by bufferutil by websocket"
|
|
185
|
+
},
|
|
171
186
|
"1112455": {
|
|
172
|
-
"until":
|
|
173
|
-
"untilISO": "2026-
|
|
187
|
+
"until": 1777593599,
|
|
188
|
+
"untilISO": "2026-04-30T23:59:59Z",
|
|
174
189
|
"reason": "Waiting for patch - Lodash used by other sudo packages"
|
|
175
190
|
},
|
|
191
|
+
"1112659": {
|
|
192
|
+
"until": 1777593599,
|
|
193
|
+
"untilISO": "2026-04-30T23:59:59Z",
|
|
194
|
+
"reason": "node-tar used by node-gyp - requires tar >=7.5.8"
|
|
195
|
+
},
|
|
196
|
+
"1112686": {
|
|
197
|
+
"until": 1777593599,
|
|
198
|
+
"untilISO": "2026-04-30T23:59:59Z",
|
|
199
|
+
"reason": "eslint advisory - suppress until eslint can be upgraded to >=9.26.0"
|
|
200
|
+
},
|
|
201
|
+
"1112818": {
|
|
202
|
+
"until": 1777593599,
|
|
203
|
+
"untilISO": "2026-04-30T23:59:59Z",
|
|
204
|
+
"reason": "eslint advisory - suppress until eslint can be upgraded"
|
|
205
|
+
},
|
|
206
|
+
"1112862": {
|
|
207
|
+
"until": 1777593599,
|
|
208
|
+
"untilISO": "2026-04-30T23:59:59Z",
|
|
209
|
+
"reason": "eslint advisory - suppress until eslint can be upgraded"
|
|
210
|
+
},
|
|
176
211
|
"1112954": {
|
|
177
|
-
"until":
|
|
178
|
-
"untilISO": "2026-
|
|
212
|
+
"until": 1777593599,
|
|
213
|
+
"untilISO": "2026-04-30T23:59:59Z",
|
|
179
214
|
"reason": "eslint advisory - suppress until eslint can be upgraded"
|
|
180
215
|
},
|
|
181
216
|
"1113190": {
|
|
182
|
-
"until":
|
|
183
|
-
"untilISO": "2026-
|
|
217
|
+
"until": 1777593599,
|
|
218
|
+
"untilISO": "2026-04-30T23:59:59Z",
|
|
184
219
|
"reason": "markdown-it advisory used by typedoc"
|
|
185
220
|
},
|
|
221
|
+
"1113300": {
|
|
222
|
+
"until": 1777593599,
|
|
223
|
+
"untilISO": "2026-04-30T23:59:59Z",
|
|
224
|
+
"reason": "node-tar used by node-gyp"
|
|
225
|
+
},
|
|
226
|
+
"1113331": {
|
|
227
|
+
"until": 1777593599,
|
|
228
|
+
"untilISO": "2026-04-30T23:59:59Z",
|
|
229
|
+
"reason": "fast-xml-parser advisory - suppress until fast-xml-parser >=5.3.6"
|
|
230
|
+
},
|
|
231
|
+
"1113371": {
|
|
232
|
+
"until": 1777593599,
|
|
233
|
+
"untilISO": "2026-04-30T23:59:59Z",
|
|
234
|
+
"reason": "minimatch advisory used by tooling deps (typescript-eslint, eslint-plugin-import, glob, typedoc)"
|
|
235
|
+
},
|
|
236
|
+
"1113375": {
|
|
237
|
+
"until": 1777593599,
|
|
238
|
+
"untilISO": "2026-04-30T23:59:59Z",
|
|
239
|
+
"reason": "node-tar used by node-gyp"
|
|
240
|
+
},
|
|
241
|
+
"1113398": {
|
|
242
|
+
"until": 1777593599,
|
|
243
|
+
"untilISO": "2026-04-30T23:59:59Z",
|
|
244
|
+
"reason": "eslint advisory - suppress until eslint can be upgraded"
|
|
245
|
+
},
|
|
246
|
+
"1113407": {
|
|
247
|
+
"until": 1777593599,
|
|
248
|
+
"untilISO": "2026-04-30T23:59:59Z",
|
|
249
|
+
"reason": "fast-xml-parser advisory - suppress until fast-xml-parser can be bumped"
|
|
250
|
+
},
|
|
186
251
|
"1113459": {
|
|
187
|
-
"until":
|
|
188
|
-
"untilISO": "2026-
|
|
252
|
+
"until": 1777593599,
|
|
253
|
+
"untilISO": "2026-04-30T23:59:59Z",
|
|
189
254
|
"reason": "minimatch ReDoS - transitive via eslint-plugin-import"
|
|
190
255
|
},
|
|
191
256
|
"1113465": {
|
|
192
|
-
"until":
|
|
193
|
-
"untilISO": "2026-
|
|
257
|
+
"until": 1777593599,
|
|
258
|
+
"untilISO": "2026-04-30T23:59:59Z",
|
|
194
259
|
"reason": "minimatch ReDoS - transitive via typescript-eslint, typedoc"
|
|
195
260
|
},
|
|
196
261
|
"1113466": {
|
|
197
|
-
"until":
|
|
198
|
-
"untilISO": "2026-
|
|
262
|
+
"until": 1777593599,
|
|
263
|
+
"untilISO": "2026-04-30T23:59:59Z",
|
|
199
264
|
"reason": "minimatch ReDoS - transitive via glob"
|
|
200
265
|
},
|
|
201
266
|
"1113538": {
|
|
202
|
-
"until":
|
|
203
|
-
"untilISO": "2026-
|
|
267
|
+
"until": 1777593599,
|
|
268
|
+
"untilISO": "2026-04-30T23:59:59Z",
|
|
204
269
|
"reason": "minimatch ReDoS matchOne - transitive via eslint-plugin-import"
|
|
205
270
|
},
|
|
206
271
|
"1113544": {
|
|
207
|
-
"until":
|
|
208
|
-
"untilISO": "2026-
|
|
272
|
+
"until": 1777593599,
|
|
273
|
+
"untilISO": "2026-04-30T23:59:59Z",
|
|
209
274
|
"reason": "minimatch ReDoS matchOne - transitive via typescript-eslint, typedoc"
|
|
210
275
|
},
|
|
211
276
|
"1113545": {
|
|
212
|
-
"until":
|
|
213
|
-
"untilISO": "2026-
|
|
277
|
+
"until": 1777593599,
|
|
278
|
+
"untilISO": "2026-04-30T23:59:59Z",
|
|
214
279
|
"reason": "minimatch ReDoS matchOne - transitive via glob"
|
|
215
280
|
},
|
|
216
281
|
"1113546": {
|
|
217
|
-
"until":
|
|
218
|
-
"untilISO": "2026-
|
|
282
|
+
"until": 1777593599,
|
|
283
|
+
"untilISO": "2026-04-30T23:59:59Z",
|
|
219
284
|
"reason": "minimatch ReDoS extglobs - transitive via eslint-plugin-import"
|
|
220
285
|
},
|
|
221
286
|
"1113552": {
|
|
222
|
-
"until":
|
|
223
|
-
"untilISO": "2026-
|
|
287
|
+
"until": 1777593599,
|
|
288
|
+
"untilISO": "2026-04-30T23:59:59Z",
|
|
224
289
|
"reason": "minimatch ReDoS extglobs - transitive via typescript-eslint, typedoc"
|
|
225
290
|
},
|
|
226
291
|
"1113553": {
|
|
227
|
-
"until":
|
|
228
|
-
"untilISO": "2026-
|
|
292
|
+
"until": 1777593599,
|
|
293
|
+
"untilISO": "2026-04-30T23:59:59Z",
|
|
229
294
|
"reason": "minimatch ReDoS extglobs - transitive via glob"
|
|
230
295
|
},
|
|
296
|
+
"1113568": {
|
|
297
|
+
"until": 1777593599,
|
|
298
|
+
"untilISO": "2026-04-30T23:59:59Z",
|
|
299
|
+
"reason": "fast-xml-parser entity encoding bypass - transitive via @aws-sdk/xml-builder"
|
|
300
|
+
},
|
|
301
|
+
"1113569": {
|
|
302
|
+
"until": 1777593599,
|
|
303
|
+
"untilISO": "2026-04-30T23:59:59Z",
|
|
304
|
+
"reason": "fast-xml-parser DoS via entity expansion - transitive via @aws-sdk/xml-builder"
|
|
305
|
+
},
|
|
231
306
|
"1113714": {
|
|
232
|
-
"until":
|
|
233
|
-
"untilISO": "2026-
|
|
307
|
+
"until": 1777593599,
|
|
308
|
+
"untilISO": "2026-04-30T23:59:59Z",
|
|
234
309
|
"reason": "ajv ReDoS via $data - transitive via eslint"
|
|
235
310
|
},
|
|
311
|
+
"1113977": {
|
|
312
|
+
"until": 1777593599,
|
|
313
|
+
"untilISO": "2026-04-30T23:59:59Z",
|
|
314
|
+
"reason": "http-proxy-agenty - suppress low severity advisory"
|
|
315
|
+
},
|
|
316
|
+
"1114153": {
|
|
317
|
+
"until": 1777593599,
|
|
318
|
+
"untilISO": "2026-04-30T23:59:59Z",
|
|
319
|
+
"reason": "fast-xml-parser stack overflow in XMLBuilder - transitive via @aws-sdk/xml-builder"
|
|
320
|
+
},
|
|
321
|
+
"1114158": {
|
|
322
|
+
"until": 1777593599,
|
|
323
|
+
"untilISO": "2026-04-30T23:59:59Z",
|
|
324
|
+
"reason": "immutable prototype pollution - suppress low severity advisory"
|
|
325
|
+
},
|
|
326
|
+
"1114200": {
|
|
327
|
+
"until": 1777593599,
|
|
328
|
+
"untilISO": "2026-04-30T23:59:59Z",
|
|
329
|
+
"reason": "tar hardlink path traversal - transitive via node-gyp"
|
|
330
|
+
},
|
|
331
|
+
"1114526": {
|
|
332
|
+
"until": 1777593599,
|
|
333
|
+
"untilISO": "2026-04-30T23:59:59Z",
|
|
334
|
+
"reason": "flatted: vulnerable to unbounded recursion DoS in parse() revive phase"
|
|
335
|
+
},
|
|
336
|
+
"1114680": {
|
|
337
|
+
"until": 1777593599,
|
|
338
|
+
"untilISO": "2026-04-30T23:59:59Z",
|
|
339
|
+
"reason": "Race Condition in node-tar: Path Reservations via Unicode Ligature Collisions on macOS APFS"
|
|
340
|
+
},
|
|
341
|
+
"1115339": {
|
|
342
|
+
"until": 1777593599,
|
|
343
|
+
"untilISO": "2026-04-30T23:59:59Z",
|
|
344
|
+
"reason": "yaml is vulnerable to Stack Overflow via deeply nested YAML collections"
|
|
345
|
+
},
|
|
346
|
+
"1115357": {
|
|
347
|
+
"until": 1777593599,
|
|
348
|
+
"untilISO": "2026-04-30T23:59:59Z",
|
|
349
|
+
"reason": "Prototype Pollution via parse() in NodeJS flatted"
|
|
350
|
+
},
|
|
351
|
+
"1115359": {
|
|
352
|
+
"until": 1777593599,
|
|
353
|
+
"untilISO": "2026-04-30T23:59:59Z",
|
|
354
|
+
"reason": "Entity Expansion Limits Bypassed When Set to Zero Due to JavaScript Falsy Evaluation in fast-xml-parser"
|
|
355
|
+
},
|
|
236
356
|
"1115541": {
|
|
237
357
|
"until": 1777618799,
|
|
238
358
|
"untilISO": "2026-04-30T23:59:59Z",
|
|
@@ -79,12 +79,16 @@ export type Scalars = {
|
|
|
79
79
|
output: any;
|
|
80
80
|
};
|
|
81
81
|
};
|
|
82
|
+
export type AvatarImageMetadataInput = {
|
|
83
|
+
mimeType?: InputMaybe<Scalars['String']['input']>;
|
|
84
|
+
};
|
|
82
85
|
export type BatchPublicSecureCommsChannelInfo = {
|
|
83
86
|
__typename?: 'BatchPublicSecureCommsChannelInfo';
|
|
84
87
|
items: Array<PublicSecureCommsChannelInfo>;
|
|
85
88
|
unprocessedIds: Array<Scalars['String']['output']>;
|
|
86
89
|
};
|
|
87
90
|
export type CreateSecureCommsChannelInput = {
|
|
91
|
+
avatarImageMetadata?: InputMaybe<AvatarImageMetadataInput>;
|
|
88
92
|
avatarImageUrl?: InputMaybe<Scalars['String']['input']>;
|
|
89
93
|
creatorHandleId: Scalars['String']['input'];
|
|
90
94
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -377,6 +381,7 @@ export type UpdateSecureCommsChannelInput = {
|
|
|
377
381
|
unset?: InputMaybe<Array<SecureCommsChannelOptionalProperties>>;
|
|
378
382
|
};
|
|
379
383
|
export type UpdateSecureCommsChannelSetInput = {
|
|
384
|
+
avatarImageMetadata?: InputMaybe<AvatarImageMetadataInput>;
|
|
380
385
|
avatarImageUrl?: InputMaybe<Scalars['String']['input']>;
|
|
381
386
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
382
387
|
joinRule?: InputMaybe<SecureCommsChannelJoinRule>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ChannelEntity } from '../../domain/entities/channels/channelEntity';
|
|
2
|
-
import { ChannelsService, CreateChannelInput, DeleteChannelInput, ListChannelsOutput, SearchPublicChannelsInput, SearchPublicChannelsOutput, UpdateChannelInput } from '../../domain/entities/channels/channelsService';
|
|
3
2
|
import { ApiClient } from '../common/apiClient';
|
|
3
|
+
import { ChannelsService, CreateChannelInput, DeleteChannelInput, ListChannelsOutput, SearchPublicChannelsInput, SearchPublicChannelsOutput, UpdateChannelInput } from '../../domain/entities/channels/channelsService';
|
|
4
4
|
export declare class DefaultChannelsService implements ChannelsService {
|
|
5
5
|
private readonly appSync;
|
|
6
6
|
private readonly channelTransformer;
|
|
@@ -10,6 +10,7 @@ export declare class DefaultChannelsService implements ChannelsService {
|
|
|
10
10
|
private readonly publicChannelSearchResultTransformer;
|
|
11
11
|
private readonly publicChannelJoinRuleTransformer;
|
|
12
12
|
private readonly channelSortOrderTransformer;
|
|
13
|
+
private readonly avatarImageMetadataTransformer;
|
|
13
14
|
constructor(appSync: ApiClient);
|
|
14
15
|
create(input: CreateChannelInput): Promise<ChannelEntity>;
|
|
15
16
|
get(id: string): Promise<ChannelEntity | undefined>;
|
|
@@ -107,6 +107,7 @@ export declare class MatrixClientManager {
|
|
|
107
107
|
searchMessages(searchText: string, limit?: number, nextToken?: string): Promise<SearchMessagesOutput>;
|
|
108
108
|
toggleReaction(roomId: string, eventId: string, reaction: string): Promise<void>;
|
|
109
109
|
getReactions(roomId: string, messageId: string): Promise<MessageReactionEntity[]>;
|
|
110
|
+
markAsUnread(roomId: string): Promise<void>;
|
|
110
111
|
sendReadReceipt(roomId: string): Promise<void>;
|
|
111
112
|
getReadReceipts(roomId: string, event?: MatrixEvent, eventId?: string): Promise<MessageReceiptEntity[]>;
|
|
112
113
|
getReplacements(roomId: string, messageId: string): Promise<MessageEntity[]>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { AvatarImageMetadataInput } from '../../../../gen/graphqlTypes';
|
|
2
|
+
import { AvatarImageMetadataEntity } from '../../../domain/entities/common/avatarImageMetadataEntity';
|
|
3
|
+
export declare class AvatarImageMetadataTransformer {
|
|
4
|
+
fromEntityToGraphQL(data: AvatarImageMetadataEntity): AvatarImageMetadataInput;
|
|
5
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ChatSummaryEntity } from '../../domain/entities/messaging/chatSummaryEntity';
|
|
2
2
|
import { MessageEntity } from '../../domain/entities/messaging/messageEntity';
|
|
3
|
-
import { CreatePollInput, DeleteMessageInput, EditMediaCaptionInput, EditMessageInput, EditPollInput, EndPollInput, GetChatSummariesInput, GetMessageInput, GetPinnedMessagesInput, GetPollResponsesInput, ListMessagesInput, ListMessagesOutput, MarkAsReadInput, MessagingService, PinUnpinMessageInput, SearchMessagesInput, SearchMessagesOutput, SendMediaInput, SendMessageInput, SendPollResponseInput, SendReplyMessageInput, SendThreadMessageInput, SendTypingNotificationInput, ToggleReactionInput } from '../../domain/entities/messaging/messagingService';
|
|
3
|
+
import { CreatePollInput, DeleteMessageInput, EditMediaCaptionInput, EditMessageInput, EditPollInput, EndPollInput, GetChatSummariesInput, GetMessageInput, GetPinnedMessagesInput, GetPollResponsesInput, ListMessagesInput, ListMessagesOutput, MarkAsReadInput, MarkAsUnreadInput, MessagingService, PinUnpinMessageInput, SearchMessagesInput, SearchMessagesOutput, SendMediaInput, SendMessageInput, SendPollResponseInput, SendReplyMessageInput, SendThreadMessageInput, SendTypingNotificationInput, ToggleReactionInput } from '../../domain/entities/messaging/messagingService';
|
|
4
4
|
import { PollResponsesEntity } from '../../domain/entities/messaging/pollEntity';
|
|
5
5
|
import { MatrixClientManager } from '../common/matrixClientManager';
|
|
6
6
|
import { MatrixMediaService } from '../media/matrixMediaService';
|
|
@@ -20,6 +20,7 @@ export declare class MatrixMessagingService implements MessagingService {
|
|
|
20
20
|
searchMessages(input: SearchMessagesInput): Promise<SearchMessagesOutput>;
|
|
21
21
|
getChatSummaries(input: GetChatSummariesInput): Promise<ChatSummaryEntity[]>;
|
|
22
22
|
markAsRead(input: MarkAsReadInput): Promise<void>;
|
|
23
|
+
markAsUnread(input: MarkAsUnreadInput): Promise<void>;
|
|
23
24
|
sendTypingNotification(input: SendTypingNotificationInput): Promise<void>;
|
|
24
25
|
toggleReaction(input: ToggleReactionInput): Promise<void>;
|
|
25
26
|
pinUnpinMessage(input: PinUnpinMessageInput): Promise<void>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ChannelId } from '../../../../public';
|
|
2
|
+
import { HandleEntity } from '../handle/handleEntity';
|
|
2
3
|
/**
|
|
3
4
|
* Core entity representation of a channel business rule.
|
|
4
5
|
*
|
|
@@ -15,6 +16,7 @@ import { ChannelId } from '../../../../public';
|
|
|
15
16
|
* @property {number} memberCount The number of joined members of the channel.
|
|
16
17
|
* @property {Date} createdAt Date for when the channel was created.
|
|
17
18
|
* @property {Date} updatedAt Date for when the channel was last updated.
|
|
19
|
+
* @property {HandleEntity} inviter Optional handle of the inviter.
|
|
18
20
|
*/
|
|
19
21
|
export interface ChannelEntity {
|
|
20
22
|
channelId: ChannelId;
|
|
@@ -28,6 +30,7 @@ export interface ChannelEntity {
|
|
|
28
30
|
memberCount: number;
|
|
29
31
|
createdAt: Date;
|
|
30
32
|
updatedAt: Date;
|
|
33
|
+
inviter?: HandleEntity;
|
|
31
34
|
}
|
|
32
35
|
/**
|
|
33
36
|
* Core entity representation of a public channel search result business rule.
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ChannelEntity, ChannelJoinRuleEntity, ChannelSortOrderEntity, PublicChannelJoinRuleEntity, PublicChannelSearchResultEntity } from './channelEntity';
|
|
2
2
|
import { Input } from '../../../../public/secureCommsClient';
|
|
3
|
+
import { AvatarImageMetadataEntity } from '../common/avatarImageMetadataEntity';
|
|
3
4
|
import { PowerLevelsEntity } from '../common/powerLevelsEntity';
|
|
4
5
|
/**
|
|
5
6
|
* Input for `ChannelService.create` method.
|
|
@@ -11,8 +12,11 @@ import { PowerLevelsEntity } from '../common/powerLevelsEntity';
|
|
|
11
12
|
* @property {ChannelJoinRuleEntity} joinRule The rule for joining and whether the channel is searchable.
|
|
12
13
|
* @property {string[]} tags Tags associated with the channel to facilitate searching.
|
|
13
14
|
* @property {string[]} invitedHandleIds The identifiers of the handles to invite immediately when the channel is created.
|
|
14
|
-
* @property {PowerLevelsEntity} powerLevels The minimum levels required to perform each action and the default level of
|
|
15
|
+
* @property {PowerLevelsEntity} powerLevels The minimum levels required to perform each action and the default level of
|
|
16
|
+
* handles in the channel.
|
|
15
17
|
* @property {string} avatarUrl Optional avatar image URL.
|
|
18
|
+
* @property {AvatarImageMetadataEntity} avatarImageMetadata Optional metadata associated with the avatar image when
|
|
19
|
+
* setting the avatar url.
|
|
16
20
|
*/
|
|
17
21
|
export interface CreateChannelInput {
|
|
18
22
|
selfHandleId: string;
|
|
@@ -23,6 +27,7 @@ export interface CreateChannelInput {
|
|
|
23
27
|
invitedHandleIds: string[];
|
|
24
28
|
powerLevels?: PowerLevelsEntity;
|
|
25
29
|
avatarUrl?: string;
|
|
30
|
+
avatarImageMetadata?: AvatarImageMetadataEntity;
|
|
26
31
|
}
|
|
27
32
|
/**
|
|
28
33
|
* Input for `ChannelService.update` method.
|
|
@@ -36,6 +41,8 @@ export interface CreateChannelInput {
|
|
|
36
41
|
* @property {Input<ChannelJoinRuleEntity>} joinRule The rule for joining and whether the channel is searchable. Undefined
|
|
37
42
|
* means do not change.
|
|
38
43
|
* @property {Input<string | undefined>} avatarUrl The avatar URL of the channel. Undefined means do not change.
|
|
44
|
+
* @property {Input<AvatarImageMetadataEntity | undefined>} avatarImageMetadata The metadata associated with the avatar image when
|
|
45
|
+
* setting the avatar url.
|
|
39
46
|
*/
|
|
40
47
|
export interface UpdateChannelInput {
|
|
41
48
|
selfHandleId: string;
|
|
@@ -45,6 +52,7 @@ export interface UpdateChannelInput {
|
|
|
45
52
|
tags?: Input<string[]>;
|
|
46
53
|
joinRule?: Input<ChannelJoinRuleEntity>;
|
|
47
54
|
avatarUrl?: Input<string | undefined>;
|
|
55
|
+
avatarImageMetadata?: Input<AvatarImageMetadataEntity | undefined>;
|
|
48
56
|
}
|
|
49
57
|
/**
|
|
50
58
|
* Input for `ChannelService.delete` method.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Core entity representation of an avatar image metadata business rule.
|
|
3
|
+
*
|
|
4
|
+
* @interface AvatarImageMetadataEntity
|
|
5
|
+
* @property {string} mimeType The MIME type of the avatar image.
|
|
6
|
+
*/
|
|
7
|
+
export interface AvatarImageMetadataEntity {
|
|
8
|
+
mimeType: string;
|
|
9
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { GroupId } from '../../../../public';
|
|
2
|
+
import { HandleEntity } from '../handle/handleEntity';
|
|
2
3
|
/**
|
|
3
4
|
* Core entity representation of a group business rule.
|
|
4
5
|
*
|
|
@@ -10,6 +11,7 @@ import { GroupId } from '../../../../public';
|
|
|
10
11
|
* @property {GroupPermissionsEntity} permissions Optional permissions describing what roles can perform
|
|
11
12
|
* certain actions within the group.
|
|
12
13
|
* @property {number} memberCount The number of joined members of the group.
|
|
14
|
+
* @property {HandleEntity} inviter Optional handle of the inviter.
|
|
13
15
|
*/
|
|
14
16
|
export interface GroupEntity {
|
|
15
17
|
groupId: GroupId;
|
|
@@ -18,6 +20,7 @@ export interface GroupEntity {
|
|
|
18
20
|
avatarUrl?: string;
|
|
19
21
|
permissions?: GroupPermissionsEntity;
|
|
20
22
|
memberCount: number;
|
|
23
|
+
inviter?: HandleEntity;
|
|
21
24
|
}
|
|
22
25
|
/**
|
|
23
26
|
* The role of a member within a group, ranked in descending order.
|
|
@@ -230,6 +230,15 @@ export interface SearchMessagesOutput {
|
|
|
230
230
|
export interface MarkAsReadInput {
|
|
231
231
|
recipient: Recipient;
|
|
232
232
|
}
|
|
233
|
+
/**
|
|
234
|
+
* Input for `MessagingService.markAsUnread` method.
|
|
235
|
+
*
|
|
236
|
+
* @interface MarkAsUnreadInput
|
|
237
|
+
* @property {Recipient} recipient The target recipient.
|
|
238
|
+
*/
|
|
239
|
+
export interface MarkAsUnreadInput {
|
|
240
|
+
recipient: Recipient;
|
|
241
|
+
}
|
|
233
242
|
/**
|
|
234
243
|
* Input for `MessagingService.sendTypingNotification` method.
|
|
235
244
|
*
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { RoomPowerLevelsEntity } from './roomPowerLevelsEntity';
|
|
2
|
+
import { HandleEntity } from '../handle/handleEntity';
|
|
2
3
|
/**
|
|
3
4
|
* Core entity representation of a room business rule.
|
|
4
5
|
*
|
|
@@ -12,6 +13,7 @@ import { RoomPowerLevelsEntity } from './roomPowerLevelsEntity';
|
|
|
12
13
|
* @property {RoomPowerLevelsEntity} powerLevels Optional power levels indicating what roles can perform
|
|
13
14
|
* certain actions within the room.
|
|
14
15
|
* @property {number} memberCount The number of joined members of the room.
|
|
16
|
+
* @property {HandleEntity} inviter Optional handle of the inviter.
|
|
15
17
|
*/
|
|
16
18
|
export interface RoomEntity {
|
|
17
19
|
roomId: string;
|
|
@@ -22,6 +24,7 @@ export interface RoomEntity {
|
|
|
22
24
|
avatarUrl?: string;
|
|
23
25
|
powerLevels?: RoomPowerLevelsEntity;
|
|
24
26
|
memberCount: number;
|
|
27
|
+
inviter?: HandleEntity;
|
|
25
28
|
}
|
|
26
29
|
/**
|
|
27
30
|
* The type of room based on the custom type state event.
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { HandleId, Recipient } from '../../../../public';
|
|
2
|
+
import { SessionManager } from '../../../data/session/sessionManager';
|
|
3
|
+
/**
|
|
4
|
+
* Input for `MarkAsUnreadUseCase`.
|
|
5
|
+
*
|
|
6
|
+
* @interface MarkAsUnreadUseCaseInput
|
|
7
|
+
*/
|
|
8
|
+
interface MarkAsUnreadUseCaseInput {
|
|
9
|
+
handleId: HandleId;
|
|
10
|
+
recipient: Recipient;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Application business logic for marking messages from a recipient as unread.
|
|
14
|
+
*/
|
|
15
|
+
export declare class MarkAsUnreadUseCase {
|
|
16
|
+
private readonly sessionManager;
|
|
17
|
+
private readonly log;
|
|
18
|
+
constructor(sessionManager: SessionManager);
|
|
19
|
+
execute(input: MarkAsUnreadUseCaseInput): Promise<void>;
|
|
20
|
+
private markAsUnread;
|
|
21
|
+
}
|
|
22
|
+
export {};
|
|
@@ -64,6 +64,17 @@ export interface MarkAsReadInput {
|
|
|
64
64
|
handleId: HandleId;
|
|
65
65
|
recipient: Recipient;
|
|
66
66
|
}
|
|
67
|
+
/**
|
|
68
|
+
* Properties required to mark the chat with a recipient as unread.
|
|
69
|
+
*
|
|
70
|
+
* @interface MarkAsUnreadInput
|
|
71
|
+
* @property {HandleId} handleId Identifier of the handle owned by this client.
|
|
72
|
+
* @property {Recipient} recipient The target recipient.
|
|
73
|
+
*/
|
|
74
|
+
export interface MarkAsUnreadInput {
|
|
75
|
+
handleId: HandleId;
|
|
76
|
+
recipient: Recipient;
|
|
77
|
+
}
|
|
67
78
|
/**
|
|
68
79
|
* Properties required to send a typing notification.
|
|
69
80
|
*
|
|
@@ -432,6 +443,12 @@ export interface MessagingModule {
|
|
|
432
443
|
* @param {MarkAsReadInput} input Parameters used to mark messages as read.
|
|
433
444
|
*/
|
|
434
445
|
markAsRead(input: MarkAsReadInput): Promise<void>;
|
|
446
|
+
/**
|
|
447
|
+
* Marks the chat with a recipient as unread.
|
|
448
|
+
*
|
|
449
|
+
* @param {MarkAsUnreadInput} input Parameters used to mark messages as unread.
|
|
450
|
+
*/
|
|
451
|
+
markAsUnread(input: MarkAsUnreadInput): Promise<void>;
|
|
435
452
|
/**
|
|
436
453
|
* Sends a typing notification for this handle.
|
|
437
454
|
*
|
|
@@ -553,6 +570,7 @@ export declare class DefaultMessagingModule implements MessagingModule {
|
|
|
553
570
|
searchMessages(input: SearchMessagesInput): Promise<ListOutput<SearchMessagesItem>>;
|
|
554
571
|
getChatSummaries(input: GetChatSummariesInput): Promise<ChatSummary[]>;
|
|
555
572
|
markAsRead(input: MarkAsReadInput): Promise<void>;
|
|
573
|
+
markAsUnread(input: MarkAsUnreadInput): Promise<void>;
|
|
556
574
|
sendTypingNotification(input: SendTypingNotificationInput): Promise<void>;
|
|
557
575
|
sendMessage(input: SendMessageInput): Promise<void>;
|
|
558
576
|
editMessage(input: EditMessageInput): Promise<void>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Handle } from './handle';
|
|
1
2
|
import { ChannelId } from './recipient';
|
|
2
3
|
/**
|
|
3
4
|
* The Sudo Platform SDK representation of a Channel. Model for a wrapper around a messaging channel with
|
|
@@ -16,6 +17,7 @@ import { ChannelId } from './recipient';
|
|
|
16
17
|
* @property {number} memberCount The number of joined members of the channel.
|
|
17
18
|
* @property {Date} createdAt Date for when the channel was created.
|
|
18
19
|
* @property {Date} updatedAt Date for when the channel was last updated.
|
|
20
|
+
* @property {Handle} inviter Optional handle of the inviter.
|
|
19
21
|
*/
|
|
20
22
|
export interface Channel {
|
|
21
23
|
channelId: ChannelId;
|
|
@@ -29,6 +31,7 @@ export interface Channel {
|
|
|
29
31
|
memberCount: number;
|
|
30
32
|
createdAt: Date;
|
|
31
33
|
updatedAt: Date;
|
|
34
|
+
inviter?: Handle;
|
|
32
35
|
}
|
|
33
36
|
/**
|
|
34
37
|
* The Sudo Platform SDK representation of a Public Channel Search Result.
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Handle } from './handle';
|
|
1
2
|
import { GroupId } from './recipient';
|
|
2
3
|
/**
|
|
3
4
|
* The Sudo Platform SDK representation of a Group. Model for a wrapper around a messaging group with
|
|
@@ -11,6 +12,7 @@ import { GroupId } from './recipient';
|
|
|
11
12
|
* @property {GroupPermissions} permissions Optional permissions describing what roles can perform
|
|
12
13
|
* certain actions within the group.
|
|
13
14
|
* @property {number} memberCount The number of joined members of the group.
|
|
15
|
+
* @property {Handle} inviter Optional handle of the inviter.
|
|
14
16
|
*/
|
|
15
17
|
export interface Group {
|
|
16
18
|
groupId: GroupId;
|
|
@@ -19,6 +21,7 @@ export interface Group {
|
|
|
19
21
|
avatarUrl?: string;
|
|
20
22
|
permissions?: GroupPermissions;
|
|
21
23
|
memberCount: number;
|
|
24
|
+
inviter?: Handle;
|
|
22
25
|
}
|
|
23
26
|
/**
|
|
24
27
|
* The role of a member within a group, ranked in descending order.
|