Skip to content

Commit

Permalink
fix: add back missing authz url getter
Browse files Browse the repository at this point in the history
  • Loading branch information
nklomp committed Jun 4, 2024
1 parent d61fa03 commit 6870fce
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/client/lib/OpenID4VCIClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -476,9 +476,13 @@ export class OpenID4VCIClient {
}

public hasAuthorizationURL(): boolean {
return !!this._state.authorizationURL;
return !!this.authorizationURL;
}

get authorizationURL(): string | undefined {
return this._state.authorizationURL
}

get credentialOffer(): CredentialOfferRequestWithBaseUrl | undefined {
return this._state.credentialOffer;
}
Expand Down

0 comments on commit 6870fce

Please sign in to comment.