feat: add github proof location

This commit is contained in:
Yarmo Mackenbach 2023-10-09 16:21:06 +02:00
parent 056ebd6d83
commit 2687742e23
No known key found for this signature in database
GPG key ID: C248C28D432560ED

View file

@ -53,12 +53,20 @@ export function processURI (uri) {
response: {
format: E.ProofFormat.JSON
},
target: [{
target: [
{
format: E.ClaimFormat.URI,
encoding: E.EntityEncodingFormat.PLAIN,
relation: E.ClaimRelation.CONTAINS,
path: ['files', 'proof.md', 'content']
},
{
format: E.ClaimFormat.URI,
encoding: E.EntityEncodingFormat.PLAIN,
relation: E.ClaimRelation.CONTAINS,
path: ['files', 'openpgp.md', 'content']
}]
}
]
}
})
}