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: { response: {
format: E.ProofFormat.JSON 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, format: E.ClaimFormat.URI,
encoding: E.EntityEncodingFormat.PLAIN, encoding: E.EntityEncodingFormat.PLAIN,
relation: E.ClaimRelation.CONTAINS, relation: E.ClaimRelation.CONTAINS,
path: ['files', 'openpgp.md', 'content'] path: ['files', 'openpgp.md', 'content']
}] }
]
} }
}) })
} }