Skip to content

Commit 0bc088c

Browse files
committed
chore: made it possible to set new issuer metadata
1 parent ae4a4b3 commit 0bc088c

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

packages/issuer/lib/VcIssuer.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ import { LOG } from './index'
5454
const shortUUID = ShortUUID()
5555

5656
export class VcIssuer {
57-
private readonly _issuerMetadata: CredentialIssuerMetadataOptsV1_0_15
57+
private _issuerMetadata: CredentialIssuerMetadataOptsV1_0_15
5858
private readonly _authorizationServerMetadata: AuthorizationServerMetadata
5959
private readonly _defaultCredentialOfferBaseUri?: string
6060
private readonly _credentialSignerCallback?: CredentialSignerCallback
@@ -863,6 +863,10 @@ export class VcIssuer {
863863
return this._issuerMetadata
864864
}
865865

866+
public set issuerMetadata(value: CredentialIssuerMetadataOptsV1_0_15) {
867+
this._issuerMetadata = value;
868+
}
869+
866870
public get authorizationServerMetadata() {
867871
return this._authorizationServerMetadata
868872
}

0 commit comments

Comments
 (0)