*Update dist

This commit is contained in:
Derrick Hammer 2023-02-01 08:36:58 -05:00
parent fb13e6e323
commit 2a4806b0b3
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
3 changed files with 5 additions and 1 deletions

1
dist/index.d.ts vendored
View File

@ -9,6 +9,7 @@ export default class HyperswarmWeb extends EventEmitter {
private _queuedEmActions; private _queuedEmActions;
private _connectionMutex; private _connectionMutex;
constructor(opts?: any); constructor(opts?: any);
get activeRelay(): Hyperswarm;
init(): Promise<void>; init(): Promise<void>;
private ensureConnection; private ensureConnection;
private isServerAvailable; private isServerAvailable;

2
dist/index.d.ts.map vendored
View File

@ -1 +1 @@
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,OAAO,MAAM,uBAAuB,CAAC;AAW5C,OAAO,UAAU,MAAM,YAAY,CAAC;AAEpC,OAAO,YAAY,MAAM,eAAe,CAAC;AAGzC,MAAM,CAAC,OAAO,OAAO,aAAc,SAAQ,YAAY;IACrD,OAAO,CAAC,QAAQ,CAAM;IACtB,OAAO,CAAC,OAAO,CAA0B;IACzC,OAAO,CAAC,YAAY,CAAa;IACjC,OAAO,CAAC,UAAU,CAAsB;IACxC,OAAO,CAAC,gBAAgB,CAAuB;IAE/C,OAAO,CAAC,gBAAgB,CAAsB;gBAClC,IAAI,GAAE,GAAQ;IAO1B,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;YAIP,gBAAgB;YAmEhB,iBAAiB;IAYzB,OAAO,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,KAAK,GAAG,OAAO,CAAC,OAAO,CAAC;IAQ7D,IAAI,MAAM,IAAI,MAAM,EAAE,CAErB;IAEY,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAI7C,WAAW,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO;IAUpC,WAAW,IAAI,IAAI;IAI1B,EAAE,CACA,SAAS,EAAE,MAAM,GAAG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ts;
this._discovery = createClient(); this._discovery = createClient();
} }
get activeRelay() {
return this._activeRelay;
}
init() { init() {
return this.ensureConnection(); return this.ensureConnection();
} }