payjoin_flutter 0.23.0
payjoin_flutter: ^0.23.0 copied to clipboard
A Flutter library for the [Payjoin Dev Kit](https://payjoindevkit.org/)
0.23.0 #
- Update to
payjoin-ffi
version0.23.0
(see changelog) which depends onrust-payjoin
version0.23.0
(see changelog). - Update
flutter_rust_bridge
to2.9.0
.
0.22.0 #
Update to payjoin
version 0.22.0
, fixing Sender
persistence.
0.21.0 #
This release updates the bindings libraries to payjoin
version 0.21.0
.
APIs changed
- 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.
0.20.0 #
0.18.0 #
Updated flutter_rust_bridge
to 2.0.0
.
APIs added
- Exposed
PjUriBuilder
andPjUri
. - Exposed
pjUrlBuilder()
inActiveSession
. - Exposed
checkPjSupported()
inPjUri
. - Exposed
fetchOhttpKeys()
to fetch theohttp
keys from the specifiedpayjoin
directory.
APIs changed
- Upgrade
receive/v2
type state machine to resume multiplepayjoins
simultaneously (#283) - Refactor output substitution with new fallable
try_substitute_outputs
(#277) Enroller
becameSessionInitializer
.Enrolled
becameActiveSession
.fallbackTarget()
becamepjUrl()
.
Fixed
- Handle OHTTP encapsulated response status (#284)
0.13.0 #
Features & Modules #
Send module
-
V1
RequestBuilder
exposesfromPsbtAndUri
,buildWithAdditionalFee
,buildRecommended
,buildNonIncentivizing
,alwaysDisableOutputSubstitution
.RequestContext
exposesextractContextV1
&extractContextV2
.ContextV1
exposesprocessResponse
.
-
V2
ContextV2
exposesprocessResponse
.
Receive module
-
V1
UncheckedProposal
exposesfromRequest
,extractTxToScheduleBroadcast
,checkBroadcastSuitability
,buildNonIncentivizing
,assumeInteractiveReceiver
&alwaysDisableOutputSubstitution
.MaybeInputsOwned
exposescheckInputsNotOwned
.MaybeMixedInputScripts
exposescheckNoMixedInputScripts
.MaybeInputsSeen
exposescheckNoInputsSeenBefore
.OutputsUnknown
exposesidentifyReceiverOutputs
.ProvisionalProposal
exposessubstituteOutputAddress
,contributeNonWitnessInput
,contributeWitnessInput
,tryPreservingPrivacy
&finalizeProposal
.PayjoinProposal
exposesisOutputSubstitutionDisabled
,ownedVouts
,psbt
&utxosToBeLocked
.
-
V2
Enroller
exposesfromDirectoryConfig
,processResponse
&extractRequest
.Enrolled
exposesextractRequest
,processResponse
&fallbackTarget
.UncheckedProposal
exposesextractTxToScheduleBroadcast
,checkBroadcastSuitability
&assumeInteractiveReceiver
.MaybeInputsOwned
exposescheckInputsNotOwned
.MaybeMixedInputScripts
exposescheckNoMixedInputScripts
.MaybeInputsSeen
exposescheckNoInputsSeenBefore
.OutputsUnknown
exposesidentifyReceiverOutputs
.ProvisionalProposal
exposessubstituteOutputAddress
,contributeNonWitnessInput
,contributeWitnessInput
,tryPreservingPrivacy
&finalizeProposal
.PayjoinProposal
exposesdeserializeRes
,extractV1Req
,extractV2Request
,isOutputSubstitutionDisabled
,ownedVouts
,psbt
&utxosToBeLocked
.