Skip to main content

IDIDComm.sendMessageDIDCommAlpha1() method

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Warning: This API is now obsolete.

Please use IDIDComm.sendDIDCommMessage() instead. This will be removed in Veramo 4.0

This is used to create a message according to the initial DIDComm-js implementation.

Signature:

sendMessageDIDCommAlpha1(args: ISendMessageDIDCommAlpha1Args, context: IAgentContext<IDIDManager & IKeyManager & IResolver & IMessageHandler>): Promise<IMessage>;

Parameters

ParameterTypeDescription
argsISendMessageDIDCommAlpha1ArgsArguments necessary for sending a DIDComm message
contextIAgentContext<IDIDManager & IKeyManager & IResolver & IMessageHandler>

This reserved param is automatically added and handled by the framework, *do not override*

This API may change without a BREAKING CHANGE notice.

Returns:

Promise<IMessage>

Remarks

Be advised that this spec is still not final and that this protocol may need to change.