Skip to content

Commit

Permalink
fix: export type to comply with isolatedModules requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
nicobao committed Sep 9, 2023
1 parent 79c11de commit 674eeb2
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion src/js/types/PSPoKSigProof.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { PSSig } from "./PSSig";
import { type PSSig } from "./PSSig";

export interface PSPoKSigProof {
readonly k: Uint8Array,
Expand Down
2 changes: 1 addition & 1 deletion src/js/types/PSPoKSigProtocol.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { PSSig } from "./PSSig";
import { type PSSig } from "./PSSig";

export interface PSPoKSigProtocol {
readonly witness: Uint8Array,
Expand Down
36 changes: 18 additions & 18 deletions src/js/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,21 @@
* limitations under the License.
*/

export { BbsPlusSigParams } from "./BbsPlusSigParams";
export { BbsPlusSig } from "./BbsPlusSig";
export { BbsPlusPoKSigProtocol } from "./BbsPlusPoKSigProtocol";
export { BbsPlusPoKSigProof } from "./BbsPlusPoKSigProof";
export { BbsSigParams } from "./BbsSigParams";
export { BbsSig } from "./BbsSig";
export { BbsPoKSigProtocol } from "./BbsPoKSigProtocol";
export { BbsPoKSigProof } from "./BbsPoKSigProof";
export { PSCommitmentOrMessage } from "./PSCommitmentOrMessage";
export { PSSigParams } from "./PSSigParams";
export { PSSig } from "./PSSig";
export { PSPoKSigProtocol } from "./PSPoKSigProtocol";
export { PSPoKSigProof } from "./PSPoKSigProof";
export { IKeypair } from "./IKeypair";
export { VerifyResult } from "./VerifyResult";
export { IUniversalAccumulator } from "./IUniversalAccumulator";
export { INonMembershipWitness } from "./INonMembershipWitness";
export { LCTerm, LC, Constraint, R1CS } from "./R1CS";
export { type BbsPlusSigParams } from "./BbsPlusSigParams";
export { type BbsPlusSig } from "./BbsPlusSig";
export { type BbsPlusPoKSigProtocol } from "./BbsPlusPoKSigProtocol";
export { type BbsPlusPoKSigProof } from "./BbsPlusPoKSigProof";
export { type BbsSigParams } from "./BbsSigParams";
export { type BbsSig } from "./BbsSig";
export { type BbsPoKSigProtocol } from "./BbsPoKSigProtocol";
export { type BbsPoKSigProof } from "./BbsPoKSigProof";
export { type PSCommitmentOrMessage } from "./PSCommitmentOrMessage";
export { type PSSigParams } from "./PSSigParams";
export { type PSSig } from "./PSSig";
export { type PSPoKSigProtocol } from "./PSPoKSigProtocol";
export { type PSPoKSigProof } from "./PSPoKSigProof";
export { type IKeypair } from "./IKeypair";
export { type VerifyResult } from "./VerifyResult";
export { type IUniversalAccumulator } from "./IUniversalAccumulator";
export { type INonMembershipWitness } from "./INonMembershipWitness";
export { type LCTerm, type LC, type Constraint, type R1CS } from "./R1CS";

0 comments on commit 674eeb2

Please sign in to comment.