From 6501fd3622f773d1c5470e6bcec887cf94feaeb2 Mon Sep 17 00:00:00 2001
From: joshemb <josh@elixxir.io>
Date: Fri, 26 May 2023 12:44:25 -0700
Subject: [PATCH] Fix dm documentation'

---
 wasm/dm.go | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/wasm/dm.go b/wasm/dm.go
index 7295c8d8..40575745 100644
--- a/wasm/dm.go
+++ b/wasm/dm.go
@@ -539,6 +539,10 @@ func (dmc *DMClient) SendSilent(_ js.Value, args []js.Value) any {
 //     unlimited).
 //   - args[7] - A JSON marshalled [xxdk.CMIXParams]. This may be empty,
 //     and GetDefaultCMixParams will be used internally.
+//
+// Returns a promise:
+//   - Resolves to the JSON of [bindings.ChannelSendReport] (Uint8Array).
+//   - Rejected with an error if sending fails.
 func (dmc *DMClient) SendInvite(_ js.Value, args []js.Value) any {
 	var (
 		channelManagerId     = args[0].Int()
-- 
GitLab