Skip to content
Snippets Groups Projects
Commit ba91957d authored by Jono Wenger's avatar Jono Wenger
Browse files

Docs test

parent 8ceff789
No related branches found
No related tags found
1 merge request!60Revert "Fail a test to be sure it works"
......@@ -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)
......
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment