diff --git a/dist/index.d.ts b/dist/index.d.ts index dfedcb5..a926f10 100644 --- a/dist/index.d.ts +++ b/dist/index.d.ts @@ -1,9 +1,10 @@ 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; } diff --git a/dist/index.js b/dist/index.js index f8c0343..5404c70 100644 --- a/dist/index.js +++ b/dist/index.js @@ -40,6 +40,9 @@ class HandshakeProxy extends libhyperproxy_1.Proxy { }); const self = this; } + get node() { + return this._node; + } async _init() { this._node = new node_1.SPVNode({ config: false,