rxprotoplex
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -16,4 +16,4 @@ import Protoplex from "@zacharygriffee/protoplex"; | ||
export const asPlex = (stream, config) => { | ||
if (stream.mux) return stream; | ||
if (stream instanceof Protoplex) return stream; | ||
return Protoplex.from(stream, config); | ||
}; |
{ | ||
"name": "rxprotoplex", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "A utility library for working with Plex-based connections and streams with RxJS operators.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
33331