You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
these were separated so that v1 http client senders and v1 http server receivers were only using code they could actually deploy. Now that v2 is all client software, this distinction isn't really necessary and every sender should implement receiving as well.
Because the main reason to keep sendreceive feature separation was to allow v1 send implementation with minimal dependencies, and those implementations are now deprecated, we will indeed axe the separation
We might have wanted this separation if for example we had an io feature implementation that included an opinionated web server for receive and HTTP client for send where the send client wouldn't want to depend on the server dependencies.
One reason I can imagine keeping these is if you want strictly the payjoin::directory (#418) types and not send or receive.
In that case, I think it'd be better to have separate v1, v2, directory features where {v1,v2} had send & receive functionality and directory did not, which I think can still mean send and receive get axed.
Activity
[-]Axe `send` `receive` module separation[/-][+]Axe `send` `receive` ~~module~~ feature separation[/+][-]Axe `send` `receive` ~~module~~ feature separation[/-][+]Axe `send` `receive` feature separation[/+]DanGould commentedon Jan 20, 2025
Because the main reason to keep
sendreceivefeature separation was to allow v1sendimplementation with minimal dependencies, and those implementations are now deprecated, we will indeed axe the separationWe might have wanted this separation if for example we had an
iofeature implementation that included an opinionated web server for receive and HTTP client for send where the send client wouldn't want to depend on the server dependencies.as discussed with @spacebear21 @nothingmuch
DanGould commentedon Jan 20, 2025
One reason I can imagine keeping these is if you want strictly the
payjoin::directory(#418) types and notsendorreceive.In that case, I think it'd be better to have separate
v1,v2,directoryfeatures where{v1,v2}had send & receive functionality anddirectorydid not, which I think can still mean send and receive get axed.Axe `send`, `receive` feature separation
Organize feature separation for ergonomics (#501)
Axe `send`, `receive` feature separation
Axe `send`, `receive` feature separation
Axe `send`, `receive` feature separation