1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-04 02:09:37 +02:00

Add compatibility with other Linked Signature algorithms

This commit is contained in:
Chocobozzz 2018-10-23 11:38:48 +02:00
parent b83b8dd5ae
commit df66d81583
No known key found for this signature in database
GPG key ID: 583A612D890159BE
28 changed files with 1012 additions and 22 deletions

View file

@ -1,5 +1,5 @@
import * as AsyncLRU from 'async-lru'
import * as jsonld from 'jsonld/'
import * as jsonld from 'jsonld'
import * as jsig from 'jsonld-signatures'
const nodeDocumentLoader = jsonld.documentLoaders.node()
@ -17,4 +17,4 @@ jsonld.documentLoader = (url, cb) => {
jsig.use('jsonld', jsonld)
export { jsig }
export { jsig, jsonld }