mirror of
https://github.com/mosip/inji-wallet.git
synced 2026-01-08 21:18:14 -05:00
* refactor(INJI-434): rename some variables and functions to meaning names Signed-off-by: Alka <prasadalka1998@gmail.com> * feat(INJI-434): add telemetry events in the VC share flow on verifier end Signed-off-by: Alka <prasadalka1998@gmail.com> * fix(INJI-434): handle cancel button press during vc share Signed-off-by: Alka <prasadalka1998@gmail.com> * fix(INJI-441): handle cancel button press during vc share Signed-off-by: Alka <prasadalka1998@gmail.com> * refactor(INJI-434): extracts telemetry constants to a seperate file Signed-off-by: Alka <prasadalka1998@gmail.com> * refactor(INJI-434): remove unused imports Signed-off-by: Alka <prasadalka1998@gmail.com> * fix(INJI-441): update the CANCEL event on press of cancel button Signed-off-by: Alka <prasadalka1998@gmail.com> * refactor(INJI-434): update the method name Signed-off-by: Alka <prasadalka1998@gmail.com> --------- Signed-off-by: Alka <prasadalka1998@gmail.com> Signed-off-by: Alka Prasad <Alka1703@users.noreply.github.com>
55 lines
1.6 KiB
JavaScript
55 lines
1.6 KiB
JavaScript
export const TelemetryConstants = {
|
|
FlowType: Object.freeze({
|
|
vcDownload: 'VC Download',
|
|
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',
|
|
vcLockOrRevoke: 'VC Lock / VC Revoke',
|
|
getVcUsingAid: 'Get VC using AID',
|
|
}),
|
|
|
|
EndEventStatus: Object.freeze({
|
|
success: 'SUCCESS',
|
|
cancel: 'CANCEL',
|
|
failure: 'FAILURE',
|
|
}),
|
|
|
|
InteractEventSubtype: Object.freeze({
|
|
click: 'CLICK',
|
|
}),
|
|
|
|
ErrorMessage: Object.freeze({
|
|
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',
|
|
}),
|
|
|
|
ErrorId: Object.freeze({
|
|
mismatch: 'MISMATCH',
|
|
doesNotExist: 'DOES_NOT_EXIST',
|
|
userCancel: 'USER_CANCEL',
|
|
resend: 'RESEND',
|
|
activationFailed: 'ACTIVATION_FAILED',
|
|
}),
|
|
|
|
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',
|
|
}),
|
|
};
|