From 6e6ca475bcdcdf28ec7d62484db3e8863c476de8 Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Mon, 19 Apr 2021 11:48:13 +0200 Subject: [PATCH] Add ClaimState enum --- src/enums.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/enums.js b/src/enums.js index a2ccd9c..86fd609 100644 --- a/src/enums.js +++ b/src/enums.js @@ -67,10 +67,18 @@ const VerificationStatus = { } Object.freeze(VerificationStatus) +const ClaimState = { + INIT: 'init', + MATCHED: 'matched', + VERIFIED: 'verified', +} +Object.freeze(ClaimState) + exports.ProxyPolicy = ProxyPolicy exports.Fetcher = Fetcher exports.ProofAccess = ProofAccess exports.ProofFormat = ProofFormat exports.ClaimFormat = ClaimFormat exports.ClaimRelation = ClaimRelation -exports.VerificationStatus = ClaimRelation +exports.VerificationStatus = VerificationStatus +exports.ClaimState = ClaimState