Skip to content

Commit fb1249a

Browse files
authored
fix: export createKuboRPCClient function (#224)
The `create` function is too generic, it often clashes with other functions so export a copy with a more obvious name.
1 parent a4459dc commit fb1249a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -494,6 +494,7 @@ export function create (options: string | Multiaddr | URL | Options = {}): KuboR
494494
return createKuboRPCClient(options)
495495
}
496496

497+
export { create as createKuboRPCClient }
497498
export { CID } from 'multiformats/cid'
498499
export { multiaddr } from '@multiformats/multiaddr'
499500
export * from './lib/glob-source.js'

0 commit comments

Comments
 (0)