Skip to content

Merge release/lightspark-sdk-v0.19.1 into main #222

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

Merged
merged 30 commits into from
Feb 13, 2025

Conversation

github-actions[bot]
Copy link
Contributor

This PR was automatically created by the release branch cut workflow.\nSDK=lightspark-sdk\nVERSION=0.19.1

github-actions bot and others added 29 commits September 3, 2024 12:09
…18.0

Merge release/lightspark-sdk-v0.18.0 into develop
Add the uma-configuration file to the demo VASP
Initial commit - rename vasp1 & vasp 2 to sending/receiving vasp, add skeleton methods for new routes
# Receiver Vasp

This PR adds an endpoint to create an invoice, and an endpoint to create invoice + send to another uma address

# Testing
run a receiver vasp on port 8080, and a sender vasp on 8081

to create an invoice
`curl -u <username>:<password> -X POST "http://localhost:8080/api/uma/create_invoice?amount=100&currencyCode=USD"`

to create and send an invoice to another uma
`curl -u <username>:<password> -X POST "http://localhost:8080/api/uma/create_and_send_invoice/?amount=100&currencyCode=USD&senderUma=<sender uma>"`
# Sender VASP demo endpoints

this adds 2 demo endpoints 
- receive an invoice from a receiver vasp and cache it for later client payment
- process a payrequest for a full incoming uma invoice, or a cached invoice

# testing
run 2 vasps, a receiver vasp on 8080 and a sender vasp on 8081

receiver invoice to sender vasp
`curl -u <username>:<password> -X POST "http://localhost:8081/api/uma/request_and_pay_invoice?invoice=<bech32 encoded invoice>"`

sender client to sender vasp:
`curl -u <username>:<password> -X POST "http://localhost:8081/api/uma/pay_invoice?invoice=<bech32 encoded invoice, or uuid identifying a cached invoice>`
Add explicit timeouts to the Requester
Regenerating SDKs following introspection of schemas.
This PR was automatically created by the release branch cut
workflow.\nSDK=lightspark-sdk\nVERSION=0.19.0

Co-authored-by: runner <[email protected]>
@jklein24 jklein24 requested a review from shreyav February 13, 2025 22:41
@jklein24 jklein24 merged commit e58fef3 into main Feb 13, 2025
2 of 3 checks passed
@jklein24 jklein24 deleted the release/lightspark-sdk-v0.19.1 branch February 13, 2025 22:46
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.

5 participants