From ef181d7cc94795f4a089e4665b1cc1c3d47688c4 Mon Sep 17 00:00:00 2001 From: Jake Taylor <jake@elixxir.io> Date: Thu, 15 Dec 2022 13:52:28 -0600 Subject: [PATCH] fix compile issues --- wasm/channels.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wasm/channels.go b/wasm/channels.go index 3f050456..cf09b017 100644 --- a/wasm/channels.go +++ b/wasm/channels.go @@ -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( -- GitLab