From bda0abe98c291725564f0965e8e44a0df426f7f7 Mon Sep 17 00:00:00 2001 From: joshemb <josh@elixxir.io> Date: Mon, 10 Apr 2023 13:17:52 -0700 Subject: [PATCH] Fix comment typos --- wasm/dm.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/wasm/dm.go b/wasm/dm.go index 8a7df563..aeaa10d7 100644 --- a/wasm/dm.go +++ b/wasm/dm.go @@ -563,14 +563,14 @@ type DMUser struct { PublicKey []byte `json:"publicKey"` } -// GetShareURL generates a URL that can be used to share a URL to initiate d +// GetShareURL generates a URL that can be used to share a URL to initiate a // direct messages with this user. // // Parameters: -// - args[0] - The URL to append the DM info to. +// - args[0] - The URL to append the DM info to (string). // // Returns: -// - JSON of [DMShareURL]. +// - JSON of [DMShareURL] (Uint8Array). func (dmc *DMClient) GetShareURL(_ js.Value, args []js.Value) any { host := args[0].String() urlReport, err := dmc.api.GetShareURL(host) @@ -586,10 +586,10 @@ func (dmc *DMClient) GetShareURL(_ js.Value, args []js.Value) any { // // Parameters: // - args[0] - The user's share URL. Should be received from another user or -// generated via [DMClient.GetShareURL]. +// generated via [DMClient.GetShareURL] (string). // // Returns: -// - JSON of DMUser. +// - JSON of [DMUser] (Uint8Array). func DecodeDMShareURL(_ js.Value, args []js.Value) any { url := args[0].String() -- GitLab