Skip to content

Commit 39fab8b

Browse files
committed
chore: image uri instead of url
1 parent 193cdeb commit 39fab8b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/issuer/lib/builder/DisplayBuilder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export class DisplayBuilder {
2121

2222
withLogo(logo: ImageInfo) {
2323
if (logo) {
24-
if (!logo.url) {
24+
if (!logo.uri) {
2525
throw Error(`logo without url will not work`)
2626
}
2727
}

packages/oid4vci-common/lib/types/Generic.types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export type CredentialOfferMode = 'VALUE' | 'REFERENCE'
2323
* Important Note: please be aware that these Common interfaces are based on versions v1_0.11 and v1_0.09
2424
*/
2525
export interface ImageInfo {
26-
url?: string
26+
uri?: string
2727
alt_text?: string
2828

2929
[key: string]: unknown

0 commit comments

Comments
 (0)