From 2ba837f3ea5d0ec511cc3680a2e10fa8f6e7e190 Mon Sep 17 00:00:00 2001 From: Jono Wenger <jono@elixxir.io> Date: Wed, 14 Sep 2022 09:17:59 -0700 Subject: [PATCH] Update comments --- wasm/channels.go | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/wasm/channels.go b/wasm/channels.go index 4f5f4a49..1c17f36e 100644 --- a/wasm/channels.go +++ b/wasm/channels.go @@ -221,8 +221,8 @@ func (ch *ChannelsManager) ReplayChannel(_ js.Value, args []js.Value) interface{ // valid until, in milliseconds. As per the [channels.Manager] documentation, // this has different meanings depending on the use case. These use cases may // be generic enough that they will not be enumerated here (int). -// - args[4] - JSON of [xxdk.CMIXParams]. If left empty [GetDefaultCMixParams] -// will be used internally (Uint8Array). +// - args[4] - JSON of [xxdk.CMIXParams]. If left empty +// [bindings.GetDefaultCMixParams] will be used internally (Uint8Array). // // Returns a promise: // - Resolves to the JSON of [bindings.ChannelSendReport] (Uint8Array). @@ -264,8 +264,8 @@ func (ch *ChannelsManager) SendGeneric(_ js.Value, args []js.Value) interface{} // valid until, in milliseconds. As per the [channels.Manager] documentation, // this has different meanings depending on the use case. These use cases may // be generic enough that they will not be enumerated here (int). -// - args[5] - JSON of [xxdk.CMIXParams]. If left empty [GetDefaultCMixParams] -// will be used internally (Uint8Array). +// - args[5] - JSON of [xxdk.CMIXParams]. If left empty +// [bindings.GetDefaultCMixParams] will be used internally (Uint8Array). // // Returns a promise: // - Resolves to the JSON of [bindings.ChannelSendReport] (Uint8Array). @@ -307,8 +307,8 @@ func (ch *ChannelsManager) SendAdminGeneric(_ js.Value, args []js.Value) interfa // valid until, in milliseconds. As per the [channels.Manager] documentation, // this has different meanings depending on the use case. These use cases may // be generic enough that they will not be enumerated here (int). -// - args[3] - JSON of [xxdk.CMIXParams]. If left empty [GetDefaultCMixParams] -// will be used internally (Uint8Array). +// - args[3] - JSON of [xxdk.CMIXParams]. If left empty +// [bindings.GetDefaultCMixParams] will be used internally (Uint8Array). // // Returns a promise: // - Resolves to the JSON of [bindings.ChannelSendReport] (Uint8Array). @@ -357,8 +357,8 @@ func (ch *ChannelsManager) SendMessage(_ js.Value, args []js.Value) interface{} // valid until, in milliseconds. As per the [channels.Manager] documentation, // this has different meanings depending on the use case. These use cases may // be generic enough that they will not be enumerated here (int). -// - args[4] - JSON of [xxdk.CMIXParams]. If left empty [GetDefaultCMixParams] -// will be used internally (Uint8Array). +// - args[4] - JSON of [xxdk.CMIXParams]. If left empty +// [bindings.GetDefaultCMixParams] will be used internally (Uint8Array). // // Returns a promise: // - Resolves to the JSON of [bindings.ChannelSendReport] (Uint8Array). @@ -398,8 +398,8 @@ func (ch *ChannelsManager) SendReply(_ js.Value, args []js.Value) interface{} { // own. Alternatively, if reacting to another user's message, you may // retrieve it via the ChannelMessageReceptionCallback registered using // RegisterReceiveHandler (Uint8Array). -// - args[3] - JSON of [xxdk.CMIXParams]. If left empty [GetDefaultCMixParams] -// will be used internally (Uint8Array). +// - args[3] - JSON of [xxdk.CMIXParams]. If left empty +// [bindings.GetDefaultCMixParams] will be used internally (Uint8Array). // // Returns a promise: // - Resolves to the JSON of [bindings.ChannelSendReport] (Uint8Array). -- GitLab