From 249311c522c7bda46107d5cb369ed68b0539116b Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Wed, 1 Feb 2023 08:22:30 -0500 Subject: [PATCH] *Rename ready to init --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 0a73f7d..185dc2f 100644 --- a/src/index.ts +++ b/src/index.ts @@ -30,7 +30,7 @@ export default class HyperswarmWeb extends EventEmitter { this._discovery = createClient(); } - ready(): Promise { + init(): Promise { return this.ensureConnection(); }