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
13dc587c
Commit
13dc587c
authored
2 years ago
by
Jono Wenger
Browse files
Options
Downloads
Patches
Plain Diff
Fix comments
parent
e28a1e33
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/channels.go
+3
-3
3 additions, 3 deletions
wasm/channels.go
wasm/docs.go
+5
-0
5 additions, 0 deletions
wasm/docs.go
with
8 additions
and
3 deletions
wasm/channels.go
+
3
−
3
View file @
13dc587c
...
...
@@ -576,7 +576,7 @@ func GetSavedChannelPrivateKeyUNSAFE(_ js.Value, args []js.Value) interface{} {
//
// Parameters:
// - args[0] - The channel's share URL (string). Should be received from
// another user or generated via [GetShareURL].
// another user or generated via [
ChannelsManager.
GetShareURL].
//
// Returns:
// - The channel pretty print (string).
...
...
@@ -596,7 +596,7 @@ func DecodePublicURL(_ js.Value, args []js.Value) interface{} {
//
// Parameters:
// - args[0] - The channel's share URL (string). Should be received from
// another user or generated via [GetShareURL].
// another user or generated via [
ChannelsManager.
GetShareURL].
// - args[1] - The password needed to decrypt the secret data in the URL
// (string).
//
...
...
@@ -772,7 +772,7 @@ type ShareURL struct {
// uses is set as a URL parameter using the key [broadcast.MaxUsesKey]. Note
// that this number is also encoded in the secret data for private and secret
// URLs, so if the number is changed in the URL, is will be verified when
// calling [
ChannelsManager.JoinChannelFrom
URL]. There is no enforcement for
// calling [
DecodePublicURL] or [DecodePrivate
URL]. There is no enforcement for
// public URLs.
//
// Parameters:
...
...
This diff is collapsed.
Click to expand it.
wasm/docs.go
+
5
−
0
View file @
13dc587c
...
...
@@ -22,6 +22,7 @@ import (
"gitlab.com/elixxir/client/groupChat/groupStore"
"gitlab.com/elixxir/client/restlike"
"gitlab.com/elixxir/client/single"
"gitlab.com/elixxir/crypto/broadcast"
"gitlab.com/elixxir/crypto/channel"
"gitlab.com/elixxir/crypto/contact"
"gitlab.com/elixxir/crypto/cyclic"
...
...
@@ -32,6 +33,7 @@ import (
"gitlab.com/xx_network/primitives/id"
"gitlab.com/xx_network/primitives/id/ephemeral"
"gitlab.com/xx_network/primitives/ndf"
"gitlab.com/xx_network/primitives/netTime"
)
// These objects are imported so that doc linking on pkg.go.dev does not require
...
...
@@ -62,4 +64,7 @@ var (
_
=
format
.
Message
{}
_
=
restlike
.
Message
{}
_
=
auth
.
Callbacks
(
nil
)
_
=
broadcast
.
PrivacyLevel
(
0
)
_
=
broadcast
.
Channel
{}
_
=
netTime
.
Now
)
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