From c768e7e6d72b6311df6b8de7d6bbdb4067ebd5ca Mon Sep 17 00:00:00 2001 From: James Chartrand Date: Tue, 19 Sep 2023 13:37:14 -0400 Subject: [PATCH] update doc loader to load from web --- lib/validate.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/validate.ts b/lib/validate.ts index a5a56d4..b56cb3e 100644 --- a/lib/validate.ts +++ b/lib/validate.ts @@ -7,7 +7,7 @@ import { VerifiableCredential, CredentialError, CredentialErrorTypes } from 'typ import { securityLoader } from '@digitalcredentials/security-document-loader'; import { extractCredentialsFrom } from './verifiableObject'; import { registryCollections } from '@digitalcredentials/issuer-registry-client'; -const documentLoader = securityLoader().build(); +const documentLoader = securityLoader({ fetchRemoteContexts: true }).build() const suite = new Ed25519Signature2020(); const presentationPurpose = new purposes.AssertionProofPurpose();