-
Notifications
You must be signed in to change notification settings - Fork 9
Conversation
🦋 Changeset detectedLatest commit: 7dd8478 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 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 |
TBDocs Report 🛑 Errors: 0 @tbdex/protocol
@tbdex/http-client
@tbdex/http-server
TBDocs Report Updated at 2024-02-20T17:12:38Z |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #163 +/- ##
==========================================
+ Coverage 92.48% 92.50% +0.01%
==========================================
Files 37 37
Lines 2995 3000 +5
Branches 321 322 +1
==========================================
+ Hits 2770 2775 +5
Misses 225 225
|
(I've been out of the loop so apologies if this is easily answered) Should we add this to the spec? Are there implications that the |
lol literally the next PR I pulled up to review was this, disregard the first question |
@KendallWeihe this is a good point actually...perhaps we should only echo back the IDs which were sent by alice? |
I would think this would be a good practice. Given Alice includes an |
@KendallWeihe was thinking about this more...I think we can actually assume that the entire contents of a message (metadata + message body) are visible between Alice and the PFI. If the PFI doesn't want to expose an internal ID, it can simply not populate the value. It's likely that there are a bunch of IDs correlated to a single exchange (one for payout side, one for payin side at least), those IDs are in a separate context from tbdex messages. The PFI can map from tbdex message id to payment rail specific IDs in its own business logic. |
@phoebe-lew makes sense to me. I'm curious, was there a motivating use case for adding |
@KendallWeihe guess it's a potential use case, but letting clients pass in an arbitrary reference/id is pretty standard practice with most payment APIs. |
No description provided.