From e9c994400325467fb2c146f4f5b3bea1a77d6502 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Wed, 19 Jul 2023 13:04:48 -0400 Subject: [PATCH] feat: add register method for network registry --- src/index.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/index.ts b/src/index.ts index 23e32f2..10d1486 100644 --- a/src/index.ts +++ b/src/index.ts @@ -84,6 +84,10 @@ export class IPFSClient extends Client { }, }; } + + public async register() { + return this.callModuleReturn("register"); + } } export const createClient = factory(IPFSClient, MODULE);