mirror of
https://github.com/selfxyz/self.git
synced 2026-04-27 03:01:15 -04:00
import ProofSteps from utils.ts
This commit is contained in:
@@ -16,14 +16,8 @@ import { DEFAULT_USER_ID_TYPE, WEBSOCKET_URL } from '../../../common/src/constan
|
||||
import { UserIdType } from '../../../common/src/utils/utils';
|
||||
import { reconstructAppType } from '../../../common/src/utils/appType';
|
||||
import { v4 as uuidv4 } from 'uuid';
|
||||
import { ProofSteps } from './utils';
|
||||
|
||||
const ProofSteps = {
|
||||
WAITING_FOR_MOBILE: 'WAITING_FOR_MOBILE',
|
||||
MOBILE_CONNECTED: 'MOBILE_CONNECTED',
|
||||
PROOF_GENERATION_STARTED: 'PROOF_GENERATION_STARTED',
|
||||
PROOF_GENERATED: 'PROOF_GENERATED',
|
||||
PROOF_VERIFIED: 'PROOF_VERIFIED'
|
||||
};
|
||||
|
||||
interface OpenPassportQRcodeProps {
|
||||
appName: string;
|
||||
|
||||
7
sdk/src/QRcode/utils.ts
Normal file
7
sdk/src/QRcode/utils.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
export const ProofSteps = {
|
||||
WAITING_FOR_MOBILE: 'WAITING_FOR_MOBILE',
|
||||
MOBILE_CONNECTED: 'MOBILE_CONNECTED',
|
||||
PROOF_GENERATION_STARTED: 'PROOF_GENERATION_STARTED',
|
||||
PROOF_GENERATED: 'PROOF_GENERATED',
|
||||
PROOF_VERIFIED: 'PROOF_VERIFIED'
|
||||
};
|
||||
Reference in New Issue
Block a user