Skip to content
Snippets Groups Projects
Commit f8bf49b2 authored by Richard T. Carback III's avatar Richard T. Carback III
Browse files

Merge branch 'XX-4507/bindings' into 'release'

Fix wasm bindings for the c Library changes

See merge request !92
parents 618a271e f0bf3a2d
No related branches found
No related tags found
2 merge requests!92Fix wasm bindings for the c Library changes,!67fix for latest client release
...@@ -10,7 +10,7 @@ require ( ...@@ -10,7 +10,7 @@ require (
github.com/pkg/errors v0.9.1 github.com/pkg/errors v0.9.1
github.com/spf13/cobra v1.5.0 github.com/spf13/cobra v1.5.0
github.com/spf13/jwalterweatherman v1.1.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/crypto v0.0.7-0.20230322175717-4a3b5a24bdf4
gitlab.com/elixxir/primitives v0.0.3-0.20230214180039-9a25e2d3969c gitlab.com/elixxir/primitives v0.0.3-0.20230214180039-9a25e2d3969c
gitlab.com/xx_network/crypto v0.0.5-0.20230214003943-8a09396e95dd gitlab.com/xx_network/crypto v0.0.5-0.20230214003943-8a09396e95dd
......
...@@ -519,6 +519,12 @@ gitlab.com/elixxir/client/v4 v4.6.1 h1:Ijp8OhkybHcAQkmjM0GNCcYOFl8j0udQr5meEae1Z ...@@ -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.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 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.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 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.20230308162630-a56837e7793c/go.mod h1:ud3s2aHx5zu7lJhBpUMUXxjLwl8PH8z8cl64Om9U7q8=
gitlab.com/elixxir/comms v0.0.4-0.20230310205528-f06faa0d2f0b h1:8AVK93UEs/aufoqtFgyMVt9gf0oJ8F4pA60ZvEVvG+s= gitlab.com/elixxir/comms v0.0.4-0.20230310205528-f06faa0d2f0b h1:8AVK93UEs/aufoqtFgyMVt9gf0oJ8F4pA60ZvEVvG+s=
......
...@@ -481,7 +481,7 @@ func (dmc *DMClient) SendReaction(_ js.Value, args []js.Value) any { ...@@ -481,7 +481,7 @@ func (dmc *DMClient) SendReaction(_ js.Value, args []js.Value) any {
// The meaning of leaseTimeMS depends on the use case. // The meaning of leaseTimeMS depends on the use case.
// //
// Parameters: // 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 // - args[1] - The token used to derive the reception ID for the partner
// (int). // (int).
// - args[2] - The message type of the message. This will be a valid // - args[2] - The message type of the message. This will be a valid
......
...@@ -58,6 +58,10 @@ func TestPublicFunctions(t *testing.T) { ...@@ -58,6 +58,10 @@ func TestPublicFunctions(t *testing.T) {
// Mobile-specific bindings not supported by the browser // Mobile-specific bindings not supported by the browser
"NewChannelsManagerMobile": {}, "NewChannelsManagerMobile": {},
"LoadChannelsManagerMobile": {}, "LoadChannelsManagerMobile": {},
// C-Library specific bindings not needed by the browser
"GetDMInstance": {},
"GetCMixInstance": {},
} }
wasmFuncs := getPublicFunctions("wasm", t) wasmFuncs := getPublicFunctions("wasm", t)
bindingsFuncs := getPublicFunctions( bindingsFuncs := getPublicFunctions(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment