- Update to
payjoin-ffiversion0.23.0(see changelog) which depends onrust-payjoinversion0.23.0(see changelog). - Update
flutter_rust_bridgeto2.9.0.
Update to payjoin version 0.22.0, fixing Sender persistence.
This release updates the bindings libraries to payjoin version 0.21.0.
- Major overhaul to attempt a stable BIP 77 protocol implementation.
- v1 support is now only available through the V2 backwards-compatible APIs.
- see payjoin-0.21.0 changelog for more details.
- Make backwards-compatible
v2tov1sends possible.
- Removed
contributeNonWitnessInputfromv1&v2. - Allow receivers to make
payjoinsout of sweep transactions (#259). - Encode &ohttp= and &exp= parameters in the &pj= URL as a fragment instead of as URI params (#298)
Updated flutter_rust_bridge to 2.0.0.
- Exposed
PjUriBuilderandPjUri. - Exposed
pjUrlBuilder()inActiveSession. - Exposed
checkPjSupported()inPjUri. - Exposed
fetchOhttpKeys()to fetch theohttpkeys from the specifiedpayjoindirectory.
- Upgrade
receive/v2type state machine to resume multiplepayjoinssimultaneously (#283) - Refactor output substitution with new fallable
try_substitute_outputs(#277) EnrollerbecameSessionInitializer.EnrolledbecameActiveSession.fallbackTarget()becamepjUrl().
- Handle OHTTP encapsulated response status (#284)
-
RequestBuilderexposesfromPsbtAndUri,buildWithAdditionalFee,buildRecommended,buildNonIncentivizing,alwaysDisableOutputSubstitution.RequestContextexposesextractContextV1&extractContextV2.ContextV1exposesprocessResponse.
-
ContextV2exposesprocessResponse.
-
UncheckedProposalexposesfromRequest,extractTxToScheduleBroadcast,checkBroadcastSuitability,buildNonIncentivizing,assumeInteractiveReceiver&alwaysDisableOutputSubstitution.MaybeInputsOwnedexposescheckInputsNotOwned.MaybeMixedInputScriptsexposescheckNoMixedInputScripts.MaybeInputsSeenexposescheckNoInputsSeenBefore.OutputsUnknownexposesidentifyReceiverOutputs.ProvisionalProposalexposessubstituteOutputAddress,contributeNonWitnessInput,contributeWitnessInput,tryPreservingPrivacy&finalizeProposal.PayjoinProposalexposesisOutputSubstitutionDisabled,ownedVouts,psbt&utxosToBeLocked.
-
EnrollerexposesfromDirectoryConfig,processResponse&extractRequest.EnrolledexposesextractRequest,processResponse&fallbackTarget.UncheckedProposalexposesextractTxToScheduleBroadcast,checkBroadcastSuitability&assumeInteractiveReceiver.MaybeInputsOwnedexposescheckInputsNotOwned.MaybeMixedInputScriptsexposescheckNoMixedInputScripts.MaybeInputsSeenexposescheckNoInputsSeenBefore.OutputsUnknownexposesidentifyReceiverOutputs.ProvisionalProposalexposessubstituteOutputAddress,contributeNonWitnessInput,contributeWitnessInput,tryPreservingPrivacy&finalizeProposal.PayjoinProposalexposesdeserializeRes,extractV1Req,extractV2Request,isOutputSubstitutionDisabled,ownedVouts,psbt&utxosToBeLocked.