Skip to content

Commit 920dd76

Browse files
author
James Criscuolo
committed
dist/ lib/ files for 0.17.1
1 parent ab5eb31 commit 920dd76

File tree

553 files changed

+67737
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

553 files changed

+67737
-0
lines changed

dist/sip-0.17.1.js

Lines changed: 20708 additions & 0 deletions
Large diffs are not rendered by default.

dist/sip-0.17.1.min.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/sip.js

Lines changed: 20708 additions & 0 deletions
Large diffs are not rendered by default.

dist/sip.min.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/api/bye.d.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import { IncomingByeRequest, IncomingRequestMessage, ResponseOptions } from "../core";
2+
/**
3+
* A request to end a {@link Session} (incoming BYE).
4+
* @public
5+
*/
6+
export declare class Bye {
7+
private incomingByeRequest;
8+
/** @internal */
9+
constructor(incomingByeRequest: IncomingByeRequest);
10+
/** Incoming BYE request message. */
11+
get request(): IncomingRequestMessage;
12+
/** Accept the request. */
13+
accept(options?: ResponseOptions): Promise<void>;
14+
/** Reject the request. */
15+
reject(options?: ResponseOptions): Promise<void>;
16+
}
17+
//# sourceMappingURL=bye.d.ts.map

lib/api/bye.d.ts.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/api/bye.js

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/**
2+
* A request to end a {@link Session} (incoming BYE).
3+
* @public
4+
*/
5+
export class Bye {
6+
/** @internal */
7+
constructor(incomingByeRequest) {
8+
this.incomingByeRequest = incomingByeRequest;
9+
}
10+
/** Incoming BYE request message. */
11+
get request() {
12+
return this.incomingByeRequest.message;
13+
}
14+
/** Accept the request. */
15+
accept(options) {
16+
this.incomingByeRequest.accept(options);
17+
return Promise.resolve();
18+
}
19+
/** Reject the request. */
20+
reject(options) {
21+
this.incomingByeRequest.reject(options);
22+
return Promise.resolve();
23+
}
24+
}

lib/api/dtmf.d.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import { IncomingInfoRequest } from "../core";
2+
import { Info } from "./info";
3+
/**
4+
* A DTMF signal (incoming INFO).
5+
* @deprecated Use `Info`.
6+
* @internal
7+
*/
8+
export declare class DTMF extends Info {
9+
private _tone;
10+
private _duration;
11+
/** @internal */
12+
constructor(incomingInfoRequest: IncomingInfoRequest, tone: string, duration: number);
13+
get tone(): string;
14+
get duration(): number;
15+
}
16+
//# sourceMappingURL=dtmf.d.ts.map

lib/api/dtmf.d.ts.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/api/dtmf.js

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
import { Info } from "./info";
2+
/**
3+
* A DTMF signal (incoming INFO).
4+
* @deprecated Use `Info`.
5+
* @internal
6+
*/
7+
export class DTMF extends Info {
8+
/** @internal */
9+
constructor(incomingInfoRequest, tone, duration) {
10+
super(incomingInfoRequest);
11+
this._tone = tone;
12+
this._duration = duration;
13+
}
14+
get tone() {
15+
return this._tone;
16+
}
17+
get duration() {
18+
return this._duration;
19+
}
20+
}

0 commit comments

Comments
 (0)