Skip to content
This repository has been archived by the owner on Jul 21, 2023. It is now read-only.

fix: replace err-code with CodeError #45

Merged
merged 1 commit into from
Jan 13, 2023

Conversation

tabcat
Copy link
Contributor

@tabcat tabcat commented Jan 9, 2023

Replaces err-code with CodeError

Related: #1269

Changes (only affect peer-id package)

  • added @libp2p/[email protected] to the to use the new CodeError export
  • removes err-code from dependencies
  • uses CodeError in place of err-code

BEGIN_COMMIT_OVERRIDE
fix: replace err-code with CodeError
END_COMMIT_OVERRIDE

@tabcat tabcat changed the title refactor: replace err-code with CodeError chore: replace err-code with CodeError Jan 10, 2023
Replaces [err-code](https://github.com/IndigoUnited/js-err-code/blob/master/index.js) with [CodeError](libp2p/js-libp2p-interfaces#314)

Related: [#1269](libp2p/js-libp2p#1269)

Changes (only affect peer-id package)

- added @libp2p/[email protected] to the to use the new CodeError export
- removes err-code from dependencies
- uses CodeError in place of err-code
@wemeetagain wemeetagain merged commit 06e39f0 into libp2p:master Jan 13, 2023
@achingbrain
Copy link
Member

This needs to be merged with a tag of fix: for it to create a release. chore: does not cause it to happen.

github-actions bot pushed a commit that referenced this pull request Jan 18, 2023
## [@libp2p/peer-id-v2.0.1](https://github.com/libp2p/js-libp2p-peer-id/compare/@libp2p/peer-id-v2.0.0...@libp2p/peer-id-v2.0.1) (2023-01-18)

### Trivial Changes

* replace err-code with CodeError ([#45](#45)) ([06e39f0](06e39f0)), closes [#1269](https://github.com/libp2p/js-libp2p-peer-id/issues/1269)

### Dependencies

* bump aegir from 37.12.1 to 38.1.0 ([#46](#46)) ([ba54f6a](ba54f6a))
@github-actions
Copy link

🎉 This PR is included in version @libp2p/peer-id-v2.0.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@mpetrunic mpetrunic changed the title chore: replace err-code with CodeError fix: replace err-code with CodeError Jan 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants