From 99264dca61f61a4612e2d6814c57b28c2c3f976b Mon Sep 17 00:00:00 2001 From: Elijah Duffy Date: Thu, 30 Apr 2026 16:36:43 -0700 Subject: [PATCH] fix ErrorOccurredEvent structure for errorOccurred --- src/lib/jitsi-iframe-api.d.ts | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/src/lib/jitsi-iframe-api.d.ts b/src/lib/jitsi-iframe-api.d.ts index c82569f..7f68d88 100644 --- a/src/lib/jitsi-iframe-api.d.ts +++ b/src/lib/jitsi-iframe-api.d.ts @@ -1430,16 +1430,18 @@ interface FaceLandmarkDetectedEvent { } interface ErrorOccurredEvent { - /** Additional error details. */ - details?: Record; - /** The error message. */ - message?: string; - /** The coded name of the error. */ - name: string; - /** Error type/source: 'CONFIG', 'CONNECTION', 'CONFERENCE'. */ - type: ErrorType; - /** Whether this is a fatal error which triggered a reconnect overlay. */ - isFatal: boolean; + error: { + /** Additional error details. */ + details?: Record; + /** The error message. */ + message?: string; + /** The coded name of the error. */ + name: string; + /** Error type/source: 'CONFIG', 'CONNECTION', 'CONFERENCE'. */ + type: ErrorType; + /** Whether this is a fatal error which triggered a reconnect overlay. */ + isFatal: boolean; + }; } interface KnockingParticipantEvent {