{"_id":"@aioha/react-provider","_rev":"9-799a1f2e51e00c793e162cc68492dde2","name":"@aioha/react-provider","dist-tags":{"latest":"1.7.0"},"versions":{"1.0.0":{"name":"@aioha/react-provider","version":"1.0.0","keywords":["aioha","react","hive","blockchain","authentication"],"author":{"name":"techcoderx"},"license":"MIT","_id":"@aioha/react-provider@1.0.0","homepage":"https://aioha.dev","bugs":{"url":"https://github.com/aioha-hive/react-provider/issues"},"dist":{"shasum":"828046df9e29df5f01e043c2bfccaa1f873a876f","tarball":"https://registry.npmjs.org/@aioha/react-provider/-/react-provider-1.0.0.tgz","fileCount":7,"integrity":"sha512-EZnr/abcfnB4K/C0OakaUo/dhEFldSEypcCD6FU16w8sBYc35JEh2+p1f9JvZLLH6K960mg1Jq7iTEtrYx/Ltw==","signatures":[{"sig":"MEQCID9nQ+Xtm2oYYMjKV0OCwa6zZ20/4k1tJxV+Hm+BjPa1AiAIY6kPIbKW+v2JRlLnshFSSz8jUks7LVkG3txn5B+OVg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8282},"main":"dist/index.js","type":"module","_from":"file:aioha-react-provider-1.0.0.tgz","types":"dist/index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsc","prepublish":"rm -r dist/*; pnpm run build"},"_npmUser":{"name":"techcoderx","email":"engtianxi@outlook.com"},"_resolved":"/private/var/folders/4k/c2bh71lj5yl46624214xzpv40000gn/T/88ce7ac3878923bc3e80cbc8a57aa047/aioha-react-provider-1.0.0.tgz","_integrity":"sha512-EZnr/abcfnB4K/C0OakaUo/dhEFldSEypcCD6FU16w8sBYc35JEh2+p1f9JvZLLH6K960mg1Jq7iTEtrYx/Ltw==","repository":{"url":"git+https://github.com/aioha-hive/react-provider.git"},"_npmVersion":"10.1.0","description":"React provider for Aioha","directories":{},"_nodeVersion":"20.8.0","_hasShrinkwrap":false,"devDependencies":{"react":"^18.3.1","typescript":"^5.5.2","@aioha/aioha":"^1.3.11","@types/react":"^18.3.3"},"peerDependencies":{"react":"^18.3.1","@aioha/aioha":"^1.3.11"},"_npmOperationalInternal":{"tmp":"tmp/react-provider_1.0.0_1719806427165_0.20961731867178224","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.1":{"name":"@aioha/react-provider","version":"1.0.1","keywords":["aioha","react","hive","blockchain","authentication"],"author":{"name":"techcoderx"},"license":"MIT","_id":"@aioha/react-provider@1.0.1","homepage":"https://aioha.dev","bugs":{"url":"https://github.com/aioha-hive/react-provider/issues"},"dist":{"shasum":"debd17859ff09fa5eae0bdbacc5061b5f459bd2d","tarball":"https://registry.npmjs.org/@aioha/react-provider/-/react-provider-1.0.1.tgz","fileCount":7,"integrity":"sha512-uW/mrorSKK/z0UMRSv1LgBTI2ALFXKHbQphujfPG8zSjySzopHVWvyH01z3BjJH3NUOz8B1VUX9HCLzONhOURw==","signatures":[{"sig":"MEUCIExSUGUGQfbHvR64cEAU6XJ0BBXzUROktjcwgLV0MqnFAiEA1RVo7iY7X3OKqxGFMv8Cfwa2gh9Bj/mC1mjdB/1qu6A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8283},"main":"dist/index.jsx","type":"module","_from":"file:aioha-react-provider-1.0.1.tgz","types":"dist/index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsc","prepublish":"rm -r dist/*; pnpm run build"},"_npmUser":{"name":"techcoderx","email":"engtianxi@outlook.com"},"_resolved":"/private/var/folders/4k/c2bh71lj5yl46624214xzpv40000gn/T/5e78db0c72cc9fd6b7de4dae9e9982af/aioha-react-provider-1.0.1.tgz","_integrity":"sha512-uW/mrorSKK/z0UMRSv1LgBTI2ALFXKHbQphujfPG8zSjySzopHVWvyH01z3BjJH3NUOz8B1VUX9HCLzONhOURw==","repository":{"url":"git+https://github.com/aioha-hive/react-provider.git"},"_npmVersion":"10.1.0","description":"React provider for Aioha","directories":{},"_nodeVersion":"20.8.0","_hasShrinkwrap":false,"devDependencies":{"react":"^18.3.1","typescript":"^5.5.2","@aioha/aioha":"^1.3.11","@types/react":"^18.3.3"},"peerDependencies":{"react":"^18.3.1","@aioha/aioha":"^1.3.11"},"_npmOperationalInternal":{"tmp":"tmp/react-provider_1.0.1_1719806837114_0.8106578378677958","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.2":{"name":"@aioha/react-provider","version":"1.0.2","keywords":["aioha","react","hive","blockchain","authentication"],"author":{"name":"techcoderx"},"license":"MIT","_id":"@aioha/react-provider@1.0.2","homepage":"https://aioha.dev","bugs":{"url":"https://github.com/aioha-hive/react-provider/issues"},"dist":{"shasum":"04666efb1a1080df5861ace0abb32ac3007a8fb2","tarball":"https://registry.npmjs.org/@aioha/react-provider/-/react-provider-1.0.2.tgz","fileCount":7,"integrity":"sha512-K07DE4zNo7PNNKwjPlSG5H+x5Bdm2Mk8lMEm/ftHrwrxDJ6acPtPyDZ8qCoO7BWQi2jlRtjzJGiT6h89xgrvCQ==","signatures":[{"sig":"MEUCIEScU4k6tz+0Hp4xOAqpUll/Ko0NNurohiO8fvlIFrkyAiEAu3u2mP3J/RBPFhYFdXZGGr3fMi0+LErq95amWmoM4OM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8274},"main":"dist/index.js","type":"module","_from":"file:aioha-react-provider-1.0.2.tgz","types":"dist/index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsc","prepublish":"rm -r dist/*; pnpm run build"},"_npmUser":{"name":"techcoderx","email":"engtianxi@outlook.com"},"_resolved":"/private/var/folders/4k/c2bh71lj5yl46624214xzpv40000gn/T/6fb0d6c952d8036b2c6a8edb4f50f985/aioha-react-provider-1.0.2.tgz","_integrity":"sha512-K07DE4zNo7PNNKwjPlSG5H+x5Bdm2Mk8lMEm/ftHrwrxDJ6acPtPyDZ8qCoO7BWQi2jlRtjzJGiT6h89xgrvCQ==","repository":{"url":"git+https://github.com/aioha-hive/react-provider.git"},"_npmVersion":"10.1.0","description":"React provider for Aioha","directories":{},"_nodeVersion":"20.8.0","_hasShrinkwrap":false,"devDependencies":{"react":"^18.3.1","typescript":"^5.5.2","@aioha/aioha":"^1.3.11","@types/react":"^18.3.3"},"peerDependencies":{"react":"^18.3.1","@aioha/aioha":"^1.3.11"},"_npmOperationalInternal":{"tmp":"tmp/react-provider_1.0.2_1719807105620_0.4115118666462927","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.3":{"name":"@aioha/react-provider","version":"1.0.3","keywords":["aioha","react","hive","blockchain","authentication"],"author":{"name":"techcoderx"},"license":"MIT","_id":"@aioha/react-provider@1.0.3","homepage":"https://aioha.dev","bugs":{"url":"https://github.com/aioha-hive/react-provider/issues"},"dist":{"shasum":"2ba87ce10198e2b33804a757edd8a5616d69d847","tarball":"https://registry.npmjs.org/@aioha/react-provider/-/react-provider-1.0.3.tgz","fileCount":7,"integrity":"sha512-yXUQ2U4+IopkkhcJ7HB/J/oiGoFKx78YlhIA1nOb7oUWEMSAFuisrYApZu1TxO1HKkI/xLmLhOkGSCknG6Ye1g==","signatures":[{"sig":"MEYCIQCOE7t9t9mjQjoeNMrkUO1F5lV1fAAFBR4AKnkPJ1r3EAIhAM7QQLpupUCg/RmHA6LZfocuKnF28vJZ1d2nneTOP4Se","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8229},"main":"dist/index.js","type":"module","_from":"file:aioha-react-provider-1.0.3.tgz","types":"dist/index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsc","prepublish":"rm -r dist/*; pnpm run build"},"_npmUser":{"name":"techcoderx","email":"engtianxi@outlook.com"},"_resolved":"/private/var/folders/4k/c2bh71lj5yl46624214xzpv40000gn/T/53a9c1478b1c356a1b94857209c1be7c/aioha-react-provider-1.0.3.tgz","_integrity":"sha512-yXUQ2U4+IopkkhcJ7HB/J/oiGoFKx78YlhIA1nOb7oUWEMSAFuisrYApZu1TxO1HKkI/xLmLhOkGSCknG6Ye1g==","repository":{"url":"git+https://github.com/aioha-hive/react-provider.git"},"_npmVersion":"10.1.0","description":"React provider for Aioha","directories":{},"_nodeVersion":"20.8.0","_hasShrinkwrap":false,"devDependencies":{"react":"^18.3.1","typescript":"^5.5.2","@aioha/aioha":"^1.3.11","@types/react":"^18.3.3"},"peerDependencies":{"react":"^18.3.1","@aioha/aioha":"^1.3.11"},"_npmOperationalInternal":{"tmp":"tmp/react-provider_1.0.3_1719810138665_0.789334761039965","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.4.0":{"name":"@aioha/react-provider","version":"1.4.0","keywords":["aioha","react","hive","blockchain","authentication"],"author":{"name":"techcoderx"},"license":"MIT","_id":"@aioha/react-provider@1.4.0","maintainers":[{"name":"techcoderx","email":"engtianxi@outlook.com"}],"homepage":"https://aioha.dev","bugs":{"url":"https://github.com/aioha-hive/react-provider/issues"},"dist":{"shasum":"3a125ba83006231e9b4558ae062d1be3993ee2db","tarball":"https://registry.npmjs.org/@aioha/react-provider/-/react-provider-1.4.0.tgz","fileCount":7,"integrity":"sha512-wsJI8SJRfXFWlYfUM5DfzfpKPUDhkFy+Kn3HIXnzsHAZWs56v5zfGM6eUE0USEh72plaJXNQM8N0v34smvr0oQ==","signatures":[{"sig":"MEYCIQD7Z2PqDihxKQQy44YCvn6Pdar/JJzsmuk8uzRXvRDPZQIhAI8RZx/EJiWyRKxZQgFlt2syjX9uc5P8gEhuUZB1Ir3a","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8015},"main":"dist/index.js","type":"module","_from":"file:aioha-react-provider-1.4.0.tgz","types":"dist/index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsc","prepublish":"rm -r dist/*; pnpm run build"},"_npmUser":{"name":"techcoderx","email":"engtianxi@outlook.com"},"_resolved":"/private/var/folders/4k/c2bh71lj5yl46624214xzpv40000gn/T/04490a407225835c8930245733b670cb/aioha-react-provider-1.4.0.tgz","_integrity":"sha512-wsJI8SJRfXFWlYfUM5DfzfpKPUDhkFy+Kn3HIXnzsHAZWs56v5zfGM6eUE0USEh72plaJXNQM8N0v34smvr0oQ==","repository":{"url":"git+https://github.com/aioha-hive/react-provider.git"},"_npmVersion":"10.1.0","description":"React provider for Aioha","directories":{},"_nodeVersion":"20.8.0","_hasShrinkwrap":false,"devDependencies":{"react":"^18.3.1","typescript":"^5.5.2","@aioha/aioha":"^1.4.0","@types/react":"^18.3.3"},"peerDependencies":{"react":"^18.3.1","@aioha/aioha":"^1.4.0"},"_npmOperationalInternal":{"tmp":"tmp/react-provider_1.4.0_1722413457577_0.1430852179135229","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.4.1":{"name":"@aioha/react-provider","version":"1.4.1","keywords":["aioha","react","hive","blockchain","authentication"],"author":{"name":"techcoderx"},"license":"MIT","_id":"@aioha/react-provider@1.4.1","maintainers":[{"name":"techcoderx","email":"engtianxi@outlook.com"}],"homepage":"https://aioha.dev","bugs":{"url":"https://github.com/aioha-hive/react-provider/issues"},"dist":{"shasum":"e6b87d83109942c1d4abb6e7802f95c2ad79ba11","tarball":"https://registry.npmjs.org/@aioha/react-provider/-/react-provider-1.4.1.tgz","fileCount":7,"integrity":"sha512-7TlAc107FX8KNi0h+HeKPl9jFzw6ISKbk3uORZbz4aeQHzD9v/MuDdTbUJchD8zkoF4tFqsQLMwyq99vMKVuGg==","signatures":[{"sig":"MEQCIF0lNaPxe4QGyQCRsa456o941cYV+5JmdtWyF/md/fkBAiBioEfA6J/a0i9pc+urjolDEaZLAoAf/NvscYgFBNPmMw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7103},"main":"dist/index.js","type":"module","_from":"file:aioha-react-provider-1.4.1.tgz","types":"dist/index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsc","prepublish":"rm -r dist/*; pnpm run build"},"_npmUser":{"name":"techcoderx","email":"engtianxi@outlook.com"},"_resolved":"/private/var/folders/4k/c2bh71lj5yl46624214xzpv40000gn/T/a9f32b6076539d46f0e440b6d50a4417/aioha-react-provider-1.4.1.tgz","_integrity":"sha512-7TlAc107FX8KNi0h+HeKPl9jFzw6ISKbk3uORZbz4aeQHzD9v/MuDdTbUJchD8zkoF4tFqsQLMwyq99vMKVuGg==","repository":{"url":"git+https://github.com/aioha-hive/react-provider.git"},"_npmVersion":"10.1.0","description":"React provider for Aioha","directories":{},"_nodeVersion":"20.8.0","_hasShrinkwrap":false,"devDependencies":{"react":"^18.3.1","typescript":"^5.5.2","@aioha/aioha":"^1.4.0","@types/react":"^18.3.3"},"peerDependencies":{"react":"^18.3.1","@aioha/aioha":"^1.4.0"},"_npmOperationalInternal":{"tmp":"tmp/react-provider_1.4.1_1722415556552_0.10668978993697786","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.6.0":{"name":"@aioha/react-provider","version":"1.6.0","keywords":["aioha","react","hive","blockchain","authentication"],"author":{"name":"techcoderx"},"license":"MIT","_id":"@aioha/react-provider@1.6.0","maintainers":[{"name":"techcoderx","email":"npmpkgs@techcoderx.com"}],"homepage":"https://aioha.dev","bugs":{"url":"https://github.com/aioha-hive/react-provider/issues"},"dist":{"shasum":"225dfa52bcb04ca23d747b1c140d9491ca4545ef","tarball":"https://registry.npmjs.org/@aioha/react-provider/-/react-provider-1.6.0.tgz","fileCount":7,"integrity":"sha512-NU78ZprEb7EJRMHMrgZzj3bcKR81i7uGT7z9UjYiknzpcLuuBnPrn+0C4zpPD+WfNMUhgzrAeXunW7uqMVHudg==","signatures":[{"sig":"MEUCIGgaUCDnG0w8zsn9+8YVh0lw/gGoL/dH6ePA+3ZED0QjAiEA+muVfzY2SlTmsdyq7EqMpVBpeRU/+LuHTebbOqCxjZM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8085},"main":"dist/index.js","type":"module","_from":"file:aioha-react-provider-1.6.0.tgz","types":"dist/index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsc","prepublish":"rm -r dist/*; pnpm run build"},"_npmUser":{"name":"techcoderx","email":"npmpkgs@techcoderx.com"},"_resolved":"/private/var/folders/4k/c2bh71lj5yl46624214xzpv40000gn/T/4b38f6e12a997f2d309d29ea311c0c6e/aioha-react-provider-1.6.0.tgz","_integrity":"sha512-NU78ZprEb7EJRMHMrgZzj3bcKR81i7uGT7z9UjYiknzpcLuuBnPrn+0C4zpPD+WfNMUhgzrAeXunW7uqMVHudg==","repository":{"url":"git+https://github.com/aioha-hive/react-provider.git"},"_npmVersion":"10.9.2","description":"React provider for Aioha","directories":{},"_nodeVersion":"22.13.1","_hasShrinkwrap":false,"devDependencies":{"react":"^18.3.1","typescript":"^5.5.2","@aioha/aioha":"^1.6.0-beta.9","@types/react":"^18.3.3"},"peerDependencies":{"react":"^18.3.1","@aioha/aioha":"^1.6.0-beta.9"},"_npmOperationalInternal":{"tmp":"tmp/react-provider_1.6.0_1745646996078_0.32553905322500376","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.7.0":{"name":"@aioha/react-provider","version":"1.7.0","keywords":["aioha","react","hive","blockchain","authentication"],"author":{"name":"techcoderx"},"license":"MIT","_id":"@aioha/react-provider@1.7.0","maintainers":[{"name":"techcoderx","email":"npmpkgs@techcoderx.com"}],"homepage":"https://aioha.dev","bugs":{"url":"https://github.com/aioha-hive/react-provider/issues"},"dist":{"shasum":"9954a637e190f8fd1402b324fb8535db3ad6f1d4","tarball":"https://registry.npmjs.org/@aioha/react-provider/-/react-provider-1.7.0.tgz","fileCount":7,"integrity":"sha512-ONB/+DcD2maGlo6H9o1UiRjpP+gOstmcIX8wzoaattfeBeHuHBfnRYcBEM5Odd4W9c/WWTmTC2uFQjejL2YtDQ==","signatures":[{"sig":"MEQCIET8hPesDwljY15RUX4DMaPFhxgX7pzClini8/lMjkn7AiBnkwPcDILaBFwFg7/h5jG/tphzDk92tzgAQrwctoijGg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8071},"main":"dist/index.js","type":"module","_from":"file:aioha-react-provider-1.7.0.tgz","types":"dist/index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsc","prepublish":"rm -r dist/*; pnpm run build"},"_npmUser":{"name":"techcoderx","email":"npmpkgs@techcoderx.com"},"_resolved":"/private/var/folders/4k/c2bh71lj5yl46624214xzpv40000gn/T/9e3b4e02b31103f02b4b4b931e6d763e/aioha-react-provider-1.7.0.tgz","_integrity":"sha512-ONB/+DcD2maGlo6H9o1UiRjpP+gOstmcIX8wzoaattfeBeHuHBfnRYcBEM5Odd4W9c/WWTmTC2uFQjejL2YtDQ==","repository":{"url":"git+https://github.com/aioha-hive/react-provider.git"},"_npmVersion":"10.9.2","description":"React provider for Aioha","directories":{},"_nodeVersion":"22.15.0","_hasShrinkwrap":false,"devDependencies":{"react":"^19.1.0","typescript":"^5.8.3","@aioha/aioha":"^1.7.0","@types/react":"^19.1.8"},"peerDependencies":{"react":"^19.1.0","@aioha/aioha":"^1.7.0"},"_npmOperationalInternal":{"tmp":"tmp/react-provider_1.7.0_1753257835382_0.09735142740398728","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."}},"time":{"created":"2024-07-01T04:00:27.042Z","modified":"2025-10-31T03:38:28.491Z","1.0.0":"2024-07-01T04:00:27.370Z","1.0.1":"2024-07-01T04:07:17.243Z","1.0.2":"2024-07-01T04:11:45.815Z","1.0.3":"2024-07-01T05:02:18.827Z","1.4.0":"2024-07-31T08:10:57.771Z","1.4.1":"2024-07-31T08:45:56.682Z","1.6.0":"2025-04-26T05:56:36.243Z","1.7.0":"2025-07-23T08:03:55.610Z"},"bugs":{"url":"https://github.com/aioha-hive/react-provider/issues"},"author":{"name":"techcoderx"},"license":"MIT","homepage":"https://aioha.dev","keywords":["aioha","react","hive","blockchain","authentication"],"repository":{"url":"git+https://github.com/aioha-hive/react-provider.git"},"description":"React provider for Aioha","maintainers":[{"name":"techcoderx","email":"npmpkgs@techcoderx.com"}],"readme":"# Aioha React Provider\n\nReact provider for Aioha for React apps that are **not** using the [ready-made UI](https://github.com/aioha-hive/react-ui).\n\nThis module is used and provided in the ready-made UI so there is no need to install this separately.\n\n## Installation\n\n```sh\npnpm i @aioha/react-provider @aioha/aioha\n```\n\n## Usage\n\n1. Initialize Aioha and setup provider at the root of your application. This may be in `index.jsx`, `index.tsx` or `App.tsx` depending on the framework you use.\n\n```tsx\nimport { initAioha } from '@aioha/aioha'\nimport { AiohaProvider } from '@aioha/react-provider'\n\n// See options: https://aioha.dev/docs/core/usage#instantiation\nconst aioha = initAioha()\n\nconst App = () => {\n  return (\n    <AiohaProvider aioha={aioha}>\n      <TheRestOfYourApplication />\n    </AiohaProvider>\n  )\n}\n```\n\n2. Use Aioha anywhere within `AiohaProvider` through `useAioha()`.\n\n```tsx\nimport { useAioha } from '@aioha/react-provider'\n\nexport const AiohaPage = () => {\n  const { aioha, user, provider, otherUsers } = useAioha()\n\n  // rest of your page goes here\n}\n```\n\nLogged in username and provider may be retrieved through `user` and `provider` variables. Other authenticated accounts can be retrieved through `otherUsers` variable.","readmeFilename":"README.md"}