0.0.3 • Published 7 months ago
@2060.io/credo-ts-didcomm-media-sharing v0.0.3
Credo DIDComm Media Sharing extension module
This module is used to provide an DIDComm Agent built with Credo means to manage Media Sharing protocol.
It's conceived as an extension module for Credo which can be injected to an existing agent instance:
import { MediaSharingModule } from 'credo-ts-media-sharing'
const agent = new Agent({
config: {
/* agent config */
},
dependencies,
modules: { media: new MediaSharingModule() },
})
Once instantiated, media module API can be accessed under agent.modules.media
namespace
Usage
Sending a media file
Receiving a media file
TODO