{"_id":"@identity.com/prove-ethereum-wallet","_rev":"28-a17a8b50a653037b2e9294c1220f190b","name":"@identity.com/prove-ethereum-wallet","dist-tags":{"latest":"1.1.1","beta":"1.1.1-beta.1","1.1.0-beta.3":"1.1.0-beta.3"},"versions":{"1.0.0":{"name":"@identity.com/prove-ethereum-wallet","version":"1.0.0","description":"Library for providing a standard proof creation and verification for ethereum wallets","main":"dist/index.js","author":{"name":"Kevin Colgan"},"license":"MIT","scripts":{"build":"tsc","lint":"eslint src/**/*.ts --max-warnings 0","preinstall":"rm -rf node_modules","script":"ts-node -O '{\"module\":\"commonjs\"}' --transpile-only --files"},"dependencies":{"@ethersproject/abstract-signer":"^5.5.0","bignumber.js":"^9.0.1","es6-promisify":"^7.0.0","ethers":"^5.5.1","rambda":"^6.9.0","tslib":"^2.3.1","web3":"^1.6.1","yargs":"^17.2.1"},"devDependencies":{"@types/bignumber.js":"^5.0.0","@types/es6-promisify":"^6.0.0","@types/yargs":"^17.0.5","@web3-react/core":"^6.1.9","ts-node":"^10.4.0","typescript":"^4.4.4","@typescript-eslint/eslint-plugin":"^4.28.1","@typescript-eslint/parser":"^4.28.1","eslint":"^7.29.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^3.4.0","prettier":"^2.3.2"},"licenseText":"MIT License\n\nCopyright (c) 2021 Identity.com\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@identity.com/prove-ethereum-wallet@1.0.0","dist":{"shasum":"84da6ad86b24926b7da22472e5ebd213a8f8d2aa","integrity":"sha512-l+PfnnXSgSZnYAjf4SAfCtQtI+bW/WVHx/hDW452SZ9KOqC85fDKgpuudX2K/Xawbk4D/SBn12DZGwoNjkaNrg==","tarball":"https://registry.npmjs.org/@identity.com/prove-ethereum-wallet/-/prove-ethereum-wallet-1.0.0.tgz","fileCount":55,"unpackedSize":377323,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhlibWCRA9TVsSAnZWagAAbuIP/iN0wKl9/AlmrX/9i561\nEKGtqI6G52cvmxFIDnLpQPqhswGrJBf0A14vs8bKAf+KIwCpQQuVDOfC19aK\npCGR69vRk/BTM0iA/E1uXj3RQwEcFWyXGfDSk1hN/eYbHyr3KMns8gxicNm2\nkYf65cYPtnEKOoPIJpxj4QslrATIvU1QSh3YasM3Mv8Aud5t5Lhwlaatmb0X\nqhOoBKIJKNA1ZYGe7/VTZpOl2DuaaT+Wd61ehj8y7yJM4aKlIKQlNENUWKnU\nvMsgb9uUY2kCm611ed0vYYMO9WzkBIMiA0b3RV/fud00GvnXqfDtN3Y6n4pW\nxqEpJ301kCUbe3pRXPmHRZPcyXsaUh8pLLEuTLf3ZjeGJhFA4s45uXk6T7/E\nqDwUj+z9sLpRfuW7TILfl8kXBi2TPFy+EIY8vNwlNexEGtOvW9nKDyW8BQ0U\nxQ2dW6WU3Kryfg5m/CoVWUyMoXqyrnX8g+6PSddlh3F/pz8yNZSmsTvqDoRH\nBC6HMyn4G+NEc4+FRaJgqEVC36AzkK2xzKhURFB4D3Qm8cobcRU1Rr50x8P9\nX6iptYCdyDd/uknTe7Wfj7FjyAsCDTnyCrt7r2ylQhNcbrIGhjIWIlghe235\ngJlfr++Aa829o+Squ+V0wGXBHZ6CKgFTnUOUKqXJKajGF6hXoA1xqg1waD6B\nK2Wp\r\n=dehj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCyjVeFxhWm4fZBgX8Dt7IEk/N+RsJsVeENBzDscTEwogIhAMvSsNum8bNDTGHxLk3ddM/pPILD+0vx4KqLFzroiaOs"}]},"_npmUser":{"name":"kevinhcolgan","email":"kevin@civic.com"},"directories":{},"maintainers":[{"name":"buzzec","email":"bbetter9101@gmail.com"},{"name":"rado0x54","email":"web@riedel-it.de"},{"name":"araptarchis","email":"alexis.raptarchis@googlemail.com"},{"name":"mitchcivic","email":"mitch@civic.com"},{"name":"identity.com-ci","email":"bruno@civic.com"},{"name":"dankelleher","email":"dankelleher@yahoo.com"},{"name":"dmelosantos","email":"danielmelos@gmail.com"},{"name":"flippiescholtz","email":"flippie@civic.com"},{"name":"kevinhcolgan","email":"kevin@civic.com"},{"name":"pbshoemaker","email":"phillip@identity.org"},{"name":"tyronemichael","email":"tyronemichael@gmail.com"},{"name":"lucmir","email":"luccmir@gmail.com"},{"name":"william-identity","email":"william@identity.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prove-ethereum-wallet_1.0.0_1637230293864_0.8109715824927968"},"_hasShrinkwrap":false},"1.0.1":{"name":"@identity.com/prove-ethereum-wallet","version":"1.0.1","description":"Library for providing a standard proof creation and verification for ethereum wallets","main":"dist/index.js","typings":"dist/index.d.ts","engines":{"node":">=12"},"author":{"name":"Kevin Colgan"},"license":"MIT","scripts":{"build":"tsc","lint":"eslint src/**/*.ts --max-warnings 0","preinstall":"rm -rf node_modules","script":"ts-node -O '{\"module\":\"commonjs\"}' --transpile-only --files"},"dependencies":{"@ethersproject/abstract-signer":"^5.5.0","bignumber.js":"^9.0.1","es6-promisify":"^7.0.0","ethers":"^5.5.1","rambda":"^6.9.0","tslib":"^2.3.1","web3":"^1.6.1","yargs":"^17.2.1"},"devDependencies":{"@types/bignumber.js":"^5.0.0","@types/es6-promisify":"^6.0.0","@types/yargs":"^17.0.5","@web3-react/core":"^6.1.9","ts-node":"^10.4.0","typescript":"^4.4.4","@typescript-eslint/eslint-plugin":"^4.28.1","@typescript-eslint/parser":"^4.28.1","eslint":"^7.29.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^3.4.0","prettier":"^2.3.2"},"licenseText":"MIT License\n\nCopyright (c) 2021 Identity.com\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@identity.com/prove-ethereum-wallet@1.0.1","dist":{"shasum":"43afa2464ab3d31d8ba70e84c8a18ecdb2f79a04","integrity":"sha512-phkHIhQPoLHTyWJyOkrJYIK/Bs7D23vN7K82QSja0PNbx2ODcoA9b9neN9dWgiB7WTYui1ZhdP78oD23+mnPpg==","tarball":"https://registry.npmjs.org/@identity.com/prove-ethereum-wallet/-/prove-ethereum-wallet-1.0.1.tgz","fileCount":18,"unpackedSize":14394,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhlis9CRA9TVsSAnZWagAAGrkP/i+0DYTyokaSqinoxeCa\n6HgaWRloHqyKI9sfZC3057CHm4TwQ8Yh8Bha1k/ibTqxJp+q3EHYgrNHMIJc\nVFVkwL3Txvye55AliDfGAzsjFDCEUhHKwwpdJUY4VdaB0wkXNAzcOrRtfqRj\nHY7CwwnlmAcws2JeL3D7Z9su7OThwOtdoAegLZuUIGQtSfZKw3Dx3NsbMJP/\nCnj4nmU/qbL4Ut8FUAQTw6jCeTkrcEF3o1/qG4C9tQwdSafb61DkSnlQ8Waw\nQ5SVznPOfDauKOaGYkzySRKIwodTKOElQu5XAMvvz2qIZTEdkL3LRGL620NJ\nlMgnz1jK1RB3RS6V6mNvCaC6vqbu+KyVRQsxzdEAR6hBiZsCnk0AlHWyrWSD\nNU1beQ4u/OtvEJ4OAPPfdYlx/UkePn/4XO9rTroiLqT1YGiSTtYpI0f0kkXl\nXu49wj9bbtXYUvBAG5UyFz70RC5KdyA7o19Ee6Be9WKnSoynjoAMynAtKkt/\n2swb2sfk+d39QW+ntzL9Ou76gWh7xItKUMKJbN1RrL4psbrnQjoWSiEmh5my\nlHX+hEyl69YBAqe2FOZbL2s79A8WBkqeizxgQuiC+UAs2IYKX/anSft5u+uU\nV0ElYYu19CfNJX/p9zbHEgdQ2VURlnj2X0R/C3drP4mynMBqJ+5GqU8W5yQm\nl81Z\r\n=fekS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGxkFz4BAnzG/ylDYUT4bmej6DD0K0eQmJNmqaIRWS1MAiB7oS9QDiNRLebCJAsKpnU6VWdXSboAMwVuHqv4huNJvg=="}]},"_npmUser":{"name":"kevinhcolgan","email":"kevin@civic.com"},"directories":{},"maintainers":[{"name":"buzzec","email":"bbetter9101@gmail.com"},{"name":"rado0x54","email":"web@riedel-it.de"},{"name":"araptarchis","email":"alexis.raptarchis@googlemail.com"},{"name":"mitchcivic","email":"mitch@civic.com"},{"name":"identity.com-ci","email":"bruno@civic.com"},{"name":"dankelleher","email":"dankelleher@yahoo.com"},{"name":"dmelosantos","email":"danielmelos@gmail.com"},{"name":"flippiescholtz","email":"flippie@civic.com"},{"name":"kevinhcolgan","email":"kevin@civic.com"},{"name":"pbshoemaker","email":"phillip@identity.org"},{"name":"tyronemichael","email":"tyronemichael@gmail.com"},{"name":"lucmir","email":"luccmir@gmail.com"},{"name":"william-identity","email":"william@identity.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prove-ethereum-wallet_1.0.1_1637231421593_0.6879079546128932"},"_hasShrinkwrap":false},"1.0.2":{"name":"@identity.com/prove-ethereum-wallet","version":"1.0.2","description":"Library for providing a standard proof creation and verification for ethereum wallets","main":"dist/index.js","typings":"dist/index.d.ts","engines":{"node":">=12"},"author":{"name":"Kevin Colgan"},"license":"MIT","scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test","lint":"tsdx lint","prepare":"tsdx build","script":"ts-node -O '{\"module\":\"commonjs\"}' --transpile-only --files"},"dependencies":{"@ethersproject/abstract-signer":"^5.5.0","bignumber.js":"^9.0.1","es6-promisify":"^7.0.0","ethers":"^5.5.1","rambda":"^6.9.0","tsdx":"^0.14.1","tslib":"^2.3.1","web3":"^1.6.1","yargs":"^17.2.1"},"devDependencies":{"@types/bignumber.js":"^5.0.0","@types/es6-promisify":"^6.0.0","@types/yargs":"^17.0.5","@typescript-eslint/eslint-plugin":"^4.28.1","@typescript-eslint/parser":"^4.28.1","@web3-react/core":"^6.1.9","eslint":"^7.29.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^3.4.0","prettier":"^2.3.2","ts-node":"^10.4.0","typescript":"^4.4.4"},"licenseText":"MIT License\n\nCopyright (c) 2021 Identity.com\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@identity.com/prove-ethereum-wallet@1.0.2","dist":{"shasum":"c83420e36eef7c41fce52e81ebaaf8bde5e9fcbb","integrity":"sha512-9q4JUvpweESXKiM85r6kaPiVH/I5aKE3qnFKBnDUDI6YeJgrRojkbbmYsStAar/8dgrwXbqugxe5gDOWA+l1Yg==","tarball":"https://registry.npmjs.org/@identity.com/prove-ethereum-wallet/-/prove-ethereum-wallet-1.0.2.tgz","fileCount":19,"unpackedSize":221296,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhljhACRA9TVsSAnZWagAAQHcQAKFvYKxGyAxooDCatk3A\nj87fP9BQG9wo5Kli93QJWYouszOjHjTjmSf4QF4DybCWCbP2KE8fO4f555vF\nXzqzEbIBAMyhbG9NQT5tCBgcEQcxkOJqsW23F6q8B6DL2oQoOk0sQhIS+p4p\nD6W6F+2RnUzZs4+jKHKHyZJI9GIu1Qex0MKAm/SGLk0p2guwZzKnbuPxPB/5\nEA2m5ZD+QIYXe9+LBFBHqqCJDnykS11NaoXnnwxpOgALEQco7LwSmNg8EV9M\nd4YlK/wFyDJR8V7bGnRuFgkFbRUXi6+4kXDnuyy+tCseqY6DMJP8+FzbEg52\nFJLlOxIKBcqczzxsH1/n66k6LZ0E/hZ4Ybyv8zcMPk/l1sHXedZ7QMqQDOvA\ng2nRTqhNHBxHvmy3VSfx6PU9QO/7MTANu7JIBshxxMw/u1LjyW1KTmmuMnGc\nuSmM9GUtlkjmJGsNhCDuyPs9kQOQGfv/235gFWFacVaPL6uqGkBunH/Ll+K6\nG8vmT0zWnGa27Z0eRVQV11tQIPl4scjL4MWPBTXaUxtJO1wSatfz1b0hCyij\n9jXFlzqUBfeY8X6g/ODkeKSQ352ojZ/dmh79HPIbCrQY6LP9aqr0BK7rB6kI\nGQ45J6CRgaK9zln6Z+K9kcWRBCZD359vlRtJyEWBWrIpPmIzOPMr2Etft7zy\ntLP4\r\n=PmO1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDAMvQABrE8yE/5yL7pskxRSvfz5cF/gYVMBxbfw+cbfAIhAPl7fiyDF0N6FmAUUOKgYRJvSrbOp2q9c0WPSmngo9m5"}]},"_npmUser":{"name":"kevinhcolgan","email":"kevin@civic.com"},"directories":{},"maintainers":[{"name":"buzzec","email":"bbetter9101@gmail.com"},{"name":"rado0x54","email":"web@riedel-it.de"},{"name":"araptarchis","email":"alexis.raptarchis@googlemail.com"},{"name":"mitchcivic","email":"mitch@civic.com"},{"name":"identity.com-ci","email":"bruno@civic.com"},{"name":"dankelleher","email":"dankelleher@yahoo.com"},{"name":"dmelosantos","email":"danielmelos@gmail.com"},{"name":"flippiescholtz","email":"flippie@civic.com"},{"name":"kevinhcolgan","email":"kevin@civic.com"},{"name":"pbshoemaker","email":"phillip@identity.org"},{"name":"tyronemichael","email":"tyronemichael@gmail.com"},{"name":"lucmir","email":"luccmir@gmail.com"},{"name":"william-identity","email":"william@identity.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prove-ethereum-wallet_1.0.2_1637234752019_0.877301513448669"},"_hasShrinkwrap":false},"1.0.4":{"name":"@identity.com/prove-ethereum-wallet","version":"1.0.4","description":"Library for providing a standard proof creation and verification for ethereum wallets","main":"dist/index.js","typings":"dist/index.d.ts","engines":{"node":">=12"},"author":{"name":"Kevin Colgan"},"license":"MIT","scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test","lint":"tsdx lint","prepare":"tsdx build","script":"ts-node -O '{\"module\":\"commonjs\"}' --transpile-only --files","size":"size-limit","analyze":"size-limit --why"},"module":"dist/prove-ethereum-wallet.esm.js","size-limit":[{"path":"dist/prove-ethereum-wallet.cjs.production.min.js","limit":"200 KB"},{"path":"dist/prove-ethereum-wallet.esm.js","limit":"200 KB"}],"dependencies":{"@ethersproject/abstract-signer":"^5.5.0","ethers":"^5.5.1","web3":"^1.6.1"},"devDependencies":{"@size-limit/preset-small-lib":"^7.0.0","@types/yargs":"^17.0.5","@typescript-eslint/eslint-plugin":"^4.28.1","@typescript-eslint/parser":"^4.28.1","eslint":"^7.29.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^3.4.0","prettier":"^2.3.2","size-limit":"^7.0.0","ts-node":"^10.4.0","tsdx":"^0.14.1","tslib":"^2.3.1","typescript":"^4.4.4","yargs":"^17.2.1"},"licenseText":"MIT License\n\nCopyright (c) 2021 Identity.com\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@identity.com/prove-ethereum-wallet@1.0.4","dist":{"shasum":"b759369dd3fc090e334ca664fa550674f1954fd5","integrity":"sha512-bt5mXmByuIz03zCRY0XyYuU2uQMGOzhv4d+r63Tt1LNunSugXrUjpJdW5Hk1hAqZdeZkMg9i8wm16bq8wno8YA==","tarball":"https://registry.npmjs.org/@identity.com/prove-ethereum-wallet/-/prove-ethereum-wallet-1.0.4.tgz","fileCount":19,"unpackedSize":221615,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhllrBCRA9TVsSAnZWagAAiK4P/j2VM/JoRW7YMFdcgu3c\nWIJQSimCZx7qeqkKwjmrZXzawYiUQ2lB7Vw+OwSYD3waAuAtPeGWzsfKR8ID\n0GrXUwXdmDHfZv41MbpvxdQvFvDQFmzf/mhn/eYQEQZDOD+4LhChXeoTl1mL\nlkYXTL71k9g3IcgkWXCmFDzVMjLqQe+9edWFiZq3s49VuwJxjwmVXpHrjcJh\nHsXojRBK82gs5JApbzsRoevoL1Mr/hULlODdxVj8NHWX/DmtimfXVUiOR7VA\nHaIh3OeJbo3+ApDlE6rd53J73wyjYURQQxuUt56ydatam3LNQnpn8OHZA2il\nKy2aBay4Bf6DJmT5LzPWsq2UAnCrbGht2U7nyb9JnWBvb/JkZ8SGuvG2Vftx\nkT7zl0jG7tWnXL0A+R3HdDcmthyK0ieyI6gbYLbMusQZA5fGR/PlZuGFlyck\n2ivkVw5VS8anLbsw1ll9Kzwb3TU8JpeJkB3kxbw8dAJMkpWnkfiBomzh4Ku+\nEPW2NfPT+WVLySy2i5m/nTZ1xCZDs4FlFmFmDiH8qQjLHGNwyjJu/3U6kQGE\nlRV5ok2twjovUPeX96l8ZaGxUrV+5bwpZyFGF8PqGk+PwMreCglQ2FkdSTGX\nNxZo81EERFVWwnMgyVcKLf4wBBst9pLKrEmd4/xgBYrfJUih0z1Y/xs5/OMm\nmNPS\r\n=3kk0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC1ZBo8PE2QNF1oCQUl73b5NnMU2p7+gXHN4Ki5Pqfq4gIgJW3gUY6RMO7ywdOfxUTHnh1G7tmdpRc7yA6AWqr+fks="}]},"_npmUser":{"name":"kevinhcolgan","email":"kevin@civic.com"},"directories":{},"maintainers":[{"name":"buzzec","email":"bbetter9101@gmail.com"},{"name":"rado0x54","email":"web@riedel-it.de"},{"name":"araptarchis","email":"alexis.raptarchis@googlemail.com"},{"name":"mitchcivic","email":"mitch@civic.com"},{"name":"identity.com-ci","email":"bruno@civic.com"},{"name":"dankelleher","email":"dankelleher@yahoo.com"},{"name":"dmelosantos","email":"danielmelos@gmail.com"},{"name":"flippiescholtz","email":"flippie@civic.com"},{"name":"kevinhcolgan","email":"kevin@civic.com"},{"name":"pbshoemaker","email":"phillip@identity.org"},{"name":"tyronemichael","email":"tyronemichael@gmail.com"},{"name":"lucmir","email":"luccmir@gmail.com"},{"name":"william-identity","email":"william@identity.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prove-ethereum-wallet_1.0.4_1637243585768_0.14523037706902486"},"_hasShrinkwrap":false},"1.0.5":{"name":"@identity.com/prove-ethereum-wallet","version":"1.0.5","description":"Library for providing a standard proof creation and verification for ethereum wallets","main":"dist/index.js","typings":"dist/index.d.ts","engines":{"node":">=12"},"author":{"name":"Kevin Colgan"},"license":"MIT","scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test","lint":"tsdx lint","prepare":"tsdx build","script":"ts-node -O '{\"module\":\"commonjs\"}' --transpile-only --files","size":"size-limit","analyze":"size-limit --why"},"module":"dist/prove-ethereum-wallet.esm.js","size-limit":[{"path":"dist/prove-ethereum-wallet.cjs.production.min.js","limit":"110 KB"},{"path":"dist/prove-ethereum-wallet.esm.js","limit":"10 KB"}],"dependencies":{"@ethersproject/abstract-signer":"^5.5.0","ethers":"^5.5.1"},"devDependencies":{"@size-limit/preset-small-lib":"^7.0.0","@size-limit/webpack":"^7.0.0","@size-limit/webpack-why":"^7.0.0","@types/yargs":"^17.0.5","@typescript-eslint/eslint-plugin":"^4.28.1","@typescript-eslint/parser":"^4.28.1","eslint":"^7.29.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^3.4.0","prettier":"^2.3.2","size-limit":"^7.0.0","ts-node":"^10.4.0","tsdx":"^0.14.1","tslib":"^2.3.1","typescript":"^4.4.4","yargs":"^17.2.1"},"licenseText":"MIT License\n\nCopyright (c) 2021 Identity.com\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@identity.com/prove-ethereum-wallet@1.0.5","dist":{"shasum":"c93f178682a9493ad2e38fe3c78bd32c59ccc2fe","integrity":"sha512-UbV//BLTwGnxuBxKxDR23Bb32QaFRut9X+0KvAJ43UMxfm+KoeKhDPggHxqDgD1MI7bTyW8pMvf9OCsTrqYUEA==","tarball":"https://registry.npmjs.org/@identity.com/prove-ethereum-wallet/-/prove-ethereum-wallet-1.0.5.tgz","fileCount":19,"unpackedSize":221670,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhloW7CRA9TVsSAnZWagAAPz8P/RKBuMnmC+kksm7O46DJ\n1Lv4Mgrjj7P5/dCMVCw+rsLqZAOeRwvL/y7MSzBoB7MY+k3ooncxMn0IB/5Q\nsFkVEORLdf7MjomauViJxccC5x8Scyuz4sO1HMkD+coGIUbqNpYIPkEGF33r\n/TxK58K24QBsySqB2IM/p/jBEhspP4qj0zlWU2Zw3LgXuJ85ZyfJzOPIN3wx\nuaJNf/++B4TissNn8meMEy/0W59SO6nmmvyVRvai2EcwYl7dPnW1cb9ZyFHb\nFFOvtoRIMaY6WKQLOJUr1UPyB1GmGgk9DwX2y/QxkBPwO2Dqn/A4a1TYesqL\nT1pKApuEjVmPhrtNjqHv+2ZnAgg4xlc9yiZ2LvIYaGkR4Z/renQvVQ45AldW\nrWClh87PYWEbQXhHrgE0fx7bESJ/OybGTv6cMNvl2Thu+uPjdlkugfQqfeC1\n72kiYwt1Go6RqjwI/EoSY5zUB+mPaYNGpwg4U6R7QZtKV4i0RPwa7GZJHK2s\nYgXBIqJ9WLL6QaRzihYuhRuF1rOyrSAOyQUEZzH3hQBl9tyAOGAcCLFFH0Ps\nvJ1ZPRbzNtHDMo+rdQOFVBzrRXQiDFOStGZFXO6pOiEO7p+I60Br4xRfJ920\ndIIZQhibWcqD+7B4qIamLKrH+ac+qLbrvTggfpMjHAma1GV84iEvkA5pyBuE\nJ+BK\r\n=UyxU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHjZpvzbCWOVpN/W2fdID05xRrpaPzEX+2wk1kVciCVaAiEA0IyH1sIdoq9VrCBSynJILRAYqBoSKPVFKZPwS21/fmE="}]},"_npmUser":{"name":"kevinhcolgan","email":"kevin@civic.com"},"directories":{},"maintainers":[{"name":"buzzec","email":"bbetter9101@gmail.com"},{"name":"rado0x54","email":"web@riedel-it.de"},{"name":"araptarchis","email":"alexis.raptarchis@googlemail.com"},{"name":"mitchcivic","email":"mitch@civic.com"},{"name":"identity.com-ci","email":"bruno@civic.com"},{"name":"dankelleher","email":"dankelleher@yahoo.com"},{"name":"dmelosantos","email":"danielmelos@gmail.com"},{"name":"flippiescholtz","email":"flippie@civic.com"},{"name":"kevinhcolgan","email":"kevin@civic.com"},{"name":"pbshoemaker","email":"phillip@identity.org"},{"name":"tyronemichael","email":"tyronemichael@gmail.com"},{"name":"lucmir","email":"luccmir@gmail.com"},{"name":"william-identity","email":"william@identity.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prove-ethereum-wallet_1.0.5_1637254587625_0.3352333350144532"},"_hasShrinkwrap":false},"1.1.0-beta.1":{"name":"@identity.com/prove-ethereum-wallet","version":"1.1.0-beta.1","description":"Library for providing a standard proof creation and verification for ethereum wallets","main":"dist/index.js","typings":"dist/index.d.ts","engines":{"node":">=12"},"author":{"name":"Kevin Colgan"},"license":"MIT","scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test","lint":"tsdx lint","prepare":"tsdx build","script":"ts-node -O '{\"module\":\"commonjs\"}' --transpile-only --files","size":"size-limit","analyze":"size-limit --why"},"module":"dist/prove-ethereum-wallet.esm.js","size-limit":[{"path":"dist/prove-ethereum-wallet.cjs.production.min.js","limit":"110 KB"},{"path":"dist/prove-ethereum-wallet.esm.js","limit":"10 KB"}],"dependencies":{"@ethersproject/abstract-signer":"^5.5.0","ethers":"^5.5.1"},"devDependencies":{"@size-limit/preset-small-lib":"^7.0.0","@size-limit/webpack":"^7.0.0","@size-limit/webpack-why":"^7.0.0","@types/yargs":"^17.0.5","@typescript-eslint/eslint-plugin":"^4.28.1","@typescript-eslint/parser":"^4.28.1","eslint":"^7.29.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^3.4.0","prettier":"^2.3.2","size-limit":"^7.0.0","ts-node":"^10.4.0","tsdx":"^0.14.1","tslib":"^2.3.1","typescript":"^4.4.4","yargs":"^17.2.1"},"readmeFilename":"README.md","readme":"# Prove-Ethereum-Wallet\n\nThis library proves ownership of an Ethereum wallet to off-chain verifiers. To create proof of ownership, a signing function must be provided that allows the user to sign some typed-data with their private key, thus proving they own the wallet. The verifier will check that the signature of the signer matches the wallet address to check, and that the contents of the signed typed-message are valid. The proof consists of a string of a base64 version of the message concatenated with a '.' and the base64 version of the signature. \n\n## Install\n\n```sh\nnpm install @identity.com/prove-ethereum-wallet\n```\n\nor \n\n```sh\nyarn add @identity.com/prove-ethereum-wallet\n```\n\n## Usage\n\nProve ownership of an Ethereum wallet\n\nProver side: \n```js\nconst { create } = require('@identity.com/prove-ethereum-wallet');\nconst ownerWallet = Wallet.createRandom();\n\nconst proof = await create((domain, types, message) => wallet._signTypedData(domain, types, message), { message: '<verifierUrl>' });\n```\n\nVerifier side:\n```js\nconst { verify } = require('@identity.com/prove-ethereum-wallet');\nconst success = await verify(expectedOwnerAddress, proof, { message: '<verifierUrl>' });\n```\n\n## Details\n\nThe prove() function generates some typed-data, including an expiry timestamp and message and\nsigns it with the wallet private key. For the transaction to be verified\nby the verify() function, it must:\n\n- have an expiry that is before UTC now()\n- be signed by the expected wallet address\n- contain a matching message\n\n\n## Configuration\n\nThe prove and verify functions can be configured as follows:\n\n### `domain` Optionally set the domain for the signed data\n\nOptional\nDefault:\n```\nexport const defaultDomain: TypedDataDomain = {\n  name: \"Proof Of Ethereum Wallet Ownership\",\n  version: \"1\",\n};\n```\n\n### `types` Optionally set the types to be used in the signed data\n\nOptional\nDefault:\n```\nexport const defaultTypes: Record<string, Array<TypedDataField>> = {\n  PoWo: [\n    { name: \"expires\", type: \"string\" },\n    { name: \"message\", type: \"string\" },\n  ],\n};\n```\n\n### `message` \n\nOptional\nDefault: empty\n\nThe message passed to check against the proof. This would normally be a nonce, or single use message to prevent the POWO from being re-used in a replay-attack.\n","licenseText":"MIT License\n\nCopyright (c) 2021 Identity.com\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@identity.com/prove-ethereum-wallet@1.1.0-beta.1","dist":{"shasum":"0c10b643355e1ad2fe32bb7b18e872faa1c83ea6","integrity":"sha512-l4AN94HiNUacWkRXKyLp0pAj0vujiP6ev+mz6iXg2Zdsp5SvuaunrD6908mg+p5LASz0O8ZHRB+xa7B0XndtAQ==","tarball":"https://registry.npmjs.org/@identity.com/prove-ethereum-wallet/-/prove-ethereum-wallet-1.1.0-beta.1.tgz","fileCount":19,"unpackedSize":221188,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCqJwqA/eMtTs/sxr7jOIQsKjEnvQesh0HeyXvmybwzygIgH8Z/vb71HGVbbOo1LwWGnhcZyQyjRgvzqD3ISXRvW34="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkUPV5ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqFsA/9F6ARbjdU+TSgyx/nx65+KqBl7QjTsnxCbKYCrq7ktRXIp4Zq\r\nI720hBIQdePyDx0XwMRTzumdZMDw9NdnthDeqQfmChjbgWHgw2f2hxOAthJD\r\nMtJqlr6ZnwiD+AVfbjgNHp+8gPXk4wFP8Z8BW8oKBmaCBepUlh3/Hmm5p9jK\r\nP+68Lh9jpFEdTvgqLK37sJuEdl4hmbZUKl/l2yEWMnxggtBTSi54q4fxcK7h\r\nhIw37uxn+oTCZSACuzJD4CIJviuIE8kNbkfIkbO+zLpkCVAi8rAQaERJ0tIR\r\ng1sEu0qnxe3A9Ewv0bUZIwNeEQmGfhAyD4vWRyV5vdS9UfyLC8q8KLhJXTdi\r\njLSt00OdvXmsc5fe55f7Khb0kaJfP6FtFHyL1iB9A1NC8DUWQpY1CsJWVT5h\r\nKdIL2ZS7/BLFmEejIePKwriciiSJRZfzOGPMirkCbLxKomksTZKSRbmOMf17\r\nKZuor5UmeNDV0hbNZui1kusjQZXClYYg5JtcM6pQBTQvmwtarPDkpGGFDmOJ\r\nhq7/0ZENR8yJI2P5gOAXl//HD8MUlCtEmRyEyB/havRRw1i7RjyhSD6SubBd\r\njFFHbOIhoMafmxw6NmrRT2sIzr/Hvh4s3Q6X+erAqFLP18Wa3jjIaVYATzd2\r\nYE2BrWrS++EFwRsK54j17mBwfuAK6wJjpPQ=\r\n=Usef\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"kevinhcolgan","email":"kevin@civic.com"},"directories":{},"maintainers":[{"name":"tbarri","email":"tighe.barris@gmail.com"},{"name":"chriteixeira","email":"chriteixeira@gmail.com"},{"name":"rado0x54","email":"web@riedel-it.de"},{"name":"araptarchis","email":"alexis.raptarchis@googlemail.com"},{"name":"mitchcivic","email":"mitch@civic.com"},{"name":"dankelleher","email":"dankelleher@yahoo.com"},{"name":"flippiescholtz","email":"flippie@civic.com"},{"name":"kevinhcolgan","email":"kevin@civic.com"},{"name":"pbshoemaker","email":"phillip@identity.org"},{"name":"tyronemichael","email":"tyronemichael@gmail.com"},{"name":"lucmir","email":"luccmir@gmail.com"},{"name":"william-identity","email":"william@identity.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prove-ethereum-wallet_1.1.0-beta.1_1683027321726_0.7761345003323505"},"_hasShrinkwrap":false},"1.1.0-beta.2":{"name":"@identity.com/prove-ethereum-wallet","version":"1.1.0-beta.2","description":"Library for providing a standard proof creation and verification for ethereum wallets","main":"dist/index.js","typings":"dist/index.d.ts","engines":{"node":">=12"},"author":{"name":"Kevin Colgan"},"license":"MIT","scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test","lint":"tsdx lint","prepare":"tsdx build","script":"ts-node -O '{\"module\":\"commonjs\"}' --transpile-only --files","size":"size-limit","analyze":"size-limit --why"},"module":"dist/prove-ethereum-wallet.esm.js","size-limit":[{"path":"dist/prove-ethereum-wallet.cjs.production.min.js","limit":"110 KB"},{"path":"dist/prove-ethereum-wallet.esm.js","limit":"10 KB"}],"dependencies":{"@ethersproject/abstract-signer":"^5.5.0","ethers":"^5.5.1"},"devDependencies":{"@size-limit/preset-small-lib":"^7.0.0","@size-limit/webpack":"^7.0.0","@size-limit/webpack-why":"^7.0.0","@types/yargs":"^17.0.5","@typescript-eslint/eslint-plugin":"^4.28.1","@typescript-eslint/parser":"^4.28.1","eslint":"^7.29.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^3.4.0","prettier":"^2.3.2","size-limit":"^7.0.0","ts-node":"^10.4.0","tsdx":"^0.14.1","tslib":"^2.3.1","typescript":"^4.4.4","yargs":"^17.2.1"},"readmeFilename":"README.md","readme":"# Prove-Ethereum-Wallet\n\nThis library proves ownership of an Ethereum wallet to off-chain verifiers. To create proof of ownership, a signing function must be provided that allows the user to sign some typed-data with their private key, thus proving they own the wallet. The verifier will check that the signature of the signer matches the wallet address to check, and that the contents of the signed typed-message are valid. The proof consists of a string of a base64 version of the message concatenated with a '.' and the base64 version of the signature. \n\n## Install\n\n```sh\nnpm install @identity.com/prove-ethereum-wallet\n```\n\nor \n\n```sh\nyarn add @identity.com/prove-ethereum-wallet\n```\n\n## Usage\n\nProve ownership of an Ethereum wallet\n\nProver side: \n```js\nconst { create } = require('@identity.com/prove-ethereum-wallet');\nconst ownerWallet = Wallet.createRandom();\n\nconst proof = await create((domain, types, message) => wallet._signTypedData(domain, types, message), { message: '<verifierUrl>' });\n```\n\nVerifier side:\n```js\nconst { verify } = require('@identity.com/prove-ethereum-wallet');\nconst success = await verify(expectedOwnerAddress, proof, { message: '<verifierUrl>' });\n```\n\n## Details\n\nThe prove() function generates some typed-data, including an expiry timestamp and message and\nsigns it with the wallet private key. For the transaction to be verified\nby the verify() function, it must:\n\n- have an expiry that is before UTC now()\n- be signed by the expected wallet address\n- contain a matching message\n\n\n## Configuration\n\nThe prove and verify functions can be configured as follows:\n\n### `domain` Optionally set the domain for the signed data\n\nOptional\nDefault:\n```\nexport const defaultDomain: TypedDataDomain = {\n  name: \"Proof Of Ethereum Wallet Ownership\",\n  version: \"1\",\n};\n```\n\n### `types` Optionally set the types to be used in the signed data\n\nOptional\nDefault:\n```\nexport const defaultTypes: Record<string, Array<TypedDataField>> = {\n  PoWo: [\n    { name: \"expires\", type: \"string\" },\n    { name: \"message\", type: \"string\" },\n  ],\n};\n```\n\n### `message` \n\nOptional\nDefault: empty\n\nThe message passed to check against the proof. This would normally be a nonce, or single use message to prevent the POWO from being re-used in a replay-attack.\n","licenseText":"MIT License\n\nCopyright (c) 2021 Identity.com\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@identity.com/prove-ethereum-wallet@1.1.0-beta.2","dist":{"shasum":"52c0880c9e231b2d3e5b08e2ab9ddda032fb3d06","integrity":"sha512-IEAl6NB3i3EW2+qvrUXRd62rQgsd1LtHxAdVoW/xPhRp+gUTwlDO2Hc9lTLaiXR5ok5SCC7nMGpwPsB6/E5DPw==","tarball":"https://registry.npmjs.org/@identity.com/prove-ethereum-wallet/-/prove-ethereum-wallet-1.1.0-beta.2.tgz","fileCount":19,"unpackedSize":225762,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICygTgWnZMpLN+WN4DFyJnG4wXYu0fyWSdZ4CxvT9ZHeAiAdawPUAeo4vFcf1MiCN1Tql7chpAXoJYxTM8J4AcrUgw=="}]},"_npmUser":{"name":"kevinhcolgan","email":"kevin@civic.com"},"directories":{},"maintainers":[{"name":"tbarri","email":"tighe.barris@gmail.com"},{"name":"chriteixeira","email":"chriteixeira@gmail.com"},{"name":"rado0x54","email":"web@riedel-it.de"},{"name":"araptarchis","email":"alexis.raptarchis@googlemail.com"},{"name":"mitchcivic","email":"mitch@civic.com"},{"name":"dankelleher","email":"dankelleher@yahoo.com"},{"name":"flippiescholtz","email":"flippie@civic.com"},{"name":"kevinhcolgan","email":"kevin@civic.com"},{"name":"pbshoemaker","email":"phillip@identity.org"},{"name":"tyronemichael","email":"tyronemichael@gmail.com"},{"name":"lucmir","email":"luccmir@gmail.com"},{"name":"william-identity","email":"william@identity.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prove-ethereum-wallet_1.1.0-beta.2_1683030769216_0.23739964661563517"},"_hasShrinkwrap":false},"1.1.0-beta.3":{"name":"@identity.com/prove-ethereum-wallet","version":"1.1.0-beta.3","description":"Library for providing a standard proof creation and verification for ethereum wallets","main":"dist/index.js","typings":"dist/index.d.ts","engines":{"node":">=12"},"author":{"name":"Kevin Colgan"},"license":"MIT","scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test","lint":"tsdx lint","prepare":"tsdx build","script":"ts-node -O '{\"module\":\"commonjs\"}' --transpile-only --files","size":"size-limit","analyze":"size-limit --why"},"module":"dist/prove-ethereum-wallet.esm.js","size-limit":[{"path":"dist/prove-ethereum-wallet.cjs.production.min.js","limit":"110 KB"},{"path":"dist/prove-ethereum-wallet.esm.js","limit":"10 KB"}],"dependencies":{"@ethersproject/abstract-signer":"^5.5.0","ethers":"^5.5.1"},"devDependencies":{"@size-limit/preset-small-lib":"^7.0.0","@size-limit/webpack":"^7.0.0","@size-limit/webpack-why":"^7.0.0","@types/yargs":"^17.0.5","@typescript-eslint/eslint-plugin":"^4.28.1","@typescript-eslint/parser":"^4.28.1","eslint":"^7.29.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^3.4.0","prettier":"^2.3.2","size-limit":"^7.0.0","ts-node":"^10.4.0","tsdx":"^0.14.1","tslib":"^2.3.1","typescript":"^4.4.4","yargs":"^17.2.1"},"readmeFilename":"README.md","readme":"# Prove-Ethereum-Wallet\n\nThis library proves ownership of an Ethereum wallet to off-chain verifiers. To create proof of ownership, a signing function must be provided that allows the user to sign some typed-data with their private key, thus proving they own the wallet. The verifier will check that the signature of the signer matches the wallet address to check, and that the contents of the signed typed-message are valid. The proof consists of a string of a base64 version of the message concatenated with a '.' and the base64 version of the signature. \n\n## Install\n\n```sh\nnpm install @identity.com/prove-ethereum-wallet\n```\n\nor \n\n```sh\nyarn add @identity.com/prove-ethereum-wallet\n```\n\n## Usage\n\nProve ownership of an Ethereum wallet\n\nProver side: \n```js\nconst { create } = require('@identity.com/prove-ethereum-wallet');\nconst ownerWallet = Wallet.createRandom();\n\nconst proof = await create((domain, types, message) => wallet._signTypedData(domain, types, message), { message: '<verifierUrl>' });\n```\n\nVerifier side:\n```js\nconst { verify } = require('@identity.com/prove-ethereum-wallet');\nconst success = await verify(expectedOwnerAddress, proof, { message: '<verifierUrl>' });\n```\n\n## Details\n\nThe prove() function generates some typed-data, including an expiry timestamp and message and\nsigns it with the wallet private key. For the transaction to be verified\nby the verify() function, it must:\n\n- have an expiry that is before UTC now()\n- be signed by the expected wallet address\n- contain a matching message\n\n\n## Configuration\n\nThe prove and verify functions can be configured as follows:\n\n### `domain` Optionally set the domain for the signed data\n\nOptional\nDefault:\n```\nexport const defaultDomain: TypedDataDomain = {\n  name: \"Proof Of Ethereum Wallet Ownership\",\n  version: \"1\",\n};\n```\n\n### `types` Optionally set the types to be used in the signed data\n\nOptional\nDefault:\n```\nexport const defaultTypes: Record<string, Array<TypedDataField>> = {\n  PoWo: [\n    { name: \"expires\", type: \"string\" },\n    { name: \"message\", type: \"string\" },\n  ],\n};\n```\n\n### `message` \n\nOptional\nDefault: empty\n\nThe message passed to check against the proof. This would normally be a nonce, or single use message to prevent the POWO from being re-used in a replay-attack.\n","licenseText":"MIT License\n\nCopyright (c) 2021 Identity.com\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@identity.com/prove-ethereum-wallet@1.1.0-beta.3","dist":{"shasum":"f098954518e3c6ac56ca60cd4aa29600bfd761b3","integrity":"sha512-pCmg49paxXyr0HAk6UUysNKHtY27C7vA+T8ZVgChvthQtZNHek1eKbJq8iuqdlLA0+bJXsrugJ8AF1Vu4ZyPyg==","tarball":"https://registry.npmjs.org/@identity.com/prove-ethereum-wallet/-/prove-ethereum-wallet-1.1.0-beta.3.tgz","fileCount":19,"unpackedSize":228655,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDTNTT/fsTuNJgN+34lVCe2ujqW9EuPg9qgMDwoWQq0tAiBtg93JagU21Tk+g8nPFv/0RrkpQstrj0ofPrKIA1c3Jg=="}]},"_npmUser":{"name":"kevinhcolgan","email":"kevin@civic.com"},"directories":{},"maintainers":[{"name":"tbarri","email":"tighe.barris@gmail.com"},{"name":"chriteixeira","email":"chriteixeira@gmail.com"},{"name":"rado0x54","email":"web@riedel-it.de"},{"name":"araptarchis","email":"alexis.raptarchis@googlemail.com"},{"name":"mitchcivic","email":"mitch@civic.com"},{"name":"dankelleher","email":"dankelleher@yahoo.com"},{"name":"flippiescholtz","email":"flippie@civic.com"},{"name":"kevinhcolgan","email":"kevin@civic.com"},{"name":"pbshoemaker","email":"phillip@identity.org"},{"name":"tyronemichael","email":"tyronemichael@gmail.com"},{"name":"lucmir","email":"luccmir@gmail.com"},{"name":"william-identity","email":"william@identity.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prove-ethereum-wallet_1.1.0-beta.3_1683032752711_0.6783351216583038"},"_hasShrinkwrap":false},"1.1.0-beta.4":{"name":"@identity.com/prove-ethereum-wallet","version":"1.1.0-beta.4","description":"Library for providing a standard proof creation and verification for ethereum wallets","main":"dist/index.js","typings":"dist/index.d.ts","engines":{"node":">=12"},"author":{"name":"Kevin Colgan"},"license":"MIT","scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test","lint":"tsdx lint","prepare":"tsdx build","script":"ts-node -O '{\"module\":\"commonjs\"}' --transpile-only --files","size":"size-limit","analyze":"size-limit --why"},"module":"dist/prove-ethereum-wallet.esm.js","size-limit":[{"path":"dist/prove-ethereum-wallet.cjs.production.min.js","limit":"110 KB"},{"path":"dist/prove-ethereum-wallet.esm.js","limit":"10 KB"}],"dependencies":{"@ethersproject/abstract-signer":"^5.5.0","ethers":"^5.5.1"},"devDependencies":{"@size-limit/preset-small-lib":"^7.0.0","@size-limit/webpack":"^7.0.0","@size-limit/webpack-why":"^7.0.0","@types/yargs":"^17.0.5","@typescript-eslint/eslint-plugin":"^4.28.1","@typescript-eslint/parser":"^4.28.1","eslint":"^7.29.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^3.4.0","prettier":"^2.3.2","size-limit":"^7.0.0","ts-node":"^10.4.0","tsdx":"^0.14.1","tslib":"^2.3.1","typescript":"^4.4.4","yargs":"^17.2.1"},"readmeFilename":"README.md","readme":"# Prove-Ethereum-Wallet\n\nThis library proves ownership of an Ethereum wallet to off-chain verifiers. To create proof of ownership, a signing function must be provided that allows the user to sign some typed-data with their private key, thus proving they own the wallet. The verifier will check that the signature of the signer matches the wallet address to check, and that the contents of the signed typed-message are valid. The proof consists of a string of a base64 version of the message concatenated with a '.' and the base64 version of the signature. \n\n## Install\n\n```sh\nnpm install @identity.com/prove-ethereum-wallet\n```\n\nor \n\n```sh\nyarn add @identity.com/prove-ethereum-wallet\n```\n\n## Usage\n\nProve ownership of an Ethereum wallet\n\nProver side: \n```js\nconst { create } = require('@identity.com/prove-ethereum-wallet');\nconst ownerWallet = Wallet.createRandom();\n\nconst proof = await create((domain, types, message) => wallet._signTypedData(domain, types, message), { message: '<verifierUrl>' });\n```\n\nVerifier side:\n```js\nconst { verify } = require('@identity.com/prove-ethereum-wallet');\nconst success = await verify(expectedOwnerAddress, proof, { message: '<verifierUrl>' });\n```\n\n## Details\n\nThe prove() function generates some typed-data, including an expiry timestamp and message and\nsigns it with the wallet private key. For the transaction to be verified\nby the verify() function, it must:\n\n- have an expiry that is before UTC now()\n- be signed by the expected wallet address\n- contain a matching message\n\n\n## Configuration\n\nThe prove and verify functions can be configured as follows:\n\n### `domain` Optionally set the domain for the signed data\n\nOptional\nDefault:\n```\nexport const defaultDomain: TypedDataDomain = {\n  name: \"Proof Of Ethereum Wallet Ownership\",\n  version: \"1\",\n};\n```\n\n### `types` Optionally set the types to be used in the signed data\n\nOptional\nDefault:\n```\nexport const defaultTypes: Record<string, Array<TypedDataField>> = {\n  PoWo: [\n    { name: \"expires\", type: \"string\" },\n    { name: \"message\", type: \"string\" },\n  ],\n};\n```\n\n### `message` \n\nOptional\nDefault: empty\n\nThe message passed to check against the proof. This would normally be a nonce, or single use message to prevent the POWO from being re-used in a replay-attack.\n","licenseText":"MIT License\n\nCopyright (c) 2021 Identity.com\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@identity.com/prove-ethereum-wallet@1.1.0-beta.4","dist":{"shasum":"766f259bea68a9a2efc58565143203e5da247a18","integrity":"sha512-OUbo8VoF4ZeDoaujlx5FWhrRWU6OL+ME2m5Iyo4Cr6Pd1z4ZMr4nqsBgKsmJR+IBMpI/plfQbia6yZTiYDMrVg==","tarball":"https://registry.npmjs.org/@identity.com/prove-ethereum-wallet/-/prove-ethereum-wallet-1.1.0-beta.4.tgz","fileCount":19,"unpackedSize":228641,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAZIMZ+6+1BgjEjJtwiwriBOEGiAOUMPdC7GuzqX8QD4AiB+FGvuhDjc0i/lIwrVWvyeCvafc9dznDL7Keuxj5kjLA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkU7OHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpCURAAmkWrKeSctrARs2J1wSgsjLacgcSS4gluxC8r5RTNelEIhEGD\r\n4SjB9/GHyr0yalSaiYeuiYsmRQV82LDsZUGaCL48/eXCbREIq+6ns1NF/SE6\r\nBXMLLqEn4ANTx3MJeb/kD4V68m7IRCrh+VarX9ASSmptA86TMJA/WdKZh31z\r\nJmSPWhBybwuyl9pAeS6Hw9BNlhH5ULBHIzMrvVVqKzlyxYIETeNFgk43CzlA\r\n6qnxuJksaqkMUdjeie8sgp5YRpX1EnvQPFDvCOCeLwZwt98KI1CEQMw8XLpk\r\nRufhelLOeRsNmf/qxWVA344Kj8BgEEcP3N4m6ahIHJ/yRmC6Ja1OzO4iUw9T\r\nN1m6ME7WTVAEczwEQP5Mb+JrYFadzFChzhmgDnCo1NpgRoxaEwVYfQa4wnII\r\nZ9Q6oYTbidHAKZnTAvMGit9B0hqexVAYalfvFox6V06WPvrrrXIWVJJYmWaK\r\nAvoKOAVQxyQCfHSYAwfCrcrWIWD5HMxN5Nu004SJFGJG8kzT/qFzMeWsOb2u\r\nkRGpqN9/0rchkHGQFt+L4vw6u3q+hyT4r3NxalpZWqfwKij2jfS5RaGcAgGl\r\n7HkFhZpbhJpjxobQILh8c2izC2uNTdhKHQ9erh19/wV6Rl1x97LQog43C+nM\r\n1H6a8u2FBuUqU8gVOZ8lII69nmSG7ySLm/o=\r\n=xBZl\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"kevinhcolgan","email":"kevin@civic.com"},"directories":{},"maintainers":[{"name":"tbarri","email":"tighe.barris@gmail.com"},{"name":"chriteixeira","email":"chriteixeira@gmail.com"},{"name":"rado0x54","email":"web@riedel-it.de"},{"name":"araptarchis","email":"alexis.raptarchis@googlemail.com"},{"name":"mitchcivic","email":"mitch@civic.com"},{"name":"dankelleher","email":"dankelleher@yahoo.com"},{"name":"flippiescholtz","email":"flippie@civic.com"},{"name":"kevinhcolgan","email":"kevin@civic.com"},{"name":"pbshoemaker","email":"phillip@identity.org"},{"name":"tyronemichael","email":"tyronemichael@gmail.com"},{"name":"lucmir","email":"luccmir@gmail.com"},{"name":"william-identity","email":"william@identity.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prove-ethereum-wallet_1.1.0-beta.4_1683207047442_0.9109001668658874"},"_hasShrinkwrap":false},"1.1.0":{"name":"@identity.com/prove-ethereum-wallet","version":"1.1.0","description":"Library for providing a standard proof creation and verification for ethereum wallets","main":"dist/index.js","typings":"dist/index.d.ts","engines":{"node":">=12"},"author":{"name":"Kevin Colgan"},"license":"MIT","scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test","lint":"tsdx lint","prepare":"tsdx build","script":"ts-node -O '{\"module\":\"commonjs\"}' --transpile-only --files","size":"size-limit","analyze":"size-limit --why"},"module":"dist/prove-ethereum-wallet.esm.js","size-limit":[{"path":"dist/prove-ethereum-wallet.cjs.production.min.js","limit":"110 KB"},{"path":"dist/prove-ethereum-wallet.esm.js","limit":"10 KB"}],"dependencies":{"@ethersproject/abstract-signer":"^5.5.0","ethers":"^5.5.1"},"devDependencies":{"@size-limit/preset-small-lib":"^7.0.0","@size-limit/webpack":"^7.0.0","@size-limit/webpack-why":"^7.0.0","@types/yargs":"^17.0.5","@typescript-eslint/eslint-plugin":"^4.28.1","@typescript-eslint/parser":"^4.28.1","eslint":"^7.29.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^3.4.0","prettier":"^2.3.2","size-limit":"^7.0.0","ts-node":"^10.4.0","tsdx":"^0.14.1","tslib":"^2.3.1","typescript":"^4.4.4","yargs":"^17.2.1"},"gitHead":"45a51765c7ec9b5da286d16fec829dd1c73a788b","_id":"@identity.com/prove-ethereum-wallet@1.1.0","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-872de5+TsGxv5t2th/ibAw1ux+aWjSvG5wqH0gg6pwzzUg6Ft7oITw2FmQTASxOuw4q3d9OwVD+yj9zH7NoEbA==","shasum":"e135d7b6a995866a0a017f296a54ac402a293aca","tarball":"https://registry.npmjs.org/@identity.com/prove-ethereum-wallet/-/prove-ethereum-wallet-1.1.0.tgz","fileCount":16,"unpackedSize":228634,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCooSPxBFLsydNFG51p7P5J7jEj0mG0YezlXDUFgdpFCgIhAKYN8Q4rycSbGFDu4AY0iYHty+42TzRDb6ME4fIaZ1JD"}]},"_npmUser":{"name":"lucmir","email":"luccmir@gmail.com"},"directories":{},"maintainers":[{"name":"tbarri","email":"tighe.barris@gmail.com"},{"name":"chriteixeira","email":"chriteixeira@gmail.com"},{"name":"rado0x54","email":"web@riedel-it.de"},{"name":"araptarchis","email":"alexis.raptarchis@googlemail.com"},{"name":"mitchcivic","email":"mitch@civic.com"},{"name":"dankelleher","email":"dankelleher@yahoo.com"},{"name":"flippiescholtz","email":"flippie@civic.com"},{"name":"kevinhcolgan","email":"kevin@civic.com"},{"name":"pbshoemaker","email":"phillip@identity.org"},{"name":"tyronemichael","email":"tyronemichael@gmail.com"},{"name":"lucmir","email":"luccmir@gmail.com"},{"name":"william-identity","email":"william@identity.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prove-ethereum-wallet_1.1.0_1683293261469_0.6713469398038103"},"_hasShrinkwrap":false},"1.1.1-beta.0":{"name":"@identity.com/prove-ethereum-wallet","version":"1.1.1-beta.0","description":"Library for providing a standard proof creation and verification for ethereum wallets","main":"dist/index.js","typings":"dist/index.d.ts","engines":{"node":">=12"},"author":{"name":"Kevin Colgan"},"license":"MIT","scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test","lint":"tsdx lint","prepare":"tsdx build","script":"ts-node -O '{\"module\":\"commonjs\"}' --transpile-only --files","size":"size-limit","analyze":"size-limit --why"},"module":"dist/prove-ethereum-wallet.esm.js","size-limit":[{"path":"dist/prove-ethereum-wallet.cjs.production.min.js","limit":"110 KB"},{"path":"dist/prove-ethereum-wallet.esm.js","limit":"10 KB"}],"dependencies":{"@ethersproject/abstract-signer":"^5.5.0","ethers":"^5.5.1"},"devDependencies":{"@size-limit/preset-small-lib":"^7.0.0","@size-limit/webpack":"^7.0.0","@size-limit/webpack-why":"^7.0.0","@types/yargs":"^17.0.5","@typescript-eslint/eslint-plugin":"^4.28.1","@typescript-eslint/parser":"^4.28.1","eslint":"^7.29.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^3.4.0","prettier":"^2.3.2","size-limit":"^7.0.0","ts-node":"^10.4.0","tsdx":"^0.14.1","tslib":"^2.3.1","typescript":"^4.4.4","yargs":"^17.2.1"},"readme":"# Prove-Ethereum-Wallet\n\nThis library proves ownership of an Ethereum wallet to off-chain verifiers. To create proof of ownership, a signing function must be provided that allows the user to sign some typed-data with their private key, thus proving they own the wallet. The verifier will check that the signature of the signer matches the wallet address to check, and that the contents of the signed typed-message are valid. The proof consists of a string of a base64 version of the message concatenated with a '.' and the base64 version of the signature. \n\n## Install\n\n```sh\nnpm install @identity.com/prove-ethereum-wallet\n```\n\nor \n\n```sh\nyarn add @identity.com/prove-ethereum-wallet\n```\n\n## Usage\n\nProve ownership of an Ethereum wallet\n\nProver side: \n```js\nconst { create } = require('@identity.com/prove-ethereum-wallet');\nconst ownerWallet = Wallet.createRandom();\n\nconst proof = await create((domain, types, message) => wallet._signTypedData(domain, types, message), { message: '<verifierUrl>' });\n```\n\nVerifier side:\n```js\nconst { verify } = require('@identity.com/prove-ethereum-wallet');\nconst success = await verify(expectedOwnerAddress, proof, { message: '<verifierUrl>' });\n```\n\n## Details\n\nThe prove() function generates some typed-data, including an expiry timestamp and message and\nsigns it with the wallet private key. For the transaction to be verified\nby the verify() function, it must:\n\n- have an expiry that is before UTC now()\n- be signed by the expected wallet address\n- contain a matching message\n\n\n## Configuration\n\nThe prove and verify functions can be configured as follows:\n\n### `domain` Optionally set the domain for the signed data\n\nOptional\nDefault:\n```\nexport const defaultDomain: TypedDataDomain = {\n  name: \"Proof Of Ethereum Wallet Ownership\",\n  version: \"1\",\n};\n```\n\n### `types` Optionally set the types to be used in the signed data\n\nOptional\nDefault:\n```\nexport const defaultTypes: Record<string, Array<TypedDataField>> = {\n  PoWo: [\n    { name: \"expires\", type: \"string\" },\n    { name: \"message\", type: \"string\" },\n  ],\n};\n```\n\n### `message` \n\nOptional\nDefault: empty\n\nThe message passed to check against the proof. This would normally be a nonce, or single use message to prevent the POWO from being re-used in a replay-attack.\n","readmeFilename":"README.md","gitHead":"a43305bc80ec71c6f98c1404c4f1c969ca18e294","_id":"@identity.com/prove-ethereum-wallet@1.1.1-beta.0","_nodeVersion":"14.21.2","_npmVersion":"6.14.17","dist":{"integrity":"sha512-YOFXH3pfjsGS0RJipeq936iHtSrm2ybsmVa4u5is/xjZIKrS6bPLnc6aa0y0yMWDOVWCFGtlsBSdMi/IzNDB9g==","shasum":"1a0b1032569dbe7d8e3e55bad0813bb9c02bf6d3","tarball":"https://registry.npmjs.org/@identity.com/prove-ethereum-wallet/-/prove-ethereum-wallet-1.1.1-beta.0.tgz","fileCount":16,"unpackedSize":235903,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHeTN9WMbplIpD0Rpm9HEjq8WTs2DF9aapHvnUvaGIMjAiEAxHaJUhzwXBPYxb53xDCOAV+Z8VPWmg5uAcnswgWRwVA="}]},"_npmUser":{"name":"tyronemichael","email":"tyronemichael@gmail.com"},"directories":{},"maintainers":[{"name":"tbarri","email":"tighe.barris@gmail.com"},{"name":"chriteixeira","email":"chriteixeira@gmail.com"},{"name":"rado0x54","email":"web@riedel-it.de"},{"name":"araptarchis","email":"alexis.raptarchis@googlemail.com"},{"name":"mitchcivic","email":"mitch@civic.com"},{"name":"dankelleher","email":"dankelleher@yahoo.com"},{"name":"flippiescholtz","email":"flippie@civic.com"},{"name":"kevinhcolgan","email":"kevin@civic.com"},{"name":"pbshoemaker","email":"phillip@identity.org"},{"name":"tyronemichael","email":"tyronemichael@gmail.com"},{"name":"lucmir","email":"luccmir@gmail.com"},{"name":"william-identity","email":"william@identity.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prove-ethereum-wallet_1.1.1-beta.0_1684233939181_0.5034756751709573"},"_hasShrinkwrap":false},"1.1.1-beta.1":{"name":"@identity.com/prove-ethereum-wallet","version":"1.1.1-beta.1","description":"Library for providing a standard proof creation and verification for ethereum wallets","main":"dist/index.js","typings":"dist/index.d.ts","engines":{"node":">=12"},"author":{"name":"Kevin Colgan"},"license":"MIT","scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test","lint":"tsdx lint","prepare":"tsdx build","script":"ts-node -O '{\"module\":\"commonjs\"}' --transpile-only --files","size":"size-limit","analyze":"size-limit --why"},"module":"dist/prove-ethereum-wallet.esm.js","size-limit":[{"path":"dist/prove-ethereum-wallet.cjs.production.min.js","limit":"110 KB"},{"path":"dist/prove-ethereum-wallet.esm.js","limit":"10 KB"}],"dependencies":{"@ethersproject/abstract-signer":"^5.5.0","buffer":"^6.0.3","ethers":"^5.5.1"},"devDependencies":{"@size-limit/preset-small-lib":"^7.0.0","@size-limit/webpack":"^7.0.0","@size-limit/webpack-why":"^7.0.0","@types/yargs":"^17.0.5","@typescript-eslint/eslint-plugin":"^4.28.1","@typescript-eslint/parser":"^4.28.1","eslint":"^7.29.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^3.4.0","prettier":"^2.3.2","size-limit":"^7.0.0","ts-node":"^10.4.0","tsdx":"^0.14.1","tslib":"^2.3.1","typescript":"^4.4.4","yargs":"^17.2.1"},"readme":"# Prove-Ethereum-Wallet\n\nThis library proves ownership of an Ethereum wallet to off-chain verifiers. To create proof of ownership, a signing function must be provided that allows the user to sign some typed-data with their private key, thus proving they own the wallet. The verifier will check that the signature of the signer matches the wallet address to check, and that the contents of the signed typed-message are valid. The proof consists of a string of a base64 version of the message concatenated with a '.' and the base64 version of the signature. \n\n## Install\n\n```sh\nnpm install @identity.com/prove-ethereum-wallet\n```\n\nor \n\n```sh\nyarn add @identity.com/prove-ethereum-wallet\n```\n\n## Usage\n\nProve ownership of an Ethereum wallet\n\nProver side: \n```js\nconst { create } = require('@identity.com/prove-ethereum-wallet');\nconst ownerWallet = Wallet.createRandom();\n\nconst proof = await create((domain, types, message) => wallet._signTypedData(domain, types, message), { message: '<verifierUrl>' });\n```\n\nVerifier side:\n```js\nconst { verify } = require('@identity.com/prove-ethereum-wallet');\nconst success = await verify(expectedOwnerAddress, proof, { message: '<verifierUrl>' });\n```\n\n## Details\n\nThe prove() function generates some typed-data, including an expiry timestamp and message and\nsigns it with the wallet private key. For the transaction to be verified\nby the verify() function, it must:\n\n- have an expiry that is before UTC now()\n- be signed by the expected wallet address\n- contain a matching message\n\n\n## Configuration\n\nThe prove and verify functions can be configured as follows:\n\n### `domain` Optionally set the domain for the signed data\n\nOptional\nDefault:\n```\nexport const defaultDomain: TypedDataDomain = {\n  name: \"Proof Of Ethereum Wallet Ownership\",\n  version: \"1\",\n};\n```\n\n### `types` Optionally set the types to be used in the signed data\n\nOptional\nDefault:\n```\nexport const defaultTypes: Record<string, Array<TypedDataField>> = {\n  PoWo: [\n    { name: \"expires\", type: \"string\" },\n    { name: \"message\", type: \"string\" },\n  ],\n};\n```\n\n### `message` \n\nOptional\nDefault: empty\n\nThe message passed to check against the proof. This would normally be a nonce, or single use message to prevent the POWO from being re-used in a replay-attack.\n","readmeFilename":"README.md","gitHead":"a43305bc80ec71c6f98c1404c4f1c969ca18e294","_id":"@identity.com/prove-ethereum-wallet@1.1.1-beta.1","_nodeVersion":"14.21.2","_npmVersion":"6.14.17","dist":{"integrity":"sha512-odAkskexx1MnztTox/GGpJDkW/FMzyfbu+gRP/GS5JFCWZHpebBAmMxLBL+LAj16iSC7FJvuCX0VeCaiyGp65A==","shasum":"5a971f4e1779d1b3c873105c0bf1be78b595ce3f","tarball":"https://registry.npmjs.org/@identity.com/prove-ethereum-wallet/-/prove-ethereum-wallet-1.1.1-beta.1.tgz","fileCount":16,"unpackedSize":228923,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDMVAhbCgrUtVjgrcX47G1XKUEAm1vV2xPqcxa1BWvgtAiAWDvmmC68QOkfeePtZJUiCn19q1G0F+REmna+I1Enxkw=="}]},"_npmUser":{"name":"tyronemichael","email":"tyronemichael@gmail.com"},"directories":{},"maintainers":[{"name":"tbarri","email":"tighe.barris@gmail.com"},{"name":"chriteixeira","email":"chriteixeira@gmail.com"},{"name":"rado0x54","email":"web@riedel-it.de"},{"name":"araptarchis","email":"alexis.raptarchis@googlemail.com"},{"name":"mitchcivic","email":"mitch@civic.com"},{"name":"dankelleher","email":"dankelleher@yahoo.com"},{"name":"flippiescholtz","email":"flippie@civic.com"},{"name":"kevinhcolgan","email":"kevin@civic.com"},{"name":"pbshoemaker","email":"phillip@identity.org"},{"name":"tyronemichael","email":"tyronemichael@gmail.com"},{"name":"lucmir","email":"luccmir@gmail.com"},{"name":"william-identity","email":"william@identity.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prove-ethereum-wallet_1.1.1-beta.1_1684312910795_0.10474001971752389"},"_hasShrinkwrap":false},"1.1.1":{"name":"@identity.com/prove-ethereum-wallet","version":"1.1.1","description":"Library for providing a standard proof creation and verification for ethereum wallets","main":"dist/index.js","typings":"dist/index.d.ts","engines":{"node":">=12"},"author":{"name":"Kevin Colgan"},"license":"MIT","scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test","lint":"tsdx lint","prepare":"tsdx build","script":"ts-node -O '{\"module\":\"commonjs\"}' --transpile-only --files","size":"size-limit","analyze":"size-limit --why"},"module":"dist/prove-ethereum-wallet.esm.js","size-limit":[{"path":"dist/prove-ethereum-wallet.cjs.production.min.js","limit":"110 KB"},{"path":"dist/prove-ethereum-wallet.esm.js","limit":"10 KB"}],"dependencies":{"@ethersproject/abstract-signer":"^5.5.0","buffer":"^6.0.3","ethers":"^5.5.1"},"devDependencies":{"@size-limit/preset-small-lib":"^7.0.0","@size-limit/webpack":"^7.0.0","@size-limit/webpack-why":"^7.0.0","@types/yargs":"^17.0.5","@typescript-eslint/eslint-plugin":"^4.28.1","@typescript-eslint/parser":"^4.28.1","eslint":"^7.29.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^3.4.0","prettier":"^2.3.2","size-limit":"^7.0.0","ts-node":"^10.4.0","tsdx":"^0.14.1","tslib":"^2.3.1","typescript":"^4.4.4","yargs":"^17.2.1"},"gitHead":"a43305bc80ec71c6f98c1404c4f1c969ca18e294","_id":"@identity.com/prove-ethereum-wallet@1.1.1","_nodeVersion":"14.21.2","_npmVersion":"6.14.17","dist":{"integrity":"sha512-E0mqT6AfsDGGOJT4090OuHZDFJCVTH/pgNBFAba0RpJc1foD88LmkW53r7NEPnHz4qE6QnwSNIrJpVggT/dMhA==","shasum":"a5eb9a9402f98e5c9b931049f7674c4d0a241afb","tarball":"https://registry.npmjs.org/@identity.com/prove-ethereum-wallet/-/prove-ethereum-wallet-1.1.1.tgz","fileCount":16,"unpackedSize":228916,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIASWGjYCdBf4YRbOIbq8f1rOxkGyiku8Ku6So1WOnUdvAiEA9Bqhf8hUbdAtcXhvlnfxoZsxzZspz7WF17F8/yrtYCI="}]},"_npmUser":{"name":"tyronemichael","email":"tyronemichael@gmail.com"},"directories":{},"maintainers":[{"name":"tbarri","email":"tighe.barris@gmail.com"},{"name":"chriteixeira","email":"chriteixeira@gmail.com"},{"name":"rado0x54","email":"web@riedel-it.de"},{"name":"araptarchis","email":"alexis.raptarchis@googlemail.com"},{"name":"mitchcivic","email":"mitch@civic.com"},{"name":"dankelleher","email":"dankelleher@yahoo.com"},{"name":"flippiescholtz","email":"flippie@civic.com"},{"name":"kevinhcolgan","email":"kevin@civic.com"},{"name":"pbshoemaker","email":"phillip@identity.org"},{"name":"tyronemichael","email":"tyronemichael@gmail.com"},{"name":"lucmir","email":"luccmir@gmail.com"},{"name":"william-identity","email":"william@identity.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prove-ethereum-wallet_1.1.1_1684315451652_0.31633317635925406"},"_hasShrinkwrap":false}},"time":{"created":"2021-11-18T10:11:33.863Z","1.0.0":"2021-11-18T10:11:34.073Z","modified":"2024-03-08T01:55:13.245Z","1.0.1":"2021-11-18T10:30:21.726Z","1.0.2":"2021-11-18T11:25:52.206Z","1.0.4":"2021-11-18T13:53:05.912Z","1.0.5":"2021-11-18T16:56:27.813Z","1.1.0-beta.1":"2023-05-02T11:35:21.924Z","1.1.0-beta.2":"2023-05-02T12:32:49.406Z","1.1.0-beta.3":"2023-05-02T13:05:52.910Z","1.1.0-beta.4":"2023-05-04T13:30:47.658Z","1.1.0":"2023-05-05T13:27:41.661Z","1.1.1-beta.0":"2023-05-16T10:45:39.356Z","1.1.1-beta.1":"2023-05-17T08:41:50.986Z","1.1.1":"2023-05-17T09:24:11.883Z"},"maintainers":[{"email":"robert.leonard@identity.org","name":"rleonard333"},{"email":"tighe.barris@gmail.com","name":"tbarri"},{"email":"chriteixeira@gmail.com","name":"chriteixeira"},{"email":"web@riedel-it.de","name":"rado0x54"},{"email":"mitch@civic.com","name":"mitchcivic"},{"email":"dankelleher@yahoo.com","name":"dankelleher"},{"email":"flippie@civic.com","name":"flippiescholtz"},{"email":"kevin@civic.com","name":"kevinhcolgan"},{"email":"phillip@identity.org","name":"pbshoemaker"},{"email":"tyronemichael@gmail.com","name":"tyronemichael"},{"email":"luccmir@gmail.com","name":"lucmir"}],"description":"Library for providing a standard proof creation and verification for ethereum wallets","author":{"name":"Kevin Colgan"},"license":"MIT","readme":"# Prove-Ethereum-Wallet\n\nThis library proves ownership of an Ethereum wallet to off-chain verifiers. To create proof of ownership, a signing function must be provided that allows the user to sign some typed-data with their private key, thus proving they own the wallet. The verifier will check that the signature of the signer matches the wallet address to check, and that the contents of the signed typed-message are valid. The proof consists of a string of a base64 version of the message concatenated with a '.' and the base64 version of the signature. \n\n## Install\n\n```sh\nnpm install @identity.com/prove-ethereum-wallet\n```\n\nor \n\n```sh\nyarn add @identity.com/prove-ethereum-wallet\n```\n\n## Usage\n\nProve ownership of an Ethereum wallet\n\nProver side: \n```js\nconst { create } = require('@identity.com/prove-ethereum-wallet');\nconst ownerWallet = Wallet.createRandom();\n\nconst proof = await create((domain, types, message) => wallet._signTypedData(domain, types, message), { message: '<verifierUrl>' });\n```\n\nVerifier side:\n```js\nconst { verify } = require('@identity.com/prove-ethereum-wallet');\nconst success = await verify(expectedOwnerAddress, proof, { message: '<verifierUrl>' });\n```\n\n## Details\n\nThe prove() function generates some typed-data, including an expiry timestamp and message and\nsigns it with the wallet private key. For the transaction to be verified\nby the verify() function, it must:\n\n- have an expiry that is before UTC now()\n- be signed by the expected wallet address\n- contain a matching message\n\n\n## Configuration\n\nThe prove and verify functions can be configured as follows:\n\n### `domain` Optionally set the domain for the signed data\n\nOptional\nDefault:\n```\nexport const defaultDomain: TypedDataDomain = {\n  name: \"Proof Of Ethereum Wallet Ownership\",\n  version: \"1\",\n};\n```\n\n### `types` Optionally set the types to be used in the signed data\n\nOptional\nDefault:\n```\nexport const defaultTypes: Record<string, Array<TypedDataField>> = {\n  PoWo: [\n    { name: \"expires\", type: \"string\" },\n    { name: \"message\", type: \"string\" },\n  ],\n};\n```\n\n### `message` \n\nOptional\nDefault: empty\n\nThe message passed to check against the proof. This would normally be a nonce, or single use message to prevent the POWO from being re-used in a replay-attack.\n","readmeFilename":"README.md"}