Compare commits

..

No commits in common. "v0.1.0-develop.2" and "v0.1.0-develop.1" have entirely different histories.

3 changed files with 3 additions and 16 deletions

View File

@ -1,10 +1,3 @@
# [0.1.0-develop.2](https://git.lumeweb.com/LumeWeb/libs5-transport-hyper/compare/v0.1.0-develop.1...v0.1.0-develop.2) (2023-08-31)
### Bug Fixes
* set constructor typing ([331e5ad](https://git.lumeweb.com/LumeWeb/libs5-transport-hyper/commit/331e5adbf7b91ca01d44b3647442ad056a50957e))
# [0.1.0-develop.1](https://git.lumeweb.com/LumeWeb/libs5-transport-hyper/compare/v0.0.1...v0.1.0-develop.1) (2023-08-31) # [0.1.0-develop.1](https://git.lumeweb.com/LumeWeb/libs5-transport-hyper/compare/v0.0.1...v0.1.0-develop.1) (2023-08-31)

View File

@ -1,6 +1,6 @@
{ {
"name": "@lumeweb/libs5-transport-hyper", "name": "@lumeweb/libs5-transport-hyper",
"version": "0.1.0-develop.2", "version": "0.1.0-develop.1",
"type": "module", "type": "module",
"main": "lib/index.js", "main": "lib/index.js",
"repository": { "repository": {

View File

@ -1,4 +1,4 @@
import { BasePeer, Logger, PeerConstructorOptions } from "@lumeweb/libs5"; import { BasePeer, Logger } from "@lumeweb/libs5";
import { URL } from "url"; import { URL } from "url";
import { Buffer } from "buffer"; import { Buffer } from "buffer";
import { Readable } from "streamx"; import { Readable } from "streamx";
@ -10,13 +10,7 @@ export default class HyperTransportPeer extends BasePeer {
protected _socket = new Readable(); protected _socket = new Readable();
private _pipe?: any; private _pipe?: any;
constructor( constructor(options: any) {
options: PeerConstructorOptions & {
peer: any;
muxer: any;
protocol: string;
},
) {
super(options); super(options);
const { peer, muxer, protocol } = options; const { peer, muxer, protocol } = options;
this._peer = peer; this._peer = peer;