Name Description Size Coverage
beacon.js #__PURE__ 7429 -
compare-event-ordering.js Determine the order of two events in a room. In principle this should use the same order as the server, but in practice this is difficult for events that were not received over the Sync API. See MSC4033 for details. This implementation leans on the order of events within their timelines, and falls back to comparing event timestamps when they are in different timelines. See https://github.com/matrix-org/matrix-js-sdk/issues/3325 for where we are tracking the work to fix this. @param room - the room we are looking in @param leftEventId - the id of the first event @param rightEventId - the id of the second event @returns -1 if left \< right, 1 if left \> right, 0 if left == right, null if we can't tell (because we can't find the events). 4879 -
device.js State of the verification of the device. 3503 -
event-context.js Construct a new EventContext An eventcontext is used for circumstances such as search results, when we have a particular event of interest, and a bunch of events before and after it. It also stores pagination tokens for going backwards and forwards in the timeline. @param ourEvent - the event at the centre of this context 3896 -
event-status.js Enum for event statuses. @readonly 1083 -
event-timeline-set.js istanbul ignore next 31218 -
event-timeline.js #__PURE__ 16481 -
event.js This is an internal module. See {@link MatrixEvent} and {@link RoomEvent} for the public classes. 51416 -
invites-ignorer.js #__PURE__ 12352 -
MSC3089Branch.js Represents a [MSC3089](https://github.com/matrix-org/matrix-doc/pull/3089) branch - a reference to a file (leaf) in the tree. Note that this is UNSTABLE and subject to breaking changes without notice. 8693 -
MSC3089TreeSpace.js The recommended defaults for a tree space's power levels. Note that this is UNSTABLE and subject to breaking changes without notice. 20247 -
poll.js #__PURE__ 8867 -
profile-keys.js The timezone the user is currently in. The value of this property should match a timezone provided in https://www.iana.org/time-zones. @see https://github.com/matrix-org/matrix-spec-proposals/blob/clokep/profile-tz/proposals/4175-profile-field-time-zone.md 493 -
read-receipt.js Create a synthetic receipt for the given event @param userId - The user ID if the receipt sender @param event - The event that is to be acknowledged @param receiptType - The type of receipt @param unthreaded - the receipt is unthreaded @returns a new event with the synthetic receipt in it 16363 -
related-relations.js 1730 -
relations-container.js Get a collection of child events to a given event in this timeline set. @param eventId - The ID of the event that you'd like to access child events for. For example, with annotations, this would be the ID of the event being annotated. @param relationType - The type of relationship involved, such as "m.annotation", "m.reference", "m.replace", etc. @param eventType - The relation event's type, such as "m.reaction", etc. @throws If `eventId</code>, <code>relationType</code> or <code>eventType` are not valid. @returns A container for relation events or undefined if there are no relation events for the relationType. 5864 -
relations.js #__PURE__ 13198 -
room-member.js #__PURE__ 14399 -
room-receipts.js The latest receipts we have for a room. 13659 -
room-state.js #__PURE__ 38108 -
room-summary.js Construct a new Room Summary. A summary can be used for display on a recent list, without having to load the entire room list into memory. @param roomId - Required. The ID of this room. @param info - Optional. The summary info. Additional keys are supported. 1092 -
room.js 130197 -
search-result.js Create a SearchResponse from the response to /search 2030 -
thread.js #__PURE__ 37642 -
ToDeviceMessage.js 79 -
typed-event-emitter.js Events emitted by EventEmitter itself 7778 -
user.js #__PURE__ 8033 -