diff --git a/go.mod b/go.mod index afebc2387b2dde26e4d5649283737c7158f26599..2fdc853edb07c48138f6398116a82ad90fd9cd2c 100644 --- a/go.mod +++ b/go.mod @@ -10,7 +10,7 @@ require ( github.com/pkg/errors v0.9.1 github.com/spf13/cobra v1.5.0 github.com/spf13/jwalterweatherman v1.1.0 - gitlab.com/elixxir/client/v4 v4.6.2-0.20230322180618-5ab6505665da + gitlab.com/elixxir/client/v4 v4.6.2-0.20230330201233-e61be3773301 gitlab.com/elixxir/crypto v0.0.7-0.20230322175717-4a3b5a24bdf4 gitlab.com/elixxir/primitives v0.0.3-0.20230214180039-9a25e2d3969c gitlab.com/xx_network/crypto v0.0.5-0.20230214003943-8a09396e95dd diff --git a/go.sum b/go.sum index e9379cb66fd1f8c1ac932978f113854b665b81ee..c0a63a79306e6af06a9842a4e8f9890fe180dc3d 100644 --- a/go.sum +++ b/go.sum @@ -519,6 +519,12 @@ gitlab.com/elixxir/client/v4 v4.6.1 h1:Ijp8OhkybHcAQkmjM0GNCcYOFl8j0udQr5meEae1Z gitlab.com/elixxir/client/v4 v4.6.1/go.mod h1:89NStRlnPDhYMRLXCX2dm4ZqsW+N2hYPNdTAqf3sFhE= gitlab.com/elixxir/client/v4 v4.6.2-0.20230322180618-5ab6505665da h1:gxQAj4y+oZVjMSKNOI6vcbKBS1kAu0DzfXRSm3yEyoc= gitlab.com/elixxir/client/v4 v4.6.2-0.20230322180618-5ab6505665da/go.mod h1:z5RIoFiCRKaQN37RiTgJSwuRYfnV4QQA8IFkEZvsFSs= +gitlab.com/elixxir/client/v4 v4.6.2-0.20230328214432-31731667f71a h1:VjmpQnXDyZKENIKq7tQTbRn45r+l6z0/KTggZK/Vqlk= +gitlab.com/elixxir/client/v4 v4.6.2-0.20230328214432-31731667f71a/go.mod h1:z5RIoFiCRKaQN37RiTgJSwuRYfnV4QQA8IFkEZvsFSs= +gitlab.com/elixxir/client/v4 v4.6.2-0.20230328221049-a94bfe358810 h1:+h/w34iW7p9GqOok/Kj5Uh3Ixd8LZv7FfFcD91AVZTM= +gitlab.com/elixxir/client/v4 v4.6.2-0.20230328221049-a94bfe358810/go.mod h1:z5RIoFiCRKaQN37RiTgJSwuRYfnV4QQA8IFkEZvsFSs= +gitlab.com/elixxir/client/v4 v4.6.2-0.20230330201233-e61be3773301 h1:NnwoFFaw3dyuJwE/iv6oQ7uNxxhjb3p1eHQTerbohwo= +gitlab.com/elixxir/client/v4 v4.6.2-0.20230330201233-e61be3773301/go.mod h1:z5RIoFiCRKaQN37RiTgJSwuRYfnV4QQA8IFkEZvsFSs= gitlab.com/elixxir/comms v0.0.4-0.20230308162630-a56837e7793c h1:2rVnX/JhJww9LzOwoyusoD9cm6lOzz1k9FZk6F/aZOY= gitlab.com/elixxir/comms v0.0.4-0.20230308162630-a56837e7793c/go.mod h1:ud3s2aHx5zu7lJhBpUMUXxjLwl8PH8z8cl64Om9U7q8= gitlab.com/elixxir/comms v0.0.4-0.20230310205528-f06faa0d2f0b h1:8AVK93UEs/aufoqtFgyMVt9gf0oJ8F4pA60ZvEVvG+s= diff --git a/wasm/dm.go b/wasm/dm.go index e3f71e289e9d7153123317fccc9b5b0240676fbd..368e3f3cc43f18164858c3e97d7b2dfc82703ed0 100644 --- a/wasm/dm.go +++ b/wasm/dm.go @@ -481,7 +481,7 @@ func (dmc *DMClient) SendReaction(_ js.Value, args []js.Value) any { // The meaning of leaseTimeMS depends on the use case. // // Parameters: -// - args[0] - Marshalled bytes of the channel [id.ID] (Uint8Array). +// - args[0] - Marshalled bytes of the partner pubkyey (Uint8Array). // - args[1] - The token used to derive the reception ID for the partner // (int). // - args[2] - The message type of the message. This will be a valid diff --git a/wasm_test.go b/wasm_test.go index 3a4b0dbacbeb1223ab063fb4e9001f6254e996dd..4e3983a3ae874938980e2ae28a23519900ff27a2 100644 --- a/wasm_test.go +++ b/wasm_test.go @@ -58,6 +58,10 @@ func TestPublicFunctions(t *testing.T) { // Mobile-specific bindings not supported by the browser "NewChannelsManagerMobile": {}, "LoadChannelsManagerMobile": {}, + + // C-Library specific bindings not needed by the browser + "GetDMInstance": {}, + "GetCMixInstance": {}, } wasmFuncs := getPublicFunctions("wasm", t) bindingsFuncs := getPublicFunctions(