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: add @dfinity/principal as a peerDependency where needed #752

Merged
merged 3 commits into from
Aug 15, 2023

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
47 checks passed
@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.

None yet

2 participants