This commit is contained in:
Danish Arora 2025-05-26 15:51:00 +05:30
parent 7cb2db5606
commit 46cffda0c3
No known key found for this signature in database
GPG Key ID: 1C6EF37CDAE1426E
4 changed files with 9620 additions and 1014 deletions

8853
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -21,7 +21,7 @@
"@radix-ui/react-toggle": "^1.1.2",
"@radix-ui/react-toggle-group": "^1.1.2",
"@radix-ui/react-tooltip": "^1.1.8",
"@waku/rln": "0.1.5-a824fff.0",
"@waku/rln": "0.1.6-b53ba62.0",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"framer-motion": "^12.6.3",

View File

@ -125,6 +125,12 @@ export function KeystoreProvider({ children }: { children: ReactNode }) {
const credential = await keystore.readCredential(hash, password);
if (credential) {
setDecryptedCredentials(credential);
// Log the keystore as a JSON object
try {
console.log("Keystore (JSON):", JSON.parse(keystore.toString()));
} catch (e) {
console.warn("Failed to parse keystore to JSON for logging", e);
}
}
return credential || null;
} catch (err) {

1773
yarn.lock

File diff suppressed because it is too large Load Diff