From 765da648319a6a6d9db864da26ed0f764c3056d1 Mon Sep 17 00:00:00 2001 From: Kolezhniuk Date: Fri, 17 Jan 2025 20:01:53 +0100 Subject: [PATCH] Fix import --- src/iden3comm/handlers/credential-proposal.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/iden3comm/handlers/credential-proposal.ts b/src/iden3comm/handlers/credential-proposal.ts index 0de77437..58c877ce 100644 --- a/src/iden3comm/handlers/credential-proposal.ts +++ b/src/iden3comm/handlers/credential-proposal.ts @@ -29,8 +29,6 @@ import { IProtocolMessageHandler } from './message-handler'; import { verifyExpiresTime } from './common'; -import { PROTOCOL_CONSTANTS } from '..'; - /** @beta ProposalRequestCreationOptions represents proposal-request creation options */ export type ProposalRequestCreationOptions = { credentials: ProposalRequestCredential[]; @@ -248,8 +246,7 @@ export class CredentialProposalHandler .filter( (m) => m && - m.body?.goal_code === - PROTOCOL_CONSTANTS.PROTOCOL_MESSAGE_TYPE.PROPOSAL_REQUEST_MESSAGE_TYPE && + m.body?.goal_code === PROTOCOL_MESSAGE_TYPE.PROPOSAL_REQUEST_MESSAGE_TYPE && m.to === proposalRequest.to && // issuer m.body.did === proposalRequest.from // user );