From b7f50dfe9b45d8c0c207abf26987838fe13fad98 Mon Sep 17 00:00:00 2001 From: turnoffthiscomputer Date: Tue, 27 Aug 2024 10:28:36 +0200 Subject: [PATCH] fix sdk import --- sdk/OpenPassportProverVerifier.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/OpenPassportProverVerifier.ts b/sdk/OpenPassportProverVerifier.ts index 117d4f22..0016a133 100644 --- a/sdk/OpenPassportProverVerifier.ts +++ b/sdk/OpenPassportProverVerifier.ts @@ -2,7 +2,7 @@ import { groth16 } from 'snarkjs'; import { attributeToPosition, countryCodes, DEFAULT_RPC_URL, PASSPORT_ATTESTATION_ID } from '../common/src/constants/constants'; import { checkMerkleRoot, getCurrentDateFormatted, parsePublicSignals, parsePublicSignalsProve, unpackReveal, verifyDSCValidity } from './utils'; import { OpenPassportVerifierReport } from './OpenPassportVerifierReport'; -import { vkey_prove_rsa_65537_sha1, vkey_prove_rsa_65537_sha256, vkey_prove_rsapss_65537_sha256 } from './common/src/constants/vkey'; +import { vkey_prove_rsa_65537_sha1, vkey_prove_rsa_65537_sha256, vkey_prove_rsapss_65537_sha256 } from '../common/src/constants/vkey'; import forge from 'node-forge' import { splitToWords } from '../common/src/utils/utils'; import { getSignatureAlgorithm } from '../common/src/utils/handleCertificate';