mirror of
https://github.com/logos-messaging/rln.waku.org.git
synced 2026-01-08 00:53:07 +00:00
test
This commit is contained in:
parent
7cb2db5606
commit
46cffda0c3
8853
package-lock.json
generated
Normal file
8853
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -21,7 +21,7 @@
|
|||||||
"@radix-ui/react-toggle": "^1.1.2",
|
"@radix-ui/react-toggle": "^1.1.2",
|
||||||
"@radix-ui/react-toggle-group": "^1.1.2",
|
"@radix-ui/react-toggle-group": "^1.1.2",
|
||||||
"@radix-ui/react-tooltip": "^1.1.8",
|
"@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",
|
"class-variance-authority": "^0.7.1",
|
||||||
"clsx": "^2.1.1",
|
"clsx": "^2.1.1",
|
||||||
"framer-motion": "^12.6.3",
|
"framer-motion": "^12.6.3",
|
||||||
|
|||||||
@ -125,6 +125,12 @@ export function KeystoreProvider({ children }: { children: ReactNode }) {
|
|||||||
const credential = await keystore.readCredential(hash, password);
|
const credential = await keystore.readCredential(hash, password);
|
||||||
if (credential) {
|
if (credential) {
|
||||||
setDecryptedCredentials(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;
|
return credential || null;
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user