hyperledger / identus-edge-agent-sdk-ts

Apache License 2.0
24 stars 13 forks source link

Feedback for discussion #338

Open curtis-h opened 1 week ago

curtis-h commented 1 week ago

Proposed feature

Some feedback from implementing the CLI demo:

exports

agent.acceptInvitation(invitation);

Agent.start()

how much should we handle automagically? for instance currently we begin mediation on agent.start(), which forces the mediationDID requirement earlier in the flow, and prevents the user from using the Agent until mediation has begun. Personally I think mediation should be considered as a connection and created separately after the Agent has been started. We can then provide options to Agent.start() for it to handle startup features, such as checking for a saved mediator and reconnecting, etc.