mirror of
https://github.com/selfxyz/self.git
synced 2026-04-27 03:01:15 -04:00
Proving (#127)
Co-authored-by: turnoffthiscomputer <colin.remi07@gmail.com> Co-authored-by: thomas-senechal <thomas.senechal@pm.me>
This commit is contained in:
@@ -11,6 +11,7 @@ import { containerStyle, ledContainerStyle, qrContainerStyle } from './utils/sty
|
||||
import dynamic from 'next/dynamic';
|
||||
import { initWebSocket } from './utils/websocket';
|
||||
import { SelfApp, SelfAppBuilder } from '../../common/src/utils/appType';
|
||||
|
||||
const QRCodeSVG = dynamic(() => import('qrcode.react').then((mod) => mod.QRCodeSVG), {
|
||||
ssr: false,
|
||||
});
|
||||
|
||||
@@ -55,6 +55,11 @@ const handleWebSocketMessage =
|
||||
setProofVerified(false);
|
||||
setProofStep(QRcodeSteps.PROOF_VERIFIED);
|
||||
break;
|
||||
case 'proof_verified':
|
||||
console.log('[WebSocket] Proof verified.');
|
||||
setProofVerified(true);
|
||||
setProofStep(QRcodeSteps.PROOF_VERIFIED);
|
||||
break;
|
||||
default:
|
||||
console.log('[WebSocket] Unhandled mobile status:', data.status);
|
||||
break;
|
||||
|
||||
1
sdk/tests/web-app/src/app/disclose/logo.ts
Normal file
1
sdk/tests/web-app/src/app/disclose/logo.ts
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
5966
sdk/tests/web-app/yarn.lock
Normal file
5966
sdk/tests/web-app/yarn.lock
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user