Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/utils/did-helper.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Hex } from '@iden3/js-crypto';
import { Id, buildDIDType, genesisFromEthAddress, DID } from '@iden3/js-iden3-core';
import { Hash } from '@iden3/js-merkletree';
import { DIDResolutionResult, VerificationMethod, DIDResolutionMetadata } from 'did-resolver';
import { DIDResolutionResult, VerificationMethod } from 'did-resolver';
import { keccak256 } from 'ethers';
import { hexToBytes } from './encoding';

Expand Down Expand Up @@ -114,7 +114,7 @@ export const resolveDidDocument = async (
gist?: Hash;
signature?: DIDDocumentSignature;
}
): Promise<DIDResolutionMetadata> => {
): Promise<DIDResolutionResult> => {
let didString = encodeURIComponent(did.string());
// for gist resolve we have to `hide` user did (look into resolver implementation)
const isGistRequest = opts?.gist && !opts.state;
Expand Down