factory metadata type added

This commit is contained in:
Andrija Novakovic
2021-10-25 10:46:08 +02:00
parent 155953561e
commit 6935d45e10
2 changed files with 4 additions and 1 deletions

View File

@@ -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",

View File

@@ -13,3 +13,6 @@ export interface MerkleProof {
indices: Array<any>
pathElements: Array<any>
}
export type IdentityFactoryMetadata = {} | { signedMessage: string } |
{ identityNullifier: bigint, identityTrapdoor: bigint }