Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
X
xxdk-wasm
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elixxir
xxdk-wasm
Commits
ba91957d
Commit
ba91957d
authored
2 years ago
by
Jono Wenger
Browse files
Options
Downloads
Patches
Plain Diff
Docs test
parent
8ceff789
No related branches found
No related tags found
1 merge request
!60
Revert "Fail a test to be sure it works"
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
wasm/authenticatedConnection.go
+0
-4
0 additions, 4 deletions
wasm/authenticatedConnection.go
wasm/channels.go
+4
-2
4 additions, 2 deletions
wasm/channels.go
with
4 additions
and
6 deletions
wasm/authenticatedConnection.go
+
0
−
4
View file @
ba91957d
...
...
@@ -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)
...
...
This diff is collapsed.
Click to expand it.
wasm/channels.go
+
4
−
2
View file @
ba91957d
...
...
@@ -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:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment