Right now getUserPublicKey() returns stringified JSON, we want an object of type ClientPublicKeys instead.
Details
Details
Added the following to privacy-preferences.react.js and logged values to ensure that they were as expected:
React.useEffect(() => { (async () => { await commCoreModule.initializeCryptoAccount('ABC'); const { curve25519, ed25519 } = await commCoreModule.getUserPublicKey(); console.log(curve25519); console.log(ed25519); })(); }, []);
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
Lint Not Applicable - Unit
Tests Not Applicable