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

feat: sell feature #75

Merged
merged 9 commits into from
Aug 20, 2024
Merged

feat: sell feature #75

merged 9 commits into from
Aug 20, 2024

Conversation

chrisduma-ledger
Copy link
Contributor

makes the sell feature work

Copy link
Collaborator

@sarneijim sarneijim left a comment

Choose a reason for hiding this comment

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

Remember we need to support here 2 flows:

  • First one: Coinify flow, small "payload shortcut", calling backend, to set the payload.
  • Second one: any other provider, call backend to retrieve the payload

I think Accepted and cancelled call are missing.

lib/src/sdk.ts Outdated Show resolved Hide resolved
@@ -0,0 +1,132 @@
{
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we remove this file?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, thx!

package.json Outdated
Comment on lines 18 to 21
"dependencies": {
"@ledgerhq/hw-app-exchange": "0.6.0-nightly.0",
"protobufjs": "^7.3.2"
},
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we remove this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, the protobuf only

"devDependencies": {
"@rollup/plugin-json": "^6.1.0",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do we need this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

for now, no, but it's just the rollup json plugin for TS which is good to have in any project, we will definitely need it in the future, it is a dev dependency so it does not bloat the app

@chrisduma-ledger chrisduma-ledger merged commit cdb3f6e into main Aug 20, 2024
6 checks passed
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