forked from Mirrors/doipjs
Add more enums
This commit is contained in:
parent
10a32f98a5
commit
c5ad812101
1 changed files with 17 additions and 1 deletions
16
src/enums.js
16
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
|
||||
exports.claimFormat = claimFormat
|
||||
exports.claimRelation = claimRelation
|
Loading…
Reference in a new issue