yamux-js
Advanced tools
Comparing version 0.0.3 to 0.0.4
# CHANGELOG | ||
## 0.0.4 | ||
- Fix window update (https://github.com/th-ch/yamux-js/pull/2) | ||
## 0.0.3 | ||
@@ -4,0 +8,0 @@ |
@@ -55,3 +55,2 @@ "use strict"; | ||
case constants_1.TYPES.Data: | ||
case constants_1.TYPES.WindowUpdate: | ||
// we have enough data to handle the packet | ||
@@ -68,2 +67,6 @@ if (packet.length >= expectedLength) { | ||
break; | ||
case constants_1.TYPES.WindowUpdate: | ||
this.handleStreamMessage(this.currentHeader, packet, encoding); | ||
this.currentHeader = undefined; | ||
break; | ||
case constants_1.TYPES.Ping: | ||
@@ -70,0 +73,0 @@ this.handlePing(this.currentHeader); |
{ | ||
"name": "yamux-js", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"main": "lib/index", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
33203
688