{"_id":"7hirthen-did-resolver","_rev":"14-f22d3f02f2857a04a8b1e095ccc6cf27","name":"7hirthen-did-resolver","dist-tags":{"latest":"0.3.14"},"versions":{"0.3.8":{"name":"7hirthen-did-resolver","version":"0.3.8","author":{"name":"Pelle Braendgaard","email":"pelle.braendgaard@consensys.net"},"license":"Apache-2.0","_id":"7hirthen-did-resolver@0.3.8","maintainers":[{"name":"spherity","email":"development@spherity.com"}],"homepage":"https://gitlab.com/spherity.dev/7hirthen-did-resolver#readme","bugs":{"url":"https://gitlab.com/spherity.dev/7hirthen-did-resolver/issues"},"dist":{"shasum":"19a20846734123a7f236d17e92e54fdd84c8a257","tarball":"https://registry.npmjs.org/7hirthen-did-resolver/-/7hirthen-did-resolver-0.3.8.tgz","fileCount":17,"integrity":"sha512-URA2/WCJ1B+KjL9RL0i5LSZCO7QfirnABjnsaJenSGDuUIrfjW66+B2oFh/0hzavt3gQptGoGZvLPXLOljf3EA==","signatures":[{"sig":"MEQCIGOZwlQYaajHxbklex/IbinwE9bSIJ9QJqum9OgMw6l2AiBIcKR8lvvLVneolKyCjh37sc9jkzu4/pnGGwcIjx4Ntg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1131818,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdSw40CRA9TVsSAnZWagAAHAwP/jynqIvAWiE2ayPyYs+t\nQtk6AOtHPgdTx5Co1TwoW4lrParHyCNemS4NqfEGM93I9sHMd0jcvTDJdlHK\nZe00bEAknAgtOkqFaPv1wVeZ7i4O8M45JM+VTf/dkO8tg2IKfBSEIMrUouKq\nT6OPUttPQWChbNTsAIfh9q/Y7g9QXOLQGytM9BHShc5Er95DIzxyeGMD2i/Q\nkLZZBAtD4KDiWrWpqeDn6gO3ohWqKfScOd87qkeBMdhnj4qbFJNQZ5nFIRPL\nYGea54haCE6bICB2zb68XasIWxoTaw2g9u1tXq9EtqHnF4hDMeKJMQTF/w4V\n2rm34+u1X6FGSn2ZKXDttYE/LoEyz36tcNg/pAAO66GRkmj4zb64EZDnuiJ6\nmV/15BF+R3Sk7QkJLX1oI8LKaZe0iW27zReCGwyKK6ypVxkN75RRlY+337WM\ndGDZXXDNaWQ71NHOq5/LnEh0u0t4DV3WSu9SI7iNIVxOOxJlZaAZHfQww7er\nDA0SNWr5GWyrAJPgO3CF+gStPe7Ia5UOUYdIo/T6aUVdQm0TadIL17V66zmZ\nXVGipoifOGWJFj0rUhgRGpgJRauVbnZ4CKDQ3k7UzfJAEcf3+oc5R70Dqb1N\nxRfNu1cIYwOCnF+8QX5XFQcOpnhLLYjjamUCIi5++58Urzn9wnVWwTjNOl3L\ncfTe\r\n=tZsI\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testURL":"http://localhost/","collectCoverage":true,"coverageDirectory":"./coverage/"},"main":"lib/register.js","gitHead":"d48ef1845cf38d916398fb1822a69163fc6a20a4","scripts":{"test":"jest","build":"yarn build:es5 && yarn build:webpack","build:es5":"babel src -d lib","build:webpack":"webpack lib/register.js","prepublishOnly":"yarn build"},"_npmUser":{"name":"spherity","email":"development@spherity.com"},"standard":{"ignore":["lib/**"],"globals":["it","describe","expect","jest","beforeAll","beforeEach","afterAll","afterEach"]},"repository":{"url":"git+https://gitlab.com/spherity.dev/7hirthen-did-resolver.git","type":"git"},"_npmVersion":"6.4.1","description":"Resolve DID documents around ethereum addresses","directories":{},"_nodeVersion":"11.5.0","dependencies":{"buffer":"^5.1.0","ethjs-abi":"^0.2.1","ethjs-query":"^0.3.5","did-resolver":"^0.0.4","babel-runtime":"^6.26.0","ethjs-contract":"^0.1.9","ethr-did-registry":"^0.0.3","ethjs-provider-http":"^0.1.6","babel-plugin-module-resolver":"^3.1.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^22.4.3","jsdom":"11.11.0","webpack":"^4.5.0","standard":"^11.0.0","babel-cli":"^6.26.0","babel-core":"^6.26.0","babel-jest":"^22.4.3","ganache-cli":"^6.1.0","webpack-cli":"^2.0.14","babel-preset-env":"^1.6.1","truffle-contract":"^3.0.4","regenerator-runtime":"^0.11.1","babel-plugin-transform-runtime":"^6.23.0","babel-plugin-transform-es2015-modules-umd":"^6.24.1"},"_npmOperationalInternal":{"tmp":"tmp/7hirthen-did-resolver_0.3.8_1565199923631_0.4203898489119242","host":"s3://npm-registry-packages"}},"0.3.9":{"name":"7hirthen-did-resolver","version":"0.3.9","author":{"name":"Pelle Braendgaard","email":"pelle.braendgaard@consensys.net"},"license":"Apache-2.0","_id":"7hirthen-did-resolver@0.3.9","maintainers":[{"name":"spherity","email":"development@spherity.com"}],"homepage":"https://gitlab.com/spherity.dev/7hirthen-did-resolver#readme","bugs":{"url":"https://gitlab.com/spherity.dev/7hirthen-did-resolver/issues"},"dist":{"shasum":"3e4b6c4cd66ec05ec593fab0665ada5605e075f7","tarball":"https://registry.npmjs.org/7hirthen-did-resolver/-/7hirthen-did-resolver-0.3.9.tgz","fileCount":17,"integrity":"sha512-FWt3n8WEzoqelmg0+hyibfPOvNYM7zByjvBQDM3RlM1JXZQj4sLaMRK5frRdK+bW3ta4l/TTuGtAsSAJxCFUlw==","signatures":[{"sig":"MEUCIQDnRG/UayekWqq8pe79OBvqGNS8elBa2bL1HrDm77/WWgIgfgtPAtnd4I4Q33HXPLgAHKoUa13tvMC/2uHDxt9BAlY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1131609,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdS7iTCRA9TVsSAnZWagAAE+4P/3fg3UooMJi7hNsIVYuT\nZCf4WHcVLjjlDdoFnYNElcBj12XMBDT/CtD0hzq160iEv0i5hyMEWzZgaV+H\nyKcZo9JasRzujbvyMvVveqh1L58ASZmHtI/mCk4EoXJ7V+rtffBHxBcQB6PP\ntR+fJx9UQ5FqtTV2rCnNcu1LkKl8yd4WpKbGcfVd03hly4rIZ/LPXtLz8Bck\nNMZ+frt55/OS/dkq4P5d+afshgDoe+s6O6Oh+hxJZ0Os2NegEvkydHCimFyS\nXbIDj9sGhwcF1cQqiDYZjg5JT7LAcNp1+/rosp8m8UZbGcITxkrk7p85h/rc\nmr1YtmWs1yIAxI9LUFU/jETMpKHjArBrCntyeoPoV00K/TAbYozjRnTT5wDf\nRqI2iqbkUAR7z9sjjM+Jv2qBL2LvDWZwbVKy3hzT86Q3Xfta5KYpIwT9W8ed\n8EeldNZbhEnetcyGsM1+xSbP8AQ4txbzamHNP0ba+VsMYKHNhKKgFj7CXtp/\nAGCjHd3oiU+SjSjvNmi9skSYVKF0Wd4UuRrlGbEGcUxv5wTP8HKOuKWnZYkr\nBIzm0YiM3UbW8GbV4+hJOUt5gUYRohQFxGW1+F6Am8M5xrh/QxKVh9fV+v6x\neILib2RR3sb5g7ML/iWcvETKW5cNfg+skGWT8lV2BHlcx+z/N+BGeeDGqhn2\nP54K\r\n=7l7x\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testURL":"http://localhost/","collectCoverage":true,"coverageDirectory":"./coverage/"},"main":"lib/register.js","gitHead":"e36a4d179832b3cdec6ee9080a9442c9746679aa","scripts":{"test":"jest","build":"yarn build:es5 && yarn build:webpack","build:es5":"babel src -d lib","build:webpack":"webpack lib/register.js","prepublishOnly":"yarn build"},"_npmUser":{"name":"spherity","email":"development@spherity.com"},"standard":{"ignore":["lib/**"],"globals":["it","describe","expect","jest","beforeAll","beforeEach","afterAll","afterEach"]},"repository":{"url":"git+https://gitlab.com/spherity.dev/7hirthen-did-resolver.git","type":"git"},"_npmVersion":"6.4.1","description":"Resolve DID documents around ethereum addresses","directories":{},"_nodeVersion":"11.5.0","dependencies":{"buffer":"^5.1.0","ethjs-abi":"^0.2.1","ethjs-query":"^0.3.5","did-resolver":"^0.0.4","babel-runtime":"^6.26.0","ethjs-contract":"^0.1.9","ethr-did-registry":"^0.0.3","ethjs-provider-http":"^0.1.6","babel-plugin-module-resolver":"^3.1.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^22.4.3","jsdom":"11.11.0","webpack":"^4.5.0","standard":"^11.0.0","babel-cli":"^6.26.0","babel-core":"^6.26.0","babel-jest":"^22.4.3","ganache-cli":"^6.1.0","webpack-cli":"^2.0.14","babel-preset-env":"^1.6.1","truffle-contract":"^3.0.4","regenerator-runtime":"^0.11.1","babel-plugin-transform-runtime":"^6.23.0","babel-plugin-transform-es2015-modules-umd":"^6.24.1"},"_npmOperationalInternal":{"tmp":"tmp/7hirthen-did-resolver_0.3.9_1565243538646_0.8733889810168722","host":"s3://npm-registry-packages"}},"0.3.10":{"name":"7hirthen-did-resolver","version":"0.3.10","author":{"name":"Pelle Braendgaard","email":"pelle.braendgaard@consensys.net"},"license":"Apache-2.0","_id":"7hirthen-did-resolver@0.3.10","maintainers":[{"name":"spherity","email":"development@spherity.com"}],"homepage":"https://gitlab.com/spherity.dev/7hirthen-did-resolver#readme","bugs":{"url":"https://gitlab.com/spherity.dev/7hirthen-did-resolver/issues"},"dist":{"shasum":"685ec84aa9a5d188bb59721fde8abdbc770d0e00","tarball":"https://registry.npmjs.org/7hirthen-did-resolver/-/7hirthen-did-resolver-0.3.10.tgz","fileCount":11,"integrity":"sha512-TZzxWsGIrnuAugzfReFjCzT7b++ltQuf74ukWL4wxdT6YqNGMTa+4acCynLRFIszOhV7mEP0HZktHYri+0g/mQ==","signatures":[{"sig":"MEUCIF2RccZjIYcHXNwj1H3HeWd70aUGrB34ZzXaT+AvDWnvAiEAlBeChs0JwOxoBfcnRZ2dOkVdGbe43qUQiKsLi6sdJGU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":383558,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdS/+dCRA9TVsSAnZWagAAqfUP/iNlRvx+tyI+OF3W7F2s\nBXelSHi48OuwAbccp4BLndNWI2y29lRZAaitMuF1nk7uoHYMd9IJ9CXTwxNV\n48bsuz7EltWf8tKO/xnw/RmpOImQErLmbYea4OCwNJ+mdjRJh+E5eR8BAmi/\nBPhF7Z5XhQ68uoNwobq3mlc0ekUmAcH810ezFddziqZB7c9uxdDpi2tqEvMt\nGqaJb1M0x4jJ0WEag7XKTAhN+iNcFsvWsEobzAEyOthDyyi7JT53rQiMc1JU\nhi33QFo1X9CIy3pg23qaewBWexo0PKVSptubbjCYdHFJ+wDcouXZkbkZVh5m\ngndwgHy4pdt2mE7UDtEGJ1xscSNQvJpDfgc4NwvnljxsIEIrota0lX3iHAE/\nfZxQ3vbo4osBxRonk6adD4jIyj9FF5p6qgtKRUkD05x0Adq96jEw8NsaVJf4\n/CO8uUUXf8hO4nior2ZC4tRsmnZ0hSI8cYRAdViCDcOPy7VaHk0aaWrHTw88\nLnNnvEWes3DFDaMyQM6h17TPYdDI63BPRnYaWq1o8MNS4LeHJVcKfHtVhfhF\nBIe4WB0WAVkCsYa3kMcFNbcsfPOu6VY6osAv5BU6fdXlDCKfzvniRir14R6d\nbbUhvdnPosrPGdwR/6yhihYxuNS6ssculi0qwhZ5axwBfUP5P2TbwabFx1eB\nrY1u\r\n=+ugI\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testURL":"http://localhost/","collectCoverage":true,"coverageDirectory":"./coverage/"},"main":"lib/register.js","gitHead":"d800512ef8f6ee9ca6464d2b33750fcaae4cb1b8","scripts":{"test":"jest","build":"yarn build:es5 && yarn build:webpack","build:es5":"babel src -d lib","build:webpack":"webpack lib/register.js","prepublishOnly":"yarn build"},"_npmUser":{"name":"spherity","email":"development@spherity.com"},"standard":{"ignore":["lib/**"],"globals":["it","describe","expect","jest","beforeAll","beforeEach","afterAll","afterEach"]},"repository":{"url":"git+https://gitlab.com/spherity.dev/7hirthen-did-resolver.git","type":"git"},"_npmVersion":"6.4.1","description":"Resolve DID documents around ethereum addresses","directories":{},"_nodeVersion":"11.5.0","dependencies":{"buffer":"^5.1.0","ethjs-abi":"^0.2.1","ethjs-query":"^0.3.5","did-resolver":"^0.0.4","babel-runtime":"^6.26.0","ethjs-contract":"^0.1.9","ethr-did-registry":"^0.0.3","ethjs-provider-http":"^0.1.6","babel-plugin-module-resolver":"^3.1.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^22.4.3","jsdom":"11.11.0","webpack":"^4.5.0","standard":"^11.0.0","babel-cli":"^6.26.0","babel-core":"^6.26.0","babel-jest":"^22.4.3","ganache-cli":"^6.1.0","webpack-cli":"^2.0.14","babel-preset-env":"^1.6.1","truffle-contract":"^3.0.4","regenerator-runtime":"^0.11.1","babel-plugin-transform-runtime":"^6.23.0","babel-plugin-transform-es2015-modules-umd":"^6.24.1"},"_npmOperationalInternal":{"tmp":"tmp/7hirthen-did-resolver_0.3.10_1565261724329_0.5982727060958095","host":"s3://npm-registry-packages"}},"0.3.11":{"name":"7hirthen-did-resolver","version":"0.3.11","author":{"name":"Pelle Braendgaard","email":"pelle.braendgaard@consensys.net"},"license":"Apache-2.0","_id":"7hirthen-did-resolver@0.3.11","maintainers":[{"name":"spherity","email":"development@spherity.com"}],"homepage":"https://gitlab.com/spherity.dev/7hirthen-did-resolver#readme","bugs":{"url":"https://gitlab.com/spherity.dev/7hirthen-did-resolver/issues"},"dist":{"shasum":"0384fbfc1db79e5d78306ab766205c7e412489af","tarball":"https://registry.npmjs.org/7hirthen-did-resolver/-/7hirthen-did-resolver-0.3.11.tgz","fileCount":11,"integrity":"sha512-fEo2hBgZRXkyLEmGt6PHwEA+VWFjL1PvxpWU47EwX98O8gGPZnTB/uZqGgBXDtebQs/kRfnNLfswTNRsgh/2Xw==","signatures":[{"sig":"MEUCIQDCbAglnFvXk6KCazp7MFv2Njzty898Ec+9TijQMSlBEgIgSQSNC+uNJG5KPRO6c1Rc2m4TkOk+meI0tHoKWYQwKBo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":383555,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdTAFtCRA9TVsSAnZWagAAvygP/RiGW7xLXl9eCe7zLaHT\nwJdlfcmk4Z0G/CPpw9beOrcDKhN8CzTY4S+S4vz6m6XNRk26s+gabrYFUg9m\ncvptVY/Fa0kbbQRHUDmXDFjNOTWAqg3/gaVr/vrjI4j0wsqBXrvF+ek5F+KB\n++sxP680fBFb4QhQSUo7/9rbnHFpuYwzntPmhZ8fsZvuaSk9Zrhgczneo9rL\nVzfjIS/ekMi9h46IDjGSJWU+2I+CgZ1VyOpv/p2tIG32p4TUpg+9d9Au6A5w\nm5tVm2wVB3iMzFUBGJKjeyg1bN+VkWc/O+jvY7VyMqpdQeOUj9DlyS6y1vgu\nddXagGlEfGzwNAlPFV95AqnuTwha5rs4mZCQjTUnwfqlTqHwSwE0zCoPgbVh\nDy/DQ13kow4pcjUYuvsZ/zhiBPoQGVaS6kChoXHppDs+VJ2u9XaNgg3okvSV\nO0MbJul2SSXh24yVHbRBnpFzFM+wBw4R9H6XQ7cx7uEKpBio1ByTrrf626Qs\nVtmFgYw0lcX9HOsjuwGkOYJGqHkt//YTWyiFezj33nP7E4ZUD6YZIbFVmgPv\nHKiYkzEWkrI7NRp1iKsP1PCFkrXwQi1HukxP7/KocQCVo6L/aqcGBcybLZiZ\ncHGbdXXWfW5AXDVdLw7YS69kxp0gfrEiZqH/uow1ybnPglUo6NFJkvknAWes\n5NOX\r\n=R+Rq\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testURL":"http://localhost/","collectCoverage":true,"coverageDirectory":"./coverage/"},"main":"lib/register.js","gitHead":"cb57c8201614a75dcf70cc57d635bf009709d1f4","scripts":{"test":"jest","build":"yarn build:es5 && yarn build:webpack","build:es5":"babel src -d lib","build:webpack":"webpack lib/register.js","prepublishOnly":"yarn build"},"_npmUser":{"name":"spherity","email":"development@spherity.com"},"standard":{"ignore":["lib/**"],"globals":["it","describe","expect","jest","beforeAll","beforeEach","afterAll","afterEach"]},"repository":{"url":"git+https://gitlab.com/spherity.dev/7hirthen-did-resolver.git","type":"git"},"_npmVersion":"6.4.1","description":"Resolve DID documents around ethereum addresses","directories":{},"_nodeVersion":"11.5.0","dependencies":{"buffer":"^5.1.0","ethjs-abi":"^0.2.1","ethjs-query":"^0.3.5","did-resolver":"^0.0.4","babel-runtime":"^6.26.0","ethjs-contract":"^0.1.9","ethr-did-registry":"^0.0.3","ethjs-provider-http":"^0.1.6","babel-plugin-module-resolver":"^3.1.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^22.4.3","jsdom":"11.11.0","webpack":"^4.5.0","standard":"^11.0.0","babel-cli":"^6.26.0","babel-core":"^6.26.0","babel-jest":"^22.4.3","ganache-cli":"^6.1.0","webpack-cli":"^2.0.14","babel-preset-env":"^1.6.1","truffle-contract":"^3.0.4","regenerator-runtime":"^0.11.1","babel-plugin-transform-runtime":"^6.23.0","babel-plugin-transform-es2015-modules-umd":"^6.24.1"},"_npmOperationalInternal":{"tmp":"tmp/7hirthen-did-resolver_0.3.11_1565262188540_0.7789963856154576","host":"s3://npm-registry-packages"}},"0.3.12":{"name":"7hirthen-did-resolver","version":"0.3.12","author":{"name":"Pelle Braendgaard","email":"pelle.braendgaard@consensys.net"},"license":"Apache-2.0","_id":"7hirthen-did-resolver@0.3.12","maintainers":[{"name":"spherity","email":"development@spherity.com"}],"homepage":"https://gitlab.com/spherity.dev/7hirthen-did-resolver#readme","bugs":{"url":"https://gitlab.com/spherity.dev/7hirthen-did-resolver/issues"},"dist":{"shasum":"51b2ac0effb360c1737f9470c3f5ab11303b4243","tarball":"https://registry.npmjs.org/7hirthen-did-resolver/-/7hirthen-did-resolver-0.3.12.tgz","fileCount":11,"integrity":"sha512-M4pz0JU6JDZ+hX1GYr1z0ttXCsvkAy4DQJM68R0ZR9X1vg7s/jZ/w5u7kBRUxPe9sO2psnAzuMm6Qedtg3Zl5w==","signatures":[{"sig":"MEQCICwGWjjnuRlZSjay2hAxAUaDTxE3YClTbsEvXf+9E+YmAiAugmwrQcFA6G7Hfh+tmrTMyG5GKBVJuS0zgtueDa9VLg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":384102,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdUTmtCRA9TVsSAnZWagAAtJcQAKQBGzGM/72rLBFG0ogh\nJj1N4ZsPG9cCDv1VUa0CkvFAxt9emYzPW7vWuafIh7sSi5BlOs7RlEnsVEJN\niZb55bRxe26CIQi8ERME5GDmr/oAGQjhCugLAj/C3pxCGw9cmadeyH7WeTm1\nZF9P9rOriwg9u/zW8roJx40gxJBELzF/azKRxxkQVfp8OOphqPqBWs0YoZVH\nxGonGbbFYveGvcUCBccRy1i6xTPyxuj3o9eD1mmgL9D6Bg0BI1XKREsECHWS\nZY0CMBznqkAjKykHd3mb1hJYmLSZpa0cWvOIduAS0hoNccJYhjRLQvPLPQX6\nFRGNSwRHpQ8tzQoghMeqJiHXW8og4vpy+SqGI7BRCJd2o/Wl5f7a6tqNRTNY\npVsqEz436VwN4arU1aMngp6gkkKZXc5sIUvFVNCDFkIKaRliOjd9Eb7dR811\nFUL+nGVrsLOfx7H8ZdevYB/UqtnYRAu5h2bYcaFY8TsDNjdEj+Wto4dmq7iL\nHuV8xynbm3Dhaz4otZCUuapD0FxXw4bSFlSWr6Bl7M1bnfH0E0WMvcUEIU7G\nuFxLOxxLws7gPXijFUNC/qSGjsSHLFYjJFDvQ1dfE2AR/vzFBGqIoK07Kn1X\n+GAj3umAk+1yn9Hq2yMYXXX5Qa8YZHvwtytQF4Hfz3blnz/bczfPblsisdgn\nnrY4\r\n=rVv9\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testURL":"http://localhost/","collectCoverage":true,"coverageDirectory":"./coverage/"},"main":"lib/register.js","gitHead":"10e754579ad0fabb8674f5782e5d2673a9b8b597","scripts":{"test":"jest","build":"yarn build:es5 && yarn build:webpack","build:es5":"babel src -d lib","build:webpack":"webpack lib/register.js","prepublishOnly":"yarn build"},"_npmUser":{"name":"spherity","email":"development@spherity.com"},"standard":{"ignore":["lib/**"],"globals":["it","describe","expect","jest","beforeAll","beforeEach","afterAll","afterEach"]},"repository":{"url":"git+https://gitlab.com/spherity.dev/7hirthen-did-resolver.git","type":"git"},"_npmVersion":"6.4.1","description":"Resolve DID documents around ethereum addresses","directories":{},"_nodeVersion":"11.5.0","dependencies":{"buffer":"^5.1.0","ethjs-abi":"^0.2.1","ethjs-query":"^0.3.5","did-resolver":"^0.0.4","babel-runtime":"^6.26.0","ethjs-contract":"^0.1.9","ethr-did-registry":"^0.0.3","ethjs-provider-http":"^0.1.6","babel-plugin-module-resolver":"^3.1.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^22.4.3","jsdom":"11.11.0","webpack":"^4.5.0","standard":"^11.0.0","babel-cli":"^6.26.0","babel-core":"^6.26.0","babel-jest":"^22.4.3","ganache-cli":"^6.1.0","webpack-cli":"^2.0.14","babel-preset-env":"^1.6.1","truffle-contract":"^3.0.4","regenerator-runtime":"^0.11.1","babel-plugin-transform-runtime":"^6.23.0","babel-plugin-transform-es2015-modules-umd":"^6.24.1"},"_npmOperationalInternal":{"tmp":"tmp/7hirthen-did-resolver_0.3.12_1565604268600_0.8184849595906323","host":"s3://npm-registry-packages"}},"0.3.14":{"name":"7hirthen-did-resolver","version":"0.3.14","author":{"name":"Pelle Braendgaard","email":"pelle.braendgaard@consensys.net"},"license":"Apache-2.0","_id":"7hirthen-did-resolver@0.3.14","maintainers":[{"name":"spherity","email":"development@spherity.com"}],"homepage":"https://gitlab.com/spherity.dev/7hirthen-did-resolver#readme","bugs":{"url":"https://gitlab.com/spherity.dev/7hirthen-did-resolver/issues"},"dist":{"shasum":"03cd22bd1d0ceb1514978937900adef3e08966e4","tarball":"https://registry.npmjs.org/7hirthen-did-resolver/-/7hirthen-did-resolver-0.3.14.tgz","fileCount":11,"integrity":"sha512-wM/SAjpspbbOX7VVwCdkBAzKoeET0QVg7WQpwW31vJgL4jMlAzP+UwJgiJ1GZKzyMTylJIu+mG69LfRSSyJ48g==","signatures":[{"sig":"MEQCIEP79lSc9VljKId+T6g/pFcxLZjPIwGwa4fCUDwQkzzCAiAd/4fvvC6TmCqaX8G89/g7i/4d4EKpRWS6ClSiYj8SMg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":384242,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdUUlMCRA9TVsSAnZWagAA/20P/3NgvWDx8u4t7NW5N9Bj\ncMXf8HSyl5nQHyNcjgIriFK6sS4ukeG2KhxsNb/Ja6JklKf5Te9rm6iOFqag\nQIrxSnY3YHSNxBECQPY4kqsHJbZs4YlqzR7pEzkR9+ZrNl6TMIkACauBv0Mw\ng4jMcb4biD6mkz6FnCvzTCZSRjPbk3DhdgAzuxowLM7yS/lGuvvAyzj7pH1g\ner6zsPjoe1M4Q3vl4FceGAEFoZzf46Cna6TDrNN67w3+BBFxB0rVjo/UFsg5\nvlecIFQZDlz/cMltQ6GPB7A71wF3tnEjrDGK4XdzKDpGpgyE5HuYmYXkOLD5\nejbJAzeBpl1h1hzz7lTtZVyCfLKignDdX7RPJYGbdYeExJxz8BuuAuCbYmGc\njRdZB7tQZGBVRHBsfn/JgThyscVNW95l9QauBcj5WMuNowz2DAYRS97DceFM\nI97Bm30XVXZFLJ2L0TF/tgcqKjQ3WT9lrfeyXJHGludqncwHzxq7a9xEQTbW\nfaRRHABGGBQEjwffz7Fg8ARlv3g1LECQoKs77hZ5cURUO5/4slfAhiP9VYik\nQZSJ3DljagYrvmufuEDTku7xs8EE6MD5IhUtU1fGUXn8jhLvA4d/r6ymarDK\nNkRXo7EILZHJkbS1A2Iq9PStMrEcyJUC0O7VWarVooCy+XZu8eAjHpwsCwDn\n1WS+\r\n=D78Y\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testURL":"http://localhost/","collectCoverage":true,"coverageDirectory":"./coverage/"},"main":"lib/register.js","gitHead":"5305a7c963ca52361f995ae0c53a55c3f14332bb","scripts":{"test":"jest","build":"yarn build:es5 && yarn build:webpack","build:es5":"babel src -d lib","build:webpack":"webpack lib/register.js","prepublishOnly":"yarn build"},"_npmUser":{"name":"spherity","email":"development@spherity.com"},"standard":{"ignore":["lib/**"],"globals":["it","describe","expect","jest","beforeAll","beforeEach","afterAll","afterEach"]},"repository":{"url":"git+https://gitlab.com/spherity.dev/7hirthen-did-resolver.git","type":"git"},"_npmVersion":"6.4.1","description":"Resolve DID documents around ethereum addresses","directories":{},"_nodeVersion":"11.5.0","dependencies":{"buffer":"^5.1.0","ethjs-abi":"^0.2.1","ethjs-query":"^0.3.5","did-resolver":"^0.0.4","babel-runtime":"^6.26.0","ethjs-contract":"^0.1.9","ethr-did-registry":"^0.0.3","ethjs-provider-http":"^0.1.6","babel-plugin-module-resolver":"^3.1.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^22.4.3","jsdom":"11.11.0","webpack":"^4.5.0","standard":"^11.0.0","babel-cli":"^6.26.0","babel-core":"^6.26.0","babel-jest":"^22.4.3","ganache-cli":"^6.1.0","webpack-cli":"^2.0.14","babel-preset-env":"^1.6.1","truffle-contract":"^3.0.4","regenerator-runtime":"^0.11.1","babel-plugin-transform-runtime":"^6.23.0","babel-plugin-transform-es2015-modules-umd":"^6.24.1"},"_npmOperationalInternal":{"tmp":"tmp/7hirthen-did-resolver_0.3.14_1565608268067_0.11392751330907114","host":"s3://npm-registry-packages"}}},"time":{"created":"2019-08-07T17:45:23.629Z","modified":"2024-08-29T12:40:54.307Z","0.3.8":"2019-08-07T17:45:23.829Z","0.3.9":"2019-08-08T05:52:18.805Z","0.3.10":"2019-08-08T10:55:24.474Z","0.3.11":"2019-08-08T11:03:08.665Z","0.3.12":"2019-08-12T10:04:28.704Z","0.3.14":"2019-08-12T11:11:08.261Z"},"bugs":{"url":"https://gitlab.com/spherity.dev/7hirthen-did-resolver/issues"},"author":{"name":"Pelle Braendgaard","email":"pelle.braendgaard@consensys.net"},"license":"Apache-2.0","homepage":"https://gitlab.com/spherity.dev/7hirthen-did-resolver#readme","repository":{"url":"git+https://gitlab.com/spherity.dev/7hirthen-did-resolver.git","type":"git"},"description":"Resolve DID documents around ethereum addresses","maintainers":[{"email":"sebbis.iphone@googlemail.com","name":"s3bb1"},{"email":"daniyal.khalil@spherity.com","name":"daniyalkhalil16"},{"email":"philipp@bolte.id","name":"strumswell"},{"email":"development@spherity.com","name":"spherity-team"}],"readme":"---\ntitle: \"Ethr DID Resolver\"\nindex: 7\ncategory: \"ethr-did-resolver\"\ntype: \"reference\"\nsource: \"https://github.com/uport-project/ethr-did-resolver/blob/develop/README.md\"\n---\n\n# ethr DID Resolver\n\nThis library is intended to use ethereum addresses as fully self managed [Decentralized Identifiers](https://w3c-ccg.github.io/did-spec/#decentralized-identifiers-dids) and wrap them in a [DID Document](https://w3c-ccg.github.io/did-spec/#did-documents)\n\nIt supports the proposed [Decentralized Identifiers](https://w3c-ccg.github.io/did-spec/) spec from the [W3C Credentials Community Group](https://w3c-ccg.github.io).\n\nIt requires the `did-resolver` library, which is the primary interface for resolving DIDs.\n\nThe DID method relies on the [ethr-did-registry](https://github.com/uport-project/ethr-did-registry).\n\n## DID method\n\nTo encode a DID for an Ethereum address, simply prepend `did:ethr:`\n\neg:\n\n`did:ethr:0xf3beac30c498d9e26865f34fcaa57dbb935b0d74`\n\n## DID Document\n\nThe did resolver takes the ethereum address, checks for the current owner, looks at contract events and builds a simple DID document.\n\nThe minimal DID document for a an ethereum address `0xf3beac30c498d9e26865f34fcaa57dbb935b0d74` with no transactions to the registry looks like this:\n\n```js\n{\n  '@context': 'https://w3id.org/did/v1',\n  id: 'did:ethr:0xb9c5714089478a327f09197987f16f9e5d936e8a',\n  publicKey: [{\n       id: 'did:ethr:0xb9c5714089478a327f09197987f16f9e5d936e8a#owner',\n       type: 'Secp256k1VerificationKey2018',\n       owner: 'did:ethr:0xb9c5714089478a327f09197987f16f9e5d936e8a',\n       ethereumAddress: '0xb9c5714089478a327f09197987f16f9e5d936e8a'}],\n  authentication: [{\n       type: 'Secp256k1SignatureAuthentication2018',\n       publicKey: 'did:ethr:0xb9c5714089478a327f09197987f16f9e5d936e8a#owner'}]\n}\n```\n\nNote this uses the `Secp256k1VerificationKey2018` type and an `ethereumAddress` instead of a `publicKeyHex`.\n\n## Building a DID document\n\nThe DID document is built by using read only functions and contract events on the [ethr-did-registry](https://github.com/uport-project/ethr-did-registry) Ethereum smart contract.\n\nAny value from the registry that returns an ethereum address will be added to the `publicKey` array of the DID document with type `Secp256k1VerificationKey2018` and an `ethereumAddress` attribute containing the address.\n\n### Owner Address\n\nEach identity always has an owner address. By default it's the same as the identity address, but check the read only contract function `identityOwner(address identity)` on the deployed version of the EthrDIDRegistry contract.\n\nThe Identity owner will always have a `publicKey` with the id set as the DID with the fragment `#owner` appended.\n\nAn entry is also added to the `authentication` array of the DID document with type `Secp256k1SignatureAuthentication2018`.\n\n### Enumerating contract events for an identity\n\nThe `EthereumDIDRegistry` contract publishes 3 types of events for each identity.\n\n- `DIDOwnerChanged`\n- `DIDDelegateChanged`\n- `DIDAttributeChanged`\n\nIf a change has ever been made for an identity the block number is stored in the `changed` mapping.\n\nThe latest event can be efficiently looked up by checking for one of the 3 above events at that exact block.\n\nEach event contains a `previousChange` value which contains the block number of the previous change (if any)\n\nTo see all changes in history for an identity use the following pseudo code:\n\n1. call `changed(address identity)` contract\n2. if result is null return\n3. filter for events for all the above types with the contracts address on the specified block\n4. if event has a previous change then go to 3\n\n### Delegate Keys\n\nDelegate Keys are ethereum addresses that can either be general signing keys or optionally also perform authentication.\n\nThey are also verifiable from solidity (see [ethr-did-registry](https://github.com/uport-project/ethr-did-registry) for more info).\n\nA `DIDDelegateChanged` event is published that is used to build a DID.\n\n```solidity\nevent DIDDelegateChanged(\n    address indexed identity,\n    bytes32 delegateType,\n    address delegate,\n    uint validTo,\n    uint previousChange\n  );\n```\n\nThe only 2 delegateTypes that are currently published in the DID Document are:\n\n- `veriKey` Which adds a `Secp256k1VerificationKey2018` to the `publicKey` section of document\n- `sigAuth` Which adds a `Secp256k1SignatureAuthentication2018` to the `publicKey` section of document. An entry is also added to the `authentication` section of document.\n\n**Note** The `delegateType` is a `bytes32` type for Ethereum gas efficiency reasons and not a string. This restricts us to 32 bytes, which is why we use the short hand versions above.\n\nOnly events with a `validTo` in seconds greater or equal to current time should be included in the DID document.\n\n### Non Ethereum Attributes\n\nNon ethereum keys, service elements etc can be added using attributes. Attributes only exist on the blockchain as contract events of type `DIDAttributeChanged` and can thus not be queried from within solidity code.\n\n```solidity\nevent DIDAttributeChanged(\n    address indexed identity,\n    bytes32 name,\n    bytes value,\n    uint validTo,\n    uint previousChange\n  );\n```\n\n**Note** The `name` is a `bytes32` type for Ethereum gas efficiency reasons and not a string. This restricts us to 32 bytes, which is why we use the short hand attribute versions below.\n\nWhile any attribute can be stored. For the DID document we currently support adding to each of these sections of the DID document:\n\n- [`Public Keys`](https://w3c-ccg.github.io/did-spec/#public-keys)\n- [`Service Endpoints`](https://w3c-ccg.github.io/did-spec/#service-endpoints)\n\n### Public Keys\n\nThe name of the attribute should follow this format:\n\n`did/pub/(Secp256k1|RSA|Ed25519)/(veriKey|sigAuth)/(hex|base64)`\n\n#### Hex encoded Secp256k1 Verification Key\n\nA `DIDAttributeChanged` event for the identity `0xf3beac30c498d9e26865f34fcaa57dbb935b0d74` with the name `did/pub/Secp256k1/veriKey/hex` and the value of `0x02b97c30de767f084ce3080168ee293053ba33b235d7116a3263d29f1450936b71` generates a `PublicKey` entry like this:\n\n```js\n{\n  id: \"did:ethr:0xf3beac30c498d9e26865f34fcaa57dbb935b0d74#delegate-1\",\n  type: \"Secp256k1VerificationKey2018\",\n  owner: \"did:ethr:0xf3beac30c498d9e26865f34fcaa57dbb935b0d74\",\n  publicKeyHex: '02b97c30de767f084ce3080168ee293053ba33b235d7116a3263d29f1450936b71'\n}\n```\n\n#### Base64 encoded Ed25519 Verification Key\n\nA `DIDAttributeChanged` event for the identity `0xf3beac30c498d9e26865f34fcaa57dbb935b0d74` with the name `did/pub/Ed25519/veriKey/base64` and the value of `0xb97c30de767f084ce3080168ee293053ba33b235d7116a3263d29f1450936b71` generates a `PublicKey` entry like this:\n\n```js\n{\n  id: \"did:ethr:0xf3beac30c498d9e26865f34fcaa57dbb935b0d74#delegate-1\",\n  type: \"Ed25519VerificationKey2018\",\n  owner: \"did:ethr:0xf3beac30c498d9e26865f34fcaa57dbb935b0d74\",\n  publicKeyBase64: \"uXww3nZ/CEzjCAFo7ikwU7ozsjXXEWoyY9KfFFCTa3E=\"\n}\n```\n\nWe are looking for people to submit support for `pem`, `base58` and `jwk` key formats as well.\n\n### Service Endpoints\n\nThe name of the attribute should follow this format:\n\n`did/svc/[ServiceName]`\n\n#### Hex encoded Secp256k1 Verification Key\n\nA `DIDAttributeChanged` event for the identity `0xf3beac30c498d9e26865f34fcaa57dbb935b0d74` with the name `did/svc/HubService` and value of the url `https://hubs.uport.me` hex encoded as `0x68747470733a2f2f687562732e75706f72742e6d65` generates a `Service` entry like this:\n\n```js\n{\n  type: \"HubService\",\n  serviceEndpoint: \"https://hubs.uport.me\"\n}\n```\n\n## Resolving a DID document\n\nThe resolver presents a simple `resolver()` function that returns a ES6 Promise returning the DID document.\n\n```js\nimport resolve from 'did-resolver'\nimport registerResolver from 'ethr-did-resolver'\n\nregisterResolver()\n\nresolve('did:ethr:0xf3beac30c498d9e26865f34fcaa57dbb935b0d74').then(doc => console.log)\n\n// You can also use ES7 async/await syntax\nconst doc = await resolve('did:ethr:0xf3beac30c498d9e26865f34fcaa57dbb935b0d74')\n```\n","readmeFilename":"README.md"}