diff --git a/libs/credentials/README.md b/libs/credentials/README.md index fe46a4d2..78cde72a 100644 --- a/libs/credentials/README.md +++ b/libs/credentials/README.md @@ -171,7 +171,6 @@ Validates the EAS attestations of a user. - **id**: The id for the EAS attestations validation. - **criteria**: - **minAttestations**: The minimum number of attestations required. - - **recipient**: The recipient of the attestation. - **attester** (_optional_): The attester of the attestation. - **schemaId** (_optional_): The schema id of the attestation. - **revocable** (_optional_): The revocable option of the attestation. @@ -193,9 +192,8 @@ validateCredentials( id: easAttestations.id, criteria: { minAttestations: 1, - recipient: "0x0", + schemaId: "0x", attester: "0x1", - schemaId: "0x2", revocable: false, revoked: false, isOffchain: false @@ -203,7 +201,7 @@ validateCredentials( }, { network: EASNetworks.ETHEREUM_SEPOLIA, - address: "0x1" + address: "0x2" } ) ```