factory metadata type added

Former-commit-id: 1aaeeb4b82a9baa6a439747f2e4fc70d9a55cba5 [formerly 6935d45e10]
Former-commit-id: 8a697cb2552462318d116d92a72d947714d692e5
This commit is contained in:
Andrija Novakovic
2021-10-25 10:46:08 +02:00
parent 47713f5942
commit 995118e3b6
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 }