Skip to content

Change type of request in OutgoingRTCSessionEvent to OutgoingRequest #821

Description

@sergio-fatalist

Hi! 👋

Firstly, thanks for your work on this project! 🙂

Today I used patch-package to patch jssip@3.10.0 for the project I'm working on.

Here is the diff that solved my problem:

diff --git a/node_modules/jssip/lib/UA.d.ts b/node_modules/jssip/lib/UA.d.ts
index 13798d3..1e51f3d 100644
--- a/node_modules/jssip/lib/UA.d.ts
+++ b/node_modules/jssip/lib/UA.d.ts
@@ -55,7 +55,7 @@ export interface IncomingRTCSessionEvent {
 export interface OutgoingRTCSessionEvent {
   originator: Originator.LOCAL;
   session: RTCSession;
-  request: IncomingRequest;
+  request: OutgoingRequest;
 }
 
 export type RTCSessionEvent = IncomingRTCSessionEvent | OutgoingRTCSessionEvent;

This issue body was partially generated by patch-package.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions