Skip to content

Commit

Permalink
fix: Making Client constructor params optional
Browse files Browse the repository at this point in the history
  • Loading branch information
yoryer committed Mar 3, 2022
1 parent 5be16c1 commit 62d9f8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export class Client extends EventEmitter implements IClient {
accessToken: string
account: IAccount
transportLib: 'sip.js' | 'jsSIP'
media: IMediaSpec
media?: IMediaSpec
}) {
super()

Expand Down
2 changes: 1 addition & 1 deletion src/interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export interface IAccount {
/** Option to accept inbound calls */
acceptInboundCalls?: boolean
/** Recording permissions */
callRecordingEnabled: boolean
callRecordingEnabled?: boolean
}

export interface IClientSetting {
Expand Down

0 comments on commit 62d9f8c

Please sign in to comment.