*Rename ready to init
This commit is contained in:
parent
a1afba565e
commit
249311c522
|
@ -30,7 +30,7 @@ export default class HyperswarmWeb extends EventEmitter {
|
|||
this._discovery = createClient();
|
||||
}
|
||||
|
||||
ready(): Promise<void> {
|
||||
init(): Promise<void> {
|
||||
return this.ensureConnection();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue