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

Update for HavenBeta branch

parent 8ad32b9b
No related branches found
No related tags found
2 merge requests!126Updates for client HavenBeta,!109Project/haven beta
......@@ -9,7 +9,7 @@ require (
github.com/spf13/cobra v1.7.0
github.com/spf13/jwalterweatherman v1.1.0
github.com/stretchr/testify v1.8.2
gitlab.com/elixxir/client/v4 v4.6.4-0.20230531195851-a65797612a21
gitlab.com/elixxir/client/v4 v4.6.4-0.20230531212217-e21b55fbf23c
gitlab.com/elixxir/crypto v0.0.7-0.20230522162218-45433d877235
gitlab.com/elixxir/primitives v0.0.3-0.20230214180039-9a25e2d3969c
gitlab.com/elixxir/wasm-utils v0.0.0-20230522231408-a43b2c1481b2
......
......@@ -539,6 +539,8 @@ gitlab.com/elixxir/client/v4 v4.6.4-0.20230531195028-ad25aee27c19 h1:OLZTJAqRm1h
gitlab.com/elixxir/client/v4 v4.6.4-0.20230531195028-ad25aee27c19/go.mod h1:fegbuF1/6a+H3QgsoMG8teLnyuKtDxkELMw8pn5WlZ8=
gitlab.com/elixxir/client/v4 v4.6.4-0.20230531195851-a65797612a21 h1:u4H7ITaOwO4aQoSJCo8zpfRpenaqgHuvjqF3GAe8RrE=
gitlab.com/elixxir/client/v4 v4.6.4-0.20230531195851-a65797612a21/go.mod h1:fegbuF1/6a+H3QgsoMG8teLnyuKtDxkELMw8pn5WlZ8=
gitlab.com/elixxir/client/v4 v4.6.4-0.20230531212217-e21b55fbf23c h1:6OTyW9U/ntZ41Xry+8qDkOH4LoxhlyWTwKpAxi2fvZY=
gitlab.com/elixxir/client/v4 v4.6.4-0.20230531212217-e21b55fbf23c/go.mod h1:fegbuF1/6a+H3QgsoMG8teLnyuKtDxkELMw8pn5WlZ8=
gitlab.com/elixxir/comms v0.0.4-0.20230519211512-4a998f4b0938 h1:f27+QUFiGWrprKm+fstOg3ABkYLpWcZi3+8Lf5eDnqY=
gitlab.com/elixxir/comms v0.0.4-0.20230519211512-4a998f4b0938/go.mod h1:z+qW0D9VpY5QKTd7wRlb5SK4kBNqLYsa4DXBcUXue9Q=
gitlab.com/elixxir/crypto v0.0.7-0.20230522162218-45433d877235 h1:0BySdXTzRWxzH8k5RiNNMmmn2lpuQWLVcDDA/7ehyqc=
......
......@@ -397,11 +397,11 @@ func (r *RemoteKV) ListenOnRemoteKey(_ js.Value, args []js.Value) any {
cb := newKeyChangedByRemoteCallback(args[2])
promiseFn := func(resolve, reject func(args ...any) js.Value) {
deleted, err := r.api.ListenOnRemoteKey(key, version, cb)
err := r.api.ListenOnRemoteKey(key, version, cb, true)
if err != nil {
reject(exception.NewTrace(err))
} else {
resolve(utils.CopyBytesToJS(deleted))
resolve()
}
}
......@@ -427,11 +427,11 @@ func (r *RemoteKV) ListenOnRemoteMap(_ js.Value, args []js.Value) any {
cb := newMapChangedByRemoteCallback(args[2])
promiseFn := func(resolve, reject func(args ...any) js.Value) {
deleted, err := r.api.ListenOnRemoteMap(mapName, version, cb)
err := r.api.ListenOnRemoteMap(mapName, version, cb, true)
if err != nil {
reject(exception.NewTrace(err))
} else {
resolve(utils.CopyBytesToJS(deleted))
resolve()
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment