Skip to content

Commit

Permalink
Fix import
Browse files Browse the repository at this point in the history
  • Loading branch information
Kolezhniuk committed Jan 17, 2025
1 parent 325567c commit 765da64
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/iden3comm/handlers/credential-proposal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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[];
Expand Down Expand Up @@ -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
);
Expand Down

0 comments on commit 765da64

Please sign in to comment.