Skip to content

Commit

Permalink
fix deps
Browse files Browse the repository at this point in the history
  • Loading branch information
volodymyr-basiuk committed Jan 11, 2024
1 parent f0edfc2 commit 7c86ad0
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
5 changes: 2 additions & 3 deletions src/verifiable/credential.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
/* eslint-disable @typescript-eslint/no-explicit-any */
import { BJJSignatureProof2021, Iden3SparseMerkleTreeProof, CredentialStatus } from './proof';
import { BJJSignatureProof2021, Iden3SparseMerkleTreeProof, CredentialStatus, RefreshService } from './proof';
import { Claim } from '@iden3/js-iden3-core';
import { ProofType, RefreshServiceType } from './constants';
import { ProofType } from './constants';
import { Proof } from '@iden3/js-merkletree';
import { Merklizer, Options } from '@iden3/js-jsonld-merklization';
import { RefreshService } from './refresh-service';

/**
* W3C Verifiable credential
Expand Down
12 changes: 11 additions & 1 deletion src/verifiable/proof.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Hash, Proof } from '@iden3/js-merkletree';
import { ProofType, CredentialStatusType } from './constants';
import { ProofType, CredentialStatusType, RefreshServiceType } from './constants';
import { TreeState } from '../circuits';
import { Hex, Signature } from '@iden3/js-crypto';
import { Claim, DID } from '@iden3/js-iden3-core';
Expand Down Expand Up @@ -246,3 +246,13 @@ export interface CredentialStatus {
revocationNonce?: number;
statusIssuer?: CredentialStatus;
}

/**
* RefreshService contains type and id
* @public
* @interface RefreshService
*/
export interface RefreshService {
id: string;
type: RefreshServiceType | string;
}
13 changes: 2 additions & 11 deletions src/verifiable/refresh-service.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { DID, Claim } from '@iden3/js-iden3-core';
import { PackageManager, ZKPPacker } from '../iden3comm';
import { DID } from '@iden3/js-iden3-core';
import { PackageManager } from '../iden3comm';
import { RefreshServiceType } from './constants';
import {
CredentialIssuanceMessage,
Expand All @@ -13,15 +13,6 @@ import { MediaType, PROTOCOL_MESSAGE_TYPE } from '../iden3comm/constants';
import { W3CCredential } from './credential';
import { byteEncoder } from '../utils';

/**
* RefreshService contains type and id
* @public
* @interface RefreshService
*/
export interface RefreshService {
id: string;
type: RefreshServiceType | string;
}

/**
* Interface to work with credential refresh service
Expand Down

0 comments on commit 7c86ad0

Please sign in to comment.