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 {