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

Decentralized Web Node (DWN)

Results 143 dwn-sdk-js issues
Sort by recently updated
recently updated
newest added

Currently all we do is `Throw new Error` all over the place, and that may or may not be the path we want to stick with moving forward. Use this...

discussion

With a singleton, we will not need to pass the DID resolver around in many methods in the SDK.

enhancement

- document reasons for why having telemetry in dwn would be beneficial - choose lib we want to use for telemetry - instrument codebase with said lib. Consider using [open...

enhancement

Should resolve #50 I've added name as an optional string that can be passed in to `open()`. If `name` is passed in, use that, otherwise use old logic of accessing...

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

[Here](https://github.com/DigitalArsenal/keyconvert/blob/main/src/keyconvert.ts) is a library that lets you convert between different key formats. Will be helpful when converting between, say, JWK and IPFS key formats, or generating BTC/ETH/IPFS addresses / hashes...

Clean this up and likely move it elsewhere (e.g. a different function) so that it can be used elsewhere https://github.com/TBD54566975/dwn-sdk-js/blob/98202beeed579628203b45fdaad45583409bd743/src/store/message-store-level.ts#L110-L118

https://github.com/TBD54566975/dwn-sdk-js/blob/98202beeed579628203b45fdaad45583409bd743/src/store/message-store-level.ts#L43-L53

Find a workaround for search-indexlib not importing type `SearchIndex` https://github.com/TBD54566975/dwn-sdk-js/blob/98202beeed579628203b45fdaad45583409bd743/src/store/message-store-level.ts#L18-L24

enhancement
good first issue