diff --git a/wasm/authenticatedConnection.go b/wasm/authenticatedConnection.go index ea2fffd45760c474ce053f015c6b596360422f8b..b8aae809d4318211ed8291c23323de681f5a7e11 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 ba99ede3bc55b1dab8411435e427d3efaa16cbf9..af7c8180c9157774703e412c213d40f3705e80d4 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: