UNPKG

@sphereon/pex

Version:

A Typescript implementation of the v1 and v2 DIF Presentation Exchange specification

22 lines 2.66 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var PexMessages; (function (PexMessages) { PexMessages["INPUT_CANDIDATE_DOESNT_CONTAIN_PROPERTY"] = "Input candidate does not contain property"; PexMessages["INPUT_CANDIDATE_FAILED_FILTER_EVALUATION"] = "Input candidate failed filter evaluation"; PexMessages["INPUT_CANDIDATE_IS_ELIGIBLE_FOR_PRESENTATION_SUBMISSION"] = "The input candidate is eligible for submission"; PexMessages["INPUT_CANDIDATE_IS_NOT_ELIGIBLE_FOR_PRESENTATION_SUBMISSION"] = "The input candidate is not eligible for submission"; PexMessages["INPUT_DESCRIPTOR_CONTEXT_CONTAINS_HASHLINK_VERIFICATION_NOT_SUPPORTED"] = "Input descriptor contains hashlink. This version doesn't support hashlink verification."; PexMessages["LIMIT_DISCLOSURE_APPLIED"] = "added variable in the limit_disclosure to the verifiableCredential"; PexMessages["LIMIT_DISCLOSURE_NOT_SUPPORTED"] = "Limit disclosure not supported"; PexMessages["SUBJECT_IS_NOT_ISSUER"] = "subject is not issuer"; PexMessages["SUBJECT_IS_ISSUER"] = "subject is issuer"; PexMessages["FORMAT_RESTRICTION_PASSED"] = "the Credential format of the candidate inputs matches the required formats"; PexMessages["FORMAT_RESTRICTION_DIDNT_PASS"] = "the Credential format of the candidate inputs didn't match the required formats"; PexMessages["URI_EVALUATION_PASSED"] = "@context URI(s) for the schema of the candidate input is equal to one of the input_descriptors object uri values."; PexMessages["URI_EVALUATION_DIDNT_PASS"] = "@context URI for the of the candidate input MUST be equal to one of the input_descriptors object uri values exactly."; PexMessages["UNKNOWN_EXCEPTION"] = "unknown exception occurred: "; PexMessages["VERIFIABLE_CREDENTIAL_MANDATORY_FIELD_NOT_PRESENT"] = "mandatory field not present in the verifiableCredential"; })(PexMessages || (PexMessages = {})); exports.default = PexMessages; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTWVzc2FnZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9saWIvdHlwZXMvTWVzc2FnZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSxJQUFLLFdBZ0JKO0FBaEJELFdBQUssV0FBVztJQUNkLG9HQUFxRixDQUFBO0lBQ3JGLG9HQUFxRixDQUFBO0lBQ3JGLHlIQUEwRyxDQUFBO0lBQzFHLGlJQUFrSCxDQUFBO0lBQ2xILGdMQUFpSyxDQUFBO0lBQ2pLLDhHQUErRixDQUFBO0lBQy9GLGdGQUFpRSxDQUFBO0lBQ2pFLDhEQUErQyxDQUFBO0lBQy9DLHNEQUF1QyxDQUFBO0lBQ3ZDLHVIQUF3RyxDQUFBO0lBQ3hHLGdJQUFpSCxDQUFBO0lBQ2pILDBKQUEySSxDQUFBO0lBQzNJLGlLQUFrSixDQUFBO0lBQ2xKLGlFQUFrRCxDQUFBO0lBQ2xELDRIQUE2RyxDQUFBO0FBQy9HLENBQUMsRUFoQkksV0FBVyxLQUFYLFdBQVcsUUFnQmY7QUFFRCxrQkFBZSxXQUFXLENBQUMifQ==