import { getWallet } from "../lib/config" ; import * as solarium from "solarium-js" ; export const invite = async ( inviteeDID , channelAddress ) : Promise < void > => { const wallet = await getWallet ( ) ; return solarium . addToChannel ( { payer : wallet . secretKey , decryptionKey : wallet . secretKey , channel : channelAddress , inviteeDID , } ) ; } ;