From c5ad8121015a0f890f4ce6e7e36e629c941e5d1c Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Mon, 12 Apr 2021 14:31:48 +0200 Subject: [PATCH] Add more enums --- src/enums.js | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/src/enums.js b/src/enums.js index 1ece054..eda39e8 100644 --- a/src/enums.js +++ b/src/enums.js @@ -27,5 +27,21 @@ const proofFormat = { } Object.freeze(proofFormat) +const claimFormat = { + URI: 0, + FINGERPRINT: 1, + MESSAGE: 2, +} +Object.freeze(claimFormat) + +const claimRelation = { + CONTAINS: 0, + EQUALS: 1, + ONEOF: 2, +} +Object.freeze(claimRelation) + exports.proofAccess = proofAccess -exports.proofFormat = proofFormat \ No newline at end of file +exports.proofFormat = proofFormat +exports.claimFormat = claimFormat +exports.claimRelation = claimRelation \ No newline at end of file