dwn-sdk-js
dwn-sdk-js copied to clipboard
Paramaterize name in message-store-level.ts
Calling searchIndex
twice causes the process to hang, so check to see if the index has already been "opened" before opening it again.
https://github.com/TBD54566975/dwn-sdk-js/blob/98202beeed579628203b45fdaad45583409bd743/src/store/message-store-level.ts#L43-L53
As per #55, description of searchIndex behavior is not relevant to this issue. I will be submitting a PR for this soon
Closing this issue as the TODO is already implemented.