Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 844 Bytes

README.md

File metadata and controls

31 lines (20 loc) · 844 Bytes

Aries JavaScript Media Sharing extension module

This module is used to provide an Aries Agent built with Aries Framework JavaScript means to manage Media Sharing protocol.

It's conceived as an extension module for Aries Framework JavaScript 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