@sphereon/pex
Version:
A Typescript implementation of the v1 and v2 DIF Presentation Exchange specification
20 lines • 2.58 kB
JavaScript
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 = {}));
export default PexMessages;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTWVzc2FnZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9saWIvdHlwZXMvTWVzc2FnZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsSUFBSyxXQWdCSjtBQWhCRCxXQUFLLFdBQVc7SUFDZCxvR0FBcUYsQ0FBQTtJQUNyRixvR0FBcUYsQ0FBQTtJQUNyRix5SEFBMEcsQ0FBQTtJQUMxRyxpSUFBa0gsQ0FBQTtJQUNsSCxnTEFBaUssQ0FBQTtJQUNqSyw4R0FBK0YsQ0FBQTtJQUMvRixnRkFBaUUsQ0FBQTtJQUNqRSw4REFBK0MsQ0FBQTtJQUMvQyxzREFBdUMsQ0FBQTtJQUN2Qyx1SEFBd0csQ0FBQTtJQUN4RyxnSUFBaUgsQ0FBQTtJQUNqSCwwSkFBMkksQ0FBQTtJQUMzSSxpS0FBa0osQ0FBQTtJQUNsSixpRUFBa0QsQ0FBQTtJQUNsRCw0SEFBNkcsQ0FBQTtBQUMvRyxDQUFDLEVBaEJJLFdBQVcsS0FBWCxXQUFXLFFBZ0JmO0FBRUQsZUFBZSxXQUFXLENBQUMifQ==