diff --git a/src/enums.js b/src/enums.js index a53a86f..678e164 100644 --- a/src/enums.js +++ b/src/enums.js @@ -16,7 +16,7 @@ limitations under the License. const ProxyPolicy = { ADAPTIVE: 'adaptive', ALWAYS: 'always', - NEVER: 'nver', + NEVER: 'never', } Object.freeze(ProxyPolicy) @@ -59,9 +59,18 @@ const ClaimRelation = { } Object.freeze(ClaimRelation) +const VerificationStatus = { + INIT: 0, + INPROGRESS: 1, + FAILED: 2, + COMPLETED: 3 +} +Object.freeze(VerificationStatus) + exports.ProxyPolicy = ProxyPolicy exports.Fetcher = Fetcher exports.ProofAccess = ProofAccess exports.ProofFormat = ProofFormat exports.ClaimFormat = ClaimFormat -exports.ClaimRelation = ClaimRelation \ No newline at end of file +exports.ClaimRelation = ClaimRelation +exports.VerificationStatus = ClaimRelation \ No newline at end of file diff --git a/src/index.js b/src/index.js index 147d589..d4dc050 100644 --- a/src/index.js +++ b/src/index.js @@ -17,10 +17,12 @@ const claims = require('./claims') const keys = require('./keys') const signatures = require('./signatures') const serviceproviders = require('./serviceproviders') +const enums = require('./enums') const utils = require('./utils') exports.claims = claims exports.keys = keys exports.signatures = signatures exports.serviceproviders = serviceproviders +exports.enums = enums exports.utils = utils