{"_id":"@abi96/react-native-aadhaar-ui-sdk","_rev":"2-7a442f82e85a818a0865b84ec6169394","name":"@abi96/react-native-aadhaar-ui-sdk","dist-tags":{"latest":"0.0.2"},"versions":{"0.0.1":{"name":"@abi96/react-native-aadhaar-ui-sdk","version":"0.0.1","keywords":["react-native","ios","android","aadhaar","kyc","verification"],"author":{"name":"Abin","email":"abintopppo96@gmail.com"},"license":"MIT","_id":"@abi96/react-native-aadhaar-ui-sdk@0.0.1","maintainers":[{"name":"abi96","email":"abintoppo96@gmail.com"}],"homepage":"https://github.com/abintopppo/react-native-aadhaar-ui-sdk#readme","bugs":{"url":"https://github.com/abintopppo/react-native-aadhaar-ui-sdk/issues"},"dist":{"shasum":"31cf75b447fe4be371797b2d387b3d5b534bb6f0","tarball":"https://registry.npmjs.org/@abi96/react-native-aadhaar-ui-sdk/-/react-native-aadhaar-ui-sdk-0.0.1.tgz","fileCount":37,"integrity":"sha512-UgZaBwxC2G9zjj6yAxfafDY9jU7Nq+bA+j8EGvTU2V3UncttaMNGOSl4gkgBGI7KEyPB+uXhg2QnRi39XKxNiA==","signatures":[{"sig":"MEUCIQCUHJGcSMa4ZfNimmo50f48IrspWYAdCHUgJFWmgfHVKgIgWnSbA8wi1iDlG8+ZGmThEoriOsaJ1n0AjIrqLJ3JG5Y=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":48443},"jest":{"preset":"react-native","modulePathIgnorePatterns":["<rootDir>/lib/"]},"main":"lib/commonjs/index.js","types":"lib/typescript/index.d.ts","module":"lib/module/index.js","source":"src/index.ts","gitHead":"d270dd9fe9542c0a48428ee2cd0a5e58b9045ede","scripts":{"lint":"eslint \"**/*.{js,ts,tsx}\"","test":"jest","build":"bob build","prepack":"bob build","typecheck":"tsc --noEmit"},"_npmUser":{"name":"abi96","email":"abintoppo96@gmail.com"},"repository":{"url":"git+https://github.com/abintopppo/react-native-aadhaar-ui-sdk.git","type":"git"},"_npmVersion":"10.9.2","description":"A locked, professional UI SDK for Aadhaar Verification Demonstration.","directories":{},"_nodeVersion":"22.13.0","react-native":"src/index.ts","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","react":"18.2.0","eslint":"^8.51.0","del-cli":"^5.1.0","prettier":"^3.0.3","typescript":"^5.2.2","@babel/core":"^7.23.0","@types/react":"^18.2.6","react-native":"0.73.4","@babel/preset-env":"^7.23.0","@babel/preset-react":"^7.22.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.1","@babel/preset-typescript":"^7.23.0","react-native-builder-bob":"^0.23.2","@react-native/eslint-config":"^0.73.2"},"peerDependencies":{"react":"*","react-native":"*"},"_npmOperationalInternal":{"tmp":"tmp/react-native-aadhaar-ui-sdk_0.0.1_1771938245543_0.22225940509536435","host":"s3://npm-registry-packages-npm-production"},"react-native-builder-bob":{"output":"lib","source":"src","targets":["commonjs","module",["typescript",{"project":"tsconfig.build.json"}]]}},"0.0.2":{"name":"@abi96/react-native-aadhaar-ui-sdk","version":"0.0.2","description":"A locked, professional UI SDK for Aadhaar Verification Demonstration.","main":"lib/commonjs/index.js","module":"lib/module/index.js","types":"lib/typescript/index.d.ts","react-native":"src/index.ts","source":"src/index.ts","scripts":{"test":"jest","typecheck":"tsc --noEmit","lint":"eslint \"**/*.{js,ts,tsx}\"","prepack":"bob build","build":"bob build"},"keywords":["react-native","ios","android","aadhaar","kyc","verification"],"repository":{"type":"git","url":"git+https://github.com/abintopppo/react-native-aadhaar-ui-sdk.git"},"author":{"name":"Abin","email":"abintopppo96@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/abintopppo/react-native-aadhaar-ui-sdk/issues"},"homepage":"https://github.com/abintopppo/react-native-aadhaar-ui-sdk#readme","publishConfig":{"access":"public"},"devDependencies":{"@babel/core":"^7.23.0","@babel/preset-env":"^7.23.0","@babel/preset-react":"^7.22.0","@babel/preset-typescript":"^7.23.0","@react-native/eslint-config":"^0.73.2","@types/react":"^18.2.6","del-cli":"^5.1.0","eslint":"^8.51.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.1","jest":"^29.7.0","prettier":"^3.0.3","react":"18.2.0","react-native":"0.73.4","react-native-builder-bob":"^0.23.2","typescript":"^5.2.2"},"peerDependencies":{"react":"*","react-native":"*"},"jest":{"preset":"react-native","modulePathIgnorePatterns":["<rootDir>/lib/"]},"react-native-builder-bob":{"source":"src","output":"lib","targets":["commonjs","module",["typescript",{"project":"tsconfig.build.json"}]]},"_id":"@abi96/react-native-aadhaar-ui-sdk@0.0.2","gitHead":"d270dd9fe9542c0a48428ee2cd0a5e58b9045ede","_nodeVersion":"22.13.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-4vgy/URSkts24YbaO8WJSxXF0xgVOxvQLDJiJ7qNtgeFefMS5PrLMfIVYSy+W6BO7g1YnjyxyzvYtGe3LHSPvg==","shasum":"8316a317b9be44af9d52009cb48c4118c62355dd","tarball":"https://registry.npmjs.org/@abi96/react-native-aadhaar-ui-sdk/-/react-native-aadhaar-ui-sdk-0.0.2.tgz","fileCount":37,"unpackedSize":67229,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCICXOOnfb4tbHOW3C1I8skH+xjP6XYpSDp7MSKEmZjrCMAiEApH0iDTzbFrTPTMIC1gljEKBAtAAgveHj4dylbyWS1y0="}]},"_npmUser":{"name":"abi96","email":"abintoppo96@gmail.com"},"directories":{},"maintainers":[{"name":"abi96","email":"abintoppo96@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/react-native-aadhaar-ui-sdk_0.0.2_1771938823013_0.6975167084814646"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-24T13:04:05.456Z","modified":"2026-02-24T13:13:43.273Z","0.0.1":"2026-02-24T13:04:05.687Z","0.0.2":"2026-02-24T13:13:43.167Z"},"bugs":{"url":"https://github.com/abintopppo/react-native-aadhaar-ui-sdk/issues"},"author":{"name":"Abin","email":"abintopppo96@gmail.com"},"license":"MIT","homepage":"https://github.com/abintopppo/react-native-aadhaar-ui-sdk#readme","keywords":["react-native","ios","android","aadhaar","kyc","verification"],"repository":{"type":"git","url":"git+https://github.com/abintopppo/react-native-aadhaar-ui-sdk.git"},"description":"A locked, professional UI SDK for Aadhaar Verification Demonstration.","maintainers":[{"name":"abi96","email":"abintoppo96@gmail.com"}],"readme":"# Aadhaar Verification UI SDK (`@abi96/react-native-aadhaar-ui-sdk`)\r\n\r\nA high-security, locked-down React Native SDK for Aadhaar Verification Demonstration. This SDK is designed for enterprise integration where UI consistency and data security are paramount.\r\n\r\n## Features\r\n\r\n- **Black-Box UI**: Pre-styled, professional verification interface.\r\n- **Sealed Internals**: No access to internal logic, styles, or APIs.\r\n- **Mock Verification**: Simulated verification logic for demonstration purposes.\r\n- **Enterprise Grade**: Built with security and scalability in mind.\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install @abi96/react-native-aadhaar-ui-sdk\r\n```\r\nor\r\n```bash\r\nyarn add @abi96/react-native-aadhaar-ui-sdk\r\n```\r\n\r\n> **Note**: This SDK requires `react` and `react-native` as peer dependencies.\r\n\r\n## Usage\r\n\r\nThe SDK exposes exactly **one** component: `AadhaarSDK`.\r\n\r\n```tsx\r\nimport React from 'react';\r\nimport { AadhaarSDK } from '@abi96/react-native-aadhaar-ui-sdk';\r\n\r\nconst App = () => {\r\n  const handleSuccess = (data) => {\r\n    console.log('Verification Successful:', data.verificationId);\r\n  };\r\n\r\n  const handleFailure = (error) => {\r\n    console.error('Verification Failed:', error.reason);\r\n  };\r\n\r\n  return (\r\n    <AadhaarSDK \r\n      onSuccess={handleSuccess} \r\n      onFailure={handleFailure} \r\n    />\r\n  );\r\n};\r\n\r\nexport default App;\r\n```\r\n\r\n## Public API\r\n\r\n### `<AadhaarSDK />`\r\n\r\n| Prop | Type | Required | Description |\r\n| :--- | :--- | :--- | :--- |\r\n| `onSuccess` | `(data: { status: \"VERIFIED\", verificationId: string }) => void` | Yes | Callback triggered on successful verification. |\r\n| `onFailure` | `(error: { status: \"FAILED\", reason: string }) => void` | Yes | Callback triggered on failed verification. |\r\n\r\n## Restrictions (Locked SDK)\r\n\r\nTo maintain security and UI integrity, the following are **NOT** permitted:\r\n- Modifying the UI or styles.\r\n- Overriding themes or colors.\r\n- Accessing internal verification APIs.\r\n- Passing children to the component.\r\n- Debugging or inspecting internal state.\r\n\r\n## Disclaimer\r\n\r\nThis is a **DEMO SDK**. \r\n- It does **not** connect to the UIDAI backend.\r\n- It does **not** store or process real Aadhaar numbers.\r\n- Aadhaar numbers are validated based on length (12 digits) for demonstration purposes only.\r\n\r\n---\r\nDeveloped by Antigravity © 2026\r\n","readmeFilename":"README.md"}