Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: signin persistance across controllers #154

Merged
merged 2 commits into from
Mar 29, 2024

Conversation

HunnySajid
Copy link
Collaborator

@HunnySajid HunnySajid commented Mar 29, 2024

#153

Signin structure in storage is updated.
Instead of array of signin object, it is now an object of arrays of signin objects.

E.g:

{
"agent1-ID":[signin1Obj,signin2Obj, signin3Obj],
"agent2-ID":[signin1Obj,signin2Obj]
}

src/pages/background/services/signify.ts Outdated Show resolved Hide resolved
@@ -166,6 +171,7 @@ const Signify = () => {
createAID,
generatePasscode,
bootAndConnect,
getAgentID,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add getControllerID

src/pages/background/resource/signin/index.ts Outdated Show resolved Hide resolved
src/pages/background/resource/signin/index.ts Outdated Show resolved Hide resolved
@HunnySajid HunnySajid requested a review from 2byrds March 29, 2024 15:17
@2byrds 2byrds merged commit 945a7a6 into WebOfTrust:main Mar 29, 2024
@HunnySajid HunnySajid deleted the fix/signin-persist branch March 29, 2024 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants