{"_id":"react-auth-navigation","_rev":"52-30bc235bf77149af8f44a1d3fa826817","time":{"1.0.0":"2020-12-02T08:36:55.824Z","created":"2020-12-04T07:06:12.839Z","1.0.1":"2020-12-04T07:06:13.003Z","modified":"2022-05-14T06:31:34.147Z","1.0.2":"2020-12-04T08:08:39.162Z","1.0.3":"2020-12-15T03:50:44.749Z","1.0.4":"2021-07-05T10:36:54.246Z","1.0.5":"2021-07-05T14:17:20.610Z","1.0.6":"2021-09-20T01:56:06.261Z","1.0.7":"2021-11-10T13:39:50.020Z","1.0.8":"2021-11-11T03:49:55.864Z","1.0.9":"2021-11-11T03:54:28.756Z","1.1.0":"2022-01-10T04:36:51.177Z","1.1.1":"2022-01-11T06:12:16.127Z","1.1.1-alpha1":"2022-01-11T10:44:21.425Z","1.1.1-alpha2":"2022-01-11T11:10:53.635Z","1.1.1-alpha3":"2022-01-11T11:19:27.600Z","1.1.1-alpha4":"2022-01-13T05:41:23.376Z","1.1.1-alpha5":"2022-01-13T05:51:43.033Z","1.1.1-alpha6":"2022-01-13T06:17:53.285Z","1.1.1-alpha7":"2022-01-13T06:33:42.718Z","1.1.1-alpha8":"2022-01-13T06:38:05.440Z","1.1.1-alpha9":"2022-01-13T07:03:43.452Z","1.1.1-alpha10":"2022-01-13T07:30:34.443Z","1.1.1-alpha11":"2022-01-13T09:10:49.422Z","1.1.1-alpha12":"2022-01-13T09:13:00.359Z","1.1.1-alpha13":"2022-01-14T05:02:34.554Z","1.1.1-alpha14":"2022-01-14T05:07:14.472Z","1.1.1-alpha15":"2022-01-14T05:11:01.360Z","1.1.1-alpha16":"2022-01-14T05:24:40.484Z","1.1.1-alpha17":"2022-01-14T05:26:34.703Z","1.1.2":"2022-01-14T05:41:09.338Z","1.2.0":"2022-01-16T06:25:07.949Z","1.2.1":"2022-02-11T04:35:35.530Z"},"name":"react-auth-navigation","dist-tags":{"latest":"1.2.1"},"versions":{"1.0.2":{"name":"react-auth-navigation","version":"1.0.2","description":">  *React library for authenticated routes*","main":"dist/index.js","scripts":{"build":"rollup -c","start":"rollup -c -w","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/dipeshrai123/react-auth-navigation.git"},"keywords":[],"author":"","license":"MIT","bugs":{"url":"https://github.com/dipeshrai123/react-auth-navigation/issues"},"homepage":"https://github.com/dipeshrai123/react-auth-navigation#readme","peerDependencies":{"react":">=16.13.1","react-dom":">=16.13.1","react-router-dom":">=5.2.0"},"dependencies":{},"devDependencies":{"@types/react":"^17.0.0","@types/react-dom":"^17.0.0","@types/react-router-dom":"^5.1.6","babel-core":"^6.26.3","babel-runtime":"^6.26.0","react":"^17.0.1","react-dom":"^17.0.1","react-router-dom":"^5.2.0","rollup":"^2.34.0","rollup-plugin-typescript2":"^0.29.0","typescript":"^4.1.2"},"gitHead":"e2dd740f71567014ec46798a520128ad42940809","_id":"react-auth-navigation@1.0.2","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-lkKVGsctBHQcyylm4aTyTMZrGEf9RmqRawzhZ+6N3ip+YkRWl+AoGsjI6I4aTWH9zATVq9VeyKFh5PCnp0Hkhg==","shasum":"47d0d26bab94fb5d509adfcb626a769e185bd596","tarball":"https://registry.npmjs.org/react-auth-navigation/-/react-auth-navigation-1.0.2.tgz","fileCount":13,"unpackedSize":63357,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfye6HCRA9TVsSAnZWagAAYnYP/054VSfiWhpbmn1oCGoO\nU9fA708ihcsj2NYDOhj/GdUXtz2xEeskLLWa7Db6v294YtyleFkcwYgo2dqr\nmFIvaKgDoIpIvVPnKfgkasN/cz5GsHrEcszgllqAGgs8FB69ae9j8wvYyX9q\nWzaNMgRiNmr/9RqW+w/w98Vg9r2ORRUAZcUupTGKyumEoIK3U1LmYnDbN3Ei\nT62L4hYemP8hwo8RrDE0GvoUuGp1iPLm+FpByq8EsYvdYK2amIZjlZ061bvE\numARKJLSHzIS1GYm6AmOdMypUACH3lSxUv8cGFFAyLeGhL1HLvAwOcWkPAyU\nvGiIMeJHvLhIjC3vCx6MfY9EPHipbgtUtdZttt9mEMD0Kr8Mi0aok+uO2kOs\nx3gh6cuIt4ZNOHI+kmotIbJX6/CAF/HZCRn8Ijw5X4NrljaMomx5XHiqMKhI\nn84DnUIZb8fo3hakdyv1YodNYIcpY1dyQt9HcQ5JltA9f0c8qNjUV8emJUYP\n/p6TeTDtZFAjjOo4kOQ2BighrE4SWet9KxKBhl02HqM8lPZyt8Jh0vznQ3fx\nmFDg7g8cecr+sS9s/EWrKOk/LKXlnWF8nPjEm7vLcaazs2RkUKn/3ZAKpeil\nhLu+BYb2DDQGDEOkJahTq9UizdiCeSCcFkQo4KrdSLGN1EXnc8REhNui0Gk2\nGg+i\r\n=aeOL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCRz9DpV4DaMJYHUZ4fMf2jdjWikPf3ss+802GC0Pot8gIgOkv5gs4tU10aP2w0TN09gEdsZj8/I2HK+TOlUAv847I="}]},"_npmUser":{"name":"raidipesh78","email":"raidipesh78@gmail.com"},"directories":{},"maintainers":[{"name":"raidipesh78","email":"raidipesh78@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-auth-navigation_1.0.2_1607069318981_0.7224892526239479"},"_hasShrinkwrap":false},"1.0.3":{"name":"react-auth-navigation","version":"1.0.3","description":"> React library for authenticated routes","main":"dist/index.js","scripts":{"build":"rollup -c","start":"rollup -c -w","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/dipeshrai123/react-auth-navigation.git"},"keywords":[],"author":"","license":"MIT","bugs":{"url":"https://github.com/dipeshrai123/react-auth-navigation/issues"},"homepage":"https://github.com/dipeshrai123/react-auth-navigation#readme","peerDependencies":{"react":">=16.13.1","react-dom":">=16.13.1","react-router-dom":">=5.2.0"},"dependencies":{},"devDependencies":{"@types/react":"^17.0.0","@types/react-dom":"^17.0.0","@types/react-router-dom":"^5.1.6","babel-core":"^6.26.3","babel-runtime":"^6.26.0","react":"^17.0.1","react-dom":"^17.0.1","react-router-dom":"^5.2.0","rollup":"^2.34.0","rollup-plugin-typescript2":"^0.29.0","typescript":"^4.1.2"},"gitHead":"a34504e72987b7fffa9456a04f10e14c70fd28c4","_id":"react-auth-navigation@1.0.3","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-PStNbmycrxn10zBzyYXA6Zojql4ODijKvNAleTgkg84Cg9VhDSuDmrBGJmLbGAD2ayvpoPQIq83Drz7ny/8CMw==","shasum":"bceb05a5004ffcce7e58b1b7f73d0dbbabdd91d6","tarball":"https://registry.npmjs.org/react-auth-navigation/-/react-auth-navigation-1.0.3.tgz","fileCount":13,"unpackedSize":63354,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf2DKVCRA9TVsSAnZWagAAhs4P/1PoXncOl2VXYOQlxc3w\n9iHOvKcCIFkMEpIEgUSvGTEDepOG5SYAXmuJkoC/ppL2jgSM1/lXPPqbbPsn\nzCmXKtQUZk8QixMZjw71La08JSvBuiQoWd5JV4YKfZjoH2ScK88Xvh8YSPH1\nz65sRF4xyoib/pwPmJmOzkNjQdxL7ljgrFWF0996Jtd+syu4kVABraGFDJzO\nO1dpNRF/Z20jBWsT9/imwAhhHzKs7sowzJBoljupJl0yD3wTEvFIq9M0nLM3\n4FDH334+sUXQTT17JLNY8CqCfQ1o04l5mXewbxUIZKbrqrzReIfvlKCOll4D\n5Eafy0U+/rZaq0IF9ZzC8gHf6ZbD7+IY9phkPHZ22mEIWsXlhy5Y55IjNDTJ\nxQIr22tYKKyCFh3p3xEIu/lRfqAooyrar4rDnYqQ5PoxXqjDGHlxkZvLDTz/\nFmLM07Jg4u3kzmI11DkmJg7VOWQfV2TrUzpWJ07Cmk6lweh16hC1ComTKgMy\nojPuJaFwCOFsAIxzomRfCJUCjaYMGSFISVh+2tgm1TWIW93kAslZZEEycluT\nUoekKy30FLvn59nYf4NbQZiyyezIRKK1lCgFpyAr1sUM4i6YcCKQlUsk9q9N\nRSujrN5b51yJvyc8PhxFFzYaJNHV4SAbMn8E1EzOGJnTpQtFS3hJsT2PHWh1\nYSlE\r\n=c+/I\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGzeFPfukxMsNbSvQFbJpVvDRMA9iYj4BUmWQ7Ud1W+sAiEAgqSjYQx2Fqbkkn+tvs9zitftpdRM9NjT07zBEJHq0x8="}]},"_npmUser":{"name":"raidipesh78","email":"raidipesh78@gmail.com"},"directories":{},"maintainers":[{"name":"raidipesh78","email":"raidipesh78@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-auth-navigation_1.0.3_1608004244562_0.1615326845204017"},"_hasShrinkwrap":false},"1.0.4":{"name":"react-auth-navigation","version":"1.0.4","description":"React library for authenticated routes","main":"dist/index.js","scripts":{"build":"rollup -c","start":"rollup -c -w","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/dipeshrai123/react-auth-navigation.git"},"keywords":[],"author":"","license":"MIT","bugs":{"url":"https://github.com/dipeshrai123/react-auth-navigation/issues"},"homepage":"https://github.com/dipeshrai123/react-auth-navigation#readme","peerDependencies":{"react":">=16.13.1","react-dom":">=16.13.1","react-router-dom":">=5.2.0"},"dependencies":{},"devDependencies":{"@types/react":"^17.0.0","@types/react-dom":"^17.0.0","@types/react-router-dom":"^5.1.6","babel-core":"^6.26.3","babel-runtime":"^6.26.0","react":"^17.0.1","react-dom":"^17.0.1","react-router-dom":"^5.2.0","rollup":"^2.34.0","rollup-plugin-typescript2":"^0.29.0","typescript":"^4.1.2"},"gitHead":"17e245c1ec9ba1dd5c81bb691a5c3441ff10a58a","_id":"react-auth-navigation@1.0.4","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-mjdac5Drq0xWbqMqHIFXtCsWbqUgxjNKiiYMXzS+KUyNOOyy7YobIsIXqH3j6z3lb1XRIGwHtmEQj5hheVKWag==","shasum":"36e16c1471669efe8ecab3eb91f00ee8b56763c7","tarball":"https://registry.npmjs.org/react-auth-navigation/-/react-auth-navigation-1.0.4.tgz","fileCount":13,"unpackedSize":64657,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg4uDGCRA9TVsSAnZWagAA3p0P/iAiw3Mvvx0WhZ/rn5BE\ncW906MPGWxW4hxxotVqg6zPfQdcQEgw746bPIGofbQ2oW4j5AQowBhNght+M\nSfj7+ZtBEu5vEl5BTlcT5aQ+e1NaVo6r8+VvpiJPjrv+r58tL321jTLjSTty\nMI6fkUjskYb2TExeATb9VGYr5gu0cMG63bjVUB7cDjGfFXAuvQHIo+5lobsZ\nlUmUacHzDmyyLYyoBZPTz4TFhyBe2H48RHjFCygytVL1XKqyxNR5Vzh23R2r\ndVLSirrnHEDSN+Dke+ncoDIJrbU45x3a8vKw6fEaoXXYC2we8MNdgdjypjB1\nasugbA43Kt1HMQ20OxxCabQwJosrILc5xYx+661T1f46YVYW3xYalW76qFkt\nipH4EeUlEHl8flKBQSfIg970GRpDoDT00aQWV+mb9FPrTc3qVN8nJyAukzr3\nuQvtkfBBFBWXIWeQq0wbAwB2wmjw13TnV2t6/UoiJQ9s+xi4bEkcCpzr9avi\nR4LkoM1lu8FvPkh6k9cMdKwNDHetfxGR7Zb48KXsE8Kn+9b7uzSlTY90CK8P\nYTGd/VXlXL2v/50dlA33oN8NykQ2oPCmZ93RRy9qOS/uYAiJWEs+g/5x8Zm+\nz9WnTM/b2ZKkDQZdRhplD3zO9yncW5F2qvTk4ftd64401FUO1cJ4soTQYoFd\njvLE\r\n=OPSB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCA3lgP6JvV8xvxsIrcxFsste6RNXLu9V7C10sTWJswFQIhAId4tuG83Yeasy7WeOexCm4iUuBJlq+b9qzVQLQb6w80"}]},"_npmUser":{"name":"raidipesh78","email":"raidipesh78@gmail.com"},"directories":{},"maintainers":[{"name":"raidipesh78","email":"raidipesh78@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-auth-navigation_1.0.4_1625481414098_0.8853927977884486"},"_hasShrinkwrap":false},"1.0.5":{"name":"react-auth-navigation","version":"1.0.5","description":"React library for authenticated routes","main":"dist/index.js","scripts":{"build":"rollup -c","start":"rollup -c -w","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/dipeshrai123/react-auth-navigation.git"},"keywords":[],"author":"","license":"MIT","bugs":{"url":"https://github.com/dipeshrai123/react-auth-navigation/issues"},"homepage":"https://github.com/dipeshrai123/react-auth-navigation#readme","peerDependencies":{"react":">=16.13.1","react-dom":">=16.13.1","react-router-dom":">=5.2.0"},"dependencies":{"react-ui-animate":"^1.1.5"},"devDependencies":{"@types/react":"^17.0.0","@types/react-dom":"^17.0.0","@types/react-router-dom":"^5.1.6","babel-core":"^6.26.3","babel-runtime":"^6.26.0","react":"^17.0.1","react-dom":"^17.0.1","react-router-dom":"^5.2.0","rollup":"^2.34.0","rollup-plugin-typescript2":"^0.29.0","typescript":"^4.1.2"},"gitHead":"ac604c30065a9445f24800ebbaacca26625b20ea","_id":"react-auth-navigation@1.0.5","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-C2woURhD5EKokMv5+NgPGNGDKJNGeYXhVHLjVKHLBoWHUJKXNVnM0YAuTZ8iEZAZ3O9sstI35rI828eE7lmgqw==","shasum":"1af6e4f6e61494059326490d5341466892c71340","tarball":"https://registry.npmjs.org/react-auth-navigation/-/react-auth-navigation-1.0.5.tgz","fileCount":13,"unpackedSize":76507,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg4xRxCRA9TVsSAnZWagAAYxMP/08WiiphwwcMMWGdc4p5\nwJ+rxFJn0SVdwhUbxkvBrjuXlxXRUakGyyIJYITj4u/RVi0aoTK14xLIxrVv\nu/REDA2ugmItebhvdHEv2hJk8oiRh/FhL6tViy1125mqFrqAaG34T5VMR/RV\n5tbrsZpgPFPQzRCtN3pmCIgC9ttUjWqatEee0YgZZzhoe96DcE4tQZ2LqQ/a\ntGIoF8bEP3tjlbIX6WBcUcygxQoVx0sfJJyWRb1Ye/vUX40A7u3m0plqo1WI\nw8nVr9S1cZUVycd06lnZr3jlgX6Lf54rQzPPcTEn8S4SOVMl5tC8ASBg8axM\nBIFa0kQVvtGoW0bjCEUVjaFbG4iEq8K0VIY12YkdnNtEgvvZCJrFA3iCKhzq\nedNy8m1+pMj5jvHyc3nkROegrYWKxKgqPeE4knpTY9osCmMvFRwJ7KsMVrp6\nezjcJVm7JhuhWFOVL5It8PwT+PANzDP0S8nAQHE2SD19MRmHp+mimAG022/B\nlzHAibxCmt2R7GRreYBU+o3IOvupfTX4z9e+CskhpupUBnxmzQeVl5O5ZUm0\njsoxsfxF8pQvjah/wG9Y4kekX/cb3fCBHx6zLbRk5d69oOMIQnPcq/F6+d57\nxbbcmvFAv6y293AOYhMWASLGH6uGlk2IcunzMNdia+Gd/SyQkKAdVKNCVjJ3\n7PPD\r\n=DShC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBWyCN41UZJXDFj85LdinHl+/NZVSSZRc/yH85xDP1qAAiB4BpyziLChlAcSdhoAWt3dk+l0tTrX/PxRtr9qL1Cnwg=="}]},"_npmUser":{"name":"raidipesh78","email":"raidipesh78@gmail.com"},"directories":{},"maintainers":[{"name":"raidipesh78","email":"raidipesh78@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-auth-navigation_1.0.5_1625494640432_0.45772255083256397"},"_hasShrinkwrap":false},"1.0.6":{"name":"react-auth-navigation","version":"1.0.6","description":"React library for authenticated routes","main":"dist/index.js","scripts":{"build":"rollup -c","start":"rollup -c -w","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/dipeshrai123/react-auth-navigation.git"},"keywords":[],"author":"","license":"MIT","bugs":{"url":"https://github.com/dipeshrai123/react-auth-navigation/issues"},"homepage":"https://github.com/dipeshrai123/react-auth-navigation#readme","peerDependencies":{"react":">=16.13.1","react-dom":">=16.13.1","react-router-dom":">=5.2.0"},"dependencies":{"react-ui-animate":"^1.1.5"},"devDependencies":{"@types/react":"^17.0.0","@types/react-dom":"^17.0.0","@types/react-router-dom":"^5.1.6","babel-core":"^6.26.3","babel-runtime":"^6.26.0","react":"^17.0.1","react-dom":"^17.0.1","react-router-dom":"^5.2.0","rollup":"^2.34.0","rollup-plugin-typescript2":"^0.29.0","typescript":"^4.1.2"},"gitHead":"54f7c4baedfc4d51c2550c80adbb906432168e1c","_id":"react-auth-navigation@1.0.6","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-cQBRWX2w6KIavQeurrczQ9Dp1BWoUXI2NREpLQyXmoNyse6CkHEp439yVbp9H6hFIacvU9U+2cCEppDdcbfXIQ==","shasum":"f4d923c0d4f8fe30f59461b87c964c334520304d","tarball":"https://registry.npmjs.org/react-auth-navigation/-/react-auth-navigation-1.0.6.tgz","fileCount":13,"unpackedSize":76686,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGRcAs0vHUh20mSxgdtCGd6J7LMq0jaSCUSOwSrbm7rkAiBtH0kZtqdfxZYKqIPAmU3cdbrEhNc21CZ4biaJgmqlEQ=="}]},"_npmUser":{"name":"raidipesh78","email":"raidipesh78@gmail.com"},"directories":{},"maintainers":[{"name":"raidipesh78","email":"raidipesh78@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-auth-navigation_1.0.6_1632102966105_0.1511387826036228"},"_hasShrinkwrap":false},"1.0.7":{"name":"react-auth-navigation","version":"1.0.7","description":"React library for authenticated routes","main":"dist/index.js","scripts":{"build":"rollup -c","start":"rollup -c -w","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/dipeshrai123/react-auth-navigation.git"},"keywords":[],"author":"","license":"MIT","bugs":{"url":"https://github.com/dipeshrai123/react-auth-navigation/issues"},"homepage":"https://github.com/dipeshrai123/react-auth-navigation#readme","peerDependencies":{"react":">=16.13.1","react-dom":">=16.13.1","react-router-dom":">=5.2.0"},"dependencies":{"react-spring":"^9.3.0"},"devDependencies":{"@types/react":"^17.0.0","@types/react-dom":"^17.0.0","@types/react-router-dom":"^5.1.6","babel-core":"^6.26.3","babel-runtime":"^6.26.0","react":"^17.0.1","react-dom":"^17.0.1","react-router-dom":"^5.2.0","rollup":"^2.34.0","rollup-plugin-typescript2":"^0.29.0","typescript":"^4.1.2"},"gitHead":"1740de5b9c151a784a5a66ca976d9647413780e7","_id":"react-auth-navigation@1.0.7","_nodeVersion":"14.15.5","_npmVersion":"6.14.11","dist":{"integrity":"sha512-i+YFfqOqeOmRI8ztyXCagUYJ0QMzM++xJv806JiQxY4Wskt7J3tyGU0r0JpJ5hy1G5+pE6m49sn5gHnLYszrsg==","shasum":"af0cc43f19c7ab90514d8a61de550bb205a08063","tarball":"https://registry.npmjs.org/react-auth-navigation/-/react-auth-navigation-1.0.7.tgz","fileCount":13,"unpackedSize":78441,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDxBsKk70VvCmFyJhlEe3Gb41mAAgh1h8F8ktIfZZey4AiA6S6b/CVoZyyrU/f9WQqhdPprv48fZlW8UAKu865xeFQ=="}]},"_npmUser":{"name":"raidipesh78","email":"raidipesh78@gmail.com"},"directories":{},"maintainers":[{"name":"raidipesh78","email":"raidipesh78@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-auth-navigation_1.0.7_1636551589820_0.33139817403411165"},"_hasShrinkwrap":false},"1.0.8":{"name":"react-auth-navigation","version":"1.0.8","description":"React library for authenticated routes","main":"dist/index.js","scripts":{"build":"rollup -c","start":"rollup -c -w","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/dipeshrai123/react-auth-navigation.git"},"keywords":[],"author":"","license":"MIT","bugs":{"url":"https://github.com/dipeshrai123/react-auth-navigation/issues"},"homepage":"https://github.com/dipeshrai123/react-auth-navigation#readme","peerDependencies":{"react":">=16.13.1","react-dom":">=16.13.1","react-router-dom":">=5.2.0"},"dependencies":{"react-spring":"^9.3.0"},"devDependencies":{"@types/react":"^17.0.0","@types/react-dom":"^17.0.0","@types/react-router-dom":"^5.1.6","babel-core":"^6.26.3","babel-runtime":"^6.26.0","react":"^17.0.1","react-dom":"^17.0.1","react-router-dom":"^5.2.0","rollup":"^2.34.0","rollup-plugin-typescript2":"^0.29.0","typescript":"^4.1.2"},"gitHead":"52d6f787aeef3fd258e56abfdaad43528e91418c","_id":"react-auth-navigation@1.0.8","_nodeVersion":"14.15.5","_npmVersion":"6.14.11","dist":{"integrity":"sha512-rBnL+tIRme8kOtYe7uqD9tJMpXZiriS+/xO+sC6pLbV//MukP0BV1mW+cSLlgJbvMjtaiHUNPSOa1fuJrxQORA==","shasum":"41a618e2a7304464328b206ffcce3b2533a346e3","tarball":"https://registry.npmjs.org/react-auth-navigation/-/react-auth-navigation-1.0.8.tgz","fileCount":13,"unpackedSize":66404,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH0YTpc/1wvZSR/q760JaimAJSnqF4tytPM+fcb/cElMAiEAwEkEb0tjcN3F45FM2v+IKxkDyx5CNB+8N9R/rM80eks="}]},"_npmUser":{"name":"raidipesh78","email":"raidipesh78@gmail.com"},"directories":{},"maintainers":[{"name":"raidipesh78","email":"raidipesh78@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-auth-navigation_1.0.8_1636602595708_0.4367734078576213"},"_hasShrinkwrap":false},"1.0.9":{"name":"react-auth-navigation","version":"1.0.9","description":"React library for authenticated routes","main":"dist/index.js","scripts":{"build":"rollup -c","start":"rollup -c -w","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/dipeshrai123/react-auth-navigation.git"},"keywords":[],"author":"","license":"MIT","bugs":{"url":"https://github.com/dipeshrai123/react-auth-navigation/issues"},"homepage":"https://github.com/dipeshrai123/react-auth-navigation#readme","peerDependencies":{"react":">=16.13.1","react-dom":">=16.13.1","react-router-dom":">=5.2.0"},"dependencies":{},"devDependencies":{"@types/react":"^17.0.0","@types/react-dom":"^17.0.0","@types/react-router-dom":"^5.1.6","babel-core":"^6.26.3","babel-runtime":"^6.26.0","react":"^17.0.1","react-dom":"^17.0.1","react-router-dom":"^5.2.0","rollup":"^2.34.0","rollup-plugin-typescript2":"^0.29.0","typescript":"^4.1.2"},"gitHead":"db8f96b5717e2e16fc7b5416ab9844ea147ea49b","_id":"react-auth-navigation@1.0.9","_nodeVersion":"14.15.5","_npmVersion":"6.14.11","dist":{"integrity":"sha512-iryAxBVdjGwRP8L+ltbfgXvSLYVxbzWhJ4zOXcWVqudMqp5iqcBYU0CKmTOGgTigwbWVH6kaJZR/aiWkJ2jL7g==","shasum":"db59a304cd498364e47d2f0d5cae125c16d966b0","tarball":"https://registry.npmjs.org/react-auth-navigation/-/react-auth-navigation-1.0.9.tgz","fileCount":13,"unpackedSize":66370,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh24FHCRA9TVsSAnZWagAA/oQP/2SymDnCX+DtsYlY9zXe\nqlJxX0iWmXzoNAhW5+7PACCBr/BT9bzxQCWntInwGERvZ3MvxlvzIi3JRr9j\ngPjkW4WyuSyEo9I376wrICCL07lh+JrI9wwdTMU5X9ljGZ2w+oCfILg0X37A\nLiM14mxeW235kIE+hd/Yh4ZJXdioj1mDI9AUXzwP845NxB+C4M4iwZB5knyB\nNObAQFE3mqpoptOzymYHI9n3/S2NK96YsspLANWUrHhrWSZYhrX5wiKCxkpA\nCJr1cGcr7Z519oF3IWIjeTQS8MUg1bMD0hLdmERwmcNeepj5jfqZpA3SQ13c\nPKj2AvKsNUAjiJ7PTVLHM6d9Fj4qwkV3Z+wIUxtjVWA1j8d/BqGM455YP6zS\nfPZKtXtQBvTCOfwnfhKJk96QzZ7MqbGniX0Vw2i+9QkFJAxVyzpfrfgfVTVz\nFbeC/GnA3cvRsfoWHeIHnJyZO7BoBvPCLaEp194MkoQJLFIC87j7FYdy0Qd0\nx75/MPjzIqptXemwl3XlefLpTQyOxb1xua0g30UjN8joheNP2gCFDlYwX9Hv\nH6pzLDVn174yUe4IhMe5Cpw01EOLnvnJSnwhf1zppXA77vwkmW09ESxP912e\nvgJcAstnAOVIWqhHKfySpc663QyU8YCYva47afBWiFm4RQFFDbxUTRlsZXXq\nG8oz\r\n=YX+F\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG4qdPhGn8xaMV1+MO0d+17NMBnRm3CnzeuRJDPN+4VYAiA3D0eCqooL/MUKShSFEyI8N6aaRum3qzdfD21hTGm97A=="}]},"_npmUser":{"name":"raidipesh78","email":"raidipesh78@gmail.com"},"directories":{},"maintainers":[{"name":"raidipesh78","email":"raidipesh78@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-auth-navigation_1.0.9_1636602868615_0.5547525644289872"},"_hasShrinkwrap":false},"1.1.0":{"name":"react-auth-navigation","version":"1.1.0","description":"React library for authenticated routes","main":"dist/index.js","scripts":{"build":"rollup -c","start":"rollup -c -w","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/dipeshrai123/react-auth-navigation.git"},"keywords":[],"author":"","license":"MIT","bugs":{"url":"https://github.com/dipeshrai123/react-auth-navigation/issues"},"homepage":"https://github.com/dipeshrai123/react-auth-navigation#readme","peerDependencies":{"react":">=16.13.1","react-dom":">=16.13.1","react-router-dom":">=5.2.0"},"dependencies":{},"devDependencies":{"@types/react":"^17.0.0","@types/react-dom":"^17.0.0","@types/react-router-dom":"^5.1.6","babel-core":"^6.26.3","babel-runtime":"^6.26.0","react":"^17.0.1","react-dom":"^17.0.1","react-router-dom":"^5.2.0","rollup":"^2.34.0","rollup-plugin-typescript2":"^0.29.0","typescript":"^4.1.2"},"gitHead":"b17cb50a6e299965819990b63c4e2a9565a50844","_id":"react-auth-navigation@1.1.0","_nodeVersion":"14.15.5","_npmVersion":"6.14.11","dist":{"integrity":"sha512-g+1c+CD5Wgo2UV7n+tXo41YdOiDAg1R+3mtmEFKsp3WFvHty4jQuvKT/pc4Mo2UH+B7YYpd4cmENFX5xbYvdsg==","shasum":"531150ffd6d67f44977b8d031d01face1bf2e218","tarball":"https://registry.npmjs.org/react-auth-navigation/-/react-auth-navigation-1.1.0.tgz","fileCount":13,"unpackedSize":67243,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh27fjCRA9TVsSAnZWagAAppwP/Azx1gS+A8uvFDwQVStW\nEmTqR+9RJvnxwRpaof63ewEziqSJkfooaL1hHCzIKdDRtJdLzjXQy+isB4Eh\nQjn/dhXkDhUemOLdaGWJqMhS3rSLSrik4fUpb9v1BdtzWKO5+qNvqHYxMYVV\nng1o2l+/l5RD9fYylils/jMb7HqOU27uc6QQs72s3XkwQQigZckx5N5Dcuks\n1+f8j3/zIsP0sKj23YwAYwO9NsgC+rKwZeK/q+r0fdQw1sHgEMMsOsu032Wc\naKzoXIvKiep6UEkz/EIwP4jxZDrc6SDQNoruQU8dzrSTEmtIpUX+E/jsRlaz\nEtpquK1L7xkzGfPrbrX/AunfqLQHXasWpBl8qlLQ9pxNjwB1K+DViOkHNl/3\nIYp1v0IEO/ud3xiflepmX51a8hr8UNpuEOu+h7Y04tQm6CYcQTlCwvTOcvBv\nsWNYDGV1XXpZqLunoblgcaK+ojNPGjLy4e05ojIsCCXlxUeablhOA4dwO5XU\nf3w9nBKpwBWjjsucV0Q8iIy6T+p7uA2DPXK4Nplzxm5voI3mzDSloCDvdxGE\nIj5QMHXKsdlcMgWNpTOIe50rTJ5EQvWM/HmCgN6OMzeicd92WIsOEX5GIDWx\nn1SnZ12QP13mkKaRS+DdYTMKhkuBhdb5tEgRb7D+a7Ez6zLIt1eJOWr+JEqB\nmZtf\r\n=Ah5y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDX/RXK5UDXCTcuHTVbM+dJ00ea159XRO4YY52EeCy33wIgE9IkmreONGDTbIbrXi1IHab95ahMxEBZ6zhr3vtIJJg="}]},"_npmUser":{"name":"raidipesh78","email":"raidipesh78@gmail.com"},"directories":{},"maintainers":[{"name":"raidipesh78","email":"raidipesh78@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-auth-navigation_1.1.0_1641789410996_0.5773742486367417"},"_hasShrinkwrap":false},"1.1.1":{"name":"react-auth-navigation","version":"1.1.1","description":"React library for authenticated routes","main":"dist/index.js","scripts":{"build":"rollup -c","start":"rollup -c -w","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/dipeshrai123/react-auth-navigation.git"},"keywords":[],"author":"","license":"MIT","bugs":{"url":"https://github.com/dipeshrai123/react-auth-navigation/issues"},"homepage":"https://github.com/dipeshrai123/react-auth-navigation#readme","peerDependencies":{"react":">=16.13.1","react-dom":">=16.13.1","react-router-dom":">=5.2.0"},"dependencies":{},"devDependencies":{"@types/react":"^17.0.0","@types/react-dom":"^17.0.0","@types/react-router-dom":"^5.1.6","babel-core":"^6.26.3","babel-runtime":"^6.26.0","react":"^17.0.1","react-dom":"^17.0.1","react-router-dom":"^5.2.0","rollup":"^2.34.0","rollup-plugin-typescript2":"^0.29.0","typescript":"^4.1.2"},"gitHead":"4b027a0500e575a4d88adda71f4937b97cf6bd9f","_id":"react-auth-navigation@1.1.1","_nodeVersion":"14.15.5","_npmVersion":"6.14.11","dist":{"integrity":"sha512-LwKNHh7wcZT5Bk/SnMOGQvGSCmcPGwIStL6NP84ahy6GV5rMcf3Ee2E+kql+N8/bKnKPE/+9Mrt3HZeg2GBX7A==","shasum":"d8e0e07a5b5038996513b08f4cbdc7784f8896a0","tarball":"https://registry.npmjs.org/react-auth-navigation/-/react-auth-navigation-1.1.1.tgz","fileCount":13,"unpackedSize":67495,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh3R/ACRA9TVsSAnZWagAARjQP/jwroK7WE00/0T6uHhR2\nTvhX5j6ht/70QD7+BVAJkXWnPIOUTP2dJV5mBfiIlyWQZCadVeFKmtF4Sz39\nPLHk3TkVTL1JwlCqi9KsF2vmC10t86OpAPB1jbI5eJ1YYnSH//Sdy2Lveh3c\nDk1oNNtIxpb20WslHA4cEWpJJuTeDW+3Ufu77i+0kFN3/Bk3iPEofTCDpYhf\n6Deyx012mtWwSevYYZeiHeoPTIMhTFvgsyRBOGPj0yo6lV+2w0J6AyaajiOu\nVjkvkelrQVE74hV7a2sl4oy2Xb5KpQxVkm15YrqpBcOn/Io6QHHE4PIvV3/5\nFRPVzH2VXLiUkk/sMbmQpHGLYiZxiUQzh0RPVT94mdfp4LvLt4csybjb7imk\n3pW8riVu1AygBVuRn6YASAVVnidJst3Xxnw3DZTtGAAyH4pCaUuUFQimVaK7\nPeOThLO5VN+9W82AxNSgXaGLRJPf9AYrhvyXTGu/J4UEyvKb72dLdpzKg6Mr\nVHi5VR/sLh7VD30r4ElxdyoWH7edG0+nhxKlG5dABrSIKIYR9d+QMnSULuYW\nEgbPHBEn2VLz1I8kQiK2qoE/5T77xWR5FiJef96lmNL1Tislm8WU5/g1VnJO\nYEXV/5ZxSmDZzRCtiHC3XwdsvIVyGZEBtlbRN3jMFmOHY7sS1fyIbEokBma3\nLFNf\r\n=yV2J\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEBOSYYpnL2KuJADUEdnIzx1+lLD2vBkB00fniV757jlAiAyugnriLx84AeyumA1p3Vbc+JYGB3piTl4lSbZH6ddoA=="}]},"_npmUser":{"name":"raidipesh78","email":"raidipesh78@gmail.com"},"directories":{},"maintainers":[{"name":"raidipesh78","email":"raidipesh78@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-auth-navigation_1.1.1_1641881535958_0.08653455813005295"},"_hasShrinkwrap":false},"1.1.2":{"name":"react-auth-navigation","version":"1.1.2","description":"React library for authenticated routes","main":"dist/index.js","scripts":{"build":"rollup -c","start":"rollup -c -w","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/dipeshrai123/react-auth-navigation.git"},"keywords":[],"author":"","license":"MIT","bugs":{"url":"https://github.com/dipeshrai123/react-auth-navigation/issues"},"homepage":"https://github.com/dipeshrai123/react-auth-navigation#readme","peerDependencies":{"react":">=16.13.1","react-dom":">=16.13.1","react-router-dom":">=5.2.0"},"dependencies":{},"devDependencies":{"@types/react":"^17.0.0","@types/react-dom":"^17.0.0","@types/react-router-dom":"^5.1.6","babel-core":"^6.26.3","babel-runtime":"^6.26.0","react":"^17.0.1","react-dom":"^17.0.1","react-router-dom":"^5.2.0","rollup":"^2.34.0","rollup-plugin-typescript2":"^0.29.0","typescript":"^4.1.2"},"gitHead":"44020edf361a258e425d4981b1cbeb281744c7a2","_id":"react-auth-navigation@1.1.2","_nodeVersion":"14.15.5","_npmVersion":"6.14.11","dist":{"integrity":"sha512-WrH/HUo7kx0451IsYbBIZS829zLesMB+AVgrh8aUv2RmalRtdRHMgG0ouikHZoEtA40HEI7l9o90d/hVgG61uQ==","shasum":"145c9a2bb85894750a2c43743149b629f8858570","tarball":"https://registry.npmjs.org/react-auth-navigation/-/react-auth-navigation-1.1.2.tgz","fileCount":22,"unpackedSize":69948,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh4Qz1CRA9TVsSAnZWagAAysgQAIQeHmS6qNj5B3XW6kia\neR+TsDwKOFMnoP9pkAiEuRpxxaytoH5xVUoLoXcHiCW5GE4FEK7hBugb4PAj\no4BAp6oP21/FgEj4gjwcPqdF5lx2N5xTK9aekC/K39GE7aEvtIrEQysXY2M8\nz8VDdas5ZZwzZYIdd7zRyDbIByb0OocgN5Itfnf5T7pUC/2iPI8vtvQ1WUYn\nSd5GDnwxdhSfxCtIWgzP63Srye3EgudmAumI4Kwy+68+Xk9DObgpXA6FoDJ5\nUCmrLRsAYI6gtGS/4BEoppzJNL0ToHR28wjxRdqKye73JPVqUlsjj4QNE2wP\nxebhrdbdDIpLj1aS44NDvOlcOl9pRVKb1t0iBYZvtGmy0uMsiJUqxs71iPpc\ncluhphLH4vTFhcIiK15sYFQNYGDj+PFMRuv0HTHW0ONKTgH6tcCZEoAMr7UP\nUUtB+96smQkVa2bB+yNltbZIJyGzP98sS7o07dy4/4xPU8hHDvAcF23WYcgL\nttvG/j6KLr0mhv4u8GPzJUfPvInu2mUhsgwaQgwIRMzLFYXAbUfmUDAhCFMN\nCeAzkVCsn2WlVm5dsEh0EnFua19BAqmDyvAsc0o9vkOxD0cWcjcS/z8kzJf9\nWPmb2xshPW561EofFKdFuZkmu/v0+mOMzeJqRbP0gcgV6B5hmPmrYmzS8piN\n1sYz\r\n=fWv4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCcOOeJeHWTxp78Dw2QiytXPWlCHbAERLFOxinf2GLmKQIhAOICHWU3iOsDVWeYhRlzQXF95Xd8gqVkiw1gyoWtCKAq"}]},"_npmUser":{"name":"raidipesh78","email":"raidipesh78@gmail.com"},"directories":{},"maintainers":[{"name":"raidipesh78","email":"raidipesh78@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-auth-navigation_1.1.2_1642138869152_0.12557217298424006"},"_hasShrinkwrap":false},"1.2.0":{"name":"react-auth-navigation","version":"1.2.0","description":"React library for authenticated routes","main":"dist/index.js","scripts":{"build":"rollup -c","start":"rollup -c -w","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/dipeshrai123/react-auth-navigation.git"},"keywords":[],"author":"","license":"MIT","bugs":{"url":"https://github.com/dipeshrai123/react-auth-navigation/issues"},"homepage":"https://github.com/dipeshrai123/react-auth-navigation#readme","peerDependencies":{"react":">=16.13.1","react-dom":">=16.13.1","react-router-dom":">=5.2.0"},"dependencies":{},"devDependencies":{"@types/react":"^17.0.0","@types/react-dom":"^17.0.0","@types/react-router-dom":"^5.1.6","babel-core":"^6.26.3","babel-runtime":"^6.26.0","react":"^17.0.1","react-dom":"^17.0.1","react-router-dom":"^5.3.0","rollup":"^2.34.0","rollup-plugin-typescript2":"^0.29.0","typescript":"^4.1.2"},"gitHead":"2bb0504fe7b2aa420e65fbb2daebe99f9d329c4a","_id":"react-auth-navigation@1.2.0","_nodeVersion":"14.15.5","_npmVersion":"6.14.11","dist":{"integrity":"sha512-r7xJHdC0PRzK69STyTNuu14neBvqDZXJuos6FvGyTP826Q5Xh5u0hmyAstsKtC9GsADvLAm7loK87nd1j3mASg==","shasum":"a00b659e8d3232d291a0c28283f1be2a84446d53","tarball":"https://registry.npmjs.org/react-auth-navigation/-/react-auth-navigation-1.2.0.tgz","fileCount":28,"unpackedSize":70033,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh47pDCRA9TVsSAnZWagAA0YEP/1DjS4jM1F9k9C0ValfD\nlq9n3WurIwrrrd28TVJAJFfTv7V52+hoU7gzwOLNjU9/6LdcwS9EOiFDFWOX\nPpIj8yNVBYHk2oVLQ9PI7KpdcR29j3aJl2W8VrweqjiUz5hrvjGJzuKcl2Qd\nTRPEgptc8myfT8GDdpdHCO47P3tNyngtXVdyuoOO5qTF0BqqXihd/Y3xVmpv\nXk7fepMAgHZNgtyhzKCZMH5zK43NuC61KmWe+VsriW5EG4IQon+Kn6ZtffLD\nnjYnrP1d1TAOu1AiOB2I6raZ1C/fIDvSCpRzA7w075WKbnoJ1YCX6si6G6rb\n1lkLa0haKDwmCRv9XIMpNxqVs9FVdNfK+HVS1OfQrvLT5FJMVl5Rs4H/cXnf\n01owXvWXGTMe0JThdzMu84RwMhMyE/3SqRJop+23SvkJlBUkcQP3Pcq1w+C9\nTqhorwT+Aab/Cn0jTRL9vaTRHcucV8mKcMRvScEdVEIi66kSZZkyktd8ErHA\npd6QLeeIZb7QDFMDs3TbTq0YIrmmABSROXQD2MbZqYSmWMJFRTv28OSddrNx\noGEYhi0C6b1pHW8HlyQdfxa7E+AWiRhQoiJV9Yflkh4vpXlSQvzfAGKT9BFw\nlibaTrx6qBhdUvP3n0/BC2ZyAaeLFEosxzkZ48SR1PMTzpNydXTQTyxFoxO+\nGMvG\r\n=wqnU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCkD9FIekoYERdR1VB+ckt10xB69nACEb6UEAsHwaG09gIhAPDmJbMiGZEOc1vqibnNlNTDH3wVYh4i24VS8j7mre+r"}]},"_npmUser":{"name":"raidipesh78","email":"raidipesh78@gmail.com"},"directories":{},"maintainers":[{"name":"raidipesh78","email":"raidipesh78@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-auth-navigation_1.2.0_1642314307802_0.27301278349120794"},"_hasShrinkwrap":false},"1.2.1":{"name":"react-auth-navigation","version":"1.2.1","description":"React library for authenticated routes","main":"dist/index.js","scripts":{"build":"rollup -c","start":"rollup -c -w","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/dipeshrai123/react-auth-navigation.git"},"keywords":[],"author":"","license":"MIT","bugs":{"url":"https://github.com/dipeshrai123/react-auth-navigation/issues"},"homepage":"https://github.com/dipeshrai123/react-auth-navigation#readme","peerDependencies":{"react":">=16.13.1","react-dom":">=16.13.1","react-router-dom":">=5.2.0"},"dependencies":{},"devDependencies":{"@types/react":"^17.0.0","@types/react-dom":"^17.0.0","@types/react-router-dom":"^5.1.6","babel-core":"^6.26.3","babel-runtime":"^6.26.0","react":"^17.0.1","react-dom":"^17.0.1","react-router-dom":"^5.3.0","rollup":"^2.34.0","rollup-plugin-typescript2":"^0.29.0","typescript":"^4.1.2"},"gitHead":"5d10a297dd662ec90d8ad23083344a7b903ae109","_id":"react-auth-navigation@1.2.1","_nodeVersion":"14.15.5","_npmVersion":"6.14.11","dist":{"integrity":"sha512-cwWC2nGGWdggOPKwo5lY3AV+vs9VdxsvK3NqMm9aswSwN50zrlPt9D8kZlNCY7nomUdFZsgrI2Tb5TWcsxbcrA==","shasum":"e22b45e824c4367b12978672c4d67780a5f3fdef","tarball":"https://registry.npmjs.org/react-auth-navigation/-/react-auth-navigation-1.2.1.tgz","fileCount":28,"unpackedSize":69844,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiBeeXCRA9TVsSAnZWagAAa04P/1fMQjgR8jPuKeTVQLC7\nRzvtQT6vlpZSFiQC94/8CNmpSQPS0Au3JfbfWYNJGoQl69Ctack1boDQFD2z\nyD3+xnkrfetUa7zP1WsBExoJVyCL817B2Y7xbqH+g1WQ167+ipNmhHkCv/gq\nZ0Tmt3IikQy8sl8I89IBAb2+Scip82Fo5e+KCdg6f7W2+Vf57F4aWORkTIiv\n14exgRz6juRxKfSWtjgHarDi6qmviuFKY0v6DNN0lBLdI+D1TjaINu81M/AT\n5FCfbksyLMNXRmfqK8ohOmtC3AXbfut0+J4ZKr1csR6nP4fpz64hrbsLpjw9\n3PYROL2AtzcF9FLQa/gPr/jHw1egfqV+v28vUuveFfdftKUzNWJxeme7vxpK\neE7ek+aTPs8JzbVDLnDd+PizSq/KTIXKyEt4Q90CohYO5mN/tASg7Hg3BqPK\nV0ipqT1EdP0C6lu8Dvpc5y2C2CSp2LSQBCsR/2e0pOH7cJPmjav2aCE9ImoS\n7Ih8ti5AB3CqiPsR0vnTLqbXbJylTwNxNlAjWbAQOa+qsf7gJjIPS+XIIjYk\nPvAOpHUv1ZrUf53g4Spuaaln6ICkCf5C+7VULZagYW2a7l49mrDmJVjqhvRQ\nmSvVaOAmcm/frvKGfR13MiCegEimx55ojH+pZkKwiEicMF55Nt/W8uj8FeX9\nTPwk\r\n=w4xY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCO5vu9/sqRXfK7MxnN0oUN5a5Q75y3rV/KPcoykdcdvgIgfE2a0RAAQ0xLXrumzhXB8a4dknb8+cTe98ReNkjw2L0="}]},"_npmUser":{"name":"raidipesh78","email":"raidipesh78@gmail.com"},"directories":{},"maintainers":[{"name":"raidipesh78","email":"raidipesh78@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-auth-navigation_1.2.1_1644554135379_0.7926510147073531"},"_hasShrinkwrap":false}},"maintainers":[{"name":"raidipesh78","email":"raidipesh78@gmail.com"}],"description":"React library for authenticated routes","homepage":"https://github.com/dipeshrai123/react-auth-navigation#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/dipeshrai123/react-auth-navigation.git"},"bugs":{"url":"https://github.com/dipeshrai123/react-auth-navigation/issues"},"license":"MIT","readme":"# react-auth-navigation\r\n\r\n> React library for authenticated routes\r\n\r\n[![NPM](https://shields.io/npm/v/react-auth-navigation.svg)](https://www.npmjs.com/package/react-auth-navigation) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)\r\n\r\n## Install\r\n\r\n```bash\r\n// with npm\r\nnpm i react-auth-navigation\r\n\r\n// with yarn\r\nyarn add react-auth-navigation\r\n```\r\n\r\n## Why is react-auth-navigation ?\r\n\r\nIt is a react library built on top of **react-router-dom**. React Auth Navigation provides us to create an authenticated routes and manages all the complicated routing and authenticating the users in client-side.\r\n\r\n## Usage\r\n\r\n### Navigation\r\n\r\nBefore we dive into creating authenticated routes, we should have some concept of **public**, **private** and **protected** routes.\r\n\r\nBut, What exactly are public, private and protected routes ?\r\n\r\n- **Public Routes** are those routes which can be accessed with or without login.\r\n- **Private routes** are those routes which cannot be accessed without login.\r\n- **Protected routes** are those types of public routes which cannot be accessed if a user is logged in.\r\n\r\nNow Lets create authenticated routes.\r\n\r\n#### withNavigation()\r\n\r\n**withNavigation()** is responsible for managing all routes and userRoles. **withNavigation()** hoc should be exported from root component. It accepts **Component** as _first argument_ and **Configuration Object** as _second argument_.\r\n\r\nLet us configure the _second argument_.\r\n\r\n- **routerType** _( optional )_ : It can be either \"hash\" or \"browser\". Default \"browser\".\r\n\r\n- **publicPaths** accepts an array of object with following keys:\r\n\r\n  - **key** _( string ) ( optional )_ : Defines unique key for each navigation route.\r\n  - **name** _( string )_ : Defines the name for a path and used as a routes key for **useNavigation()** hook keys if key is not passed.\r\n  - **path** _( string )_ : Defines the path for a component.\r\n  - **component** _( Component )_ : Defines a component for a path.\r\n  - **restricted** _( boolean )_ : If **true** then it is **protected** route otherwise **public**.\r\n  - **subPaths** _( array ) ( optional )_ : Accepts array of object with same as **publicPaths** array. It is used to make sub routes _( full-page routing )_.\r\n  - **nestedPaths** _( array ) ( optional )_ : Accepts array of object with same as **publicPaths** array. It is used to make nested routes _( component routing )_.\r\n  - **props** _( any ) ( optional )_ : Defines the props for each route keys.\r\n\r\n- **privatePaths** accepts an array of object with following keys:\r\n\r\n  - **key** _( string ) ( optional )_ : Defines unique key for each navigation route.\r\n  - **name** _( string )_ : Defines the name for a path and used as a routes key for **useNavigation()** hook keys if key is not passed.\r\n  - **path** _( string )_ : Defines the path for a component.\r\n  - **component** _( Component )_ : Defines a component for a path.\r\n  - **subPaths** _( array ) ( optional )_ : Accepts array of object with same as **publicPaths** array. It is used to make sub routes _( full-page routing )_.\r\n  - **nestedPaths** _( array ) ( optional )_ : Accepts array of object with same as **publicPaths** array. It is used to make nested routes _( component routing )_.\r\n  - **props** _( any ) ( optional )_ : Defines the props for each route keys.\r\n\r\n- **userRoles** is used to define the access routes for a particular user roles. accepts an object with following format:\r\n\r\n  ```typescript\r\n  ...\r\n  userRoles: {\r\n      ...\r\n      [userRole: string] : { access: Array<string> }\r\n  }\r\n  ```\r\n\r\n**Example**\r\n\r\nBasic example of routing.\r\n\r\nFirst create **publicPaths**, **privatePaths** and **userRoles**.\r\n\r\n```javascript\r\n// routes.js\r\n\r\nimport Page1 from \"./Pages/Page1\";\r\nimport Page2 from \"./Pages/Page2\";\r\n\r\nexport const publicPaths = [\r\n  {\r\n    name: \"Public\",\r\n    path: \"/public\",\r\n    component: Page1,\r\n    restricted: true,\r\n  },\r\n];\r\n\r\nexport const privatePaths = [\r\n  {\r\n    name: \"Private\",\r\n    path: \"/private\",\r\n    component: Page2,\r\n  },\r\n];\r\n\r\nexport const userRoles = {\r\n  user: { access: [\"/public\"] },\r\n  admin: { access: [\"*\"] }, // '*' defines to give access to all paths.\r\n};\r\n```\r\n\r\nNow lets use this with **withNavigation()** hoc.\r\n\r\n```javascript\r\n// app.js\r\nimport React from \"react\";\r\nimport { withNavigation } from \"react-auth-navigation\";\r\nimport { publicRoutes, privateRoutes, userRoles } from \"./routes\";\r\n\r\nconst App = () => {\r\n  return (\r\n    // ...\r\n  );\r\n};\r\n\r\nexport default withNavigation(App, {\r\n  publicPaths,\r\n  privatePaths,\r\n  userRoles,\r\n});\r\n```\r\n\r\nAnd that's it. Its all you should do to define the routes and user-roles.\r\n\r\n### Auth\r\n\r\nAuth provides 2 different HOCs which handles all the authentications defined by **withNavigation()** HOC.\r\n\r\n#### Auth\r\n\r\nIt lets you define the current state of a user i.e. ( logged state and logged role ) and allows us to define global state which can be accessed from any component with **useAuth()** hook.\r\n\r\nIt accepts two props:\r\n\r\n- **config** _( object )_\r\n\r\n  You must pass an config object to config prop. Object should be of following shape :\r\n\r\n  - **isLoggedIn** _( boolean )_ : Defines logged state of a user.\r\n  - **userRole** _( string )_ : Defines current role of a user.\r\n\r\n- **state** _( object )_\r\n\r\n  It can be used as a global state which can accept any object with any keys.\r\n\r\n#### Auth.Screens\r\n\r\nIt returns all the authenticated screens based on the current state of a user and all the routes provided to **withNavigation()** HOC. Component with **Auth.Provider** hoc should be wrapped with **withNavigation()** hoc.\r\n\r\nIt can accepts one optional prop:\r\n\r\n- **path** _( string ) ( optional )_\r\n\r\nIt is required for nested routes. By default its value is taken as _null_ or _'/'_;\r\n\r\n**Auth.Screens** hoc should be wrapped inside **Auth** hoc.\r\n\r\n**Example**\r\n\r\n```javascript\r\n// app.js\r\nimport { withNavigation, Auth } from \"react-auth-navigation\";\r\nimport { publicPaths, privatePaths, userRoles } from \"./routes\";\r\n\r\nconst App = () => {\r\n  const [config, setConfig] = useState({ isLoggedIn: false, userRole: \"user\" });\r\n\r\n  return (\r\n    <Auth\r\n      config={config}\r\n      state={{\r\n        logout: () => {\r\n          setConfig({ isLoggedIn: false, userRole: \"user\" });\r\n        },\r\n      }}\r\n    >\r\n      <Auth.Screens />\r\n    </Auth>\r\n  );\r\n};\r\n\r\nexport default withNavigation(App, {\r\n  publicPaths,\r\n  privatePaths,\r\n  userRoles,\r\n});\r\n```\r\n\r\n### useNavigation()\r\n\r\n**useNavigation()** is a hook which gives access to the navigation object providing you to navigate between different screens, providing you all accessible routes according to the current state of a user ( logged state and logged role ). It is also very useful for a component which is not directly a route defined in public or private paths because it doesn't have access to history prop directly.\r\n\r\n**useNavigation()** returns an object with the following properties :\r\n\r\n- **navigation** _( object )_\r\n\r\n  Object for handling navigation and provides all authenticated routes name and path.\r\n\r\n  - **routes** _( object )_ : Object with name key you defined in **publicPaths** and **privatePaths** in **withNavigation()** and values are the object of name and path for a defined key.\r\n  - **navigate** _( string )_ : Function which takes either string or an object similar to _react-router-dom’s_ history.push() function.\r\n  - **goBack** _( function )_ : Function which will navigate to the previous screen.\r\n  - **goForward** _( function )_ : Function which will navigate to the next screen if history is available.\r\n\r\n- **history** _( object )_ : History object same as _react-router-doms's_ history object.\r\n\r\n- **location** _( object )_ : Location object same as _react-router-dom's_ location object.\r\n\r\n- **params** _( object )_ : Params object same as _react-router-dom's_ params object.\r\n\r\n**Example**\r\n\r\n```javascript\r\nimport { useNavigation } from \"react-auth-navigation\";\r\n\r\nconst { navigation, history, location, params } = useNavigation();\r\n```\r\n\r\n### useAuth()\r\n\r\n**useAuth()** is a hook which gives access to the config object and state object defined in **<Auth>** hoc directly. By default it returns an object with **isLoggedIn**, **userRole** and all the keys passed inside the state object.\r\n\r\n**Example**\r\n\r\n```javascript\r\nimport { useAuth } from \"react-auth-navigation\";\r\n\r\nexport default function() {\r\n\r\n    // config and state can be accessed with useAuth()\r\n    const { isLoggedIn, userRole, logout } = useAuth();\r\n\r\n    return () {\r\n        // ...\r\n    }\r\n}\r\n```\r\n\r\n## License\r\n\r\nMIT © [dipeshrai123](https://github.com/dipeshrai123)\r\n","readmeFilename":"README.md"}