~ushin/ushin-db

fix type definition for searchMessages
rebuild index.js
skip time-consuming tests
use makeDraftMessage util instead of makeMessage
use makeDraftQuotePoint util instead of makeQuotePoint
use makeDraftPoint util instead of makePoint
fix test 'USHINBase Set trust weight and search'

Use async generator function
fix test USHINBase Able to search for messages from multiple authors

Use async generator function
add makeDraftPoint, makeDraftQuotePoint, and makeDraftMessage utils
run yarn lint
remove unused byCreatedAt function
use only async generator function* searchMessages

Remove other USHINBase methods related to searching.
fixup iterate asynchronously test
remove test.only
run yarn install
ac503b76 — mauve 2 years ago
Attempt to detect issues with search ordering
deduplicate instances.values() before returning allURLs
Revert "Hack to ensure that allURLs getter doesn't return duplicate urls"

This reverts commit b664da29756faa61de63e6a98bcf556b1b5f3cd9.
only call getLatest inside while loop

This way, we are sure to yield the first `latest` result.
Next
Do not follow this link