hyperledger / identus-edge-agent-sdk-ts

Apache License 2.0
20 stars 10 forks source link

Ability to opt-in or opt-out of the mediator live mode. #198

Closed elribonazo closed 5 months ago

elribonazo commented 5 months ago

Proposed feature

Currently if the peerDID from the mediator is using live mode, then by default it will fallback to using an isomorphic implementation of websockets.

User's though may want to opt out from this configuration

Feature description

I will propose to add a configuration parameter into the agent initialization function so we can disable or enable this behavior and user's have full control over how they want to be connecting.

When the option is found, even if the peerDID contains a ws endpoint, it will be discarded.

Anything else?

No response