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

Api and UI updates #108

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Api and UI updates #108

wants to merge 6 commits into from

Conversation

farscapian
Copy link
Collaborator

@farscapian farscapian commented Oct 2, 2024

This PR includes breaking API changes. We made the following API

  1. prism-bindinglist to prism-listbindings,
  2. prism-bindingadd to prism-addbinding
  3. prism-bindingremove to prism-deletebinding (The change to delete implies that data is being lost; in other words, outlay values are being deleted)

This PR also allows prism member split values to come in as integers. Aparently JS likes to convert 1.0 to 1. So in the plugin we cast all incoming values to float. We also allow the destination to remain empty (rather than a BOLT12 offer). This is useful for placeholder where you want to start tracking an outlay, but don't yet have a BOLT12 offer to pay to. If you do, we now use the decode method to ensure its validity. We update the tests and we also update the docker-based testing framework to an image based on 24.08.1. And readme updates. This PR would close #107 and #98

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.

Idea: Allow destination to be empty
1 participant