diff --git a/guides/updating/versions/0.4-to-0.5.md b/guides/updating/versions/0.4-to-0.5.md index a22cedf1..3806c2a6 100644 --- a/guides/updating/versions/0.4-to-0.5.md +++ b/guides/updating/versions/0.4-to-0.5.md @@ -242,7 +242,7 @@ const agent = new Agent({ -Next, update your credential receiving logic to first resolve the credential offer (using `agent.modules.openId4VcHolder.resolverCredentialOffer`), and then accept the credential offer (using `agent.modules.openId4VcHolder.acceptCredentialOfferUsingPreAuthorizedCode`). +Next, update your credential receiving logic to first resolve the credential offer (using `agent.modules.openId4VcHolder.resolveCredentialOffer`), and then accept the credential offer (using `agent.modules.openId4VcHolder.acceptCredentialOfferUsingPreAuthorizedCode`). @@ -292,7 +292,7 @@ import { OpenId4VciCredentialFormatProfile } from '@credo-ts/openid4vc' // Example uri const data = 'openid-credential-offer://?credential_offer_uri=...' -const resolvedCredentialOffer = await agent.modules.openId4VcHolder.resolverCredentialOffer(data) +const resolvedCredentialOffer = await agent.modules.openId4VcHolder.resolveCredentialOffer(data) await agent.modules.openId4VcHolder.acceptCredentialOfferUsingPreAuthorizedCode( // First parameter is now the resolved credential offer