diff --git a/indexedDb/init.go b/indexedDb/init.go index 057f97f1c4138f59059e47f4adf74bde19d75ac0..b9a9d61bc8225cb9bb99955ad25862026e8f13d2 100644 --- a/indexedDb/init.go +++ b/indexedDb/init.go @@ -12,7 +12,7 @@ package indexedDb import ( "github.com/pkg/errors" cryptoChannel "gitlab.com/elixxir/crypto/channel" - "gitlab.com/elixxir/xxdk-wasm/utils" + "gitlab.com/elixxir/xxdk-wasm/storage" "syscall/js" "github.com/hack-pad/go-indexeddb/idb" @@ -92,7 +92,7 @@ func newWASMModel(databaseName string, encryption cryptoChannel.Cipher, db, err := openRequest.Await(ctx) encryptionStatus := encryption != nil - loadedEncryptionStatus, err := utils.StoreIndexedDbEncryptionStatus( + loadedEncryptionStatus, err := storage.StoreIndexedDbEncryptionStatus( databaseName, encryptionStatus) if err != nil { return nil, err diff --git a/utils/indexedDbEncryptionTrack.go b/storage/indexedDbEncryptionTrack.go similarity index 98% rename from utils/indexedDbEncryptionTrack.go rename to storage/indexedDbEncryptionTrack.go index 93db83884cee6144fc85c0bc9a84d7a636048e79..757a7483acc76650ca24f594dbb2c59093a08cd2 100644 --- a/utils/indexedDbEncryptionTrack.go +++ b/storage/indexedDbEncryptionTrack.go @@ -5,7 +5,7 @@ // LICENSE file. // //////////////////////////////////////////////////////////////////////////////// -package utils +package storage import ( "github.com/pkg/errors"