From 0170ffa54d2c756fdb69b5b5395ea28d130c7835 Mon Sep 17 00:00:00 2001 From: ilya-korotya Date: Mon, 2 Dec 2024 15:46:47 +0100 Subject: [PATCH] fix comments --- .../version/v0.0.1/onchain-non-merklized-issuer-adapter.ts | 2 +- src/storage/blockchain/onchain-issuer.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/storage/blockchain/onchain-issuer-adapter/non-merklized/version/v0.0.1/onchain-non-merklized-issuer-adapter.ts b/src/storage/blockchain/onchain-issuer-adapter/non-merklized/version/v0.0.1/onchain-non-merklized-issuer-adapter.ts index e76b5f85..5f12c33b 100644 --- a/src/storage/blockchain/onchain-issuer-adapter/non-merklized/version/v0.0.1/onchain-non-merklized-issuer-adapter.ts +++ b/src/storage/blockchain/onchain-issuer-adapter/non-merklized/version/v0.0.1/onchain-non-merklized-issuer-adapter.ts @@ -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', diff --git a/src/storage/blockchain/onchain-issuer.ts b/src/storage/blockchain/onchain-issuer.ts index e7588a1c..c34ee6ec 100644 --- a/src/storage/blockchain/onchain-issuer.ts +++ b/src/storage/blockchain/onchain-issuer.ts @@ -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( @@ -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: