@@ -271,7 +271,7 @@ impl InitializedTransitionOutcome {
271271
272272#[ uniffi:: export]
273273impl Initialized {
274- /// The contents of the `&pj=` query parameter including the base64url-encoded public key receiver subdirectory .
274+ /// The contents of the `&pj=` query parameter including the base64url-encoded public key receiver mailbox .
275275 /// This identifies a session at the payjoin directory server.
276276 pub fn pj_uri ( & self ) -> crate :: PjUri { self . 0 . pj_uri ( ) }
277277
@@ -282,8 +282,8 @@ impl Initialized {
282282 }
283283
284284 ///The response can either be an UncheckedProposal or an ACCEPTED message indicating no UncheckedProposal is available yet.
285- pub fn process_res ( & self , body : & [ u8 ] , context : Arc < ClientResponse > ) -> InitializedTransition {
286- InitializedTransition ( self . 0 . process_res ( body, & context) )
285+ pub fn process_response ( & self , body : & [ u8 ] , context : Arc < ClientResponse > ) -> InitializedTransition {
286+ InitializedTransition ( self . 0 . process_response ( body, & context) )
287287 }
288288
289289 pub fn to_json ( & self ) -> Result < String , SerdeJsonError > { self . 0 . to_json ( ) }
@@ -730,7 +730,7 @@ impl PayjoinProposal {
730730 ///
731731 /// After this function is called, the receiver can either wait for the Payjoin transaction to be broadcast or choose to broadcast the original PSBT.
732732 pub fn process_res ( & self , body : & [ u8 ] , ctx : Arc < ClientResponse > ) -> PayjoinProposalTransition {
733- PayjoinProposalTransition ( self . 0 . process_res ( body, ctx. as_ref ( ) ) )
733+ PayjoinProposalTransition ( self . 0 . process_response ( body, ctx. as_ref ( ) ) )
734734 }
735735}
736736
0 commit comments