X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=server%2Fhelpers%2Fcustom-jsonld-signature.ts;fp=server%2Fhelpers%2Fcustom-jsonld-signature.ts;h=3c706e372ee26a9b17f4ed3457fb1cf74c44e106;hb=41fb13c330de629df2d23379209e79c7af0f2e9a;hp=56f10086c605439432988db8780c796f903f17a5;hpb=40e7ed0714f96c01e16de3ac971a4b28116294e1;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/helpers/custom-jsonld-signature.ts b/server/helpers/custom-jsonld-signature.ts index 56f10086c..3c706e372 100644 --- a/server/helpers/custom-jsonld-signature.ts +++ b/server/helpers/custom-jsonld-signature.ts @@ -1,7 +1,8 @@ -import * as AsyncLRU from 'async-lru' -import * as jsonld from 'jsonld' +import AsyncLRU from 'async-lru' import { logger } from './logger' +import jsonld = require('jsonld') + const CACHE = { 'https://w3id.org/security/v1': { '@context': {