@sphereon/oid4vci-common
Advanced tools
Comparing version 0.4.1-unstable.285 to 0.4.1-unstable.286
@@ -9,3 +9,3 @@ import { ICredentialContextType, IVerifiableCredential, W3CVerifiableCredential } from '@sphereon/ssi-types'; | ||
*/ | ||
export interface CredentialLogo { | ||
export interface ImageInfo { | ||
url?: string; | ||
@@ -22,3 +22,3 @@ alt_text?: string; | ||
export interface LogoAndColor { | ||
logo?: CredentialLogo; | ||
logo?: ImageInfo; | ||
description?: string; | ||
@@ -30,2 +30,3 @@ background_color?: string; | ||
name: string; | ||
background_image?: ImageInfo; | ||
}; | ||
@@ -32,0 +33,0 @@ export type MetadataDisplay = NameAndLocale & LogoAndColor & { |
@@ -11,3 +11,3 @@ import { ICredentialContextType, IVerifiableCredential, W3CVerifiableCredential } from '@sphereon/ssi-types'; | ||
*/ | ||
export interface CredentialLogo { | ||
export interface ImageInfo { | ||
url?: string; | ||
@@ -28,3 +28,3 @@ alt_text?: string; | ||
export interface LogoAndColor { | ||
logo?: CredentialLogo; // OPTIONAL. A JSON object with information about the logo of the Credential with a following non-exhaustive list of parameters that MAY be included: | ||
logo?: ImageInfo; // OPTIONAL. A JSON object with information about the logo of the Credential with a following non-exhaustive list of parameters that MAY be included: | ||
description?: string; // OPTIONAL. String value of a description of the Credential. | ||
@@ -38,2 +38,3 @@ background_color?: string; //OPTIONAL. String value of a background color of the Credential represented as numerical color values defined in CSS Color Module Level 37 [CSS-Color]. | ||
name: string; // REQUIRED. String value of a display name for the Credential. | ||
background_image?: ImageInfo; //OPTIONAL, NON-SPEC compliant!. URL of a background image useful for card views of credentials. Expected to an image that fills the full card-view of a wallet | ||
}; | ||
@@ -40,0 +41,0 @@ |
{ | ||
"name": "@sphereon/oid4vci-common", | ||
"version": "0.4.1-unstable.285+8274708", | ||
"version": "0.4.1-unstable.286+a3c2561", | ||
"description": "OpenID 4 Verifiable Credential Issuance Common Types", | ||
@@ -48,3 +48,3 @@ "source": "lib/index.ts", | ||
}, | ||
"gitHead": "8274708ce091d012f3674e4821e88eae384fe8a7" | ||
"gitHead": "a3c2561c7596ad7303467528d92cdaa033c7af94" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
233578
3455