feat: create an attestation id object

This commit is contained in:
ayman
2025-09-26 00:14:02 +05:30
parent 923a9ced4f
commit 75bec71723
3 changed files with 8 additions and 1 deletions

View File

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

View File

@@ -1 +1,2 @@
export { SelfBackendVerifier } from './SelfBackendVerifier.js';
export { ATTESTATION_ID } from './utils/constants.js';

View File

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