0.0.3 • Published 7 months ago

@2060.io/credo-ts-didcomm-media-sharing v0.0.3

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
7 months ago

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

npm.io

Receiving a media file

npm.io

TODO