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

Blob module for Cheqd, improvements for DIDDocument and misc tweaks #459

Merged
merged 12 commits into from
Oct 21, 2024

Conversation

olegnn
Copy link
Contributor

@olegnn olegnn commented Oct 17, 2024

  • Updated DIDDocument: modified the rules for storing keys in the verificationMethod and added the required validations.
  • Developed generic tests for modules to ensure they cover the same use cases, regardless of the specific implementation.
  • Implemented the CheqdBlobModule.
  • Misc tweaks.

} while (!resources.length && paginationKey != null);

return resources.find((resource) => !resource.nextVersionId)?.id;
return await this.latestResourceIdBy(
Copy link
Member

Choose a reason for hiding this comment

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

return await isnt needed, can just return the promise

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Using return await ensures the stack trace is captured accurately, reflecting where the promise awaits, simplifying debugging.

@@ -87,6 +87,22 @@ class TypedEnum extends withBase(class EnumBase {}) {
});

const that = this;

// TODO: revisit this
Copy link
Member

Choose a reason for hiding this comment

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

todo relevant for this PR or another time?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This reminder is for the next time.

Copy link
Member

@cykoder cykoder left a comment

Choose a reason for hiding this comment

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

minor comments but mostly lgtm so far

@olegnn olegnn merged commit e8e8131 into master Oct 21, 2024
10 checks passed
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