mirror of
https://github.com/mosip/inji-wallet.git
synced 2026-01-09 13:38:01 -05:00
[INJIMOB-1078] remove unused function and comment
Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>
This commit is contained in:
@@ -298,11 +298,6 @@ dependencies {
|
||||
}
|
||||
compileOnly project(':react-native-android-location-services-dialog-box')
|
||||
implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.0.0"
|
||||
// {
|
||||
// exclude group: "androidx.annotation", module: "annotation"
|
||||
// }
|
||||
// exclude group:'androidx.annotation',module: 'annotation', version: '1.6.0'
|
||||
// TODO: Is it really needed to add this dependency here?
|
||||
implementation('androidx.annotation:annotation-jvm:1.6.0')
|
||||
debugImplementation("com.facebook.flipper:flipper:${FLIPPER_VERSION}")
|
||||
debugImplementation("com.facebook.flipper:flipper-network-plugin:${FLIPPER_VERSION}") {
|
||||
|
||||
@@ -55,7 +55,7 @@ export class VCMetadata {
|
||||
static fromVC(vc: Partial<VC> | VCMetadata | any) {
|
||||
return new VCMetadata({
|
||||
idType: vc.idType,
|
||||
format: vc.format || VCFormat.ldp_vc
|
||||
format: vc.format || VCFormat.ldp_vc,
|
||||
requestId: vc.requestId,
|
||||
isPinned: vc.isPinned || false,
|
||||
id: vc.id,
|
||||
|
||||
@@ -44,7 +44,6 @@ export function getVcVerificationDetails(
|
||||
verifiableCredential,
|
||||
wellknown: Object,
|
||||
): vcVerificationBannerDetails {
|
||||
//TODO: get id type from configId rather than credential types
|
||||
const idType = getIdType(
|
||||
wellknown,
|
||||
getVerifiableCredential(verifiableCredential).credentialConfigurationId,
|
||||
@@ -88,24 +87,6 @@ export const getIdentifier = (context, credential: VerifiableCredential) => {
|
||||
}
|
||||
};
|
||||
|
||||
//TODO: Remove unused function - getCredentialRequestBody
|
||||
export const getCredentialRequestBody = async (
|
||||
proofJWT: string,
|
||||
credentialType: Array<string>,
|
||||
) => {
|
||||
return {
|
||||
format: 'ldp_vc',
|
||||
credential_definition: {
|
||||
'@context': ['https://www.w3.org/2018/credentials/v1'],
|
||||
type: credentialType,
|
||||
},
|
||||
proof: {
|
||||
proof_type: 'jwt',
|
||||
jwt: proofJWT,
|
||||
},
|
||||
};
|
||||
};
|
||||
|
||||
export const updateCredentialInformation = (
|
||||
context,
|
||||
credential: VerifiableCredential,
|
||||
|
||||
Reference in New Issue
Block a user