dwn-sdk-js icon indicating copy to clipboard operation
dwn-sdk-js copied to clipboard

Paramaterize name in message-store-level.ts

Open 0xzoz opened this issue 2 years ago • 1 comments

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

0xzoz avatar Jun 10 '22 20:06 0xzoz

As per #55, description of searchIndex behavior is not relevant to this issue. I will be submitting a PR for this soon

Dgarc359 avatar Jun 15 '22 19:06 Dgarc359

Closing this issue as the TODO is already implemented.

thehenrytsai avatar Oct 07 '22 21:10 thehenrytsai