enhanced-datachannel
Advanced tools
Comparing version 1.2.4 to 1.2.5
# ChangeLlog | ||
## [1.2.5] - 2020-03-02 | ||
### Misc | ||
- Update dev dependencies. | ||
## [1.2.4] - 2020-01-06 | ||
@@ -59,2 +65,3 @@ | ||
[1.2.5]: https://github.com/leader22/enhanced-datachannel/releases/tag/v1.2.5 | ||
[1.2.4]: https://github.com/leader22/enhanced-datachannel/releases/tag/v1.2.4 | ||
@@ -61,0 +68,0 @@ [1.2.3]: https://github.com/leader22/enhanced-datachannel/releases/tag/v1.2.3 |
@@ -6,15 +6,17 @@ import EventEmitter from "eventemitter3"; | ||
constructor(dc: RTCDataChannel); | ||
binaryType: string; | ||
bufferedAmountLowThreshold: number; | ||
readonly bufferedAmount: number; | ||
readonly id: number | null; | ||
readonly label: string; | ||
readonly maxPacketLifeTime: number | null; | ||
readonly maxRetransmits: number | null; | ||
readonly negotiated: boolean; | ||
readonly ordered: boolean; | ||
readonly priority: RTCPriorityType; | ||
readonly protocol: string; | ||
readonly readyState: RTCDataChannelState; | ||
readonly closed: boolean; | ||
get binaryType(): string; | ||
set binaryType(type: string); | ||
get bufferedAmountLowThreshold(): number; | ||
set bufferedAmountLowThreshold(threshold: number); | ||
get bufferedAmount(): number; | ||
get id(): number | null; | ||
get label(): string; | ||
get maxPacketLifeTime(): number | null; | ||
get maxRetransmits(): number | null; | ||
get negotiated(): boolean; | ||
get ordered(): boolean; | ||
get priority(): RTCPriorityType; | ||
get protocol(): string; | ||
get readyState(): RTCDataChannelState; | ||
get closed(): boolean; | ||
close(): void; | ||
@@ -21,0 +23,0 @@ send(data: any): void; |
@@ -7,5 +7,6 @@ import BasedDataChannel from "./based-datachannel"; | ||
constructor(dc: RTCDataChannel); | ||
readonly sending: boolean; | ||
readonly recving: boolean; | ||
binaryType: string; | ||
get sending(): boolean; | ||
get recving(): boolean; | ||
set binaryType(_type: string); | ||
get binaryType(): string; | ||
close(): void; | ||
@@ -12,0 +13,0 @@ send(data: Blob, meta?: any): Promise<void>; |
@@ -1,9 +0,9 @@ | ||
import BasedDataChannel from "./based-datachannel"; | ||
import PromisedDataChannel from "./promised-datachannel"; | ||
import ChunkedDataChannel from "./chunked-datachannel"; | ||
export declare function based(dc: RTCDataChannel): BasedDataChannel; | ||
export declare function promised(dc: RTCDataChannel): PromisedDataChannel; | ||
export declare function chunked(dc: RTCDataChannel): ChunkedDataChannel; | ||
export declare type BasedDataChannel = InstanceType<typeof BasedDataChannel>; | ||
export declare type PromisedDataChannel = InstanceType<typeof PromisedDataChannel>; | ||
export declare type ChunkedDataChannel = InstanceType<typeof ChunkedDataChannel>; | ||
import BasedDC from "./based-datachannel"; | ||
import PromisedDC from "./promised-datachannel"; | ||
import ChunkedDC from "./chunked-datachannel"; | ||
export declare function based(dc: RTCDataChannel): BasedDC; | ||
export declare function promised(dc: RTCDataChannel): PromisedDC; | ||
export declare function chunked(dc: RTCDataChannel): ChunkedDC; | ||
export declare type BasedDataChannel = InstanceType<typeof BasedDC>; | ||
export declare type PromisedDataChannel = InstanceType<typeof PromisedDC>; | ||
export declare type ChunkedDataChannel = InstanceType<typeof ChunkedDC>; |
{ | ||
"name": "enhanced-datachannel", | ||
"version": "1.2.4", | ||
"version": "1.2.5", | ||
"description": "Wanna `enhance(RTCDataChannel)` for general usage.", | ||
@@ -33,6 +33,6 @@ "main": "lib/index.js", | ||
"@types/debug": "^4.1.5", | ||
"@typescript-eslint/eslint-plugin": "^2.14.0", | ||
"@typescript-eslint/parser": "^2.14.0", | ||
"@typescript-eslint/eslint-plugin": "^2.21.0", | ||
"@typescript-eslint/parser": "^2.21.0", | ||
"eslint": "^6.8.0", | ||
"eslint-config-prettier": "^6.9.0", | ||
"eslint-config-prettier": "^6.10.0", | ||
"eslint-plugin-prettier": "^3.1.2", | ||
@@ -42,12 +42,12 @@ "jasmine": "^3.5.0", | ||
"karma-chrome-launcher": "^3.1.0", | ||
"karma-firefox-launcher": "^1.2.0", | ||
"karma-jasmine": "2.0.1", | ||
"karma-firefox-launcher": "^1.3.0", | ||
"karma-jasmine": "~3.1.1", | ||
"karma-mocha-reporter": "^2.2.5", | ||
"karma-rollup-preprocessor": "^7.0.2", | ||
"karma-rollup-preprocessor": "^7.0.3", | ||
"karma-safari-launcher": "^1.0.0", | ||
"prettier": "^1.19.1", | ||
"rollup": "^1.28.0", | ||
"rollup": "^1.32.0", | ||
"rollup-plugin-commonjs": "^10.1.0", | ||
"rollup-plugin-node-resolve": "^5.2.0", | ||
"typescript": "3.6.4" | ||
"typescript": "~3.8.3" | ||
}, | ||
@@ -54,0 +54,0 @@ "dependencies": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22562
481