Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: export createKuboRPCClient function #224

Merged
merged 1 commit into from
Sep 12, 2024

Conversation

achingbrain
Copy link
Member

The create function is too generic, it often clashes with other functions so export a copy with a more obvious name.

The `create` function is too generic, it often clashes with other
functions so export a copy with a more obvious name.
@SgtPooki
Copy link
Member

We should update readme too

@achingbrain
Copy link
Member Author

I don't know if we want something more pithy - createKuboClient or something?

@SgtPooki
Copy link
Member

I think whatever works is fine. Im not a fan of uppercase acronyms in camel/pascal case "RPCClient" but its not something we need to type much

@SgtPooki
Copy link
Member

Also, This is technically a breaking change, but we did just release as v14 🤔

@achingbrain
Copy link
Member Author

It’s not breaking because it’s a re-export of the existing symbol, not a straight rename so all good on that front.

@achingbrain achingbrain merged commit fb1249a into main Sep 12, 2024
19 checks passed
@achingbrain achingbrain deleted the fix/export-more-explicitly-named-factory branch September 12, 2024 10:23
github-actions bot pushed a commit that referenced this pull request Sep 12, 2024
## [4.1.2](v4.1.1...v4.1.2) (2024-09-12)

### Bug Fixes

* export createKuboRPCClient function ([#224](#224)) ([fb1249a](fb1249a))

### Trivial Changes

* rename master to main ([5c7e42e](5c7e42e))
* Update .github/workflows/stale.yml [skip ci] ([39f1bf2](39f1bf2))

### Dependencies

* **dev:** bump aegir from 42.2.11 to 44.0.1 ([#240](#240)) ([17d702b](17d702b))
* **dev:** bump kubo from 0.28.0 to 0.29.0 ([#238](#238)) ([0d7729e](0d7729e))
* **dev:** bump sinon from 17.0.2 to 18.0.0 ([#234](#234)) ([a4459dc](a4459dc))
Copy link
Contributor

🎉 This PR is included in version 4.1.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants