yamux-js
Advanced tools
Comparing version 0.1.1 to 0.1.2
# CHANGELOG | ||
## 0.1.2 | ||
- Fix issue when there is data right after a window update (https://github.com/th-ch/yamux-js/pull/14) | ||
## 0.1.1 | ||
@@ -4,0 +8,0 @@ |
@@ -69,2 +69,5 @@ "use strict"; | ||
this.currentHeader = undefined; | ||
if (packet.length > 0) { | ||
return this._transform(packet, encoding, cb); | ||
} | ||
break; | ||
@@ -109,2 +112,3 @@ case constants_1.TYPES.Ping: | ||
stream.incrSendWindow(currentHeader); | ||
return; | ||
} | ||
@@ -111,0 +115,0 @@ stream.push(fullPacket, encoding); |
{ | ||
"name": "yamux-js", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"main": "lib/index", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
# Yamux-js | ||
[![npm version](https://badge.fury.io/js/yamux-js.svg)](https://www.npmjs.com/package/yamux-js) | ||
[![Build status](https://img.shields.io/github/workflow/status/th-ch/yamux-js/Node.js%20CI)](https://github.com/th-ch/yamux-js) | ||
[![Build status](https://img.shields.io/github/actions/workflow/status/th-ch/yamux-js/node.js.yml?branch=master)](https://github.com/th-ch/yamux-js) | ||
[![GitHub license](https://img.shields.io/github/license/th-ch/yamux-js.svg)](https://github.com/th-ch/yamux-js/blob/master/LICENSE) | ||
@@ -6,0 +6,0 @@ |
34278
702