Skip to content

Conversation

hpeebles
Copy link
Contributor

@hpeebles hpeebles commented Aug 15, 2023

Description

This adds @dfinity/principal as a peer dependency of @dfinity/assets and @dfinity/candid. The Principal type is used in both of these packages, so if either package is used in an external project, your project must also have @dfinity/principal as a dependency or the build will fail. By adding @dfinity/principal as a peer dependency, it is automatically added as a dependency so you won't run into this build issue.

Checklist:

  • My changes follow the guidelines in CONTRIBUTING.md.
  • The title of this PR complies with Conventional Commits.
  • I have edited the CHANGELOG accordingly.
  • I have made corresponding changes to the documentation.

@hpeebles hpeebles requested a review from a team as a code owner August 15, 2023 14:14
@krpeacock krpeacock merged commit 83e4d34 into dfinity:main Aug 15, 2023
@hpeebles hpeebles deleted the peer_dep branch August 15, 2023 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants