@teneo-protocol/sdk 2.2.0 → 2.2.2

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.
@@ -80,6 +80,7 @@ export const MessageTypeSchema = z.enum([
80
80
  "subscribe",
81
81
  "unsubscribe",
82
82
  "list_rooms",
83
+ "room_list_response",
83
84
 
84
85
  // === NEW IN v2.0.0 ===
85
86
 
@@ -506,7 +507,7 @@ export const UnsubscribeResponseSchema = BaseMessageSchema.extend({
506
507
  });
507
508
 
508
509
  export const ListRoomsResponseSchema = BaseMessageSchema.extend({
509
- type: z.literal("list_rooms"),
510
+ type: z.literal("room_list_response"),
510
511
  data: z.object({
511
512
  rooms: z.array(RoomInfoSchema)
512
513
  })