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

feat: 🎸 Add verifier for w3c-did identityProof #80

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

AdamJLemmon
Copy link
Contributor

  • Support for universal resolver for broad did resolution.
  • Initial did-auth support for ethr did-method utilizing comparison against tx.origin of document issuance tx.

Support for universal resolver for broad did resolution. Initial
did-auth support for ethr did-method utilizing comparison against
tx.origin of document issuance tx.
@AdamJLemmon AdamJLemmon added the enhancement New feature or request label Jan 9, 2020
smartContract: string;
}

export interface DIDDocument {
Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

would it make sense to then install it as a dependency and use the exported types?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That feels like a good solution. Then also as types inevitably evolve we can just bump version of the package instead of having to replicate changes manually... I like it.

status: "SKIPPED",
type,
name,
message: `Document issuer doesn't doesn't use ${v3.IdentityProofType.W3CDid} type`
Copy link
Contributor

Choose a reason for hiding this comment

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

doesn't doesnt :p

Copy link
Contributor Author

Choose a reason for hiding this comment

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

👍

"@govtechsg/open-attestation": "3.1.0",
"@types/request-promise-native": "^1.0.17",
"ethers": "^4.0.40",
"request-promise-native": "^1.0.8"
Copy link
Contributor

Choose a reason for hiding this comment

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

we usually use axios with async/await

@Nebulis Nebulis self-requested a review January 9, 2020 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants