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