diff --git a/packages/types/package.json b/packages/types/package.json index 100328b..069d7cd 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@libsem/types", - "version": "1.0.0", + "version": "1.0.1", "description": "Common type definitions for Semaphore modules.", "main": "src/index.ts", "types": "dist/index.d.ts", diff --git a/packages/types/src/index.ts b/packages/types/src/index.ts index 26133a0..4ef63ff 100644 --- a/packages/types/src/index.ts +++ b/packages/types/src/index.ts @@ -13,3 +13,6 @@ export interface MerkleProof { indices: Array pathElements: Array } + +export type IdentityFactoryMetadata = {} | { signedMessage: string } | +{ identityNullifier: bigint, identityTrapdoor: bigint }