mirror of
https://github.com/mosip/inji-wallet.git
synced 2026-01-09 13:38:01 -05:00
* [INJIMOB-1192] : use wellknown response instead of mimoto issuer config. -- Remove hardcoding for sunbird issuer in vc activation and verification flow. -- Render idType from wellknown response -- Remove UIN/VID from default add-on fields Signed-off-by: Swati Goel <meet2swati@gmail.com> * [INJIMOB-1192] : fix propType and some refactoring Signed-off-by: Swati Goel <meet2swati@gmail.com> * [INJIMOB-1192] : add credentialType in VcMetadata Signed-off-by: Swati Goel <meet2swati@gmail.com> * [INJIMOB-1192] fix vc download via issuer flow due to credentialType mismatch Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-1192] rename supported list of credential type in issuers model Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-1192] display id type in history based on wellknown for issuers VC Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-1192] fix id type not shown for VC activation Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-1192] remove unused credentialType field from VCMetaData Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-1192] set default idType for logging activity Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-1192] move vc item machine events into model Events should not be exported to other packages for direct use so that Xstate's createModel() can decorate the function appropriately Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-1192] show verify banner id type from wellknown Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-1192] refactor duplication and unused code Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-1192] remove unused displayId in metadata Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-1192] revert the dimensions of camera scanner to old values to support face liveness verification Co-authored-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-1192] remove unused code & debug logs Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-1192] fix failing test cases Co-authored-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-1192] remove unused translations Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> --------- Signed-off-by: Swati Goel <meet2swati@gmail.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Co-authored-by: Swati Goel <meet2swati@gmail.com> Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
85 lines
3.0 KiB
JavaScript
85 lines
3.0 KiB
JavaScript
export const TelemetryConstants = {
|
|
FlowType: Object.freeze({
|
|
vcDownload: 'VC Download',
|
|
faceModelInit: 'Face SDK initialize',
|
|
qrLogin: 'QR Login',
|
|
senderVcShare: 'Sender VC Share',
|
|
receiverVcShare: 'Receiver VC Share',
|
|
vcActivation: 'VC Activation',
|
|
vcActivationFromKebab: 'VC Activation from kebab popup',
|
|
appOnboarding: 'App Onboarding',
|
|
appLogin: 'App Login',
|
|
getVcUsingAid: 'Get VC using AID',
|
|
fetchData: 'Fetch Data',
|
|
dataBackup: 'Data Backup',
|
|
fetchLastBackupDetails: 'Fetch Last Backup Details',
|
|
dataRestore: 'Data Restore',
|
|
decryption: 'Decryption',
|
|
dataBackupAndRestoreSetup: 'Data Backup & Restore Setup',
|
|
remove: 'remove VC',
|
|
removeVcMetadata: 'VC metadata removed',
|
|
vcVerification: 'VC Verification',
|
|
wellknownConfig: 'Wellknown config',
|
|
}),
|
|
|
|
EndEventStatus: Object.freeze({
|
|
success: 'SUCCESS',
|
|
cancel: 'CANCEL',
|
|
failure: 'FAILURE',
|
|
}),
|
|
|
|
InteractEventSubtype: Object.freeze({
|
|
click: 'CLICK',
|
|
}),
|
|
|
|
ErrorMessage: Object.freeze({
|
|
faceModelInitFailed: 'Face model init failed',
|
|
authenticationCancelled: 'Authentication Cancelled',
|
|
passcodeDidNotMatch: 'Pass code did not match',
|
|
resendOtp: 'Otp is requested multiple times',
|
|
hardwareKeyStore:
|
|
'Some security features will be unavailable as hardware key store is not available',
|
|
activationCancelled: 'Activation Cancelled',
|
|
appWasReset:
|
|
'Due to the fingerprint / facial recognition update, app security was impacted, and downloaded cards were removed. Please download again',
|
|
vcsAreTampered:
|
|
'Tampered cards detected and removed for security reasons. Please download again',
|
|
privateKeyUpdationFailed: 'Failed to store private key in keystore',
|
|
vcVerificationFailed: 'VC verification Failed with Range Error - ',
|
|
wellknownConfigMismatch:
|
|
'Selected credential type is not available in wellknown config supported credentials list',
|
|
}),
|
|
|
|
ErrorId: Object.freeze({
|
|
failure: 'FAILURE',
|
|
mismatch: 'MISMATCH',
|
|
doesNotExist: 'DOES_NOT_EXIST',
|
|
userCancel: 'USER_CANCEL',
|
|
resend: 'RESEND',
|
|
activationFailed: 'ACTIVATION_FAILED',
|
|
tampered: 'TAMPERED',
|
|
dataRetrieval: 'DATA_RETRIEVAL',
|
|
appWasReset: 'APP_WAS_RESET',
|
|
vcsAreTampered: 'VC_TAMPERED',
|
|
updatePrivateKey: 'UPDATE_PRIVATE_KEY',
|
|
vcVerificationFailed: 'VC_VERIFICATION_FAILED',
|
|
crcFailure: 'CRC_FAILURE',
|
|
}),
|
|
|
|
Screens: Object.freeze({
|
|
home: 'Home',
|
|
passcode: 'Passcode',
|
|
webViewPage: 'Web View Page',
|
|
otpVerificationModal: 'Otp Verification Modal',
|
|
issuerList: 'Issuer List',
|
|
scanScreen: 'Scan Screen',
|
|
sharingInProgressScreen: 'Sharing in Progress',
|
|
vcList: 'VC List',
|
|
vcShareSuccessPage: 'VC Successfully Shared Page',
|
|
vcReceivedSuccessPage: 'VC Successfully Received Page',
|
|
dataBackupScreen: 'Data Backup Screen',
|
|
dataRestoreScreen: 'Data Restore Screen',
|
|
dataBackupAndRestoreSetupScreen: 'Data Backup & Restore Setup Screen',
|
|
}),
|
|
};
|