Skip to content
This repository was archived by the owner on Oct 1, 2025. It is now read-only.

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

Open
AdamJLemmon wants to merge 3 commits intoOpen-Attestation:masterfrom
AdamJLemmon:master
Open

feat: 🎸 Add verifier for w3c-did identityProof#80
AdamJLemmon wants to merge 3 commits intoOpen-Attestation:masterfrom
AdamJLemmon:master

Conversation

@AdamJLemmon
Copy link
Copy Markdown
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
Comment thread src/types/w3c-did.ts
smartContract: string;
}

export interface DIDDocument {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

👍

Comment thread package.json
"@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
Copy Markdown
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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants