Skip to content

Commit

Permalink
fix: add @dfinity/principal as a peerDependency where needed (#752)
Browse files Browse the repository at this point in the history
* fix: add `@dfinity/principal` as a peerDependency where needed

* Update changelog
  • Loading branch information
hpeebles authored Aug 15, 2023
1 parent 7bf4348 commit 83e4d34
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/generated/changelog.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ <h1>Agent-JS Changelog</h1>
<section>
<h2>Version x.x.x</h2>
<ul>
<li>Fix: add `@dfinity/principal` as a peerDependency to `assets` and `candid`.</li>
<li>
Feat: HttpAgent now uses a default address of https://icp-api.io. Users will be warned for
not setting a host, but the code will default to mainnet.
Expand Down
4 changes: 4 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/assets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
},
"peerDependencies": {
"@dfinity/agent": "^0.18.1",
"@dfinity/principal": "^0.18.1",
"js-sha256": "0.9.0"
},
"dependencies": {
Expand Down
3 changes: 3 additions & 0 deletions packages/candid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@
"test": "jest",
"test:coverage": "jest --verbose --collectCoverage"
},
"peerDependencies": {
"@dfinity/principal": "^0.18.1"
},
"devDependencies": {
"@types/jest": "^28.1.4",
"@typescript-eslint/eslint-plugin": "^5.30.5",
Expand Down

0 comments on commit 83e4d34

Please sign in to comment.