{"_id":"0xauth","_rev":"9-b05682b083f16bf34847f2825de3430d","name":"0xauth","dist-tags":{"latest":"0.1.0"},"versions":{"0.0.1":{"name":"0xauth","version":"0.0.1","license":"MIT","main":"index.js","author":{"name":"Francesco Sullo","email":"francesco@sullo.co"},"homepage":"https://0xauth.com","scripts":{"test":"mocha --recursive test/*","start":"node server.js"},"dependencies":{"cheerio":"^1.0.0-rc.2","eth-sig-util":"^1.4.2","ethereum-ens":"^0.7.4","superagent":"^3.5.2","tronweb":"^2.5.0"},"devDependencies":{"lodash":"^4.17.11","mocha":"^5.1.1","web3":"^0.20.6"},"repository":{"type":"git","url":"git+https://github.com/0xAuth/0xauth-js.git"},"gitHead":"f10969a72ce67f957f5168ea17e92d7c16cf1337","description":"A javascript library for the 0xAuth protocol","bugs":{"url":"https://github.com/0xAuth/0xauth-js/issues"},"_id":"0xauth@0.0.1","_nodeVersion":"10.15.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-DtyiwQmlA/XreAmDLnIzUMvEvOdeonElIM8vncIQrhO8UtGsGajDcGWHnRB9sXJEKIrQhAKYUeTaE+BIJVXcNw==","shasum":"f19f36b16ac273da35ceaacf95df65ef726c40b5","tarball":"https://registry.npmjs.org/0xauth/-/0xauth-0.0.1.tgz","fileCount":13,"unpackedSize":33956,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJczOSRCRA9TVsSAnZWagAAW9kP/1q6mIGdjOyN8NJuxeFU\n0FIxU+nVmiiAfJD3f+5M46JjRrc0X930yTjS26jpTYYy4n1IdVnRuJJZU9Jw\nlmXkWXylzcrVKD57jpqFEQ/5HBWcI0iE24c2p/vIS4qllC5gbfJxMnrS8Ruj\nlPwy5INc1E1+dcLYKauw8M+knQ9n/FurvRzhcMPCSefvooFLr4/kiRhABLGI\n62YigC2w7ZrNxj3ygdwwyRNM/ES3CPewCUd2ctVUdwYNmenEp9UAakTH6muK\nmrYxm/sbkgvhD6VdK3q5HFEgpOk6R1kacMurqEmRDTy7+1VE2iHz2ZJcQk7S\nJHnjnQcHSxYYI+e9ZA5VfMI1uz2oG3fnEImIQzrAYfHLjvVpNWhpP/vSBWUk\n0nrM3bteH/rU8N4pTQ68IeCS8KonTODcm8Ch6ppdWQ0iRfHHKZEt4xHHjbft\nJPVDsw6Da+qLzLtuo7+qwJOEOn8F+8HK4jylyyCTrfSsB3p/87KgE/jm3esy\nFZd8xro7e/PXHq1ZDeFjDT4XeKGZxdAzsHrDEqgWby6+iPW1IEyPvG9YYcly\nG+5cMOlssCHGzVFO5kgAGVcbC6BPc4Ot49ONoKHQ+JWdaYOtspjXJQw+k+3a\nbjlLAxb9WwCe3ctVGNXpejZoQhZkMQNCr5GS0P6kJSgq9d3zVsXjU6YBWpuN\nI4FH\r\n=HcaT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBsXrYLF7RKtRsDcm+MpucfiaKO+AmD+I96nvu8WKo6zAiAGZcHfGV7bYpXgG/XTMWbmal0nvU23BKJEWkcY600RVQ=="}]},"maintainers":[{"name":"sullof","email":"francesco@sullo.co"}],"_npmUser":{"name":"sullof","email":"francesco@sullo.co"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/0xauth_0.0.1_1556931728524_0.17914750427514914"},"_hasShrinkwrap":false,"deprecated":"Preparatory versions"},"0.0.2":{"name":"0xauth","version":"0.0.2","license":"MIT","main":"index.js","author":{"name":"Francesco Sullo","email":"francesco@sullo.co"},"homepage":"https://0xauth.com","scripts":{"test":"npx mocha 'test/server/**/*-spec.js'"},"dependencies":{"ethers":"^4.0.27","tronweb":"^2.5.0"},"devDependencies":{"lodash":"^4.17.11","mocha":"^5.1.1"},"repository":{"type":"git","url":"git+https://github.com/0xAuth/0xauth-js.git"},"gitHead":"011e09cc2240281cec207a569582ce8387745698","description":"A javascript library for the 0xAuth protocol","bugs":{"url":"https://github.com/0xAuth/0xauth-js/issues"},"_id":"0xauth@0.0.2","_nodeVersion":"10.15.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-odt3FNVU6N4APZ3A1eKwg5QrEpfr0OvogkaT0Nyh+fyFKJkTtFrdJQcRsTAu0ZypwbX29AOTbxkYcXymWE3n4g==","shasum":"9bc0e57c80f0c64fc3c3718270c4d58ad1ded1db","tarball":"https://registry.npmjs.org/0xauth/-/0xauth-0.0.2.tgz","fileCount":17,"unpackedSize":38047,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJczQZUCRA9TVsSAnZWagAAsnsP/38yXmP4uc1WexPeSHB7\nnRGsAZAZx/OSdvpDLQqe7PPXdexhdTxOvZGSG/PbPKDFm1H4eN/OabJrXmw0\nBbg7Tzm65siSaN/l5gxnL3+x14h/qNjQg6eIlXcdo/N8nOEKmoILOKskA9tq\n7J2IsBxLwkzxl+J+qpIrylvU5Y/flNvXDbj5jUI/pMz2UnQmc/nVDOPszDSa\nyqAHFhJx7d632UwTN9fpFS3GsB15mpgNzA5x1CoUS52eLn3NO/Q814UqIIrG\nuLl4cDS/ODcAGGVaokf8BBngoslvi3nfiNkmoCVShVmVZfSENG25APgSWSzj\nT9R+ZGim86/06mjSsREZUwSkfr6Y98g2tz+HOTvMCdYA8nPQkKMcjFVC/PxP\nAYgdcsCvi1JrTzwvXXbm+VVWbnW1RmdooaeXsE5CCXKjmuWAwxSrKzcfR4ol\nu/8DM3CoJu4PH4fzStDJU+Tb6p33pktk8ie7jyTyrL3RuePOOkpw4yDFjOAF\neMer8Lofb6YJQi/wHJYB6jVGfxSPVjpPijzO2Xz+rZNm41Yf7lJX7JTI9hxR\n6g8PtrosadQFshKQOFjp6+bFb0Cqj2zD4Al/d1QvA+5XPwVuvshAnTljp56e\nlrjW6mLYQDJdHXbUuoaAlCenl/KZAWrqp6HdL3TSrzIn7uXDQZJfFnHT+eEy\nq7hR\r\n=lPoI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFhgeweF9cvkzOd9JyBAuvvjWRSEBf/ECJv7mUBJZyFPAiEA7OUx/QjpunX9RYGfsUPRF7PudGDuKJcZefhGlLWBJ9M="}]},"maintainers":[{"name":"sullof","email":"francesco@sullo.co"}],"_npmUser":{"name":"sullof","email":"francesco@sullo.co"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/0xauth_0.0.2_1556940371650_0.1589477976526783"},"_hasShrinkwrap":false,"deprecated":"Preparatory versions"},"0.0.3":{"name":"0xauth","version":"0.0.3","license":"MIT","main":"index.js","author":{"name":"Francesco Sullo","email":"francesco@sullo.co"},"homepage":"https://0xauth.com","scripts":{"lint":"eslint ./server/**","test":"mocha 'test/server/**/*-spec.js'","coverage":"nyc --reporter=html --reporter=text mocha 'test/server/**/*-spec.js'"},"dependencies":{"eth-sig-util":"^2.1.2","husky":"^2.2.0","tronweb":"^2.5.3","web3":"^1.0.0-beta.54"},"devDependencies":{"eslint":"^5.15.1","eslint-plugin-node":"^8.0.1","lodash":"^4.17.11","mocha":"^5.1.1","nyc":"^14.1.0"},"repository":{"type":"git","url":"git+https://github.com/0xAuth/0xauth-js.git"},"engines":{"node":">=8.10.0"},"husky":{"hooks":{"pre-push":"node ./scripts/pre-push.js"}},"gitHead":"e4b3487a8e26140207d439610eacf8d23ec58240","description":"A javascript library for the 0xAuth protocol","bugs":{"url":"https://github.com/0xAuth/0xauth-js/issues"},"_id":"0xauth@0.0.3","_nodeVersion":"10.15.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-rKSU8XHVyag3WqqlIGpuvRauA6Wzsowu2p6SlUD0eRUCQlubr4C5jCL7pAcKW4fGx0XYAShMTWHQwDF+l1vybg==","shasum":"2d90b6e4a193d0f63fd1791adfb0ecfe07a542f2","tarball":"https://registry.npmjs.org/0xauth/-/0xauth-0.0.3.tgz","fileCount":26,"unpackedSize":50980,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc16wWCRA9TVsSAnZWagAACqYQAKAY4BvB95DwXbOnV76P\n8WHKKArVUZL6taeY2Gq9R/YEGKuBCs/S/Rc8OJKSrQOJFXUBfeP92QsPhdbX\n4PijcxhxkAtMlZHkLfAQZzRJXV2oFDalWIHVJDwLZq42iWOnQlFfGL7tYIdf\nmYRgGlOcMihrBeBwpqBOIuE+x+JigiPPru9u5IdE0/A3uTcCdv9Phg9Fb7QZ\nFl4oYLkdwlBfyGCFxfcXkv1wID/YqGBi7LyVwSW/9oi7kjYBPLH1n5+8CKE3\nF6jKkJT9YupNdmteKhB9xr0mFYkvVBVqx+qTjbNcbkKy4/3K0hJQ7Z2U8g0H\nf/rjxqUqZQKfYCwpIN0jOhjXKBuDSGnF+UOYJ6bUHIWobPAmVphfa3FeALhh\nro/NyW6i1T43SnDPdFNqXQUysWm691WdGUF45Nng8PKPotLQDsMDrMYjzAzb\nV0JithgreY1WtnjEitBgZCXLOa41jkvrw5E9dOMA/RquyURpF/+qs6ufsWJd\nMjZD5Zl1OjvCVxdh4WplxDAFFEH6JOiYFTIg671saqIYCQu6LXOebqVVrWhI\nyZm/RVvaCOnbxeHEcWoXqbfzQC6CZd9dLBpFzcdwODyHxQrIe9yWAz/EYZm9\n6f2YjJcRAmHKsAsYSNpHmxPpyQN1pzfzqr+80dH1eY/Frlr1Jiu0dSRPKEFt\nNHst\r\n=IOZ+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD6UqH+rM6HJG4hOs4RDVztdiDM8HSdL5qugQ2P/iJrHgIhAIa8qpJ/P6pYxsYZ9qqSVwsXF5l7VaS27neIkDjZggjh"}]},"maintainers":[{"name":"sullof","email":"francesco@sullo.co"}],"_npmUser":{"name":"sullof","email":"francesco@sullo.co"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/0xauth_0.0.3_1557638166245_0.39670663454182487"},"_hasShrinkwrap":false,"deprecated":"Preparatory versions"},"0.0.4":{"name":"0xauth","version":"0.0.4","license":"MIT","main":"index.js","author":{"name":"Francesco Sullo","email":"francesco@sullo.co"},"homepage":"https://0xauth.com","scripts":{"lint":"eslint ./server/**","test":"mocha 'test/server/**/*-spec.js'","coverage":"nyc --reporter=html --reporter=text mocha 'test/server/**/*-spec.js'"},"dependencies":{"eth-sig-util":"^2.1.2","husky":"^2.2.0","tronweb":"^2.6.1","web3":"^1.0.0-beta.54"},"devDependencies":{"eslint":"^5.15.1","eslint-plugin-node":"^8.0.1","lodash":"^4.17.11","mocha":"^5.1.1","nyc":"^14.1.0"},"repository":{"type":"git","url":"git+https://github.com/0xAuth/0xauth-js.git"},"engines":{"node":">=8.10.0"},"husky":{"hooks":{"pre-push":"node ./scripts/pre-commit.js"}},"gitHead":"287c7979dee0cc74c61318bc187fb1feff9c7343","description":"A javascript library for the 0xAuth protocol","bugs":{"url":"https://github.com/0xAuth/0xauth-js/issues"},"_id":"0xauth@0.0.4","_nodeVersion":"12.3.1","_npmVersion":"6.9.0","dist":{"integrity":"sha512-yygcW+RsVt3Shn3Ho+AI+Lfqv6BHeWsXQpWOZElzzW5pS1IcIuNZ/7ZlivNuUdsPwVZsa9lDerIZYCwRao57XA==","shasum":"6e53a3ea014611f68a72361410c049c963a4d036","tarball":"https://registry.npmjs.org/0xauth/-/0xauth-0.0.4.tgz","fileCount":26,"unpackedSize":59693,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc9FgBCRA9TVsSAnZWagAAQUUP/2yTor2zeheT5SCBkaQr\n7FNK11+J63Hw9YaF84I6EUCZqXBDvDKXJrx0qNa8NhfuohS/8GF7ZyUB3G04\n8FtqxIrqunuJgV3WG3bdP2Ada0ADkHZqyRMiNlGnEhwJCk4xcs+hCUbBtPOy\nNvVwTOWpOKNHH7kjGeB0r/PUPpqCGgXE882qj9Dup15Qhzhzh7tvVw0YqwTP\nKJ+7UB772Fo1oP/Nke7LAt8XOOKb0dLivWmqL9iigzhAvIhkKJmRdCjCDljM\nKxNmSh6cK7Z10DQfWSu6TKyvGQYuBSgZLfN57vBQLVAATrqlPnerZhTXKSJI\nTaHWSUcnhT0YgyZTu0b39MIIMHIEnTjY2hT7m+gJcIHt0KgcZKSHghzuojLr\nPRrNODQ/TZzo9rIL6pOjE+gL0A8ol4EnIQZiqfmvxw43KNk11SSF1lNXz5hG\nDE+lRJkfkdesQ+5M1sFVAgYtwVgoeUUq0ypWlCpk9q554r3/D/uFu0VHBtW1\nEBdTJqLwBxHODhZosgB8rgXqXdP1QLnfaS3+f0UBPPmtp65HMEI2Vy50GBf2\nx4Z4wJiiNTsnczC2UKGruTg8jYHuWS4Hap406hk7Ceshd1imtjhON3oIpdhj\nOvF38h3P50vycez4QBkqt3P1o26pz0YJX4yY4E1ZAjEJPs/pZ0uMq1rYyvxU\nukK/\r\n=otT7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCe/vYbysJoLsSO4YJrQ4fCkwYU+K1Ig61psoVdhZO9RwIgdkpZpdP01U1GyDd5chFWYgk4CVLJkFncv9dvVaFuBmI="}]},"maintainers":[{"name":"sullof","email":"francesco@sullo.co"}],"_npmUser":{"name":"sullof","email":"francesco@sullo.co"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/0xauth_0.0.4_1559517184452_0.485178246146343"},"_hasShrinkwrap":false},"0.0.5":{"name":"0xauth","version":"0.0.5","license":"MIT","main":"index.js","author":{"name":"Francesco Sullo","email":"francesco@sullo.co"},"homepage":"https://0xauth.com","scripts":{"lint":"eslint src/**","test":"mocha 'test/server/**/*-spec.js'","coverage":"nyc --reporter=html --reporter=text mocha 'test/server/**/*-spec.js'","babel":"babel --presets es2015 src/client/index.js -o dist/0xauth.js","webpack":"webpack --mode production"},"dependencies":{"crypto-js":"^3.1.9-1","eth-sig-util":"^2.1.2","husky":"^2.2.0","tronweb":"^2.6.1","web3":"^1.0.0-beta.54","webpack-cli":"^3.3.2"},"devDependencies":{"@babel/core":"^7.4.5","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/preset-env":"^7.0.0","babel-loader":"^8.0.6","eslint":"^5.15.1","eslint-plugin-node":"^8.0.1","lodash":"^4.17.11","mocha":"^5.1.1","nyc":"^14.1.0","webpack":"^4.32.2"},"repository":{"type":"git","url":"git+https://github.com/0xAuth/0xauth-js.git"},"engines":{"node":">=8.10.0"},"husky":{"hooks":{"pre-commit":"node ./scripts/pre-commit.js"}},"gitHead":"56705084cc7b0eb6fdbf821cd604f6f6f9ebdc7c","description":"A javascript library for the 0xAuth protocol","bugs":{"url":"https://github.com/0xAuth/0xauth-js/issues"},"_id":"0xauth@0.0.5","_nodeVersion":"12.3.1","_npmVersion":"6.9.0","dist":{"integrity":"sha512-WcQf0oi+wzJ9eo4sT+kOELv4Z8yWvFIJSkmAc2LGKbC0nitDSzbt/s10NP99ZYdVdf1hzQQZf2IjHjInheMJ/g==","shasum":"bf6a99341ffc057feeac3db589e7bd1e762807b9","tarball":"https://registry.npmjs.org/0xauth/-/0xauth-0.0.5.tgz","fileCount":30,"unpackedSize":82524,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc9IcTCRA9TVsSAnZWagAAKDQP/2itV8JxeJGwqSlxAVnQ\nxjRZrIg4aE2rf5twf6ahlbod9L7xJKlGcXeijAknML5XXw8yxz/wg4nAp8EC\nsbzMJIr815HNhM2IA2flkymfLYrCi3CZ9FWSUma+vwhrhftOfMihURUqeBW8\nEdnu7EVyqT0XnAhRhVtGFb/LPit4QccsYbB0emj1S4OAb4RHwCxYJEQ8PQlM\n3Knfs25Ck/zMSdaB+5kZQWvv1lF3qvz3DsZ9br6aCG6UdWE4rcPVKor3TRe2\niMhV7JFvWeYc1SM8IMxneEnClWCUeRsCnoYhJtP3xage6TPKC/6x4GA38x8e\nKyxFCd4jSJ+fl0rlGQwWDq1l/Zkk3tCsX6gxLbPBPJtJvBS4EMt05D/b4Ai7\n89P3sH4B2J2F2q5P291biwPUX4pgesfb56S6/b8cqqGmfGzKJCqfUHJXD3ss\nIX8u3FBi+3JQ4YR3704T34BpKezmvev2xa+jWVM4G+rSXA+fZW5MtGoAUHme\nRFSBgRshjNntH7ESxJwFaS2tWR49nGUCNY613N8oG8ttSyc+pQm5xsNNMSio\nZqEp4qJ69E1KRRPXo0Yya98bf/ws7ioXp0G1Iukmfsn5t/ljqGKR+24ZQvUH\nH9Xv730zK6hKvlna8h+CcIHMqWVOLvV34qhlsstezcyHisldgnJQ2WX3WqFa\n1xZj\r\n=KqIl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBbgxAZXP+wpFzqnFFCu6KC5BdczE83YSR9aV7aX2gfRAiAK43HqtgnroUnULeQsU/DOGcquVMAVPlEnsezk7XEH/w=="}]},"maintainers":[{"name":"sullof","email":"francesco@sullo.co"}],"_npmUser":{"name":"sullof","email":"francesco@sullo.co"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/0xauth_0.0.5_1559529234957_0.8142080059000973"},"_hasShrinkwrap":false},"0.0.6":{"name":"0xauth","version":"0.0.6","license":"MIT","main":"index.js","author":{"name":"Francesco Sullo","email":"francesco@sullo.co"},"homepage":"https://0xauth.com","scripts":{"lint":"eslint src/**","test":"mocha 'test/server/**/*-spec.js'","coverage":"nyc --reporter=html --reporter=text mocha 'test/server/**/*-spec.js'","babel":"babel --presets es2015 src/client/index.js -o dist/0xauth.js","webpack":"webpack --mode production"},"dependencies":{"crypto-js":"^3.1.9-1","eth-sig-util":"^2.1.2","husky":"^2.2.0","tronweb":"^2.6.1","web3":"^1.0.0-beta.54","webpack-cli":"^3.3.2"},"devDependencies":{"@babel/core":"^7.4.5","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/preset-env":"^7.0.0","babel-loader":"^8.0.6","eslint":"^5.15.1","eslint-plugin-node":"^8.0.1","lodash":"^4.17.11","mocha":"^5.1.1","nyc":"^14.1.0","webpack":"^4.32.2"},"repository":{"type":"git","url":"git+https://github.com/0xAuth/0xauth-js.git"},"engines":{"node":">=8.10.0"},"husky":{"hooks":{"pre-commit":"node ./scripts/pre-commit.js"}},"gitHead":"9d14fe756d081374237571ead5067db4f7dca1bb","description":"A javascript library for the 0xAuth protocol","bugs":{"url":"https://github.com/0xAuth/0xauth-js/issues"},"_id":"0xauth@0.0.6","_nodeVersion":"12.3.1","_npmVersion":"6.9.0","dist":{"integrity":"sha512-tTtrAbFJ5biTyyPEE+/lfP99KGxrW7HM+Jnp3aEL+ONOMrEpdRxge+b7h/Vggrxlup80utL9oEhAu5xQYck5Pw==","shasum":"24ebf807519744838725c7c0936ff27aa311c8d9","tarball":"https://registry.npmjs.org/0xauth/-/0xauth-0.0.6.tgz","fileCount":30,"unpackedSize":81571,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdBpfoCRA9TVsSAnZWagAAZr8QAKB/qJucQw2svTicxFxl\nzRhRqGQYroQ9ike8Ji1TEwHhiN1X1OQ1rnSp7O15w/mVxyI9cD3m4mYC6eMP\nA1FG/umLFat30dX5A4BrfO3RHH0f6ST39XTwQPfAR+mYkkofUieN3cqi1Aux\nJCZpPmlzjXRy5WKGyI21vm0Unya40PCjZleYbxD+yaWRurL6caZ46E3vcr/F\n2mR7+Gdy6LY3H2tspi0dZGYGmTlr+3BH3MkZp1Pd6Ps29oHM/mPkQ/zBB7IR\ne6o4CnqQOVxG5BQW/wZ8+KaiQxP6PdJALBuwYtJh4g6B4GkMGBlD3cfhvlst\neqict/qgQMUwLBEaTbVsaTEyOsJWpGamkK4JSo4VP3qUCM2PNZLETFKXVCgU\nqRmpYD2E82CRkKMCE/i3GZ5/OF9nDFw9MX8KvSW6TWgZU/wgH5DIWCVpEMeb\n7flgl6vaQAadNk4ADEQ6k+ySBWl+oJ+blYsOISN3s7J9x/nBWdhmrcOXqH+M\nel7YalMXCcz1Lfn8avmVphY+eAJXtdXzR57bXt2HFOAy5G851uZQ32s+5MjY\nwN0XScZOSxYhTSDv7YXoN1tC4gTGvufi+fsHjBESFy1DrEfcL/bEpOVPbidW\n+3SvQq1W76R6zcNd921ZfnYVj9jFtVq5NRy/G6v4y6Zat8BLy6tneu/GWDdI\ncRX8\r\n=fvtf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB3Td6z4QtQ3dixzFuqT9Zbr3CwT2CYsFQNA+bmXprkzAiAp4DaO4+srJ6G+U7NSs0WAZhZJmsgRUHwodDMEMzQ76Q=="}]},"maintainers":[{"name":"sullof","email":"francesco@sullo.co"}],"_npmUser":{"name":"sullof","email":"francesco@sullo.co"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/0xauth_0.0.6_1560713191620_0.42558021872690954"},"_hasShrinkwrap":false},"0.1.0":{"name":"0xauth","version":"0.1.0","license":"MIT","main":"index.js","author":{"name":"Francesco Sullo","email":"francesco@sullo.co"},"homepage":"https://0xauth.com","scripts":{"lint":"eslint src/**","test":"cross-env NODE_ENV=test mocha 'test/server/**/*-spec.js'","coverage":"cross-env NODE_ENV=test  nyc --reporter=html --reporter=text mocha 'test/server/**/*-spec.js'","babel":"babel --presets es2015 src/client/index.js -o dist/0xauth.js","webpack":"webpack --mode production"},"dependencies":{"crypto-js":"^3.3.0","eth-sig-util":"^2.5.4","husky":"^2.7.0","tronweb":"^3.2.6","web3":"^1.3.5","webpack-cli":"^3.3.12"},"devDependencies":{"@babel/core":"^7.13.15","@babel/plugin-proposal-class-properties":"^7.13.0","@babel/preset-env":"^7.13.15","babel-loader":"^8.2.2","cross-env":"^7.0.3","eslint":"^5.15.1","eslint-plugin-node":"^8.0.1","lodash":"^4.17.21","mocha":"^8.3.2","nyc":"^14.1.1","webpack":"^4.46.0"},"repository":{"type":"git","url":"git+https://github.com/0xAuth/0xauth-js.git"},"engines":{"node":">=8.10.0"},"husky":{"hooks":{"pre-commit":"node ./scripts/pre-commit.js"}},"gitHead":"36d03430300685114590a814d9b0e50e305b66c2","description":"A javascript library for the 0xAuth protocol","bugs":{"url":"https://github.com/0xAuth/0xauth-js/issues"},"_id":"0xauth@0.1.0","_nodeVersion":"12.20.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-TWMLQEAI7YtaPNr4IHem2EJkGfK1hBjVkbieUQoMgveEitFnJpZ1lLLJ+xELgEAn1/OpDm9mDX6noM0OEcaNOw==","shasum":"2f694b32d1f4c5373197ce1c42b7cb7913f8af1f","tarball":"https://registry.npmjs.org/0xauth/-/0xauth-0.1.0.tgz","fileCount":31,"unpackedSize":61197,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJggHu1CRA9TVsSAnZWagAAtZ4P/0FmOTZHYSLU85jm6jIX\nmpxrmvuCO9yk8gbfLSdCA7OO60go4Vd+26xDItae8nYsG3eKyHAM46KeloH2\nl906WYs7mbaQzBzevnqTU78XxQEKuKoAg3Eopzg+P0GTVuMcGwqWKRjRLxqB\nYH8aOyiZhLk3E7FFMKYvRlIlMyJwKaB2l2otiE2TLxAWKGeilg7I0WDzNftB\n0X/IHVmHUYkoBMsJ61LVe9IcIxyIEgh5v0gcrLagUU9DHtWSIMjRr/1YgWoA\nupvvXTqhLMeQ3IwV0LgTbHwW4twt4dElOTTSdL8l3kJIrzw8W/SJn60Fm5e6\nxo5wXfvr/tdXNZlsyJpt53FJiVOGSd+qbieNgAymU87Mi3tvkTJErecth+V1\nOWU7HU97h9o/bL+Vw0ay+ZySbjqzADzblecwX2eLeSlkmaMjwmSylPRpe29R\n+W4nB0a6KfYAJiopbUZ8Y9a38vWiDZNvFoa+Py1UycXCFTx7NT3xJPuNshOP\nDgevHi7X8s1yImep3foQYuLbhnciwfq/e/ve+bxVXK2p5A9hO5CN+/ocirVP\nD70t7jvkVebnzC+bpDCiUMjh4PhJZ3vxbC2ERpPbWA4nOhB6rqSbLF+viZM1\n4UEn6wvYo3gIkuEqQCDIlpatWp0FjiFDKpHAjBOznRE22cWFXq22izVCho38\nGMIr\r\n=FfyB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAyV6jfIMZNO6EdL/9dJPo1oDC26ILP0UypnVc1tgBnpAiEAn5kv+iYLR5FRWPMKV0xBe4X88Z5PttR48SMJpgN5A6A="}]},"_npmUser":{"name":"sullof","email":"francesco@sullo.co"},"directories":{},"maintainers":[{"name":"sullof","email":"francesco@sullo.co"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/0xauth_0.1.0_1619033012790_0.10871618367455649"},"_hasShrinkwrap":false}},"time":{"created":"2019-05-04T01:02:08.524Z","0.0.1":"2019-05-04T01:02:08.658Z","modified":"2022-04-04T10:08:59.093Z","0.0.2":"2019-05-04T03:26:11.783Z","0.0.3":"2019-05-12T05:16:06.389Z","0.0.4":"2019-06-02T23:13:04.630Z","0.0.5":"2019-06-03T02:33:55.165Z","0.0.6":"2019-06-16T19:26:31.767Z","0.1.0":"2021-04-21T19:23:32.944Z"},"maintainers":[{"name":"sullof","email":"francesco@sullo.co"}],"description":"A javascript library for the 0xAuth protocol","homepage":"https://0xauth.com","repository":{"type":"git","url":"git+https://github.com/0xAuth/0xauth-js.git"},"author":{"name":"Francesco Sullo","email":"francesco@sullo.co"},"bugs":{"url":"https://github.com/0xAuth/0xauth-js/issues"},"license":"MIT","readme":"# 0xauth-js\nA javascript library for the 0xAuth protocol\n\n### ALPHA DEVELOPMENT, NOT READY YET FOR REAL WORLD USES\n\nImplementation of the [0xAuth protocol](https://github.com/0xauth/0xauth)\n\n\n## Install\n\nServer sidee:\n```\nnpm i --save 0xauth\n```\n\nClient side:\n```\nnpm i 0xauth\ncp node_modules/0xauth/dist/0xauth.js your/dest/folder/.\n```\n\n## Usage\n\nServer side:\n\n```\nconst 0xauth = require('0xauth')\nconst Auth = 0xauth.Auth\nconst authToken = new 0xauth.AuthToken({...})\n...\n```\n\nClient side:\n\n```\nvar client = new 0xauth.client()\nclient.init('trx', tronWeb)\n// and/or\nclient.init('eth', web3)\n...\n```\n\n## Server API\n\n### Auth.getAuthorizationToken(params)\n\nParams:\n```\nissuer         The RDNS of the app/service issuing the token\nexpireAt       (optional) The Linux timestamp at expiration\nextraParams    Extra-parametes related with the app\n```\nFor testing purposes, you can also pass:\n```\ncreatedAt      The Linux timestamp of creation\nrandomString   A 4 chars base64 string\n\n```\nwhile in a normal case those two values are generated.\n\nExample:\n```\nconst aWeekFromNow = Math.floor((Date.now() + 7 * 24 * 3600 * 1000) / 1000)\n\nAuth.getAuthorizationToken({\n    issuer: 'com.example.auth',\n    expireAt: aWeekFromNow,\n    extraParams: 'uid/233,active'\n})\n```\nThat would return something like:\n```\n0xAuth:1;com.example.auth;1559439788:1560044588;e3Jg;uid/233,active;de\n```\n\n### Auth.signAndReturnToken(authTokenString, chain, privateKey, format = 'ps')\n\n`authTokenString` is the auth token to be signed in string format\n`chain` is the abbreviation of one of the supported blockchains, for example `eth` or `trx`\n`privateKey` is the private key to be used for the signature\n`format` is the signature format (more info at [0xAuth protocol](https://github.com/0xauth/0xauth))\n\n### Auth.verifySignedToken(signedTokenString)\n\n`signedTokenString` is a signed token containing all the info necessary for the verification.\n\n\n## History\n\n__0.1.0__\n* updating Web3 and Tronweb\n\n__0.0.6__\n* first complete version\n\n\n## Credits\n\n  - [Francesco Sullo](https://francesco.sullo.co)\n\n## License\n\n[The MIT License](http://opensource.org/licenses/MIT)\n\nCopyright (c) 2019 Francesco Sullo <francesco@sullo.co>\n","readmeFilename":"README.md"}