Compare commits
No commits in common. "704abf6f4fa6719ca7be69f79808899122195d7c" and "a24a0414cea4b6030620790acbb0a3d9ad7391da" have entirely different histories.
704abf6f4f
...
a24a0414ce
|
@ -1,10 +1,9 @@
|
|||
import { Proxy } from "@lumeweb/libhyperproxy";
|
||||
export default class HandshakeProxy extends Proxy {
|
||||
private _node?;
|
||||
constructor({ swarm, listen }: {
|
||||
swarm: any;
|
||||
listen?: boolean;
|
||||
});
|
||||
private _node?;
|
||||
get node(): any;
|
||||
protected _init(): Promise<void>;
|
||||
}
|
||||
|
|
|
@ -40,9 +40,6 @@ class HandshakeProxy extends libhyperproxy_1.Proxy {
|
|||
});
|
||||
const self = this;
|
||||
}
|
||||
get node() {
|
||||
return this._node;
|
||||
}
|
||||
async _init() {
|
||||
this._node = new node_1.SPVNode({
|
||||
config: false,
|
||||
|
|
|
@ -19,6 +19,7 @@ import {
|
|||
} from "@lumeweb/libhyperproxy";
|
||||
|
||||
export default class HandshakeProxy extends Proxy {
|
||||
private _node?: any;
|
||||
constructor({ swarm, listen = false }: { swarm: any; listen?: boolean }) {
|
||||
super({
|
||||
swarm,
|
||||
|
@ -51,12 +52,6 @@ export default class HandshakeProxy extends Proxy {
|
|||
const self = this;
|
||||
}
|
||||
|
||||
private _node?: any;
|
||||
|
||||
get node(): any {
|
||||
return this._node;
|
||||
}
|
||||
|
||||
protected async _init() {
|
||||
this._node = new SPVNode({
|
||||
config: false,
|
||||
|
|
Loading…
Reference in New Issue