Skip to content

Commit

Permalink
docs: improving Agent.acceptInvitation description
Browse files Browse the repository at this point in the history
Signed-off-by: Curtish <ch@curtish.me>
  • Loading branch information
curtis-h committed Nov 14, 2024
1 parent 01105a0 commit a8c97ad
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/edge-agent/didcomm/Agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,12 @@ export default class DIDCommAgent {
}

/**
* Handle an invitation to create a connection
* Handle an invitation based on it's type
*
* - `PrismOnboardingInvitation`: creates a new connection
* - `OutOfBandInvitation`:
* - no Attachment: creates a new connection
* - with Attachment: stores / emits the attached message
*
* @async
* @param {InvitationType} invitation - an OOB or PrismOnboarding invitation
Expand Down

0 comments on commit a8c97ad

Please sign in to comment.