From 61697eb4ab9e5128032951df5270bacd4ba01f31 Mon Sep 17 00:00:00 2001 From: Mirko Mollik Date: Fri, 27 Sep 2024 09:32:18 +0200 Subject: [PATCH] chore: fix validation script Signed-off-by: Mirko Mollik --- viewer/scripts/validate.mjs | 2 +- wallets/BC Wallet.json | 2 +- wallets/Paradym Wallet.json | 50 ++++++++++++++++++------------------- wallets/Paradym.json | 34 ++++++++++++------------- 4 files changed, 44 insertions(+), 44 deletions(-) diff --git a/viewer/scripts/validate.mjs b/viewer/scripts/validate.mjs index 848cbb5..d1a698b 100644 --- a/viewer/scripts/validate.mjs +++ b/viewer/scripts/validate.mjs @@ -50,7 +50,7 @@ async function validateWallets() { if(wallet.dependencies) { for(const dependency of wallet.dependencies) { if(!dependencyIds.includes(dependency)) { - console.error(`dependency ${dependency} not found in dependencies`); + console.error(`[${fileName}]: dependency ${dependency} not found in dependencies`); success = false; } } diff --git a/wallets/BC Wallet.json b/wallets/BC Wallet.json index 94dd0d2..83cd7d7 100644 --- a/wallets/BC Wallet.json +++ b/wallets/BC Wallet.json @@ -14,5 +14,5 @@ "urlAppStore": "https://apps.apple.com/us/app/bc-wallet/id1587380443", "urlGooglePlayStore": "https://play.google.com/store/apps/details?id=ca.bc.gov.BCWallet", "urlWebsite": "https://www2.gov.bc.ca/gov/content/governments/government-id/bc-wallet", - "dependencies": ["Bifold", "Credo", "SD-JWT-JS"] + "dependencies": ["bifold", "credo", "sd-jwt-js"] } diff --git a/wallets/Paradym Wallet.json b/wallets/Paradym Wallet.json index d993db3..afd4f29 100644 --- a/wallets/Paradym Wallet.json +++ b/wallets/Paradym Wallet.json @@ -1,27 +1,27 @@ { - "capability": ["holder"], - "company": "Animo Solutions", - "contact": "ana@animo.id", - "credentialFormats": ["JWT-VC", "AnonCred", "SD-JWT-VC"], - "downloadSource": "https://github.com/animo/paradym-wallet", - "issuanceProtocols": ["OpenID4VCI", "Issue Credential v2"], - "keyManagements": ["did:jwk", "did:key", "did:web", "did:cheqd", "did:indy"], - "logo": "logos/paradym-wallet.png", - "name": "Paradym Wallet", - "openSource": true, - "presentationProtocols": ["OpenID4VP"], - "$schema": "../viewer/src/assets/schema.json", - "signingAlgorithms": ["EdDSA", "ECDSA"], - "type": "edge", - "license": "Apache-2.0", - "statusManagements": ["Indy Revocation", "JWT/CWT status list"], - "dependencies": ["Credo", "SD-JWT-JS"], - "credentialProfiles": [ - "AnonCreds with did:cheqd", - "AnonCreds with did:indy", - "Decentralized Identity Interop Profile" - ], - "urlAppStore": "https://apps.apple.com/nl/app/paradym-wallet/id6449846111?l=en", - "urlGooglePlayStore": "https://play.google.com/store/apps/details?id=id.paradym.wallet", - "urlWebsite": "https://docs.paradym.id/integrating-with-a-holder-wallet/paradym-wallet" + "capability": ["holder"], + "company": "Animo Solutions", + "contact": "ana@animo.id", + "credentialFormats": ["JWT-VC", "AnonCred", "SD-JWT-VC"], + "downloadSource": "https://github.com/animo/paradym-wallet", + "issuanceProtocols": ["OpenID4VCI", "Issue Credential v2"], + "keyManagements": ["did:jwk", "did:key", "did:web", "did:cheqd", "did:indy"], + "logo": "logos/paradym-wallet.png", + "name": "Paradym Wallet", + "openSource": true, + "presentationProtocols": ["OpenID4VP"], + "$schema": "../viewer/src/assets/schema.json", + "signingAlgorithms": ["EdDSA", "ECDSA"], + "type": "edge", + "license": "Apache-2.0", + "statusManagements": ["Indy Revocation", "JWT/CWT status list"], + "dependencies": ["credo", "sd-jwt-js"], + "credentialProfiles": [ + "AnonCreds with did:cheqd", + "AnonCreds with did:indy", + "Decentralized Identity Interop Profile" + ], + "urlAppStore": "https://apps.apple.com/nl/app/paradym-wallet/id6449846111?l=en", + "urlGooglePlayStore": "https://play.google.com/store/apps/details?id=id.paradym.wallet", + "urlWebsite": "https://docs.paradym.id/integrating-with-a-holder-wallet/paradym-wallet" } diff --git a/wallets/Paradym.json b/wallets/Paradym.json index ab10c70..81fe9c4 100644 --- a/wallets/Paradym.json +++ b/wallets/Paradym.json @@ -1,19 +1,19 @@ { - "capability": ["issuer", "verifier"], - "company": "Animo Solutions", - "contact": "ana@animo.id", - "credentialFormats": ["AnonCred", "SD-JWT-VC"], - "issuanceProtocols": ["OpenID4VCI", "Issue Credential v2"], - "keyManagements": ["did:jwk", "did:key", "did:web", "did:cheqd"], - "logo": "logos/paradym-wallet.png", - "name": "Paradym", - "openSource": false, - "presentationProtocols": ["OpenID4VP"], - "$schema": "../viewer/src/assets/schema.json", - "signingAlgorithms": ["EdDSA", "ECDSA"], - "statusManagements": ["Indy Revocation", "JWT/CWT status list"], - "dependencies": ["Credo", "SD-JWT-JS"], - "credentialProfiles": ["AnonCreds with did:cheqd"], - "type": "cloud", - "urlWebsite": "https://paradym.id" + "capability": ["issuer", "verifier"], + "company": "Animo Solutions", + "contact": "ana@animo.id", + "credentialFormats": ["AnonCred", "SD-JWT-VC"], + "issuanceProtocols": ["OpenID4VCI", "Issue Credential v2"], + "keyManagements": ["did:jwk", "did:key", "did:web", "did:cheqd"], + "logo": "logos/paradym-wallet.png", + "name": "Paradym", + "openSource": false, + "presentationProtocols": ["OpenID4VP"], + "$schema": "../viewer/src/assets/schema.json", + "signingAlgorithms": ["EdDSA", "ECDSA"], + "statusManagements": ["Indy Revocation", "JWT/CWT status list"], + "dependencies": ["credo", "sd-jwt-js"], + "credentialProfiles": ["AnonCreds with did:cheqd"], + "type": "cloud", + "urlWebsite": "https://paradym.id" }