Skip to content

Commit

Permalink
fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-korotya committed Dec 2, 2024
1 parent 6ca8c21 commit 0170ffa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export class OnchainNonMerklizedIssuerAdapter {
*
* @throws Error - If required interfaces are not supported.
*/
public async isSupportsInterface() {
public async isInterfaceSupported() {
const supportedInterfaces = [
{
name: 'Interface detection ERC-165',
Expand Down
4 changes: 2 additions & 2 deletions src/storage/blockchain/onchain-issuer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export class OnchainIssuer implements IOnchainIssuer {
issuerDid: issuerDID,
merklizationOptions: this._merklizationOptions
});
await adapter.isSupportsInterface();
await adapter.isInterfaceSupported();
const { credentialData, coreClaimBigInts, credentialSubjectFields } =
await adapter.getCredential(DID.idFromDID(userDID), credentialId);
return await adapter.convertOnChainInfoToW3CCredential(
Expand Down Expand Up @@ -75,7 +75,7 @@ export class OnchainIssuer implements IOnchainIssuer {
issuerDid: issuerDID,
merklizationOptions: this._merklizationOptions
});
await adapter.isSupportsInterface();
await adapter.isInterfaceSupported();
return await adapter.getUserCredentialsIds(DID.idFromDID(userDID));
}
default:
Expand Down

0 comments on commit 0170ffa

Please sign in to comment.