0.0.7 • Published 1 year ago

@2060.io/credo-ts-didcomm-receipts v0.0.7

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 year ago

This module is used to provide an Agent built with Credo means to manage Receipts protocol.

It's conceived as an extension module for Credo which can be injected to an existing agent instance:

import { ReceiptsModule } from 'credo-ts-receipts'

const agent = new Agent({
  config: {
    /* agent config */
  },
  dependencies,
  modules: { receipts: new ReceiptsModule() },
})

Once instantiated, media module API can be accessed under agent.modules.receipts namespace

Usage

TODO