Skip to content

Commit

Permalink
fix: export createKuboRPCClient function (#224)
Browse files Browse the repository at this point in the history
The `create` function is too generic, it often clashes with other
functions so export a copy with a more obvious name.
  • Loading branch information
achingbrain authored Sep 12, 2024
1 parent a4459dc commit fb1249a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit fb1249a

Please sign in to comment.