-
Notifications
You must be signed in to change notification settings - Fork 20
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
Conversation
} while (!resources.length && paginationKey != null); | ||
|
||
return resources.find((resource) => !resource.nextVersionId)?.id; | ||
return await this.latestResourceIdBy( |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this 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
DIDDocument
: modified the rules for storing keys in theverificationMethod
and added the required validations.CheqdBlobModule
.