From ba91957d511f5258eb765a99388bac7b5d78a89f Mon Sep 17 00:00:00 2001 From: Jono Wenger <jono@elixxir.io> Date: Tue, 20 Sep 2022 17:15:11 -0700 Subject: [PATCH] Docs test --- wasm/authenticatedConnection.go | 4 ---- wasm/channels.go | 6 ++++-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/wasm/authenticatedConnection.go b/wasm/authenticatedConnection.go index ea2fffd4..b8aae809 100644 --- a/wasm/authenticatedConnection.go +++ b/wasm/authenticatedConnection.go @@ -58,10 +58,6 @@ func (ac *AuthenticatedConnection) GetId(js.Value, []js.Value) interface{} { // SendE2E is a wrapper for sending specifically to the // AuthenticatedConnection's [partner.Manager]. // -// Returns: -// - []byte - the JSON marshalled bytes of the E2ESendReport object, which can -// be passed into WaitForRoundResult to see if the send succeeded. -// // Parameters: // - args[0] - message type from [catalog.MessageType] (int) // - args[1] - message payload (Uint8Array) diff --git a/wasm/channels.go b/wasm/channels.go index ba99ede3..af7c8180 100644 --- a/wasm/channels.go +++ b/wasm/channels.go @@ -13,10 +13,12 @@ import ( "gitlab.com/elixxir/client/bindings" "gitlab.com/elixxir/xxdk-wasm/indexedDb" "gitlab.com/elixxir/xxdk-wasm/utils" - _ "gitlab.com/xx_network/primitives/id" + "gitlab.com/xx_network/primitives/id" "syscall/js" ) +var _ = &id.ID{} + //////////////////////////////////////////////////////////////////////////////// // Basic Channel API // //////////////////////////////////////////////////////////////////////////////// @@ -260,7 +262,7 @@ func (ch *ChannelsManager) JoinChannel(_ js.Value, args []js.Value) interface{} // GetChannels returns the IDs of all channels that have been joined. // // Returns: -// - JSON of an array of marshalled [gitlab.com/xx_network/primitives/id.ID] (Uint8Array). +// - JSON of an array of marshalled [id.ID] (Uint8Array). // - Throws a TypeError if getting the channels fails. // // JSON Example: -- GitLab