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

Update PortableDid structure #397

Closed
frankhinek opened this issue Feb 3, 2024 · 0 comments · Fixed by #406
Closed

Update PortableDid structure #397

frankhinek opened this issue Feb 3, 2024 · 0 comments · Fixed by #406
Assignees
Labels
package: dids @web5/dids package

Comments

@frankhinek
Copy link
Contributor

frankhinek commented Feb 3, 2024

Context here: decentralized-identity/web5-spec#112 (comment)

PortableDid should be changed to:

{
    uri: "",
    privateKeys: [{...jwk}],
    document: {},
    metadata: {
        published: boolean
        // method specific properties
    }
}

In doing so, add the optional boolean property published to the DidMetadata type.

@frankhinek frankhinek added the package: dids @web5/dids package label Feb 3, 2024
@frankhinek frankhinek self-assigned this Feb 3, 2024
@frankhinek frankhinek moved this to In Progress in SDK Development Feb 5, 2024
@github-project-automation github-project-automation bot moved this from In Progress to Done in SDK Development Feb 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: dids @web5/dids package
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant