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

VDX-76 #1

Merged
merged 30 commits into from
Aug 8, 2022
Merged

VDX-76 #1

merged 30 commits into from
Aug 8, 2022

Conversation

BtencateSphereon
Copy link
Collaborator

No description provided.

Copy link
Contributor

@nklomp nklomp left a comment

Choose a reason for hiding this comment

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

Several remarks. Most not too big.

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
lib/issuer/DomainLinkageIssuer.ts Outdated Show resolved Hide resolved
lib/issuer/DomainLinkageIssuer.ts Outdated Show resolved Hide resolved
lib/utils/index.ts Show resolved Hide resolved
lib/verifier/DomainLinkageVerifier.ts Outdated Show resolved Hide resolved
lib/verifier/DomainLinkageVerifier.ts Outdated Show resolved Hide resolved
lib/verifier/DomainLinkageVerifier.ts Outdated Show resolved Hide resolved
lib/verifier/DomainLinkageVerifier.ts Outdated Show resolved Hide resolved
lib/verifier/DomainLinkageVerifier.ts Outdated Show resolved Hide resolved
Copy link
Contributor

@nklomp nklomp left a comment

Choose a reason for hiding this comment

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

Some more minor remarks

lib/issuer/WellKnownDidIssuer.ts Outdated Show resolved Hide resolved
if (response.status >= 400) {
return Promise.reject(Error(`Unable to retrieve did configuration resource from ${url}`))
}
return response.json();
Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah, but I typically like to have logic which is so close to object part of that object to prevent bugs. Maybe change it into a method that accepts a boolean to do the check and that defaults to true, so that you can disable it if you want.

lib/verifier/WellKnownDidVerifier.ts Show resolved Hide resolved
@nklomp nklomp self-requested a review August 8, 2022 12:26
@BtencateSphereon BtencateSphereon merged commit 52ae654 into develop Aug 8, 2022
@BtencateSphereon BtencateSphereon deleted the VDX-76 branch August 8, 2022 13:59
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.

3 participants