enhanced-datachannel
Advanced tools
Comparing version 1.2.3 to 1.2.4
# ChangeLlog | ||
## [1.2.4] - 2020-01-06 | ||
### Misc | ||
- Update dev dependencies. | ||
## [1.2.3] - 2019-11-18 | ||
@@ -31,3 +37,3 @@ | ||
### Changed | ||
### Misc | ||
@@ -46,3 +52,3 @@ - Update dev dependencies. | ||
### Added | ||
### Misc | ||
@@ -55,2 +61,3 @@ - Misc for publishing. | ||
[1.2.4]: https://github.com/leader22/enhanced-datachannel/releases/tag/v1.2.4 | ||
[1.2.3]: https://github.com/leader22/enhanced-datachannel/releases/tag/v1.2.3 | ||
@@ -57,0 +64,0 @@ [1.2.2]: https://github.com/leader22/enhanced-datachannel/releases/tag/v1.2.2 |
@@ -11,3 +11,3 @@ import EventEmitter from "eventemitter3"; | ||
readonly label: string; | ||
readonly maxPacketLifeTime: any; | ||
readonly maxPacketLifeTime: number | null; | ||
readonly maxRetransmits: number | null; | ||
@@ -14,0 +14,0 @@ readonly negotiated: boolean; |
@@ -47,6 +47,3 @@ "use strict"; | ||
get maxPacketLifeTime() { | ||
if ("maxPacketLifeTime" in this._dc) { | ||
return this._dc.maxPacketLifeTime; | ||
} | ||
return this._dc.maxRetransmitTime; | ||
return this._dc.maxPacketLifeTime; | ||
} | ||
@@ -53,0 +50,0 @@ get maxRetransmits() { |
{ | ||
"name": "enhanced-datachannel", | ||
"version": "1.2.3", | ||
"version": "1.2.4", | ||
"description": "Wanna `enhance(RTCDataChannel)` for general usage.", | ||
@@ -33,20 +33,20 @@ "main": "lib/index.js", | ||
"@types/debug": "^4.1.5", | ||
"@typescript-eslint/eslint-plugin": "^2.0.0", | ||
"@typescript-eslint/parser": "^2.0.0", | ||
"eslint": "^6.3.0", | ||
"eslint-config-prettier": "^6.1.0", | ||
"eslint-plugin-prettier": "^3.1.0", | ||
"jasmine": "^3.4.0", | ||
"karma": "^4.3.0", | ||
"@typescript-eslint/eslint-plugin": "^2.14.0", | ||
"@typescript-eslint/parser": "^2.14.0", | ||
"eslint": "^6.8.0", | ||
"eslint-config-prettier": "^6.9.0", | ||
"eslint-plugin-prettier": "^3.1.2", | ||
"jasmine": "^3.5.0", | ||
"karma": "^4.4.1", | ||
"karma-chrome-launcher": "^3.1.0", | ||
"karma-firefox-launcher": "^1.2.0", | ||
"karma-jasmine": "^2.0.1", | ||
"karma-jasmine": "2.0.1", | ||
"karma-mocha-reporter": "^2.2.5", | ||
"karma-rollup-preprocessor": "^7.0.2", | ||
"karma-safari-launcher": "^1.0.0", | ||
"prettier": "^1.18.2", | ||
"rollup": "^1.20.3", | ||
"prettier": "^1.19.1", | ||
"rollup": "^1.28.0", | ||
"rollup-plugin-commonjs": "^10.1.0", | ||
"rollup-plugin-node-resolve": "^5.2.0", | ||
"typescript": "^3.6.2" | ||
"typescript": "3.6.4" | ||
}, | ||
@@ -53,0 +53,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
22396
478