From cbc97d18fcdd1f41f66dad686d1c9e64721bf77d Mon Sep 17 00:00:00 2001 From: achingbrain Date: Fri, 19 Apr 2024 11:25:24 +0100 Subject: [PATCH] fix: export createKuboRPCClient function The `create` function is too generic, it often clashes with other functions so export a copy with a more obvious name. --- src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.ts b/src/index.ts index 6bbef12a2..f6739213d 100644 --- a/src/index.ts +++ b/src/index.ts @@ -494,6 +494,7 @@ export function create (options: string | Multiaddr | URL | Options = {}): KuboR return createKuboRPCClient(options) } +export { create as createKuboRPCClient } export { CID } from 'multiformats/cid' export { multiaddr } from '@multiformats/multiaddr' export * from './lib/glob-source.js'