Skip to content

feat: add lending functionality to controller #5828

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/earn-controller/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed

- Bump `@metamask/controller-utils` to `^11.9.0` ([#5812](https://github.com/MetaMask/core/pull/5812))
- **BREAKING:** bump `@metamask/stake-sdk` peer dependency to `3.0.0` ([#5828](https://github.com/MetaMask/core/pull/5828))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, stake-sdk doesn't seem like a peer dependency, it seems like a regular dependency. So this doesn't seem like a breaking change to me. Also, it seems we've added two new dependencies:

Suggested change
- **BREAKING:** bump `@metamask/stake-sdk` peer dependency to `3.0.0` ([#5828](https://github.com/MetaMask/core/pull/5828))
- Bump `@metamask/stake-sdk` dependency to `^3.2.0` ([#5828](https://github.com/MetaMask/core/pull/5828))
- Add `@ethersproject/bignumber` as a dependency ([#5828](https://github.com/MetaMask/core/pull/5828))
- Add `reselect` as a dependency ([#5828](https://github.com/MetaMask/core/pull/5828))


## [0.14.0]

Expand Down
6 changes: 4 additions & 2 deletions packages/earn-controller/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/earn-controller",
"version": "0.14.0",
"version": "1.0.0",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nickewansmith Would you mind reverting this change? Just so you're aware, updating the changelog ahead of time is fine, but we don't bump the version of a package until we are ready to release that package, and we do that in a separate release PR for visibility. Release PRs get created via create-release-branch, and you can read more about that process here: https://github.com/MetaMask/core/blob/main/docs/contributing.md#releasing-changes

Suggested change
"version": "1.0.0",
"version": "0.14.0",

"description": "Manages state for earning features and coordinates interactions between staking services, SDK integrations, and other controllers to enable users to participate in various earning opportunities",
"keywords": [
"MetaMask",
Expand Down Expand Up @@ -47,10 +47,12 @@
"since-latest-release": "../../scripts/since-latest-release.sh"
},
"dependencies": {
"@ethersproject/bignumber": "^5.7.0",
"@ethersproject/providers": "^5.7.0",
"@metamask/base-controller": "^8.0.1",
"@metamask/controller-utils": "^11.9.0",
"@metamask/stake-sdk": "^1.0.0"
"@metamask/stake-sdk": "3.2.0",
"reselect": "^5.1.1"
},
"devDependencies": {
"@metamask/accounts-controller": "^29.0.0",
Expand Down
Loading
Loading