{"_id":"3id-resolver","_rev":"17-9061b77b88cff7cd74e66766ddf9df49","name":"3id-resolver","dist-tags":{"next":"0.0.5-beta.1","latest":"1.0.1"},"versions":{"0.0.1":{"name":"3id-resolver","version":"0.0.1","author":{"name":"3box","email":"team@3box.io"},"license":"MIT","_id":"3id-resolver@0.0.1","maintainers":[{"name":"oed","email":"oed@3box.io"}],"homepage":"https://github.com/uport-project/muport-did-resolver#readme","bugs":{"url":"https://github.com/uport-project/muport-did-resolver/issues"},"dist":{"shasum":"05222d531073cd3d4f2b4dec905100a36310e1da","tarball":"https://registry.npmjs.org/3id-resolver/-/3id-resolver-0.0.1.tgz","fileCount":5,"integrity":"sha512-1HgVc4NcrcH/06PRu3wV1zavIqSszWPWBibMCUFYievUHlu6I7Yly1D/J1fqMZclZIsam3BSX1/Z5BUdurRhHA==","signatures":[{"sig":"MEQCIA+ANpRZKBcsbSXD4QMOE8xZSJSKmqgkNe5da39dn2FBAiAeWgyHyJ1CS56ay82XR0mzAUcsBq8BE+tPLabQr23ETw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11450,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc3SxgCRA9TVsSAnZWagAA/b8QAI6buO4y3gXGTtki4DSL\nExyYwDgcgCR9vNYY3lCY9FLsCAvGNwwrmDmbPuvMfw6FcMzPHp4hqhSKllE8\n4g8QlUiJjvSDjP6RgqEJKLPLbxg2KATekMYALuscZBlVPxfH+KHXXN+Jpgeg\nvCRl7+rpMIZTsGRoJ+fvwNmYTtKDdyhPtiMBc+MgrHCATIe5DWSPjp8cuHsb\nfZKTtowJZBRLQO2RObDI8VM5yz+XD7Wp3m7PMKcXvRKEhiIp5i2OU3DDhxy/\nNilyk+f8GuD0u0pSj2SeK4PIWEmA5RjpCrXc2ht54Pq75YYUjbn858HGbKjQ\nKIlobf8IJ8xyN8hLRR7aNkemfLDSLaJQHZk3ZSlUYDuuN4Wihi8ndTwmhspN\n45LIbXSlqieyX/5nsPyCj6izG+JSKc1/cspqxHa9VWvMc7uF91DEfYDEWb4o\nJGpft3RkMJ3GfXIsBaK6yAK4dJUK1MY/dt7LITuZUuN2yGJkuDlOj2Oj8GUE\nehGyMVRz8M5w10E943cIG67muJcMFABTyby0k8R8E+4lI1TBlctSD98hAs2o\nsE0/j566HqrIjWA4MaAO9l3QGyQjWz6mJx1qJORtiCeU2MI1pPBOBS/GKcrZ\no9ER9j9PbeuyLgOicUv/PRrNoreglzuXRu1MHajArOusB+VZw1pc1nCmSP6v\nEzUP\r\n=lEuI\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"collectCoverage":true,"coverageDirectory":"./coverage/"},"main":"src/register.js","browser":{"xmlhttprequest":false},"gitHead":"df3de1a9445e27ebbf2410e4eda46377e235a17e","scripts":{"test":"rm -rf ./.ipfs; jest --runInBand --testURL=\"http://localhost\"","prepublishOnly":"npm test"},"_npmUser":{"name":"oed","email":"oed@3box.io"},"standard":{"ignore":[],"globals":["it","describe","expect","jest","beforeAll","beforeEach","afterAll","afterEach"]},"deprecated":"Deprecated in favor of Ceramic: https://developers.ceramic.network","repository":{"url":"git+https://github.com/uport-project/muport-did-resolver.git","type":"git"},"_npmVersion":"6.4.1","description":"Resolve 3ID documents","directories":{},"_nodeVersion":"10.11.0","dependencies":{"did-jwt":"^0.1.3","ipfsd-ctl":"^0.42.2","did-resolver":"0.0.6","ipfs-did-document":"^1.2.2"},"_hasShrinkwrap":false,"devDependencies":{"ipfs":"^0.35.0","jest":"^22.4.0","standard":"^11.0.0","babel-cli":"^6.26.0","babel-core":"^6.26.0","babel-jest":"^22.4.0","babel-preset-env":"^1.6.0","regenerator-runtime":"^0.11.1","babel-plugin-transform-runtime":"^6.23.0","babel-plugin-transform-es2015-modules-umd":"^6.24.1"},"_npmOperationalInternal":{"tmp":"tmp/3id-resolver_0.0.1_1557998687863_0.19627558475065787","host":"s3://npm-registry-packages"}},"0.0.2":{"name":"3id-resolver","version":"0.0.2","author":{"name":"3box","email":"team@3box.io"},"license":"MIT","_id":"3id-resolver@0.0.2","maintainers":[{"name":"oed","email":"oed@3box.io"},{"name":"zachferland","email":"zachferland@gmail.com"}],"homepage":"https://github.com/uport-project/muport-did-resolver#readme","bugs":{"url":"https://github.com/uport-project/muport-did-resolver/issues"},"dist":{"shasum":"31c1092e0a00f5c084431ea5f302cad366b9742d","tarball":"https://registry.npmjs.org/3id-resolver/-/3id-resolver-0.0.2.tgz","fileCount":5,"integrity":"sha512-RebndcbHFn6qR2EJ9w/51pqSQTs4THBkVp/faoXDZHIgX2VKhGwXtN+T++FjdhgQ+zZIBYNSErauWka8k/Ev0g==","signatures":[{"sig":"MEUCIQD96ySwChnpQn7ewoI/rAtpSHfKczLcPjMjIkhWCzVdJAIgEWRRwYxTkkEk+F0cD8vf0hnGbLQKIJW2WaX0m5a62Dk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11394,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc3TE0CRA9TVsSAnZWagAAbTwP/iKpfvnpTsym0Y8xB6df\nJiswrd/a7MN2p2nilJs2IHiCjgxiQiu2TYcWPUHLtcUBfq2+JTNEWKscxFFW\nPiqXziYmmhZ9tjDnNoJZt7TAA9E4B8X09YmgIlGeOF4I8qYPeyxhfNv1+uti\nQYfcDtrOF/hW2wxWUOeCGZawSMj9YdonNX4i3ERiQCX8gLr4np4M7nYe/zgz\n6xci8CGI9ovEEWpF9Pc+nR9P+/rQUb/5Z3fA+XK9U40T6No9qHwKaCO1hvNa\nJtkR3JM1o2IwHTPQvFMMnrliyZfbqgePFeiet8QHE4pWZE1vf8tpYWOsxgzz\nCnqOYOzOFguH3TbkzopLLi7Zghly9gpXy8Q+wq1fcPaBDPssX1oncAuOE5AB\nSMngnj1TWZ5ncAyt3BGK+ASGWT4Gu6lEwFha+KC1qV7bD8vGE4ja0068kohC\nTRMp+SwSA8OjUIRCJ3N6zJqJx9pcLrKiTNn+uB/LT3djty9VkWKJAwJQZGR5\nL6Ck9maV4vq2PdwQsYzVSAX4lxj8Z4kQZmyqshIr8KOeLWRnZPR5l55PRSwm\nodgLsevXv4FcftZo2oAiKBo1+oWpy+avdLU8D+unTJA0bGbIuVuFd2A1iooA\noznjjIETkOA5AC38YdkFrzQjiC+zN++6/Ip1FWdktVZS4/sIadfUhkV1smvL\npAUH\r\n=CVTH\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"collectCoverage":true,"coverageDirectory":"./coverage/"},"main":"src/register.js","browser":{"xmlhttprequest":false},"gitHead":"3cfeac1df6c06fd7d8b3efa037e629660836e567","scripts":{"test":"rm -rf ./.ipfs; jest --runInBand --testURL=\"http://localhost\"","prepublishOnly":"npm test"},"_npmUser":{"name":"oed","email":"oed@3box.io"},"standard":{"ignore":[],"globals":["it","describe","expect","jest","beforeAll","beforeEach","afterAll","afterEach"]},"deprecated":"Deprecated in favor of Ceramic: https://developers.ceramic.network","repository":{"url":"git+https://github.com/uport-project/muport-did-resolver.git","type":"git"},"_npmVersion":"6.4.1","description":"Resolve 3ID documents","directories":{},"_nodeVersion":"10.11.0","dependencies":{"did-jwt":"^0.1.3","did-resolver":"0.0.6","ipfs-did-document":"^1.2.2"},"_hasShrinkwrap":false,"devDependencies":{"ipfs":"^0.35.0","jest":"^22.4.0","standard":"^11.0.0","babel-cli":"^6.26.0","babel-core":"^6.26.0","babel-jest":"^22.4.0","babel-preset-env":"^1.6.0","regenerator-runtime":"^0.11.1","babel-plugin-transform-runtime":"^6.23.0","babel-plugin-transform-es2015-modules-umd":"^6.24.1"},"_npmOperationalInternal":{"tmp":"tmp/3id-resolver_0.0.2_1557999924099_0.1256116671174401","host":"s3://npm-registry-packages"}},"0.0.3":{"name":"3id-resolver","version":"0.0.3","author":{"name":"3box","email":"team@3box.io"},"license":"MIT","_id":"3id-resolver@0.0.3","maintainers":[{"name":"oed","email":"oed@3box.io"},{"name":"zachferland","email":"zachferland@gmail.com"}],"homepage":"https://github.com/uport-project/muport-did-resolver#readme","bugs":{"url":"https://github.com/uport-project/muport-did-resolver/issues"},"dist":{"shasum":"054fae9175d5ff2a017c841c4701fed9459a1765","tarball":"https://registry.npmjs.org/3id-resolver/-/3id-resolver-0.0.3.tgz","fileCount":5,"integrity":"sha512-7EYFp1UmoULWlEeWknX59voNcs5zsQOeurkOtZaiOos3utxwRwwUMUJTZF6dmaT7U9Wl4C4JH9SKH2BmW9NKJg==","signatures":[{"sig":"MEYCIQDKrFIggaHAHMbrkt8Rg+F4dNYKG4Zmw+OQ+ll7ZBqj8QIhAIXu/J8RTwRmKqMQT32lHXmFW1fAyh4SBj/YHJrnB8qo","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11399,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc3aX4CRA9TVsSAnZWagAAbrYP/RboGtRBnHzMW81bg+S2\nx18yzZ+e3vGLyGpcgyF0YRGla5PY1ksOIqNnaj+otw2GVYjFc7CeXnU2o5Ei\nD0RIJD68ysdmW41xGmiDcyXgzWNZMZZzX1HCC5T+n+4W3DAvmG88PqxnHWTY\nEQsqhQiww/4QsYJXqxEu1VVHn7XWb++fuNoduTdj6K8lk7TgaxWF9dkZsk7y\n4vzldvtHjRNN2Ikm/3PN/qhB2A9i/8+Thk5xnzDNL4bI6xezK3/l71xKdval\nq0OA7pqweKBgH/zfWOsPMykGpl0mT3r4Qe+a8ccmB1AvkpU+7SLwFnM3NLqR\nEViil8Oi34Ab4pnY6Q193RM3cix4c+rfc26dbMkXJtiPquLIeOAX6mdHEYe/\nXP3REb6AIXklo5rS8bkXDN/sRsLKSgm9LL4Ej95JkMXhyJpPIKSkQnTM6QB5\nZZyoASGVCdkUK7iGU+SUNA6Y6ZLHzZrcPF40ZgPYePq7ES/xl50ogqT8JISU\nIO18zuHqIcqaddJuCdqNSUKE7/V3SGfcumAmM4qGdlUuNPmSwxjHbe0IbD//\nWJOxvt0EW/Md4h14Ublr76lyrun44n/P9umqFzovRgz7szkBwxgqmGclDIAO\nyAzOkRPpDsukIjNK4ebXa/5t3wEwn0UFYnjLv1qM+6Y27De4d6P/nAJIR/38\nXnlL\r\n=WMws\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"collectCoverage":true,"coverageDirectory":"./coverage/"},"main":"src/register.js","browser":{"xmlhttprequest":false},"gitHead":"f296339f52ba0c7e54df248ed0491be79ba78804","scripts":{"test":"rm -rf ./.ipfs; jest --runInBand --testURL=\"http://localhost\"","prepublishOnly":"npm test"},"_npmUser":{"name":"oed","email":"oed@3box.io"},"standard":{"ignore":[],"globals":["it","describe","expect","jest","beforeAll","beforeEach","afterAll","afterEach"]},"deprecated":"Deprecated in favor of Ceramic: https://developers.ceramic.network","repository":{"url":"git+https://github.com/uport-project/muport-did-resolver.git","type":"git"},"_npmVersion":"6.4.1","description":"Resolve 3ID documents","directories":{},"_nodeVersion":"10.11.0","dependencies":{"did-jwt":"^0.1.3","did-resolver":"0.0.6","@babel/runtime":"^7.1.2","ipfs-did-document":"^1.2.3"},"_hasShrinkwrap":false,"devDependencies":{"ipfs":"^0.35.0","jest":"^22.4.0","standard":"^11.0.0","@babel/cli":"^7.1.2","babel-core":"7.0.0-bridge.0","@babel/core":"^7.1.2","@babel/preset-env":"^7.1.0","@babel/preset-react":"^7.0.0","regenerator-runtime":"^0.11.1","@babel/plugin-transform-runtime":"^7.1.0","@babel/plugin-transform-modules-commonjs":"^7.2.0","@babel/plugin-proposal-object-rest-spread":"^7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/3id-resolver_0.0.3_1558029816330_0.18287653191551012","host":"s3://npm-registry-packages"}},"0.0.4":{"name":"3id-resolver","version":"0.0.4","author":{"name":"3box","email":"team@3box.io"},"license":"MIT","_id":"3id-resolver@0.0.4","maintainers":[{"name":"oed","email":"oed@3box.io"},{"name":"zachferland","email":"zachferland@gmail.com"}],"homepage":"https://github.com/uport-project/muport-did-resolver#readme","bugs":{"url":"https://github.com/uport-project/muport-did-resolver/issues"},"dist":{"shasum":"ddebbcfa489eaa40ba7c4ddafbb1295898ee6144","tarball":"https://registry.npmjs.org/3id-resolver/-/3id-resolver-0.0.4.tgz","fileCount":6,"integrity":"sha512-aBm2NTFvbpWLm1jhxCL/6fQ1HA3OVBq3QpC75a0j4TEbSoU59vrCFwACd0Zr+0FqDtUgICbtEpyjMaoeA14l2g==","signatures":[{"sig":"MEQCIHM7mI+JJ85jJqzAivPDcldwgT0QZAKSko1YzaEBG3UNAiAvHsQbFYHB2iTaYzLVY6x1o4YQ5okyuva1ECAEslPL4Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16515,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc3a8QCRA9TVsSAnZWagAAYr0P/jNTgQFj3yvHMTvTP9k4\nLYpvn1Yn6bVRH26NU4Nr6U+Dy5y0i9JkChgfgzZIaEq2XxS2V2dUD9v/i4/t\n0yBnKPRRPgFOxzTIdf8kK0us81X/Md6KieBbW4UYuE/u2/ZRXECPBlWFFbv0\nhrZBl6cNBZ4/h7vHk6utyCys8CXICaeljNvHv2+Arx0F4cqX+D2wbeRoTVQq\nz3J37QR4J2ch8ZToZIilBiJ8nTIAZuRxwnysz1M9Hlaca6qv7AwcY/H5S81F\nlqIJwuL8+QmIiMTeib0u8xq6J7bLAd+Yb2+5eqdTuQ5cVLgNLA0rF9+LCHZx\nNByGBapRkBHyVyqIikjLZnqb/uIMS0vQ0p7SgmhrxaFNLO14iC9YNbp2+AXm\n3+tMLZTuhdTJrKsjSNU8Zcr4S4abo2yIvgUWoKQYXfZYcdDMn+7H3J5GAJEA\nYfHmIhTZ4l+hfmRaY+AVXbHFmCIsIXGx18SLgevDmSjAyXXt3/G/XVZpi6nl\noOzHRnSamvqgnWZ5zqka01d0jAOdEFO8IDGqdhbfa9xWG955PubxM68hStca\nnBAIbcDx5aNS+iDx/Tud02g9Wg+EheOFrfgN0wihCqYLEWakpWwoNh1vsEXQ\nmZsTFImLk1tlRcq4uWKhcQ3pbnxC5dW2vfUpwsqGGcsqWwM3VHJu6gimwtS6\n9j3C\r\n=nmUJ\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"collectCoverage":true,"coverageDirectory":"./coverage/"},"main":"lib/register.js","browser":{"xmlhttprequest":false},"gitHead":"f296339f52ba0c7e54df248ed0491be79ba78804","scripts":{"test":"rm -rf ./.ipfs; jest --runInBand --testURL=\"http://localhost\"","build":"babel src -d lib","prepublishOnly":"npm test; npm run build"},"_npmUser":{"name":"oed","email":"oed@3box.io"},"standard":{"ignore":[],"globals":["it","describe","expect","jest","beforeAll","beforeEach","afterAll","afterEach"]},"deprecated":"Deprecated in favor of Ceramic: https://developers.ceramic.network","repository":{"url":"git+https://github.com/uport-project/muport-did-resolver.git","type":"git"},"_npmVersion":"6.4.1","description":"Resolve 3ID documents","directories":{},"_nodeVersion":"10.11.0","dependencies":{"did-jwt":"^0.1.3","did-resolver":"0.0.6","@babel/runtime":"^7.1.2","ipfs-did-document":"^1.2.3"},"_hasShrinkwrap":false,"devDependencies":{"ipfs":"^0.35.0","jest":"^22.4.0","standard":"^11.0.0","@babel/cli":"^7.1.2","babel-core":"7.0.0-bridge.0","@babel/core":"^7.1.2","@babel/preset-env":"^7.1.0","@babel/preset-react":"^7.0.0","regenerator-runtime":"^0.11.1","@babel/plugin-transform-runtime":"^7.1.0","@babel/plugin-transform-modules-commonjs":"^7.2.0","@babel/plugin-proposal-object-rest-spread":"^7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/3id-resolver_0.0.4_1558032144165_0.21866514657246827","host":"s3://npm-registry-packages"}},"0.0.5-beta.1":{"name":"3id-resolver","version":"0.0.5-beta.1","author":{"name":"3box","email":"team@3box.io"},"license":"MIT","_id":"3id-resolver@0.0.5-beta.1","maintainers":[{"name":"oed","email":"oed@3box.io"},{"name":"zachferland","email":"zachferland@gmail.com"}],"homepage":"https://github.com/uport-project/muport-did-resolver#readme","bugs":{"url":"https://github.com/uport-project/muport-did-resolver/issues"},"dist":{"shasum":"77f2b614cc70ee0b2f88459676ad6b6f6e4b1d46","tarball":"https://registry.npmjs.org/3id-resolver/-/3id-resolver-0.0.5-beta.1.tgz","fileCount":6,"integrity":"sha512-ngUYqIQwrXy7tYSbYAiMWtOrR0C2wWYBXK8yYReNYh8b+7AEcwO2TVZTH1e86OFHHc+rrA0NAZWj9TG5JOeKOw==","signatures":[{"sig":"MEQCIHLpsKbTRp5MVf23cbKzQwxbPA9x4mZBr3g9fd3rDq5gAiA8S0qNJmFHxlcVINZ1fxOc21J7wuokm7n0Xq3UxZOhtA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16214,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc7sEaCRA9TVsSAnZWagAAujMQAJyGpe2X764fGfYGB2Mp\nSsv86mBjO98M6wQj/x+mK6/JZzBRqASMNh25ljoO3vkc+EAaExhWzBw4dWc6\nrsErhZfvvkGLnAf+jdxP4/1vmFRygertvTAeDd0Y9NZhEXzvHfd4Gp3fmjdk\nyqIoiDtodiHCFaklYyDUSQQerBZqYeeJUCwu0FokPWYtAAWjMMbS2/R1/XkH\nxmfLZMQJTAaFE94rK0EBKXtAMBqSg0uMDay5UfHqlAEzv8uPBIfK8Ohcv+Q8\n7qz0Y7QfKizCS/vZ1ewXmr2Docr9uOIS9aHUkGyl5bM/lcjq9tkhUI8I+vbY\nZq7qWqk0EOZGrjfSewgcLWMVmTbBrjNs1ZUgQY0oyQIqx13J6baARjc95aYS\nMCXYLDqN4T/rlUSaM7mvfUqiIJB56MriuXefZ6yO4bBf+MG7AEhqXBYo76CD\nJTrNEfp3Htvv5Zoj413kf1kILkRZdX5UN2tnghAPZ8xWG7v0zaDVfZ4cvJl+\nPgkO1GaXD7ZOqa1CHtCVGSLuiAXurHPXYroiCxr19OoHlfYaWaZSZrdv+Gf7\nwmq8HHJl8sMQuFjQCKTbRqGHcaX+dFueT+Kb+6sT1tzT2s8m1gTJpsy7nIGc\n2PEtQO+3k6+YkCWtjP7KgNMHBTke3fSs5tb9J8i9Wg8KPZ5isw85smqnQTdZ\nnDY9\r\n=Q6Q1\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"collectCoverage":true,"coverageDirectory":"./coverage/"},"main":"lib/register.js","readme":"# 3ID Resolver\n\nThis library is intended to resolve 3ID DID documents. 3ID is a thin identity protocol that uses ipfs and ethereum to publish and rotate the cryptographic keys used by an identity.\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\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 '3id-resolver'\n\nregisterResolver(ipfs)\n\nresolve('did:3:QmRhjfL4HLdB8LovGf1o43NJ8QnbfqmpdnTuBvZTewnuBV').then(doc => console.log)\n\n// You can also use ES7 async/await syntax\nconst doc = await resolve('did:muport:zdpuAt4qH8ur3vHpVrP1xb7rtJuyVUVbRiGatkkVcJZRgAXDf')\n```\nResult:\n```js\n{\n  '@context': 'https://w3id.org/did/v1',\n  id: 'did:3:zdpuAt4qH8ur3vHpVrP1xb7rtJuyVUVbRiGatkkVcJZRgAXDf',\n  publicKeys: [ {\n    id: 'did:3:zdpuAt4qH8ur3vHpVrP1xb7rtJuyVUVbRiGatkkVcJZRgAXDf#signingKey',\n    type: 'Secp256k1VerificationKey2018',\n    publicKeyHex: '03fdd57adec3d438ea237fe46b33ee1e016eda6b585c3e27ea66686c2ea5358479'\n  }, {\n    id: 'did:3:zdpuAt4qH8ur3vHpVrP1xb7rtJuyVUVbRiGatkkVcJZRgAXDf#encryptionKey',\n    type: 'Curve25519EncryptionPublicKey',\n    publicKeyBase64: 'fake encryptionKey'\n  }, {\n    id: 'did:3:zdpuAt4qH8ur3vHpVrP1xb7rtJuyVUVbRiGatkkVcJZRgAXDf#managementKey',\n    type: 'Secp256k1VerificationKey2018',\n    ethereumAddress: 'fake eth addr'\n  }],\n  authentication: [{\n    type: 'Secp256k1SignatureAuthentication2018',\n    publicKey: 'did:3:zdpuAt4qH8ur3vHpVrP1xb7rtJuyVUVbRiGatkkVcJZRgAXDf#signingKey'\n  }]\n}\n```\n\n","browser":{"xmlhttprequest":false},"gitHead":"4055ca0c2e4ce6cceab3a2660ee4c2cd4f0b2191","scripts":{"test":"rm -rf ./.ipfs; jest --runInBand --testURL=\"http://localhost\" ./src","build":"babel src -d lib","prepublishOnly":"npm test; npm run build"},"_npmUser":{"name":"oed","email":"oed@3box.io"},"standard":{"ignore":[],"globals":["it","describe","expect","jest","beforeAll","beforeEach","afterAll","afterEach"]},"repository":{"url":"git+https://github.com/uport-project/muport-did-resolver.git","type":"git"},"_npmVersion":"6.4.1","description":"Resolve 3ID documents","directories":{},"_nodeVersion":"10.11.0","dependencies":{"did-jwt":"^0.1.3","did-resolver":"0.0.6","@babel/runtime":"^7.1.2","ipfs-did-document":"^1.2.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ipfs":"^0.35.0","jest":"^22.4.0","standard":"^11.0.0","@babel/cli":"^7.1.2","babel-core":"7.0.0-bridge.0","@babel/core":"^7.1.2","@babel/preset-env":"^7.1.0","@babel/preset-react":"^7.0.0","regenerator-runtime":"^0.11.1","@babel/plugin-transform-runtime":"^7.1.0","@babel/plugin-transform-modules-commonjs":"^7.2.0","@babel/plugin-proposal-object-rest-spread":"^7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/3id-resolver_0.0.5-beta.1_1559150873621_0.5744699381080438","host":"s3://npm-registry-packages"}},"0.0.5":{"name":"3id-resolver","version":"0.0.5","author":{"name":"3box","email":"team@3box.io"},"license":"MIT","_id":"3id-resolver@0.0.5","maintainers":[{"name":"oed","email":"oed@3box.io"},{"name":"zachferland","email":"zachferland@gmail.com"}],"homepage":"https://github.com/uport-project/muport-did-resolver#readme","bugs":{"url":"https://github.com/uport-project/muport-did-resolver/issues"},"dist":{"shasum":"a5256bce32ac40842223922f715bd0c527199473","tarball":"https://registry.npmjs.org/3id-resolver/-/3id-resolver-0.0.5.tgz","fileCount":6,"integrity":"sha512-4MPIHFEx8D2zd3rshhcSqvD7EEmWS9x/Q55vY+LTiGvEkH0Rf8ZrxFg4NlB5/YWBcocwJNC+04QACr/2TqKTyw==","signatures":[{"sig":"MEQCIBkCkOAIGHpWzBbjmcZgrp5ZB65kQUQNtk+srGVZzMd4AiBTiHNmHItVxMaoCnoFo20T2hJNLpzB7mnziFUGimasjw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16207,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc7toaCRA9TVsSAnZWagAAYa4QAIDD0J3TiUviho4g3sfE\nVelYqbNouuLT9watLijM8gf+Gzj8qE0w5Dtcq5GJ7Qvszow5If1DmioRQYui\nFXz2KB8y01ek0I24G1ioCvpcNSbTr4katecl/PQqYRd++Ab460XWeZEyXSbn\nFNRJG0QhPHn3sV98rwsq2Fzr0K0nF72GXVls9qHPjFlhzeEiqHlB3UrbrCfZ\nVM3VitNJ1xg0Sy063z3Grc9WVekGkkbv+llIEkrB6vcnV1j4dVTfQ3Lno45Y\nYqT4uRlO/8hbzUoY6WbatYxfCrhk3r/MKfmaT/6hEzerw/C2g2h2Wdv/wSE1\n8DqOUM0JEHhjeCxDxpf/plPPWlOKWaVLKc6t/u0Ae7CxtX8BvzYcibq75C2Q\nmiBFbzTJZ1jHXcY7Sz4yynlO01S13oLoV5/96s7MJEyx/oMvVk1eJHBSoRRE\nvvElABJfpOAJwHbibFVWoZ8WpXr9NkQ/5Kss/v5NXx1BG0ySvR3TKEXOmmEZ\nlaaRR2cWR2r89KiKZ9APLIt+HdKorgprOR20Nq++NOy2O0CCYsfRqN9pfFBb\nhYO5dQt8ILmTiI3xJeUX0Y822G7BMoPgbcOfcaffytib5wvwLG3ZGIO9ZY1T\nk0s97E5FbJjntU9SfZfUp6QGIbZHuvtxxIk+fiW/MLh0WKcpsRYpcA6wSYxx\nDYl6\r\n=KPZr\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"collectCoverage":true,"coverageDirectory":"./coverage/"},"main":"lib/register.js","browser":{"xmlhttprequest":false},"gitHead":"4055ca0c2e4ce6cceab3a2660ee4c2cd4f0b2191","scripts":{"test":"rm -rf ./.ipfs; jest --runInBand --testURL=\"http://localhost\" ./src","build":"babel src -d lib","prepublishOnly":"npm test; npm run build"},"_npmUser":{"name":"oed","email":"oed@3box.io"},"standard":{"ignore":[],"globals":["it","describe","expect","jest","beforeAll","beforeEach","afterAll","afterEach"]},"deprecated":"Deprecated in favor of Ceramic: https://developers.ceramic.network","repository":{"url":"git+https://github.com/uport-project/muport-did-resolver.git","type":"git"},"_npmVersion":"6.4.1","description":"Resolve 3ID documents","directories":{},"_nodeVersion":"10.11.0","dependencies":{"did-jwt":"^0.1.3","did-resolver":"0.0.6","@babel/runtime":"^7.1.2","ipfs-did-document":"^1.2.3"},"_hasShrinkwrap":false,"devDependencies":{"ipfs":"^0.35.0","jest":"^22.4.0","standard":"^11.0.0","@babel/cli":"^7.1.2","babel-core":"7.0.0-bridge.0","@babel/core":"^7.1.2","@babel/preset-env":"^7.1.0","@babel/preset-react":"^7.0.0","regenerator-runtime":"^0.11.1","@babel/plugin-transform-runtime":"^7.1.0","@babel/plugin-transform-modules-commonjs":"^7.2.0","@babel/plugin-proposal-object-rest-spread":"^7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/3id-resolver_0.0.5_1559157273657_0.27632535819290727","host":"s3://npm-registry-packages"}},"0.0.6":{"name":"3id-resolver","version":"0.0.6","author":{"name":"3box","email":"team@3box.io"},"license":"MIT","_id":"3id-resolver@0.0.6","maintainers":[{"name":"oed","email":"oed@3box.io"},{"name":"zachferland","email":"zachferland@gmail.com"}],"homepage":"https://github.com/uport-project/muport-did-resolver#readme","bugs":{"url":"https://github.com/uport-project/muport-did-resolver/issues"},"dist":{"shasum":"1a2862198622bc5115c455b02e9372b1556d937f","tarball":"https://registry.npmjs.org/3id-resolver/-/3id-resolver-0.0.6.tgz","fileCount":6,"integrity":"sha512-EflG8C1238boxJL3jQOUZ7280LoQx2O19iaBsLPFOGl7mQZcQP1HQyQMIOQxVwYRYiYE31D5kO4eSkSGbUa/ng==","signatures":[{"sig":"MEUCIHnMojHF+4QccQTatSiT4uWWhn099b5H+FLxFFNFbW5PAiEApKNcERidOrNHEo93a5+mEu17npi8BfCLvTYcCniy1I0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17602,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdQsyGCRA9TVsSAnZWagAAynwP/RDACmF1h+CNVYKmyV9D\nnWBy2uhtbe8OSteFq/0q4pNaTXiaG0m4O05mygEDpa7WDCBgTPqwUDlfb8C6\noWJaq1WMMNgka/07y+zrhh5msG36C4wOkjuOZBnU8KzqUzlvFR7Kpg9KbbDB\nRg/HDFmpPJG18BnzkgMCJ+ZtYp1PfxsSdqMkUpRLcQPMns2lxslQ73Mvygof\nea3CgU0RtQ4dTZxd0Y5DdtcElBkIbvzoUN/E8sO9GXXO/QawN4BL/fQyJ1Pe\n5TXl+cWMRGZV8K9XDQaGWfbwTnj/Q7UdBZ69clMI2KTrXAqIuaG5D7iePh2w\nRJ9Y6RNnSNF2oE5gjiqM49DO0SZTpHS+YjSEnahO+6ZRCYfmtiCj9ht2hkf4\nPmGyjiH0divI2FBDDLqTjxrs+pT3Lk0u+Pie3DaEEY+SPLFYSILt1Cejsd8W\ngKTNvdAz8NjFIYxpgExXEsh8fwqTQRSJ1QExNnJwLke7ADMazoepffoHCCuq\ncx23NoP1X/e1+wEP/vWS+FfEvexUZMKNTWEmUdpRk2q1wpALXl/qZgkfGwMH\nkRrFNSlILtU6IE10R40Eq8XQ+ViPUiwajLf9vOcpuowL1+Nf2Azgm+HcZY9K\nSCYxELlgyQeqZo76CmuiMMUgCEVouuOq+ueJGiFRLcyUbn5OrqkuD3/e0sMr\nmfbF\r\n=Lftu\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"collectCoverage":true,"coverageDirectory":"./coverage/"},"main":"lib/register.js","browser":{"xmlhttprequest":false},"gitHead":"8017cf68ded040f4bf9ea5e98a9e409c600f6b0c","scripts":{"test":"rm -rf ./.ipfs; jest --runInBand --testURL=\"http://localhost\" ./src","build":"babel src -d lib","prepublishOnly":"npm test; npm run build"},"_npmUser":{"name":"oed","email":"oed@3box.io"},"standard":{"ignore":[],"globals":["it","describe","expect","jest","beforeAll","beforeEach","afterAll","afterEach"]},"deprecated":"Deprecated in favor of Ceramic: https://developers.ceramic.network","repository":{"url":"git+https://github.com/uport-project/muport-did-resolver.git","type":"git"},"_npmVersion":"6.4.1","description":"Resolve 3ID documents","directories":{},"_nodeVersion":"10.11.0","dependencies":{"did-jwt":"^0.1.3","did-resolver":"0.0.6","@babel/runtime":"^7.1.2","ipfs-did-document":"^1.2.3"},"_hasShrinkwrap":false,"devDependencies":{"ipfs":"^0.35.0","jest":"^22.4.0","standard":"^11.0.0","@babel/cli":"^7.1.2","babel-core":"7.0.0-bridge.0","@babel/core":"^7.1.2","@babel/preset-env":"^7.1.0","@babel/preset-react":"^7.0.0","regenerator-runtime":"^0.11.1","@babel/plugin-transform-runtime":"^7.1.0","@babel/plugin-transform-modules-commonjs":"^7.2.0","@babel/plugin-proposal-object-rest-spread":"^7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/3id-resolver_0.0.6_1564658822214_0.6614228367524206","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"3id-resolver","version":"1.0.0","author":{"name":"3box","email":"team@3box.io"},"license":"MIT","_id":"3id-resolver@1.0.0","maintainers":[{"name":"msterle","email":"mike.sterle@gmail.com"},{"name":"oed","email":"oed@3box.io"},{"name":"zachferland","email":"zachferland@gmail.com"}],"homepage":"https://github.com/uport-project/muport-did-resolver#readme","bugs":{"url":"https://github.com/uport-project/muport-did-resolver/issues"},"dist":{"shasum":"87a99ee71797db03a47f56229926a88fe772ae05","tarball":"https://registry.npmjs.org/3id-resolver/-/3id-resolver-1.0.0.tgz","fileCount":6,"integrity":"sha512-WdkGkK4II7lOFXLZD20BQy5ayEAF8USPaD4lHG2Av6Y/W01MawSw7eYTMXe9uEXcsb+QWBZnT9YzdXqWgYifpw==","signatures":[{"sig":"MEQCIDV/ls20cKOAtGZQbXgI6kqM2xKzCveCD3+VlwQ0XDPvAiALKv1fH52q3uivTCcxZKSY9OuDQWKEw0xs+ZWIiXbDiA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20334,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeocHhCRA9TVsSAnZWagAAbBUQAKPkbCp9Hfu8WdFnjzLO\npCAQMWNlTjeIjr+WCkL7/SjLa8zpaChrXxYB8MaLh460400TI/BAjfgZ4Gus\nbrfZ+5AXs7W0B8NRnnDPSGoiDrVRBfMbbjqEomVuI+9SzCs+oC75Nq9iJk+f\njAty7iX4dmbtkXkLyk5S/NZ8OZmSbaBhlxGN5LF3kFY6u2liB7mxXbUH4kjT\nXk6MMvwdA+DB+4LtsPiY9vJ0rlFGh/Ge07ChaCIvjE840UMrTc+iJzu0gKAn\nRR9Ztz4u/IlM9NPXgI64v9H/jQtEYMmr64PByLOWRBlPChMquhrN651ppXe+\n6RaPO1d+DK0q4jVendZ6kLyyWw3RwZpDZt7YkhnlZHpw7Ob3P2X339/hZWFD\nhDFwOHpasbABsjMecbXa3NSETPsSt1Qp/doZ3m+LwZFO06WtOEk9Pz5vO4tG\nGuHRiZ63oHv8NJhtYTAFNx05ehLvQBIWllrR7AwBkpgtkqvinCzqLc1zgcXp\nNrMM3egpN9WM35PZKAnrmkMZpCq+cJV3wpCj1IJSvrSvukzhQ9u1gs01FD8O\n4gxz9Yf8lq18pO+il4K9XDJqW1H0jc6h3h8yGGPcvZvtmvAn3aV1owVCx8rL\n+12bLpZVc1HfzKMPkpE0bvNBfcnt4YsdnO0xSFh7TgfiL8sBzRsPq3kC2xzy\n63QT\r\n=cG2y\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"collectCoverage":true,"coverageDirectory":"./coverage/"},"main":"lib/resolver.js","browser":{"xmlhttprequest":false},"gitHead":"69d263acd6f2ccc240c24b313cd71075d39f645f","scripts":{"test":"rm -rf ./.ipfs; jest --runInBand --testURL=\"http://localhost\" ./src","build":"babel src -d lib","prepublishOnly":"npm test; npm run build"},"_npmUser":{"name":"msterle","email":"mike.sterle@gmail.com"},"standard":{"ignore":[],"globals":["it","describe","expect","jest","beforeAll","beforeEach","afterAll","afterEach"]},"deprecated":"Deprecated in favor of Ceramic: https://developers.ceramic.network","repository":{"url":"git+https://github.com/uport-project/muport-did-resolver.git","type":"git"},"_npmVersion":"6.11.3","description":"Resolve 3ID documents","directories":{},"_nodeVersion":"10.17.0","dependencies":{"did-jwt":"^4.2.0","base64url":"^3.0.1","did-resolver":"^1.1.0","@babel/runtime":"^7.1.2","ipfs-did-document":"^1.2.3"},"_hasShrinkwrap":false,"devDependencies":{"ipfs":"^0.40.0","jest":"^22.4.0","standard":"^11.0.0","@babel/cli":"^7.1.2","babel-core":"7.0.0-bridge.0","@babel/core":"^7.1.2","@babel/preset-env":"^7.1.0","@babel/preset-react":"^7.0.0","regenerator-runtime":"^0.11.1","@babel/plugin-transform-runtime":"^7.1.0","@babel/plugin-transform-modules-commonjs":"^7.2.0","@babel/plugin-proposal-object-rest-spread":"^7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/3id-resolver_1.0.0_1587659232562_0.21523992206927223","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"3id-resolver","version":"1.0.1","author":{"name":"3box","email":"team@3box.io"},"license":"MIT","_id":"3id-resolver@1.0.1","maintainers":[{"name":"oed","email":"oed@3box.io"},{"name":"zachferland","email":"zachferland@gmail.com"}],"homepage":"https://github.com/uport-project/muport-did-resolver#readme","bugs":{"url":"https://github.com/uport-project/muport-did-resolver/issues"},"dist":{"shasum":"13427b64732aa6d7b754fc9b2c14576e6ad21cc4","tarball":"https://registry.npmjs.org/3id-resolver/-/3id-resolver-1.0.1.tgz","fileCount":6,"integrity":"sha512-eVB8Fpe91ihozHBevFeI7qTZXyJTykVOyJZHUtFmfX+JNQ4gCuQWCzP14VPmb2DYGcw8pjQ+reGyNL+z23euIA==","signatures":[{"sig":"MEUCIHGkdZUFP8i/JfJNsy5OIZYw0Fpje0/gBttjUMcA/xPEAiEAyyFy+UrBkpOLSppWsm0IY3p44uA3KIXBnmabQy6A2bE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20726,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe/h2FCRA9TVsSAnZWagAAv2YP/3aAoqGF4tm8nIMSL0QI\n/VxOcfYESLMhBNSj8fxdj/nbPQDPLlH2wQ1PCDNuSNKzQ2FTfuygKhC3yRbN\n8FJwekTxrZk/50EV8sEU7qAJwsYHTseBAFoKc0xhfpxPJZ5q9kRa7vbo/fOr\n0VFxQsG+9fCRa34nxCX5CQlu0QUWijapUfrDQUOL7TABVubaIRu0Rly/r294\ntn99drH3bN1W2rSFBIfWK12xiqs1Cm8eBw7UylWEiwR7RkDa4X7DK8Jb1uKE\n209q40ajVQYgVINGFJ000YVnOSmEqjtRwBQBNG9hD6Oqz1OXbJaLrlbF9bVL\nbIprB68T1WcVM40/SgtO7VLB8fKE44OWlodgn/wEGYvTLPDIP5i/tcxU//+F\nuBjyojUU7LCtwZmzr1Zwx+wpzeS5+sf7BM67t1yM+AgBYdwZcKdrXWKSWmEd\nTjVKxH++xlBID+taawoIIBAjPlpuCNU3CizXeZruqV0yZgxB3BKYX/uqTJCS\nqkK5p+IooTTaZVh4zZ3GWPjE80P74PGik7KgQ7h79EgBuQR66gfN2uWsEMfu\n1MoWeuMK4c5hncqT3lY/6hKePw52IgTexTRuyXdGCSTe7CVwxUIBLlWFRJ+J\nyYJh6EJrHeWeff3Rpi6U8OjN4hzbaHDStjM6b+ExUg2vPQMx8RcW34QHMOe+\nfxZE\r\n=VPtA\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"collectCoverage":true,"coverageDirectory":"./coverage/"},"main":"lib/resolver.js","browser":{"xmlhttprequest":false},"gitHead":"567447e09873c31fc63412e59c61ca7b7c253ed2","scripts":{"test":"rm -rf ./.ipfs; jest --runInBand --testURL=\"http://localhost\" ./src","build":"babel src -d lib","prepublishOnly":"npm test; npm run build"},"_npmUser":{"name":"oed","email":"oed@3box.io"},"standard":{"ignore":[],"globals":["it","describe","expect","jest","beforeAll","beforeEach","afterAll","afterEach"]},"deprecated":"Deprecated in favor of Ceramic: https://developers.ceramic.network","repository":{"url":"git+https://github.com/uport-project/muport-did-resolver.git","type":"git"},"_npmVersion":"6.14.4","description":"Resolve 3ID documents","directories":{},"_nodeVersion":"14.4.0","dependencies":{"did-jwt":"^4.2.0","base64url":"^3.0.1","did-resolver":"^1.1.0","@babel/runtime":"^7.1.2","ipfs-did-document":"^1.2.3"},"_hasShrinkwrap":false,"devDependencies":{"ipfs":"^0.44.0","jest":"^22.4.0","standard":"^11.0.0","@babel/cli":"^7.1.2","babel-core":"7.0.0-bridge.0","@babel/core":"^7.1.2","@babel/preset-env":"^7.1.0","@babel/preset-react":"^7.0.0","regenerator-runtime":"^0.11.1","@babel/plugin-transform-runtime":"^7.1.0","@babel/plugin-transform-modules-commonjs":"^7.2.0","@babel/plugin-proposal-object-rest-spread":"^7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/3id-resolver_1.0.1_1593712005035_0.26314214336398867","host":"s3://npm-registry-packages"}}},"time":{"created":"2019-05-16T09:24:47.862Z","modified":"2024-10-23T15:43:11.606Z","0.0.1":"2019-05-16T09:24:48.027Z","0.0.2":"2019-05-16T09:45:24.219Z","0.0.3":"2019-05-16T18:03:36.530Z","0.0.4":"2019-05-16T18:42:24.296Z","0.0.5-beta.1":"2019-05-29T17:27:53.801Z","0.0.5":"2019-05-29T19:14:33.779Z","0.0.6":"2019-08-01T11:27:02.340Z","1.0.0":"2020-04-23T16:27:12.695Z","1.0.1":"2020-07-02T17:46:45.152Z"},"bugs":{"url":"https://github.com/uport-project/muport-did-resolver/issues"},"author":{"name":"3box","email":"team@3box.io"},"license":"MIT","homepage":"https://github.com/uport-project/muport-did-resolver#readme","repository":{"url":"git+https://github.com/uport-project/muport-did-resolver.git","type":"git"},"description":"Resolve 3ID documents","maintainers":[{"email":"oed@3box.io","name":"oed"}],"readme":"# 3ID Resolver\n\nThis library is intended to resolve 3ID DID documents. 3ID is a thin identity protocol that uses ipfs and ethereum to publish and rotate the cryptographic keys used by an identity.\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\n## Resolving a DID document\n\nA 3ID resolver is created by passing an IPFS instance to the `getResolver()` function. To use the resolver returned, it must be passed to a `did-resolver` instance during instantiation, for example:\n\n```js\nimport { Resolver } from 'did-resolver'\nimport { getResolver } from '3id-resolver'\n\nconst threeIdResolver = getResolver(ipfs)\nconst resolver = new Resolver(threeIdResolver)\n\nresolver.resolve('did:3:QmRhjfL4HLdB8LovGf1o43NJ8QnbfqmpdnTuBvZTewnuBV').then(doc => console.log)\n\n// You can also use ES7 async/await syntax\nconst doc = await resolver.resolve('did:muport:zdpuAt4qH8ur3vHpVrP1xb7rtJuyVUVbRiGatkkVcJZRgAXDf')\n```\n\nSee the [did-resolver docs](https://github.com/decentralized-identity/did-resolver) for more general usage information on DID resolvers.\n\nResult:\n```js\n{\n  '@context': 'https://w3id.org/did/v1',\n  id: 'did:3:zdpuAt4qH8ur3vHpVrP1xb7rtJuyVUVbRiGatkkVcJZRgAXDf',\n  publicKeys: [ {\n    id: 'did:3:zdpuAt4qH8ur3vHpVrP1xb7rtJuyVUVbRiGatkkVcJZRgAXDf#signingKey',\n    type: 'Secp256k1VerificationKey2018',\n    publicKeyHex: '03fdd57adec3d438ea237fe46b33ee1e016eda6b585c3e27ea66686c2ea5358479'\n  }, {\n    id: 'did:3:zdpuAt4qH8ur3vHpVrP1xb7rtJuyVUVbRiGatkkVcJZRgAXDf#encryptionKey',\n    type: 'Curve25519EncryptionPublicKey',\n    publicKeyBase64: 'fake encryptionKey'\n  }, {\n    id: 'did:3:zdpuAt4qH8ur3vHpVrP1xb7rtJuyVUVbRiGatkkVcJZRgAXDf#managementKey',\n    type: 'Secp256k1VerificationKey2018',\n    ethereumAddress: 'fake eth addr'\n  }],\n  authentication: [{\n    type: 'Secp256k1SignatureAuthentication2018',\n    publicKey: 'did:3:zdpuAt4qH8ur3vHpVrP1xb7rtJuyVUVbRiGatkkVcJZRgAXDf#signingKey'\n  }]\n}\n```\n\n## Maintainers\n[@oed](https://github.com/oed)\n","readmeFilename":"README.md"}