decentralized-identity / decentralized-identity/dwn-sdk-js
Investigate adding an error for invalid `PaginationCursor` value type.
Open
feature
good first issue
hacktoberfest
- Dominant language
- TypeScript
- Stars
- 322
- Forks
- 99
- PR merge metrics
- No merged PRs in 30d
Description
The `PaginationCursor` type accepts a `messageCid` and a `value` which could be typed as either a `string` or a `number`.
Depending on the `sort` field used, the value may be of an invalid type. We should check for this and throw an error.
Contributor guide
Assessment
This issue has not been assessed yet.