feat(core): add payment request receive saga#172
Draft
Egge21M wants to merge 10 commits into
Draft
Conversation
🦋 Changeset detectedLatest commit: 1813e34 The changes in this PR will be included in the next version bump. This PR includes changesets to release 7 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #172 +/- ##
==========================================
+ Coverage 79.84% 80.18% +0.33%
==========================================
Files 108 111 +3
Lines 11783 12863 +1080
==========================================
+ Hits 9408 10314 +906
- Misses 2375 2549 +174
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
paymentRequests.incomingPaymentRequestPayloadclaiming through the normal receive operation pipeline with dedupe, source metadata, history metadata, and recovery handlingScope
This PR implements the core Phase 1 slice from
PAYMENT_REQUEST_RECEIVE_PLAN.md.Included:
ReceiveOperationServicelinkage for mint interaction and proof persistenceNot included:
Tests
bun run typecheckinpackages/corebun run buildinpackages/corebun run test:unit -- test/unit/PaymentRequestReceiveService.test.ts test/unit/PaymentRequestsApi.test.tsinpackages/core(642 pass)bun run typecheckinpackages/sqlite3,packages/sqlite-bun,packages/expo-sqlite, andpackages/indexeddbbun run buildinpackages/adapter-testsgit diff --checkNotes
ghauth is invalid locally, so this draft PR was opened through the GitHub connector.