@ai-matrx/meet 0.7.5 → 0.7.6

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/dist/index.d.cts CHANGED
@@ -975,6 +975,8 @@ interface MeetSnapshot {
975
975
  readonly chat: readonly RoomChatMessage[];
976
976
  /** Whether the SAVED chat has been read for this meeting (late joiners see history). */
977
977
  readonly chatLoaded: boolean;
978
+ /** Why the saved chat could not be read on join, in words — or null. */
979
+ readonly chatHistoryError: string | null;
978
980
  readonly reactions: readonly RoomReaction[];
979
981
  /**
980
982
  * The participant a HOST spotlighted for everyone, from the room's metadata
package/dist/index.d.ts CHANGED
@@ -975,6 +975,8 @@ interface MeetSnapshot {
975
975
  readonly chat: readonly RoomChatMessage[];
976
976
  /** Whether the SAVED chat has been read for this meeting (late joiners see history). */
977
977
  readonly chatLoaded: boolean;
978
+ /** Why the saved chat could not be read on join, in words — or null. */
979
+ readonly chatHistoryError: string | null;
978
980
  readonly reactions: readonly RoomReaction[];
979
981
  /**
980
982
  * The participant a HOST spotlighted for everyone, from the room's metadata
package/dist/index.js CHANGED
@@ -3048,6 +3048,7 @@ var EMPTY = {
3048
3048
  recordingId: null,
3049
3049
  chat: [],
3050
3050
  chatLoaded: false,
3051
+ chatHistoryError: null,
3051
3052
  reactions: [],
3052
3053
  spotlight: null,
3053
3054
  moderationNotice: null,
@@ -3157,7 +3158,7 @@ function createMeetStore(initial = {}) {
3157
3158
  state.names,
3158
3159
  messages.map((message) => ({ identity: message.identity, displayName: message.displayName }))
3159
3160
  );
3160
- commit({ ...state, chat: merged.slice(-CHAT_LIMIT), chatLoaded: true, names });
3161
+ commit({ ...state, chat: merged.slice(-CHAT_LIMIT), chatLoaded: true, chatHistoryError: null, names });
3161
3162
  },
3162
3163
  settleChat(localId, next) {
3163
3164
  const index = state.chat.findIndex((message) => message.id === localId);