mirror of
https://github.com/selfxyz/self.git
synced 2026-04-27 03:01:15 -04:00
feat: create an attestation id object
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@selfxyz/core",
|
||||
"version": "1.1.0-beta.4",
|
||||
"version": "1.1.0-beta.5",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/selfxyz/self"
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
export { SelfBackendVerifier } from './SelfBackendVerifier.js';
|
||||
export { ATTESTATION_ID } from './utils/constants.js';
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
import { AttestationId } from 'src/types/types.js';
|
||||
|
||||
export const ATTESTATION_ID = {
|
||||
'PASSPORT': 1,
|
||||
'BIOMETRIC_ID_CARD': 2,
|
||||
'AADHAAR': 3,
|
||||
} as const;
|
||||
|
||||
export const discloseIndices = {
|
||||
1: {
|
||||
revealedDataPackedIndex: 0,
|
||||
|
||||
Reference in New Issue
Block a user