centrifuge 2.7.4 → 2.7.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -0
- package/dist/centrifuge.js +3 -1
- package/dist/centrifuge.js.map +1 -1
- package/dist/centrifuge.min.js +1 -1
- package/dist/centrifuge.min.js.map +1 -1
- package/dist/centrifuge.protobuf.js +3 -1
- package/dist/centrifuge.protobuf.js.map +1 -1
- package/dist/centrifuge.protobuf.min.js +1 -1
- package/dist/centrifuge.protobuf.min.js.map +1 -1
- package/package.json +1 -1
- package/src/json.js +1 -1
package/CHANGELOG.md
CHANGED
package/dist/centrifuge.js
CHANGED
|
@@ -2446,7 +2446,9 @@ var JsonDecoder = /*#__PURE__*/function () {
|
|
|
2446
2446
|
_createClass(JsonDecoder, [{
|
|
2447
2447
|
key: "decodeReplies",
|
|
2448
2448
|
value: function decodeReplies(data) {
|
|
2449
|
-
return data.split('\n').
|
|
2449
|
+
return data.split('\n').filter(function (r) {
|
|
2450
|
+
return r !== '';
|
|
2451
|
+
}).map(function (r) {
|
|
2450
2452
|
return JSON.parse(r);
|
|
2451
2453
|
});
|
|
2452
2454
|
}
|