Skip to content
Snippets Groups Projects
Commit ef181d7c authored by Jake Taylor's avatar Jake Taylor
Browse files

fix compile issues

parent 1e6c0b38
No related branches found
No related tags found
2 merge requests!60Revert "Fail a test to be sure it works",!41refactor indexedDb to be more receptive to upcoming project changes
......@@ -11,12 +11,12 @@ package wasm
import (
"encoding/base64"
"gitlab.com/elixxir/xxdk-wasm/indexedDb/channels"
"gitlab.com/xx_network/primitives/id"
"sync"
"syscall/js"
"gitlab.com/elixxir/client/v4/bindings"
"gitlab.com/elixxir/xxdk-wasm/indexedDb"
"gitlab.com/elixxir/xxdk-wasm/utils"
)
......@@ -394,7 +394,7 @@ func newChannelsManagerWithIndexedDb(cmixID int, privateIdentity []byte,
cb.Invoke(uuid, utils.CopyBytesToJS(channelID.Marshal()), update)
}
model := indexedDb.NewWASMEventModelBuilder(cipher, messageReceivedCB)
model := channels.NewWASMEventModelBuilder(cipher, messageReceivedCB)
promiseFn := func(resolve, reject func(args ...any) js.Value) {
cm, err := bindings.NewChannelsManagerGoEventModel(
......@@ -493,7 +493,7 @@ func loadChannelsManagerWithIndexedDb(cmixID int, storageTag string,
cb.Invoke(uuid, utils.CopyBytesToJS(channelID.Marshal()), updated)
}
model := indexedDb.NewWASMEventModelBuilder(cipher, messageReceivedCB)
model := channels.NewWASMEventModelBuilder(cipher, messageReceivedCB)
promiseFn := func(resolve, reject func(args ...any) js.Value) {
cm, err := bindings.LoadChannelsManagerGoEventModel(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment