{"_id":"3id-connect","_rev":"22-829a25e49c3e0dc2649df39652c36e4b","name":"3id-connect","dist-tags":{"latest":"0.1.0","next":"1.0.0-alpha.15","beta":"1.0.0-beta.15"},"versions":{"0.0.1":{"name":"3id-connect","version":"0.0.1","description":"Account management for 3Box","main":"lib/index.js","directories":{"lib":"lib"},"scripts":{"lint":"standard --verbose src/**","test":"jest --detectOpenHandles --coverage","build:es5":"rm -rf ./lib; ./node_modules/.bin/babel src --out-dir lib","build:dist":"webpack --config webpack.config.js --mode=development","build:dist:watch":"webpack --config webpack.config.js --mode=development --watch","build:dist:prod":"webpack --config webpack.config.js --mode=production --output-filename index.js","build":"npm run build:dist:prod; npm run build:es5;","prepublishOnly":"npm run build:es5","server:start":"http-server -c-1 -p 30001 public","start":"npm run build:dist:watch & npm run server:start"},"jest":{"testEnvironment":"node","testPathIgnorePatterns":["node_modules","lib"]},"repository":{"type":"git","url":"git+https://github.com/3box/3id-connect.git"},"author":{"name":"3box","email":"team@3box.io"},"license":"MIT","bugs":{"url":"https://github.com/3box/3id-connect/issues"},"homepage":"https://github.com/3box/3id-connect#readme","dependencies":{"3box":"^1.17.1","@babel/runtime":"^7.1.2","@portis/web3":"^2.0.0-beta.54","@walletconnect/web3-provider":"^1.0.0-beta.47","authereum":"0.0.4-beta.129","fortmatic":"^2.0.5","identity-wallet":"^1.2.0","postmsg-rpc":"^2.4.0","store":"^2.0.12","url-parse":"^1.4.7","web3modal":"^1.1.0"},"devDependencies":{"@babel/cli":"^7.1.2","@babel/core":"^7.1.2","@babel/plugin-proposal-object-rest-spread":"^7.0.0","@babel/plugin-transform-modules-commonjs":"^7.2.0","@babel/plugin-transform-runtime":"^7.1.0","@babel/preset-env":"^7.1.0","@babel/preset-react":"^7.0.0","babel-core":"7.0.0-bridge.0","babel-loader":"^8.0.5","css-loader":"^2.1.1","css-to-string-loader":"^0.1.3","http-server":"^0.11.1","node-sass":"^4.13.1","sass-loader":"^8.0.2","standard":"^12.0.1","style-loader":"^0.23.1","svg-inline-loader":"^0.8.2","url-loader":"^4.0.0","webpack":"^4.20.2","webpack-cli":"^3.1.2"},"gitHead":"eae1cace7255da109118b5cf8f18277eda63516e","_id":"3id-connect@0.0.1","_npmVersion":"6.4.1","_nodeVersion":"10.12.0","_npmUser":{"name":"zachferland","email":"zachferland@gmail.com"},"dist":{"integrity":"sha512-i//TVCkA1Bat7qSweVTa7ACelmfoKvSJqQYdHhBxcvsM77q4mxsV5QnUWPXmn93mMkKLB9P3d67kZBaI3Lq3MA==","shasum":"bf40c2ac8cf9620b1bbd2ed4615eb5ec0c2f9f5d","tarball":"https://registry.npmjs.org/3id-connect/-/3id-connect-0.0.1.tgz","fileCount":16,"unpackedSize":44955,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJenep0CRA9TVsSAnZWagAAtVIP/0h73IyHfzdUStCxYNNm\nwuJaG6OB2rYXv7eAO+xaP1fak+4bs2pkYnj8k6Apa0M9cECQbAG6D8BAOpzi\npxN4QxHsPX+5MmOhmAg26LRXF9PsFBsi/r+2HITFHq/0mpcHCrC8iChbD9GJ\n/tbIdwvTFiWDYQIWPRlIw63s7o7qdKOmwwgGLk3OmMgGViH3uUQILIHAMlfE\nm4isgQcupKjt9TYInFV4HsehiG3G71Fv8stk4T+bJPKbj9E5/RoFNgt5uJeQ\np7sDcSp9uUz6c0T8mY3ySyZ6yA7q804iAeZ7n52gqpoishOsGOnvAgyT7V6d\ntLdTEIno+FJVnUbdVyWQDa9PpIdLxXcxDw+crxNHmjz4gO3d3oip07BvthJc\nnjeAPwmJeSeztQrEO5o+SasVm92JlOrTOpb9o0Li1+XZ8TW/PNfYj4nvRct6\nDSMVLjGYKIqwmDwF3aSIuREQfgbnp9k5Io8PnmfcUN8UH0yIvdFdaIR2Br1/\njKcyQUzSZzpBKmGFw1wGAkJHrRzl8DdSRts7K6tSzaDOgsDl+kELvaP0j0Tw\nc2yHd84Gl7p+8bcDjBMCDF/5umodARRhNDDjY603mEUKwnhVa4kuhZQWSOvT\nhNrqj2J0G1uHmb4jr1ahpOCRYsPSURXwOYgKS0yLMv6hWSYe9nG4NBmteW8L\ngzTG\r\n=b0h5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCk3fF86HPs4sVRN8Tv7YGyskHncEaowjMDM0bciEtwwgIhAITi1A4kpAutsTfDZG1OrzVr7Xo47s3vvts5UDXo0+zF"}]},"maintainers":[{"name":"zachferland","email":"zachferland@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/3id-connect_0.0.1_1587407476105_0.9162602168180367"},"_hasShrinkwrap":false},"0.0.2":{"name":"3id-connect","version":"0.0.2","description":"Account management for 3Box","main":"lib/index.js","directories":{"lib":"lib"},"scripts":{"lint":"standard --verbose src/**","test":"jest --detectOpenHandles --coverage","build:es5":"rm -rf ./lib; ./node_modules/.bin/babel src --out-dir lib","build:dist":"webpack --config webpack.config.js --mode=development","build:dist:watch":"webpack --config webpack.config.js --mode=development --watch","build:dist:prod":"webpack --config webpack.config.js --mode=production --output-filename index.js","build":"npm run build:dist:prod; npm run build:es5;","prepublishOnly":"npm run build:es5","server:start":"http-server -c-1 -p 30001 public","start":"npm run build:dist:watch & npm run server:start"},"jest":{"testEnvironment":"node","testPathIgnorePatterns":["node_modules","lib"]},"repository":{"type":"git","url":"git+https://github.com/3box/3id-connect.git"},"author":{"name":"3box","email":"team@3box.io"},"license":"MIT","bugs":{"url":"https://github.com/3box/3id-connect/issues"},"homepage":"https://github.com/3box/3id-connect#readme","dependencies":{"3box":"^1.19.0-rc.1","@babel/runtime":"^7.1.2","@portis/web3":"^2.0.0-beta.54","@walletconnect/web3-provider":"^1.0.0-beta.47","authereum":"0.0.4-beta.129","fortmatic":"^2.0.5","identity-wallet":"^1.2.0","postmsg-rpc":"^2.4.0","store":"^2.0.12","url-parse":"^1.4.7","web3modal":"^1.1.0"},"devDependencies":{"@babel/cli":"^7.1.2","@babel/core":"^7.1.2","@babel/plugin-proposal-object-rest-spread":"^7.0.0","@babel/plugin-transform-modules-commonjs":"^7.2.0","@babel/plugin-transform-runtime":"^7.1.0","@babel/preset-env":"^7.1.0","@babel/preset-react":"^7.0.0","babel-core":"7.0.0-bridge.0","babel-loader":"^8.0.5","css-loader":"^2.1.1","css-to-string-loader":"^0.1.3","http-server":"^0.11.1","node-sass":"^4.13.1","sass-loader":"^8.0.2","standard":"^12.0.1","style-loader":"^0.23.1","svg-inline-loader":"^0.8.2","url-loader":"^4.0.0","webpack":"^4.20.2","webpack-cli":"^3.1.2"},"gitHead":"1264ac77213b53928bc48140b9df1233d1e25eb8","_id":"3id-connect@0.0.2","_npmVersion":"6.4.1","_nodeVersion":"10.12.0","_npmUser":{"name":"zachferland","email":"zachferland@gmail.com"},"dist":{"integrity":"sha512-DGKZxHdvHPkzPvhwo7PBCQeCIkAbkpxfASCl7VDf+YMKIlWMUzu203fK7mEOsXRSz0khkWlQq8Dl1Tz+K5vvgA==","shasum":"65cfed0936f1152e3b2276c10631e865875f411c","tarball":"https://registry.npmjs.org/3id-connect/-/3id-connect-0.0.2.tgz","fileCount":16,"unpackedSize":44960,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeqwIcCRA9TVsSAnZWagAAqqwP/0hagYUVHYX8kBBNHU3k\nsZefyFNPHA9DQmWDZtLcWWyOj+7DqxS49oB8Qq7NDNnete6wJ/mY9UELE1Fc\ngdeWSpTr5KcUyEh1+zzHQhKyli0RpQgqAzSuRYzThN9oIGwaNg5tfGtyPuOD\nd9uy26CipLyhnf7RWxgwN7FjFCupDpY80LRNvHVIWnu7fjeTS2AcKr00qd8a\nG+XqaRjgS/si2nJqVW8w7denaWKpVhyHUGYjvhJ9J6zrrrgnwqr58vK+bker\njR8jWjNmSjq3AqfHOfNL5zIgyKxkB2S/AXy3IE0XykAb/RZIzR3R02T9rBuw\nf1KtHtUJqyeuXizPBf34kJ584qKRBdWpsMZn65I4nQZnG2ohrOJT4oIG/4oR\nAHpV2RTemyIrFmrG4Q+XYDDUXjC/TtnskMLXQebwYWpsasVROR8x7ZGMx1+b\nnMJtkPIoAvovlijOnxlhwAdnNxoPlfXZLhfdEOkN/f5DsOyYOMSC3nWs4EK3\n8W//NSoN/LaBKI6BqQgb9l8/J1airB6apTidluS8j90Bw/mv7Pt2VBwe5gFb\nDJbfDAa/sydgsiZ2aHeWiFGES3+02YELTFF1D2/AI7Rr3fLM9v/Lg0OM6YbZ\n33U/VfgAT5Dny4YzMRmZHcrdsJoEY4aPi6TT0unsbXTCG7+m9S72BQI4TnbR\ngQrN\r\n=Yp+H\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDMt60ezsHEzttQFu735ZjgiCiKeng1B3G8rDRcOYej7AIgbaMaV5H3n8/y0//E5hN/MVBEBIErmtois0z6iJn4BWE="}]},"maintainers":[{"name":"zachferland","email":"zachferland@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/3id-connect_0.0.2_1588265499741_0.19839425042801406"},"_hasShrinkwrap":false},"0.1.0":{"name":"3id-connect","version":"0.1.0","description":"Account management for 3Box","main":"lib/index.js","directories":{"lib":"lib"},"scripts":{"lint":"standard --verbose src/**","test":"jest --detectOpenHandles --coverage","build:es5":"rm -rf ./lib; ./node_modules/.bin/babel src --out-dir lib","build:dist":"webpack --config webpack.config.js --mode=development","build:dist:watch":"webpack --config webpack.config.js --mode=development --watch","build:dist:prod":"webpack --config webpack.config.js --mode=production --output-filename index.js","build":"npm run build:dist:prod; npm run build:es5;","prepublishOnly":"npm run build:es5","prepare":"npm run build:es5","server:start":"http-server -c-1 -p 30001 public","start":"npm run build:dist:watch & npm run server:start"},"jest":{"testEnvironment":"node","testPathIgnorePatterns":["node_modules","lib"]},"repository":{"type":"git","url":"git+https://github.com/3box/3id-connect.git"},"author":{"name":"3box","email":"team@3box.io"},"license":"MIT","bugs":{"url":"https://github.com/3box/3id-connect/issues"},"homepage":"https://github.com/3box/3id-connect#readme","dependencies":{"3id-blockchain-utils":"^0.4.0","@babel/runtime":"^7.1.2","identity-wallet":"^1.3.0","postmsg-rpc":"^2.4.0","store":"^2.0.12","url-parse":"^1.4.7"},"devDependencies":{"@babel/cli":"^7.1.2","@babel/core":"^7.1.2","@babel/plugin-proposal-object-rest-spread":"^7.0.0","@babel/plugin-transform-modules-commonjs":"^7.2.0","@babel/plugin-transform-runtime":"^7.1.0","@babel/preset-env":"^7.1.0","@babel/preset-react":"^7.0.0","babel-core":"7.0.0-bridge.0","babel-loader":"^8.0.5","css-loader":"^2.1.1","css-to-string-loader":"^0.1.3","http-server":"^0.11.1","node-sass":"^4.13.1","sass-loader":"^8.0.2","standard":"^12.0.1","style-loader":"^0.23.1","svg-inline-loader":"^0.8.2","url-loader":"^4.0.0","webpack":"^4.20.2","webpack-cli":"^3.1.2"},"gitHead":"a01f12066139bbb6cf5f14f23275e254c9ee80ff","_id":"3id-connect@0.1.0","_npmVersion":"6.4.1","_nodeVersion":"10.12.0","_npmUser":{"name":"zachferland","email":"zachferland@gmail.com"},"dist":{"integrity":"sha512-GXmlIIFTZLh58I8b1VR3gjybG7oENXJ+LkQlPTFyw8f5IKbcn6uGjybrJABZDsGS5o0OfAL4IxNdHIpgcopcdw==","shasum":"d178cf8df27453421c67de3399a21c6c61aede47","tarball":"https://registry.npmjs.org/3id-connect/-/3id-connect-0.1.0.tgz","fileCount":24,"unpackedSize":700522,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe0rpQCRA9TVsSAnZWagAAb88P/0waubmzUT63OgZ2Lb4N\nuarK767X1fiMGbU7Kym/sD4qYwHyGr0OajC1T2yX1yn3cg9KDGfTm1Qb3yLP\nDzCH6RO33v5HSRbUDTkKkvNSuJTh9FmNEfFPyoO1KWUzEOCOuhlMO7kAFVMa\nJHCRq809MjNWXogFqvBDaELUVEEVm1sbwpfjeE8OE+EG7Rmr7h2j1qxmaBo1\nP2hHOjvv4WaouONHtkbo1illskmgv4OJF6D9JaBUqjoaiVJydGooh4akz7WA\nyFxfmT2K4GdDyGVgJtLkThXjuXvtXizTSFU5x/arPfQ+GKQac+ynbSjaFAjd\nyUpWXaIodINi85zvpI2DcCRyQc94F1ACf57rkMlXgP7sa+K/hcV4ie3xdM5n\nH4aT+g78lQHeKDoY4Dj/Dsp45KMfKxTsz/2bfTepCldZ7BcdB7dyl8+H0oJ1\nVULbq/Sjk29wYkWnnUOk+hZuljV+fdw2hYg7+dNOlT5C0gJfCh0ib9m5u+8W\nusRD70lXm7VehQqmiym14PCYNWlgNkbsYMHPOF3pBMY3X84uIft3t8+ju7We\nemR//vsdQp/c1c48gvaNluEgi8rOIQqPo9YFjOKVkmNAGeDLxF1ZkZp61qRV\nc8VbttKaKBsbD+HzK06uDeN2/ErGC1lNVn5xfNbwYXYRvy1MRWuo0h+QX2y2\nobym\r\n=YHxd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCzlD7frikSdKXNXMv/+RPjAnqBIQn+7q0dmFuEYb9kmQIhALIRRZvGcgc+n8SJZKQKmTsBm908HxFY17V4xESKHKcw"}]},"maintainers":[{"name":"zachferland","email":"zachferland@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/3id-connect_0.1.0_1590868559729_0.3269856650731804"},"_hasShrinkwrap":false},"1.0.0-alpha.0":{"name":"3id-connect","version":"1.0.0-alpha.0","description":"Account management for 3ID","main":"lib/index.js","directories":{"lib":"lib"},"scripts":{"lint":"standard --verbose src/**","test":"jest --detectOpenHandles --coverage","build:es5":"rm -rf ./lib; ./node_modules/.bin/babel src --out-dir lib","build:dist":"webpack --config webpack.config.js --mode=development","build:dist:watch":"webpack --config webpack.config.js --mode=development --watch","build:example:dist:watch":"webpack --config ./example/webpack.config.js --mode=development --watch","build:dist:prod":"webpack --config webpack.config.js --mode=production --output-filename index.js","build":"npm run build:dist:prod; npm run build:es5;","prepublishOnly":"npm run build:es5","prepare":"npm run build:es5","server:start":"http-server -c-1 -p 30001 public","server:example:start":"http-server -c-1 -p 30000 example","start":"npm run build:dist:watch & npm run server:start","start:example":"npm run start & npm run build:example:dist:watch & npm run server:example:start"},"jest":{"testEnvironment":"node","testPathIgnorePatterns":["node_modules","lib"]},"repository":{"type":"git","url":"git+https://github.com/3box/3id-connect.git"},"author":{"name":"3box","email":"team@3box.io"},"license":"(Apache-2.0 OR MIT)","bugs":{"url":"https://github.com/3box/3id-connect/issues"},"homepage":"https://github.com/3box/3id-connect#readme","dependencies":{"3id-blockchain-utils":"^1.0.0","@babel/runtime":"^7.1.2","@ceramicnetwork/ceramic-core":"^0.5.11","@ceramicnetwork/ceramic-http-client":"^0.5.14","@ceramicstudio/idx":"^0.1.0","@ceramicstudio/idx-constants":"^0.1.0","@ethersproject/hdnode":"^5.0.3","@portis/web3":"^2.0.0-beta.57","@walletconnect/web3-provider":"^1.2.1","authereum":"0.0.4-beta.186","caip":"^0.9.2","dag-jose":"^0.2.0","dids":"^0.6.3","fortmatic":"^2.2.1","identity-wallet":"^2.0.0-alpha.10","install":"^0.13.0","ipfs":"^0.50.2","ipfs-http-client":"^47.0.1","multiformats":"^3.0.3","npm":"^6.14.8","postmsg-rpc":"^2.4.0","rpc-utils":"^0.1.3","store":"^2.0.12","url-parse":"^1.4.7","web3modal":"^1.9.0"},"devDependencies":{"@babel/cli":"^7.1.2","@babel/core":"^7.1.2","@babel/plugin-proposal-object-rest-spread":"^7.0.0","@babel/plugin-transform-modules-commonjs":"^7.2.0","@babel/plugin-transform-runtime":"^7.1.0","@babel/preset-env":"^7.1.0","@babel/preset-react":"^7.0.0","babel-core":"7.0.0-bridge.0","babel-loader":"^8.0.5","css-loader":"^2.1.1","css-to-string-loader":"^0.1.3","http-server":"^0.11.1","jest":"^26.3.0","node-sass":"^4.13.1","sass-loader":"^8.0.2","standard":"^12.0.1","style-loader":"^0.23.1","svg-inline-loader":"^0.8.2","url-loader":"^4.0.0","webpack":"^4.20.2","webpack-cli":"^3.1.2"},"readme":"[![Discord](https://img.shields.io/discord/484729862368526356.svg?style=for-the-badge)](https://discordapp.com/invite/Z3f3Cxy)\n[![Twitter Follow](https://img.shields.io/twitter/follow/3boxdb.svg?style=for-the-badge&label=Twitter)](https://twitter.com/3boxdb)\n\n# <a name=\"intro\"></a> 3ID-Connect\n\n![3ID Connect Image](./assets/3id-connect_readme-image.png)\n\n3ID-Connect is a 3ID account management service run in an iframe. It allows you to authenicate, manage, and permission your 3ID keys to applications. Used by default in [3box-js](https://github.com/3box/3box-js). [identity-wallet-js](https://github.com/3box/identity-wallet-js) handles most operations and the parent window (application) communicates with iframe service over RPC layer as defined by [3ID JSON-RPC](https://github.com/3box/3box/blob/master/3IPs/3ip-10.md)\n\nRight now you authenticate and link ethereum accounts to mange your 3ID, in the future other keypairs, blockchain accounts, and authentication methods can be added.\n\n## <a name=\"structure\"></a> Structure\n\n* **/src** - Core logic and consumable interfaces for clients and iframe\n  *  **/threeIdConnect.js** -  Application interface (RPC client) to load iframe and return 3ID provider.\n  *  **/threeIdConnectService.js** - Identity wallet instance and RPC 'server' to handle requests\n  *  **/threeIdProviderProxy.js** -  3ID provider interface that relays request through RPC layer\n* **/iframe** - all html, css, js, design assets for iframe and flow\n* **/public** - build assets deployed for iframe\n\n## <a name=\"development\"></a> Development\n\nClone and install dependencies\n\n#### Run Locally\n\nWill serve iframe locally on port 30001\n\n```\n$ npm run start\n```\n\n#### Build\n\n```\n$ npm run build\n```\n\n## Maintainers\n[@zachferland](https://github.com/zachferland)\n","readmeFilename":"README.md","gitHead":"8f40bb87808030056b3ba9ed5a29320b64417004","_id":"3id-connect@1.0.0-alpha.0","_npmVersion":"6.4.1","_nodeVersion":"10.12.0","_npmUser":{"name":"zachferland","email":"zachferland@gmail.com"},"dist":{"integrity":"sha512-WiRoFdXfXlH+lK+Ikh2JIKFkh/y50GyrbWhzrf+QWDvaOfqwsXe/BF6S3/wcWnk3CSHlCZQBQz5F737fM0vdAQ==","shasum":"85ce2af79e9f10ccc31bb2e2e9f8d15ed6e8c635","tarball":"https://registry.npmjs.org/3id-connect/-/3id-connect-1.0.0-alpha.0.tgz","fileCount":33,"unpackedSize":12267614,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfe7yUCRA9TVsSAnZWagAAkEUP/iIT69YFNSXcC4yoRvff\nbwUVnik1MEyzNgZYQLwM813NUxxAgtgJRtwU17mExuIRIWzOQy559HA1wzSS\nxdx5YgUofdpE9JTKD6hNwRJywqRh9QocW1tyJ2tfpBrjiF6s1BYO7H89Ks1U\n+lJkVHKYpj4M0q1BjDDPPZJ3eQywUHvZ0aDpif2jGwFVjYy4tnH6+MEFFE76\nwgCseJjnrgK1M7vEoqhH5gc1UzUKo2GqPxotAMjp7qe04oXtgJZcHE/6JJ6n\nhVwG/nELdPRhJucixrJnNLiNTSL1bIZSRlbmvyAPzZr+HBX2f/STaT1BMnpl\nlJxUcsu0CWZsao8iBE9vDRZ+HZaStZ+R4b5kgWpLbhJHQHXVbQMjh2x2BsNL\n+brV3qxGcDgj2qc+j6MsHdEUIOxqnjKI1qmIYIpat+HHU1Zf1cH1FY3MfT8q\nl2iu9TXB45jSbmK47vrIKJgBcoI4pdkPqorGplgxDQ+u2z0nVZKeTFn5CLRV\nBeN97rjTnwANxPvuWuC8IeWs5vAVdmebf4cftHkstkTSgPNu4oOZuVJk23+r\n4ugz50kAxn/lEAvMBT/amAkxmP/cXsrZyfxvzCPXAxce6/ZnSyejF2HI56Xy\nm/GTCJ+azBK+KxAsi9MoYLNsON1eeIOh64xa/4HVxUKCZrDVTqNwCZY/z7Hy\nZj0P\r\n=NhKF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFvTS5pOpm38gnd5Xdt4S0VEQHKxqjxNhIfgHBnWyGWvAiA9ElBB9vrPmT9a6R/hnYm6qbAeLdH2fYjuULpFj7t+mg=="}]},"maintainers":[{"name":"zachferland","email":"zachferland@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/3id-connect_1.0.0-alpha.0_1601944723380_0.6988153453099448"},"_hasShrinkwrap":false},"1.0.0-alpha.1":{"name":"3id-connect","version":"1.0.0-alpha.1","description":"Account management for 3ID","main":"lib/index.js","directories":{"lib":"lib"},"scripts":{"lint":"standard --verbose src/**","test":"jest --detectOpenHandles --coverage","build:es5":"rm -rf ./lib; babel src --out-dir lib","build:dist":"webpack --config webpack.config.js --mode=development","build:dist:watch":"webpack --config webpack.config.js --mode=development --watch","build:example:dist:watch":"webpack --config ./example/webpack.config.js --mode=development --watch","build:dist:prod":"webpack --config webpack.config.js --mode=production --output-filename index.js","build":"npm run build:dist:prod; npm run build:es5;","prepublishOnly":"npm run build:es5","prepare":"npm run build:es5","server:start":"http-server -c-1 -p 30001 public","server:example:start":"http-server -c-1 -p 30000 example","start":"npm run build:dist:watch & npm run server:start","start:example":"npm run start & npm run build:example:dist:watch & npm run server:example:start"},"jest":{"testEnvironment":"node","testPathIgnorePatterns":["node_modules","lib"]},"repository":{"type":"git","url":"git+https://github.com/3box/3id-connect.git"},"author":{"name":"3box","email":"team@3box.io"},"license":"(Apache-2.0 OR MIT)","bugs":{"url":"https://github.com/3box/3id-connect/issues"},"homepage":"https://github.com/3box/3id-connect#readme","dependencies":{"3id-blockchain-utils":"^1.0.0","@babel/runtime":"^7.12.1","@ceramicnetwork/ceramic-core":"^0.10.1","@ceramicnetwork/ceramic-http-client":"^0.6.5","@ceramicstudio/idx":"^0.2.1","@ceramicstudio/idx-constants":"^0.2.1","@ethersproject/hdnode":"^5.0.3","caip":"^0.9.2","dag-jose":"^0.2.0","dids":"^0.6.3","identity-wallet":"^2.0.0-alpha.16","ipfs-http-client":"^47.0.1","multiformats":"^3.0.3","postmsg-rpc":"^2.4.0","rpc-utils":"^0.1.3","store":"^2.0.12","url-parse":"^1.4.7"},"devDependencies":{"@babel/cli":"^7.12.1","@babel/core":"^7.12.1","@babel/plugin-proposal-object-rest-spread":"^7.12.1","@babel/plugin-transform-modules-commonjs":"^7.12.1","@babel/plugin-transform-runtime":"^7.12.1","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.1","@portis/web3":"^2.0.0-beta.57","@walletconnect/web3-provider":"^1.2.1","authereum":"0.0.4-beta.186","babel-core":"7.0.0-bridge.0","babel-loader":"^8.0.5","css-loader":"^2.1.1","css-to-string-loader":"^0.1.3","fortmatic":"^2.2.1","http-server":"^0.11.1","ipfs":"^0.50.2","jest":"^26.3.0","node-sass":"^4.13.1","npm":"^6.14.8","sass-loader":"^8.0.2","standard":"^12.0.1","style-loader":"^0.23.1","svg-inline-loader":"^0.8.2","url-loader":"^4.0.0","web3modal":"^1.9.0","webpack":"^4.20.2","webpack-bundle-analyzer":"^3.9.0","webpack-cli":"^3.1.2"},"readme":"[![Discord](https://img.shields.io/discord/484729862368526356.svg?style=for-the-badge)](https://discordapp.com/invite/Z3f3Cxy)\n[![Twitter Follow](https://img.shields.io/twitter/follow/3boxdb.svg?style=for-the-badge&label=Twitter)](https://twitter.com/3boxdb)\n\n# <a name=\"intro\"></a> 3ID-Connect\n\n![3ID Connect Image](./assets/3id-connect_readme-image.png)\n\n3ID-Connect is a 3ID account management service run in an iframe. It allows you to authenicate, manage, and permission your 3ID keys to applications. Used by default in [3box-js](https://github.com/3box/3box-js). [identity-wallet-js](https://github.com/3box/identity-wallet-js) handles most operations and the parent window (application) communicates with iframe service over RPC layer as defined by [3ID JSON-RPC](https://github.com/3box/3box/blob/master/3IPs/3ip-10.md)\n\nRight now you authenticate and link ethereum accounts to mange your 3ID, in the future other keypairs, blockchain accounts, and authentication methods can be added.\n\n## <a name=\"structure\"></a> Structure\n\n* **/src** - Core logic and consumable interfaces for clients and iframe\n  *  **/threeIdConnect.js** -  Application interface (RPC client) to load iframe and return 3ID provider.\n  *  **/threeIdConnectService.js** - Identity wallet instance and RPC 'server' to handle requests\n  *  **/threeIdProviderProxy.js** -  3ID provider interface that relays request through RPC layer\n* **/iframe** - all html, css, js, design assets for iframe and flow\n* **/public** - build assets deployed for iframe\n\n## <a name=\"development\"></a> Development\n\nClone and install dependencies\n\n#### Run Locally\n\nWill serve iframe locally on port 30001\n\n```\n$ npm run start\n```\n\n#### Build\n\n```\n$ npm run build\n```\n\n## Maintainers\n[@zachferland](https://github.com/zachferland)\n","readmeFilename":"README.md","gitHead":"d7a6784ace28891f534138023300d48118957b4e","_id":"3id-connect@1.0.0-alpha.1","_nodeVersion":"12.18.3","_npmVersion":"6.14.8","dist":{"integrity":"sha512-TyA6TtWbTC2bUkSQ7QQaLv5BnK+taEguzWJZWKS83VT0j1zM2+clWVS+2S2GOhXQonEAM/p1snjgGjpPRrNIqg==","shasum":"cd62bf11659c14efc9bab56c13bcad06195a6750","tarball":"https://registry.npmjs.org/3id-connect/-/3id-connect-1.0.0-alpha.1.tgz","fileCount":33,"unpackedSize":8756035,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJflpIsCRA9TVsSAnZWagAATfEP/jEjaDQKL125A3N93PC4\nEOlGWZMWgV6qXTR7NLk7Klz2hcEyo5CINI51OcU0NxHEoBi4/SaKGT3tERLo\n3EAD3rO9mk1exgdMwU607gLdH2ODsc4p8oSrPY0TDIRjN7FK3eTHXnoHKnOG\nQHiXGdl8SuK8JFmycfHc3qb7ByfYqp8MnBhzSnLHaf0VEg81OLp05IxNk1cY\nFC+Egq7FQeIs53OgPpEf3qhLqoiXFy9EGctw4Xa2s2gmXrzEAq60DXTAqoO3\nElkKGgRgYB17JIYadc2lGU+Xv2TUiOaO3D95/903zDSodHbRsTPRaGf9XDzF\nPFjVzir20cmfpLPbLwwPm58jgcYqQ2oJiI6x6VURTf3viBqO2YC33GECpGpE\ndUzzfu6SBDOSZ3pEM67m0ZdOqYiOy2Sd7xpqHWFkWzF1O+tlsmcyU6UJxDwp\nBBmE86oMGcLrFxyBHT9O8LmMo02IRWaPhMpRbFYsf2yHKPq8SDrim38Z2Opf\nroLgrxfrh48tQw4jGw0rNRwF/JjY9oUJDKt2cfRhduakuNxaS9D7s6aYtWwn\nvDYwfM7aoXw2F0gTribCWMi7Jq4mh7ZXYTEZOFnmuYQvU3fb6RNevZaKLwvB\nFrL7+nSZnysYY1h4ySgvOO8ZcF4V3D8+//piAEg/pNxaRME3fpDQCrHAL568\n3zLA\r\n=P+a0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDoUVM+Jdg+fqG3qHOG0l1xfOHyd1VyM0nqbX1yZ5A7sAiEAmblnyOiXh5qf0YyOCEw+64l9OAD91xgW7CgCBDiSWf4="}]},"maintainers":[{"name":"paul_lecam","email":"paul@ulem.net"},{"name":"zachferland","email":"zachferland@gmail.com"}],"_npmUser":{"name":"paul_lecam","email":"paul@ulem.net"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/3id-connect_1.0.0-alpha.1_1603703340198_0.4935407508414422"},"_hasShrinkwrap":false},"1.0.0-alpha.2":{"name":"3id-connect","version":"1.0.0-alpha.2","description":"Account management for 3ID","main":"lib/index.js","scripts":{"lint":"standard --verbose src/**","test":"jest --detectOpenHandles --coverage","build:es5":"rm -rf ./lib; babel src --out-dir lib","build:dist":"webpack --config webpack.config.js --mode=development","build:dist:watch":"webpack --config webpack.config.js --mode=development --watch","build:example:dist:watch":"webpack --config ./example/webpack.config.js --mode=development --watch","build:dist:prod":"webpack --config webpack.config.js --mode=production --output-filename index.js","build":"npm run build:dist:prod; npm run build:es5;","prepublishOnly":"npm run build:es5","prepare":"npm run build:es5","server:start":"http-server -c-1 -p 30001 public","server:example:start":"http-server -c-1 -p 30000 example","start":"npm run build:dist:watch & npm run server:start","start:example":"npm run start & npm run build:example:dist:watch & npm run server:example:start"},"jest":{"testEnvironment":"node","testPathIgnorePatterns":["node_modules","lib"]},"repository":{"type":"git","url":"git+https://github.com/3box/3id-connect.git"},"author":{"name":"3box","email":"team@3box.io"},"license":"(Apache-2.0 OR MIT)","bugs":{"url":"https://github.com/3box/3id-connect/issues"},"homepage":"https://github.com/3box/3id-connect#readme","dependencies":{"3id-blockchain-utils":"^1.0.0","@babel/runtime":"^7.12.1","@ceramicnetwork/ceramic-core":"^0.10.1","@ceramicnetwork/ceramic-http-client":"^0.6.5","@ceramicstudio/idx":"^0.2.1","@ceramicstudio/idx-constants":"^0.2.1","@ethersproject/hdnode":"^5.0.3","caip":"^0.9.2","dag-jose":"^0.2.0","dids":"^0.6.3","identity-wallet":"^2.0.0-alpha.16","ipfs-http-client":"^47.0.1","multiformats":"^3.0.3","postmsg-rpc":"^2.4.0","rpc-utils":"^0.1.3","store":"^2.0.12","url-parse":"^1.4.7"},"devDependencies":{"@babel/cli":"^7.12.1","@babel/core":"^7.12.1","@babel/plugin-proposal-object-rest-spread":"^7.12.1","@babel/plugin-transform-modules-commonjs":"^7.12.1","@babel/plugin-transform-runtime":"^7.12.1","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.1","@portis/web3":"^2.0.0-beta.57","@walletconnect/web3-provider":"^1.2.1","authereum":"0.0.4-beta.186","babel-core":"7.0.0-bridge.0","babel-loader":"^8.0.5","css-loader":"^2.1.1","css-to-string-loader":"^0.1.3","fortmatic":"^2.2.1","http-server":"^0.11.1","ipfs":"^0.50.2","jest":"^26.3.0","node-sass":"^4.13.1","npm":"^6.14.8","sass-loader":"^8.0.2","standard":"^12.0.1","style-loader":"^0.23.1","svg-inline-loader":"^0.8.2","url-loader":"^4.0.0","web3modal":"^1.9.0","webpack":"^4.20.2","webpack-bundle-analyzer":"^3.9.0","webpack-cli":"^3.1.2"},"readme":"[![Discord](https://img.shields.io/discord/484729862368526356.svg?style=for-the-badge)](https://discordapp.com/invite/Z3f3Cxy)\n[![Twitter Follow](https://img.shields.io/twitter/follow/3boxdb.svg?style=for-the-badge&label=Twitter)](https://twitter.com/3boxdb)\n\n# <a name=\"intro\"></a> 3ID-Connect\n\n![3ID Connect Image](./assets/3id-connect_readme-image.png)\n\n3ID-Connect is a 3ID account management service run in an iframe. It allows you to authenicate, manage, and permission your 3ID keys to applications. Used by default in [3box-js](https://github.com/3box/3box-js). [identity-wallet-js](https://github.com/3box/identity-wallet-js) handles most operations and the parent window (application) communicates with iframe service over RPC layer as defined by [3ID JSON-RPC](https://github.com/3box/3box/blob/master/3IPs/3ip-10.md)\n\nRight now you authenticate and link ethereum accounts to mange your 3ID, in the future other keypairs, blockchain accounts, and authentication methods can be added.\n\n## <a name=\"structure\"></a> Structure\n\n* **/src** - Core logic and consumable interfaces for clients and iframe\n  *  **/threeIdConnect.js** -  Application interface (RPC client) to load iframe and return 3ID provider.\n  *  **/threeIdConnectService.js** - Identity wallet instance and RPC 'server' to handle requests\n  *  **/threeIdProviderProxy.js** -  3ID provider interface that relays request through RPC layer\n* **/iframe** - all html, css, js, design assets for iframe and flow\n* **/public** - build assets deployed for iframe\n\n## <a name=\"development\"></a> Development\n\nClone and install dependencies\n\n#### Run Locally\n\nWill serve iframe locally on port 30001\n\n```\n$ npm run start\n```\n\n#### Build\n\n```\n$ npm run build\n```\n\n## Maintainers\n[@zachferland](https://github.com/zachferland)\n","readmeFilename":"README.md","gitHead":"d7a6784ace28891f534138023300d48118957b4e","_id":"3id-connect@1.0.0-alpha.2","_nodeVersion":"12.18.3","_npmVersion":"6.14.8","dist":{"integrity":"sha512-dp7U3Oom0qetKjhR/k/CS0U/jrd0ZwpGlxMyvuCI3FkcHvWUy2tkSSM0hae+J557/VemuvwyRWv9ExaUeKYyng==","shasum":"316f8181da6c3d9020db1bb915282c3059dd8542","tarball":"https://registry.npmjs.org/3id-connect/-/3id-connect-1.0.0-alpha.2.tgz","fileCount":11,"unpackedSize":72934,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJflpKpCRA9TVsSAnZWagAA+UUP/idStpKZ6YHIgtxu15bF\nOJ9W2vpkooiQK+y2Q40Gb+rewod/EYM7h2dhcTYzmpTC4Q68JRWWWeEjfeif\nfri1VyQz9WB0Uj/vywvC4ZucuUsXsZBmXtj+m5nGFYaxshieKV9ypI7v4Zjd\nP8hDSyJesgWtFfHCjtprin7Mh/gW5UClanHFF8/Z5PvWMx8w5m2SV69TFcwk\nP3e+OaqpToCjo/qvzOgn0x+CfUerquLgMp2r390+GGjJPTM+8dnrUE0nEeU4\nZdSjzs4JQJlklK0lNv/j0lkDcYTwkkt2RHMkSjChdqAh7rWXAa8LxLvCtA+4\n8ZUkR8OLQ0+qCcJDsg7R4zyFzZUCkfbDyQu1+Xax9DVyXBkGwTkUFJThdJJ8\nhJ/Kn8gBeRWohStC8sFlhUibBwm3Whk3mHawf8zvLlS4rZMtJ4NIcPvHAFBc\nxVm/+M/A+2nc3mmMbxbXHhp+VS2wyscfc/kYVHC9VVSkwyqiP6BWE9qaHICP\nbUxmYECYqclYc7uGuXWsqUQ0x9hfdQJtCT2Wp94qNpL5IqSOoJuRgSCr5zry\nFRQjkzGN62N4F/wZyS8y2GIwI7jE1saARSKtWO/WhGyp4gB48Jn7W6RnGcdD\nNfViujo+9Pa8SBpKkJ1t8HC2orDklT59uxY5c0DMR2djfs8Hj0VpejptfuH7\nGEta\r\n=pAaR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCzzC0fJuNVOSc1Gvpihnoc6Umkz+PMgpMTx9DI0Rw19AIhAPSik8IRiIjO00SzCYRq9Zi7pTX4s8bzRku56QX02e1e"}]},"maintainers":[{"name":"paul_lecam","email":"paul@ulem.net"},{"name":"zachferland","email":"zachferland@gmail.com"}],"_npmUser":{"name":"paul_lecam","email":"paul@ulem.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/3id-connect_1.0.0-alpha.2_1603703464926_0.7141710356658388"},"_hasShrinkwrap":false},"1.0.0-alpha.3":{"name":"3id-connect","version":"1.0.0-alpha.3","description":"Account management for 3ID","main":"lib/index.js","scripts":{"lint":"standard --verbose src/**","test":"jest --detectOpenHandles --coverage","build:es5":"rm -rf ./lib; babel src --out-dir lib","build:dist":"webpack --config webpack.config.js --mode=development","build:dist:watch":"webpack --config webpack.config.js --mode=development --watch","build:example:dist:watch":"webpack --config ./example/webpack.config.js --mode=development --watch","build:dist:prod":"webpack --config webpack.config.js --mode=production --output-filename index.js","build":"npm run build:dist:prod; npm run build:es5;","prepublishOnly":"npm run build:es5","prepare":"npm run build:es5","server:start":"http-server -c-1 -p 30001 public","server:example:start":"http-server -c-1 -p 30000 example","start":"npm run build:dist:watch & npm run server:start","start:example":"npm run start & npm run build:example:dist:watch & npm run server:example:start"},"jest":{"testEnvironment":"node","testPathIgnorePatterns":["node_modules","lib"]},"repository":{"type":"git","url":"git+https://github.com/3box/3id-connect.git"},"author":{"name":"3box","email":"team@3box.io"},"license":"(Apache-2.0 OR MIT)","bugs":{"url":"https://github.com/3box/3id-connect/issues"},"homepage":"https://github.com/3box/3id-connect#readme","dependencies":{"3id-blockchain-utils":"^1.0.0","@babel/runtime":"^7.12.1","@ceramicnetwork/ceramic-core":"^0.12.0","@ceramicnetwork/ceramic-http-client":"^0.7.1","@ceramicstudio/idx":"^0.3.0","@ceramicstudio/idx-constants":"^0.3.0","@ethersproject/hdnode":"^5.0.3","caip":"^0.9.2","dag-jose":"^0.3.0","dids":"^0.7.0","identity-wallet":"^2.0.0-alpha.17","ipfs-http-client":"^47.0.1","multiformats":"^3.0.3","postmsg-rpc":"^2.4.0","rpc-utils":"^0.1.3","store":"^2.0.12","url-parse":"^1.4.7"},"devDependencies":{"@babel/cli":"^7.12.1","@babel/core":"^7.12.3","@babel/plugin-proposal-object-rest-spread":"^7.12.1","@babel/plugin-transform-modules-commonjs":"^7.12.1","@babel/plugin-transform-runtime":"^7.12.1","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.1","@portis/web3":"^2.0.0-beta.57","@walletconnect/web3-provider":"^1.2.1","authereum":"0.0.4-beta.186","babel-core":"7.0.0-bridge.0","babel-loader":"^8.0.5","css-loader":"^2.1.1","css-to-string-loader":"^0.1.3","fortmatic":"^2.2.1","http-server":"^0.11.1","ipfs":"^0.50.2","jest":"^26.6.1","node-sass":"^4.13.1","npm":"^6.14.8","sass-loader":"^8.0.2","standard":"^12.0.1","style-loader":"^0.23.1","svg-inline-loader":"^0.8.2","url-loader":"^4.0.0","web3modal":"^1.9.0","webpack":"^4.20.2","webpack-bundle-analyzer":"^3.9.0","webpack-cli":"^3.1.2"},"readme":"[![Discord](https://img.shields.io/discord/484729862368526356.svg?style=for-the-badge)](https://discordapp.com/invite/Z3f3Cxy)\n[![Twitter Follow](https://img.shields.io/twitter/follow/3boxdb.svg?style=for-the-badge&label=Twitter)](https://twitter.com/3boxdb)\n\n# <a name=\"intro\"></a> 3ID-Connect\n\n![3ID Connect Image](./assets/3id-connect_readme-image.png)\n\n3ID-Connect is a 3ID account management service run in an iframe. It allows you to authenicate, manage, and permission your 3ID keys to applications. Used by default in [3box-js](https://github.com/3box/3box-js). [identity-wallet-js](https://github.com/3box/identity-wallet-js) handles most operations and the parent window (application) communicates with iframe service over RPC layer as defined by [3ID JSON-RPC](https://github.com/3box/3box/blob/master/3IPs/3ip-10.md)\n\nRight now you authenticate and link ethereum accounts to mange your 3ID, in the future other keypairs, blockchain accounts, and authentication methods can be added.\n\n## <a name=\"structure\"></a> Structure\n\n* **/src** - Core logic and consumable interfaces for clients and iframe\n  *  **/threeIdConnect.js** -  Application interface (RPC client) to load iframe and return 3ID provider.\n  *  **/threeIdConnectService.js** - Identity wallet instance and RPC 'server' to handle requests\n  *  **/threeIdProviderProxy.js** -  3ID provider interface that relays request through RPC layer\n* **/iframe** - all html, css, js, design assets for iframe and flow\n* **/public** - build assets deployed for iframe\n\n## <a name=\"development\"></a> Development\n\nClone and install dependencies\n\n#### Run Locally\n\nWill serve iframe locally on port 30001\n\n```\n$ npm run start\n```\n\n#### Build\n\n```\n$ npm run build\n```\n\n## Maintainers\n[@zachferland](https://github.com/zachferland)\n","readmeFilename":"README.md","gitHead":"7c3afd21d2c6edb212bd859913cb272e3b1b4543","_id":"3id-connect@1.0.0-alpha.3","_nodeVersion":"14.11.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-KMJyrTC+koFNZV6qbXpub6w0CTm10CxFzkGbdXG9pzwCxg5fYe/UuTbT8zN/GvqaeqpZ3In9hg0FNX/IB0/wvA==","shasum":"a8cc6a62d15c850f73c3b994a880ab9e3e37b38f","tarball":"https://registry.npmjs.org/3id-connect/-/3id-connect-1.0.0-alpha.3.tgz","fileCount":11,"unpackedSize":72905,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfobHICRA9TVsSAnZWagAAAOAP/RA4p/d9bX+ge4AUOCBC\nbiz/OaNZ8fSiUJ7PoIxBYJxPPyiUqGGdSN5FJEp8hYrmqwPWv2azGTkbQHsZ\nkBoxEyvjk0AZCs60eySBYWjAGp6Bga/qB/aimTuEl51SLukYdQ/fDS3sYkoi\n4CXmHZqbAKwHZXs6CFA+VWlI4HS7qB0lPU5W9iGUukOJNC1I8GbmWpoM5XIz\n7dHUaw17FTPPWF9jv3vPcsb6kuG28Hv0WZqr9cVNSaZHSywSOac6D+5wPDj/\n0OefnBXJz2/mSXFAWrn8pWTxF8gTJp+HpaO6zVMT83OpoiImSPJJ8IzDQAW9\nMU1WK7KaayQJnzUkPhxvzSXcLq/DMgQs0Wv3vUbzHoTlFgHVzg/uPo2BFcay\nD0vg22i2pfAfQl9x6vQWvNzOjjIRvIqi65NgO2qvP2CaGYxqCnOXlv3QsjCm\nORnFme2SJNveLMyB7c4V8+aBKc388/AU7G9Uf/7c6J8giCmi2ShskSpBSBUl\nwzkTl8iK2BqAl8277X+wa6YApC2Mu9nAqs4HYoEWxdbRI7GRGljli6bqBHLS\nPf6+UMcfDQDZwaxYoGiSJQVsi9RX8c4Sg8nYiY4x8qRGHDhtE9H1btX7iydr\nPi+F0IU/jFH/qLN+tZrj+7P1BKkA/bwlMKJAeH1BsAXcKyiaUDTr0GfIwqWU\n5xNp\r\n=7JB9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA9Zw20Unj8aXzctE/1agiBdppa/tnOsYDuLHneBuMViAiAB675brcvynvhzUJC4cPSV4tEkFRIT0hsdxDpl7janWQ=="}]},"_npmUser":{"name":"zachferland","email":"zachferland@gmail.com"},"directories":{},"maintainers":[{"name":"paul_lecam","email":"paul@ulem.net"},{"name":"zachferland","email":"zachferland@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/3id-connect_1.0.0-alpha.3_1604432327442_0.26358678764221133"},"_hasShrinkwrap":false},"1.0.0-alpha.4":{"name":"3id-connect","version":"1.0.0-alpha.4","description":"Account management for 3ID","main":"lib/index.js","scripts":{"lint":"standard --verbose src/**","test":"jest --detectOpenHandles --coverage","build:es5":"rm -rf ./lib; babel src --out-dir lib","build:dist":"webpack --config webpack.config.js --mode=development","build:dist:watch":"webpack --config webpack.config.js --mode=development --watch","build:example:dist:watch":"webpack --config ./example/webpack.config.js --mode=development --watch","build:dist:prod":"webpack --config webpack.config.js --mode=production --output-filename index.js","build":"npm run build:dist:prod; npm run build:es5;","prepublishOnly":"npm run build:es5","prepare":"npm run build:es5","server:start":"http-server -c-1 -p 30001 public","server:example:start":"http-server -c-1 -p 30000 example","start":"npm run build:dist:watch & npm run server:start","start:example":"npm run start & npm run build:example:dist:watch & npm run server:example:start"},"jest":{"testEnvironment":"node","testPathIgnorePatterns":["node_modules","lib"]},"repository":{"type":"git","url":"git+https://github.com/3box/3id-connect.git"},"author":{"name":"3box","email":"team@3box.io"},"license":"(Apache-2.0 OR MIT)","bugs":{"url":"https://github.com/3box/3id-connect/issues"},"homepage":"https://github.com/3box/3id-connect#readme","dependencies":{"3id-blockchain-utils":"^1.0.0","@babel/runtime":"^7.12.1","@ceramicnetwork/ceramic-core":"^0.12.0","@ceramicnetwork/ceramic-http-client":"^0.7.1","@ceramicstudio/idx":"^0.3.0","@ceramicstudio/idx-constants":"^0.3.0","@ethersproject/hdnode":"^5.0.3","caip":"^0.9.2","dag-jose":"^0.3.0","dids":"^0.7.0","identity-wallet":"^2.0.0-alpha.17","ipfs-http-client":"^47.0.1","multiformats":"^3.0.3","postmsg-rpc":"^2.4.0","rpc-utils":"^0.1.3","store":"^2.0.12","url-parse":"^1.4.7"},"devDependencies":{"@babel/cli":"^7.12.1","@babel/core":"^7.12.3","@babel/plugin-proposal-object-rest-spread":"^7.12.1","@babel/plugin-transform-modules-commonjs":"^7.12.1","@babel/plugin-transform-runtime":"^7.12.1","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.1","@portis/web3":"^2.0.0-beta.57","@walletconnect/web3-provider":"^1.2.1","authereum":"0.0.4-beta.186","babel-core":"7.0.0-bridge.0","babel-loader":"^8.0.5","css-loader":"^2.1.1","css-to-string-loader":"^0.1.3","fortmatic":"^2.2.1","http-server":"^0.11.1","ipfs":"^0.50.2","jest":"^26.6.1","node-sass":"^4.13.1","npm":"^6.14.8","sass-loader":"^8.0.2","standard":"^12.0.1","style-loader":"^0.23.1","svg-inline-loader":"^0.8.2","url-loader":"^4.0.0","web3modal":"^1.9.0","webpack":"^4.20.2","webpack-bundle-analyzer":"^3.9.0","webpack-cli":"^3.1.2"},"readme":"![ceramicnetwork](https://circleci.com/gh/ceramicstudio/3id-connect.svg?style=shield)\n[![](https://img.shields.io/badge/Chat%20on-Discord-orange.svg?style=flat)](https://discord.gg/6VRZpGP)\n[![Twitter](https://img.shields.io/twitter/follow/ceramicnetwork?label=Follow&style=social)](https://twitter.com/ceramicnetwork)\n\n# <a name=\"intro\"></a> 3ID-Connect\n\n![3ID Connect Image](./assets/3id-connect_readme-image.png)\n\n3ID user account management in a iframe. An easy way to access a did provider and [identity wallet](https://github.com/3box/identity-wallet-js) in the browser. It allows users to authenticate, manage, link and permission their 3ID keys to applications. The library [identity-wallet-js](https://github.com/3box/identity-wallet-js) handles most operations and the parent window (application) communicates with the iframe service over an RPC layer.\n\n## <a name=\"use\"></a> Use\n\n```\nnpm install 3id-connect@next\n```\n\nExample usage with an ethereum provider and related auth provider.\n\n```js\nimport { ThreeIdConnect,  EthereumAuthProvider } from '@ceramicstudio/3id-connect'\n\n// assuming ethereum provider available or on window\nconst addresses = await provider.enable()\n\nconst authProvider = new EthereumAuthProvider(provider, addresses[0])\nawait threeIdConnect.connect(authProvider)\n\nconst didProvider = await threeIdConnect.getDidProvider()\n\n// now consume didProvider in ceramic clients, idx, dids libraries, etc\n```\n\n## <a name=\"structure\"></a> Structure\n\n* **/src** - Core logic and consumable interfaces for clients and iframe\n  *  **/threeIdConnect.js** -  Application interface (RPC client) to load iframe and return 3ID provider.\n  *  **/connectService.js** - Identity wallet instance and RPC 'server' to handle requests\n  *  **/didProviderProxy.js** -  DID provider interface that relays request through RPC layer\n  * **/authProvider** - 3ID connect (client) consumes an auth provider, auth providers can be implemented to support many different blockchain accounts and authentication methods\n      *  **/abstractAuthProvider.js** -  Interface used to implement a auth provider\n      *  **/ethereumAuthProvider.js** -  Etheruum auth provider, to link and authenticate with ethereum accounts\n* **/iframe** - all html, css, js, design assets for iframe and flow\n* **/public** - build assets deployed for iframe\n\n## <a name=\"development\"></a> Development\n\nClone and install dependencies\n\n#### Run Example\n\nWill serve iframe locally on port 30001 and an example app on port 30000. Example app available in example folder. \n\n```\n$ npm run start:example\n```\n\n#### Run Iframe Locally\n\nWill serve iframe locally on port 30001\n\n```\n$ npm run start\n```\n\n#### Build\n\n```\n$ npm run build\n```\n\n## Maintainers\n[@zachferland](https://github.com/zachferland)\n","readmeFilename":"README.md","gitHead":"a88e2161950f95f0cd5776ef4b06726ad24089a7","_id":"3id-connect@1.0.0-alpha.4","_nodeVersion":"14.11.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-qpE+ZkDtFqUXr0UgMNqQ6JCD+Noh3xGHbsBNo6Q7CkqzueFdSZdR7GA/0EloPUsroy+yD/fywfbpb/KvXwaXXA==","shasum":"c2f2b5ac03c599b7a2faa9bb70d970fa13c77550","tarball":"https://registry.npmjs.org/3id-connect/-/3id-connect-1.0.0-alpha.4.tgz","fileCount":11,"unpackedSize":94783,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfrJweCRA9TVsSAnZWagAAaGUP+wa17mpUPouUTvaI2atE\n5iaxN9XhaBImRndy2MowpaclBEGG87EsaoYqF13tjzYSkSjPwss423AaCmBx\n4pQSMXhUy3PSmBV457FnEaNeRxuDv0rKBUDFRv0ZOA++zbWYqFlYe51NfIx+\n18kD3PJrJDIaroJ1ZPymlnOXd6J41fl5Dn8oOT4s6qYEZV8/bVE3SVAtqeH6\nvaRJLpadScH235xQYhwjGfnHh1n7++DBb9vPKunJ8TCzNtKph60aeURkdDsN\n7QkfHpVGgrNPgATK8tBDb2wdo5pltu5HGElYKuVq9cD6psXdyQHLXHIpuhsg\nQj5n0lalQU3Swx/B7uSdFUXk0/zqjmSTEc+24+GgOvBq9JtPlaB2Y2djZPd3\nbD+clAPmXhXLWf+XtjxC9yEAEZJr0+PFKLoPM0evoT8UE3fWBKLH9dzOihrt\nKBhdR8cib2XTWJdaI1ut5JV18mDVqe0gIEP7S3rm3kwmmTeEpr3YM6lpExVJ\nUoSiFlAGm50qdVu8yStqtfZi7U79Rz3OldVcA403PfuAX3D+TwRF7r+HySKW\nHHKZgqTQwI2JaqdaYx0NJ3hbL7X2ZCEYpeCmbiT8A747WJyQZtk26dq9QoUB\nPAiMDQciFRHKlwqCRr7l1aA1PgxxGAv3PUIMHoDIWjbo1O6bte9b02owmzGp\n68Ud\r\n=QaaI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC83mhOdA7Bx7reMsICx8NblBzHMh/nyT11jHf/qkhgYgIhAMU4qYFQaam3hOYWIspnT2g5PmMyOga1JfQZJwFtWO4W"}]},"_npmUser":{"name":"zachferland","email":"zachferland@gmail.com"},"directories":{},"maintainers":[{"name":"paul_lecam","email":"paul@ulem.net"},{"name":"zachferland","email":"zachferland@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/3id-connect_1.0.0-alpha.4_1605147678446_0.09007589301835228"},"_hasShrinkwrap":false},"1.0.0-alpha.6":{"name":"3id-connect","version":"1.0.0-alpha.6","description":"Account management for 3ID","main":"lib/index.js","typings":"types/index.d.ts","scripts":{"lint":"eslint src","test":"jest --detectOpenHandles --coverage","build:es5":"rm -rf ./lib && babel src --out-dir lib --extensions .ts","build:types":"rm -rf ./types && tsc --emitDeclarationOnly --skipLibCheck","build:dist":"webpack --config webpack.config.js --mode=development","build:dist:watch":"webpack --config webpack.config.js --mode=development --watch","build:example:dist:watch":"webpack --config ./example/webpack.config.js --mode=development --watch","build:dist:prod":"webpack --config webpack.config.js --mode=production --output-filename index.js","build":"npm run build:dist:prod && npm run build:types && npm run build:es5","prepare":"npm run build:es5 && npm run build:types","server:start":"http-server -c-1 -p 30001 public","server:example:start":"http-server -c-1 -p 30000 example","start":"npm run build:dist:watch & npm run server:start","start:example":"npm run start & npm run build:example:dist:watch & npm run server:example:start"},"jest":{"testEnvironment":"node","testPathIgnorePatterns":["node_modules","lib"]},"repository":{"type":"git","url":"git+https://github.com/3box/3id-connect.git"},"author":{"name":"3box","email":"team@3box.io"},"license":"(Apache-2.0 OR MIT)","bugs":{"url":"https://github.com/3box/3id-connect/issues"},"homepage":"https://github.com/3box/3id-connect#readme","dependencies":{"3id-blockchain-utils":"^1.1.1","3id-did-provider":"^0.1.1","@babel/runtime":"^7.12.5","@ceramicnetwork/http-client":"^0.8.5","@ceramicstudio/idx":"^0.4.2","@ethersproject/hdnode":"^5.0.7","caip":"^0.9.2","dag-jose":"^0.3.0","dids":"^1.1.0","errors-utils":"^0.1.0","postmsg-rpc":"^2.4.0","rpc-utils":"^0.2.0","store":"^2.0.12","url-parse":"^1.4.7"},"devDependencies":{"@babel/cli":"^7.12.8","@babel/core":"^7.12.9","@babel/plugin-proposal-class-properties":"^7.12.1","@babel/plugin-proposal-object-rest-spread":"^7.12.1","@babel/plugin-transform-modules-commonjs":"^7.12.1","@babel/plugin-transform-runtime":"^7.12.1","@babel/preset-env":"^7.12.7","@babel/preset-typescript":"^7.12.7","@ceramicnetwork/3id-did-resolver":"^0.5.3","@portis/web3":"^2.0.0-beta.57","@types/store":"^2.0.2","@types/url-parse":"^1.4.3","@walletconnect/web3-provider":"^1.2.1","authereum":"0.0.4-beta.186","babel-core":"7.0.0-bridge.0","babel-loader":"^8.2.2","css-loader":"^2.1.1","css-to-string-loader":"^0.1.3","eslint":"^7.14.0","eslint-config-3box":"^0.2.0","fortmatic":"^2.2.1","http-server":"^0.12.3","ipfs":"^0.52.2","jest":"^26.6.3","node-sass":"^4.13.1","npm":"^6.14.9","prettier":"^2.2.1","sass-loader":"^8.0.2","style-loader":"^0.23.1","svg-inline-loader":"^0.8.2","typescript":"^4.1.2","url-loader":"^4.0.0","web3modal":"^1.9.2","webpack":"^4.20.2","webpack-bundle-analyzer":"^3.9.0","webpack-cli":"^3.1.2"},"readme":"![ceramicnetwork](https://circleci.com/gh/ceramicstudio/3id-connect.svg?style=shield)\n[![](https://img.shields.io/badge/Chat%20on-Discord-orange.svg?style=flat)](https://discord.gg/6VRZpGP)\n[![Twitter](https://img.shields.io/twitter/follow/ceramicnetwork?label=Follow&style=social)](https://twitter.com/ceramicnetwork)\n\n# <a name=\"intro\"></a> 3ID-Connect\n\n![3ID Connect Image](./assets/3id-connect_readme-image.png)\n\n3ID user account management in a iframe. An easy way to access a did provider, specifically [ThreeIdProvider](https://github.com/ceramicstudio/js-3id-did-provider) in the browser. It allows users to authenticate, manage, link and permission their 3ID keys to applications. The library [js-3id-did-provider](https://github.com/ceramicstudio/js-3id-did-provider) handles most operations and the parent window (application) communicates with the iframe service over an RPC layer. 3id-connect with Ceramic support is only available at 3id-connect@next and 3idconnect.org at the moment.\n\n## <a name=\"use\"></a> Use\n\n```\nnpm install 3id-connect@next\n```\n\nExample usage with an ethereum provider and related auth provider.\n\n```js\nimport { ThreeIdConnect,  EthereumAuthProvider } from '@ceramicstudio/3id-connect'\n\n// assuming ethereum provider available or on window\nconst addresses = await provider.enable()\n\nconst authProvider = new EthereumAuthProvider(provider, addresses[0])\nawait threeIdConnect.connect(authProvider)\n\nconst didProvider = await threeIdConnect.getDidProvider()\n\n// now consume didProvider in ceramic clients, idx, dids libraries, etc\n```\n\n## <a name=\"structure\"></a> Structure\n\n- **/src** - Core logic and consumable interfaces for clients and iframe\n  - **/threeIdConnect.ts** - Application interface (RPC client) to load iframe and return 3ID provider.\n  - **/connectService.ts** - Identity wallet instance and RPC 'server' to handle requests\n  - **/didProviderProxy.ts** - DID provider interface that relays request through RPC layer\n  - **/authProvider** - 3ID connect (client) consumes an auth provider, auth providers can be implemented to support many different blockchain accounts and authentication methods\n    - **/abstractAuthProvider.ts** - Interface used to implement a auth provider\n    - **/ethereumAuthProvider.ts** - Ethereum auth provider, to link and authenticate with ethereum accounts\n- **/iframe** - all html, css, js, design assets for iframe and flow\n- **/public** - build assets deployed for iframe\n\n## <a name=\"development\"></a> Development\n\nClone and install dependencies\n\n#### Run Example\n\nWill serve iframe locally on port 30001 and an example app on port 30000. Example app available in example folder. \n\n```\n$ npm run start:example\n```\n\n#### Run Iframe Locally\n\nWill serve iframe locally on port 30001\n\n```\n$ npm run start\n```\n\n#### Build\n\n```\n$ npm run build\n```\n\n## Maintainers\n[@zachferland](https://github.com/zachferland)\n","readmeFilename":"README.md","gitHead":"2573f3119c6fba93cde326901bb22fd38799c895","_id":"3id-connect@1.0.0-alpha.6","_nodeVersion":"14.11.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-L/e1xnESihZDxxwoqNhwGmUInNqT14IdfQYKseuw7DbooHHksZk7Qn9mzVrxyc8t7MkzGsRqKLni027e+ViMLg==","shasum":"5ebd641f1a0c8e9eb702405353370ecdc51f5016","tarball":"https://registry.npmjs.org/3id-connect/-/3id-connect-1.0.0-alpha.6.tgz","fileCount":23,"unpackedSize":99651,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfyZ++CRA9TVsSAnZWagAAUi4P/j5Gu2NQPdWyDoLS7vua\n+AMUc092KyvOdwXRl/D3ny+zTIXYj19874ZbdzEPgasRuZWbX+yc3FbZvfWy\nMSQSNh1yjMPoPD4l47kTZAKuXfSE0pEmrNL4LBJcdwxEIpzhV7LgSnb/AHui\nyRnggRWmo9upAKTyFV6HrZjCgd3PHrOnlBhWKZYUkTZrSZNhdHskLNbb9/CP\nfiv+Nodwh1NQF3brra5v9sves4sfqsQnXyjxLjKqzE4kab4MCRzHBH/pritr\nm1UVtrsc/b1PRlOAKhxzmVnUwQ7pcztrk0xi2hKvRSMTyiLWRjoqKABHTwdx\nhusbBVp9PwMlLgiQ08+WAH1HIAidCduRymmvFXPJN1f41wGs+16E6M2lyQDE\nQHGz06kNaPBhNzXQlg0bCSwtu4VEA1ZOHH2tpoQQR9ejfUyWkf+oA1iC6A1V\nTwk1xh3eiC/mgwD2GlynoNFcjDKoexGGk/yLPK6W5CoX8R45CmJo50+a2Uq7\ng+wPSItk0SHnmx6vTbjlTYaXBQgcrtmmeG2omfKTk7h1YiXWOQwbVEW5iuaS\nw6SrvwIML9+vyQNLZqVw0gCIt0at9F5y91NH/6pfo38RU9wS08bYFJBNhebe\nJLksTB85YDrOREwjXxGSh1KC/4i0xL2eWC733CM3z3+CX+T91LC7eJyaCrTi\nFxoB\r\n=VJxr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGU6HtKaHB0OoWJs+XhgSZ/gMYT/j5jNTzBaP8US21E2AiB4jiesgASaUvVOyLv72fbzB1npcRegW0H5AOdxCOJt0w=="}]},"_npmUser":{"name":"zachferland","email":"zachferland@gmail.com"},"directories":{},"maintainers":[{"name":"paul_lecam","email":"paul@ulem.net"},{"name":"zachferland","email":"zachferland@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/3id-connect_1.0.0-alpha.6_1607049150028_0.30833470856517087"},"_hasShrinkwrap":false},"1.0.0-alpha.7":{"name":"3id-connect","version":"1.0.0-alpha.7","description":"Account management for 3ID","main":"lib/index.js","typings":"types/index.d.ts","scripts":{"lint":"eslint src","test":"jest --detectOpenHandles --coverage","build:prod:es5":"rm -rf ./lib && babel src --out-dir lib --extensions .ts","build:prod:types":"rm -rf ./types && tsc --emitDeclarationOnly --skipLibCheck","build:prod:dist":"webpack --config webpack.config.js --mode=production --output-filename index.js","build":"run-p build:prod:**","dev:iframe:build":"webpack --config webpack.config.js --mode=development --watch","dev:iframe:server:start":"http-server -c-1 -p 30001 public","start":"run-p dev:iframe:**","start:testnet":"CERAMIC_API=https://ceramic-dev.3boxlabs.com npm run start","dev:demo:server:start":"http-server -c-1 -p 30000 example","dev:demo:build":"webpack --config ./example/webpack.config.js --mode=development --watch","start:demo":"run-p dev:demo:** start","start:demo:testnet":"CERAMIC_API=https://ceramic-dev.3boxlabs.com run-p dev:demo:** start:testnet"},"jest":{"testEnvironment":"node","testPathIgnorePatterns":["node_modules","lib"]},"repository":{"type":"git","url":"git+https://github.com/3box/3id-connect.git"},"author":{"name":"3box","email":"team@3box.io"},"license":"(Apache-2.0 OR MIT)","bugs":{"url":"https://github.com/3box/3id-connect/issues"},"homepage":"https://github.com/3box/3id-connect#readme","dependencies":{"@babel/runtime":"^7.12.5","@ceramicnetwork/http-client":"^0.8.8","@ceramicstudio/idx":"^0.5.0","@ethersproject/hdnode":"^5.0.7","3id-blockchain-utils":"^1.3.1","3id-did-provider":"^0.2.0","caip":"^0.9.2","dag-jose":"^0.3.0","dids":"^1.1.0","errors-utils":"^0.1.0","postmsg-rpc":"^2.4.0","rpc-utils":"^0.2.0","store":"^2.0.12","url-parse":"^1.4.7"},"devDependencies":{"@babel/cli":"^7.12.10","@babel/core":"^7.12.10","@babel/plugin-proposal-class-properties":"^7.12.1","@babel/plugin-proposal-object-rest-spread":"^7.12.1","@babel/plugin-transform-modules-commonjs":"^7.12.1","@babel/plugin-transform-runtime":"^7.12.10","@babel/preset-env":"^7.12.11","@babel/preset-typescript":"^7.12.7","@ceramicnetwork/3id-did-resolver":"^0.6.0-alpha.0","@portis/web3":"^2.0.0-beta.57","@types/store":"^2.0.2","@types/url-parse":"^1.4.3","@walletconnect/web3-provider":"^1.2.1","authereum":"0.0.4-beta.186","babel-core":"7.0.0-bridge.0","babel-loader":"^8.2.2","css-loader":"^2.1.1","css-to-string-loader":"^0.1.3","eslint":"^7.15.0","eslint-config-3box":"^0.2.0","fortmatic":"^2.2.1","http-server":"^0.12.3","ipfs":"^0.52.3","jest":"^26.6.3","node-sass":"^4.13.1","npm":"^6.14.9","npm-run-all":"^4.1.5","prettier":"^2.2.1","sass-loader":"^8.0.2","style-loader":"^0.23.1","svg-inline-loader":"^0.8.2","typescript":"^4.1.3","url-loader":"^4.0.0","web3modal":"^1.9.2","webpack":"^4.20.2","webpack-bundle-analyzer":"^3.9.0","webpack-cli":"^3.1.2"},"readme":"![ceramicnetwork](https://circleci.com/gh/ceramicstudio/3id-connect.svg?style=shield)\n[![](https://img.shields.io/badge/Chat%20on-Discord-orange.svg?style=flat)](https://discord.gg/6VRZpGP)\n[![Twitter](https://img.shields.io/twitter/follow/ceramicnetwork?label=Follow&style=social)](https://twitter.com/ceramicnetwork)\n\n# <a name=\"intro\"></a> 3ID-Connect\n\n![3ID Connect Image](./assets/3id-connect_readme-image.png)\n\n3ID user account management in a iframe. An easy way to access a did provider, specifically [ThreeIdProvider](https://github.com/ceramicstudio/js-3id-did-provider) in the browser. It allows users to authenticate, manage, link and permission their 3ID keys to applications. The library [js-3id-did-provider](https://github.com/ceramicstudio/js-3id-did-provider) handles most operations and the parent window (application) communicates with the iframe service over an RPC layer. 3id-connect with Ceramic support is only available at 3id-connect@next and 3idconnect.org at the moment.\n\n## <a name=\"use\"></a> Use\n\n```\nnpm install 3id-connect@next\n```\n\nExample usage with an ethereum provider and related auth provider.\n\n```js\nimport { ThreeIdConnect,  EthereumAuthProvider } from '@ceramicstudio/3id-connect'\n\n// assuming ethereum provider available or on window\nconst addresses = await provider.enable()\n\nconst authProvider = new EthereumAuthProvider(provider, addresses[0])\nawait threeIdConnect.connect(authProvider)\n\nconst didProvider = await threeIdConnect.getDidProvider()\n\n// now consume didProvider in ceramic clients, idx, dids libraries, etc\n```\n\n## <a name=\"structure\"></a> Structure\n\n- **/src** - Core logic and consumable interfaces for clients and iframe\n  - **/threeIdConnect.ts** - Application interface (RPC client) to load iframe and return 3ID provider.\n  - **/connectService.ts** - Identity wallet instance and RPC 'server' to handle requests\n  - **/didProviderProxy.ts** - DID provider interface that relays request through RPC layer\n  - **/authProvider** - 3ID connect (client) consumes an auth provider, auth providers can be implemented to support many different blockchain accounts and authentication methods\n    - **/abstractAuthProvider.ts** - Interface used to implement a auth provider\n    - **/ethereumAuthProvider.ts** - Ethereum auth provider, to link and authenticate with ethereum accounts\n- **/iframe** - all html, css, js, design assets for iframe and flow\n- **/public** - build assets deployed for iframe\n\n## <a name=\"development\"></a> Development\n\nClone and install dependencies\n\n\n#### Run Iframe Locally\n\n```\n$ npm run start\n```\n\nThe iframe will be served locally on port 30001. The iframe service also requires a Ceramic node, by default it will look for a locally running node. The quickest way to run a node is with the Ceramic CLI. \n\n```\n$ npm install -g @ceramicnetwork/cli\n& ceramic daemon\n```\n\nYou can also run the iframe and connect to a remote testnet Ceramic node. \n\n```\n$ npm run start:testnet\n```\n\nAnd lastly connect the iframe to any Ceramic node. \n\n```\n$ CERAMIC_API=https://yourceramicnode:port npm run start\n```\n\n\n#### Run Demo\n\nThe Demo application is served on port 30000, and connects to a locally running iframe, as described above. Demo application is found in the `/example` folder. \n\n```\n$ npm run start:demo\n```\n\nYou can also pass the same options to the local iframe with similar commands. \n\n```\n$ npm run start:demo:testnet\n// or \n$ CERAMIC_API=https://yourceramicnode:port npm run start:demo\n```\n\n#### Build\n\n```\n$ npm run build\n```\n\n## Maintainers\n[@zachferland](https://github.com/zachferland)\n","readmeFilename":"README.md","gitHead":"c0a0cc6daa337f51b8a9fcbb1b8f156734c93827","_id":"3id-connect@1.0.0-alpha.7","_nodeVersion":"14.11.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-f2slnjZUgyG/UP/+4gpEYXH1I9Lz6XA93me8dcUXh/cW4JarftIciw7RrfZT/L9F9f1l/FxFSgd/7M/pzeRSww==","shasum":"cb2802642d45d700ea984ce46faee5f69b40b304","tarball":"https://registry.npmjs.org/3id-connect/-/3id-connect-1.0.0-alpha.7.tgz","fileCount":4,"unpackedSize":16948,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf3BXICRA9TVsSAnZWagAARlEP/0L8k4RWc/Bs8sFZd8Kw\nhYy+qmTKMWrP4EZseiftydw/pWk+jdtUU2OcZNJ22uNF8zp1TfCi4SWhR+9C\n4/iIM3XsVSBiI14GgH/QsybDev6I6aY7Ll2CJ4ll60LJwM34eiEvLy/8T1Fh\nnU47XDlcmyH98Tv0J96SS32Vy8LvZEThWAijeE1wF8k/HwsQHunFxxbvRM8f\nIPLKINdKpPe/tPzQw70msmU+lukWBiXBQLMe9PTTcknhEFw3vDC8sY6YodYn\nsINn8ZqCJAZVuvxmVXO9rMoUAk0ORH9xtT2PFJ7/LlmyVZd7aR007giA7gLQ\nDcfy/WXsgip74x1OxPIlnEc2i6Qjbgm3agBUCZz3yMeGFYfFhxwZRYiKtyn7\nu8Cl4fOGPzOn3YsX4pjfbCecwseHEDka5zKSVR2ePykC4+2/S9JAjpGZ0Ddd\n+jj4w/YKKAtzm48Qj2P2nEPeDUzKM4F5U9TINjLPzVlpx2He2JJfLaS3oL5s\ndi8qm7+Y/HJnRsWXKvh4rNPL6aX6/Xa2LPwW3IUWUjV3FFSo0iBP2GgsiSZA\nRFLvCjge8I/u+OPhmdQtQgNBJHdf5KD+yy1n1faUk5aOmj4ezlogeU10SV5N\n3covtiXw0yfkQVA6Z/grtRfxA+fkoC2oyWcLTvm1fgpd2Q41cNT7CmmXrPPh\nMOtN\r\n=7Esw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF0iJnOk0fd4tmYNKcYjfG09h2BWCec27g5C39SsaS3IAiEArv0/ZFSzh0NX1bIOwJg5+28FZOImUykTugMj3jlwnqk="}]},"_npmUser":{"name":"zachferland","email":"zachferland@gmail.com"},"directories":{},"maintainers":[{"name":"paul_lecam","email":"paul@ulem.net"},{"name":"zachferland","email":"zachferland@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/3id-connect_1.0.0-alpha.7_1608259016124_0.9017186071034295"},"_hasShrinkwrap":false},"1.0.0-alpha.8":{"name":"3id-connect","version":"1.0.0-alpha.8","description":"Account management for 3ID","main":"lib/index.js","typings":"types/index.d.ts","scripts":{"lint":"eslint src","test":"jest --detectOpenHandles --coverage","build:prod:es5":"rm -rf ./lib && babel src --out-dir lib --extensions .ts","build:prod:types":"rm -rf ./types && tsc --emitDeclarationOnly --skipLibCheck","build:prod:dist":"webpack --config webpack.config.js --mode=production --output-filename index.js","build":"run-p build:prod:**","prepublishOnly":"npm run build","dev:iframe:build":"webpack --config webpack.config.js --mode=development --watch","dev:iframe:server:start":"http-server -c-1 -p 30001 public","start":"run-p dev:iframe:**","start:testnet":"CERAMIC_API=https://ceramic-dev.3boxlabs.com npm run start","dev:demo:server:start":"http-server -c-1 -p 30000 example","dev:demo:build":"webpack --config ./example/webpack.config.js --mode=development --watch","start:demo":"run-p dev:demo:** start","start:demo:testnet":"CERAMIC_API=https://ceramic-dev.3boxlabs.com run-p dev:demo:** start:testnet"},"jest":{"testEnvironment":"node","testPathIgnorePatterns":["node_modules","lib"]},"repository":{"type":"git","url":"git+https://github.com/3box/3id-connect.git"},"author":{"name":"3box","email":"team@3box.io"},"license":"(Apache-2.0 OR MIT)","bugs":{"url":"https://github.com/3box/3id-connect/issues"},"homepage":"https://github.com/3box/3id-connect#readme","dependencies":{"@babel/runtime":"^7.12.5","@ceramicnetwork/http-client":"^0.8.8","@ceramicstudio/idx":"^0.5.0","@ethersproject/hdnode":"^5.0.7","3id-blockchain-utils":"^1.3.1","3id-did-provider":"^0.2.0","caip":"^0.9.2","dag-jose":"^0.3.0","dids":"^1.1.0","errors-utils":"^0.1.0","postmsg-rpc":"^2.4.0","rpc-utils":"^0.2.0","store":"^2.0.12","url-parse":"^1.4.7"},"devDependencies":{"@babel/cli":"^7.12.10","@babel/core":"^7.12.10","@babel/plugin-proposal-class-properties":"^7.12.1","@babel/plugin-proposal-object-rest-spread":"^7.12.1","@babel/plugin-transform-modules-commonjs":"^7.12.1","@babel/plugin-transform-runtime":"^7.12.10","@babel/preset-env":"^7.12.11","@babel/preset-typescript":"^7.12.7","@ceramicnetwork/3id-did-resolver":"^0.6.0-alpha.0","@portis/web3":"^2.0.0-beta.57","@types/store":"^2.0.2","@types/url-parse":"^1.4.3","@walletconnect/web3-provider":"^1.2.1","authereum":"0.0.4-beta.186","babel-core":"7.0.0-bridge.0","babel-loader":"^8.2.2","css-loader":"^2.1.1","css-to-string-loader":"^0.1.3","eslint":"^7.15.0","eslint-config-3box":"^0.2.0","fortmatic":"^2.2.1","http-server":"^0.12.3","ipfs":"^0.52.3","jest":"^26.6.3","node-sass":"^4.13.1","npm":"^6.14.9","npm-run-all":"^4.1.5","prettier":"^2.2.1","sass-loader":"^8.0.2","style-loader":"^0.23.1","svg-inline-loader":"^0.8.2","typescript":"^4.1.3","url-loader":"^4.0.0","web3modal":"^1.9.2","webpack":"^4.20.2","webpack-bundle-analyzer":"^3.9.0","webpack-cli":"^3.1.2"},"readme":"![ceramicnetwork](https://circleci.com/gh/ceramicstudio/3id-connect.svg?style=shield)\n[![](https://img.shields.io/badge/Chat%20on-Discord-orange.svg?style=flat)](https://discord.gg/6VRZpGP)\n[![Twitter](https://img.shields.io/twitter/follow/ceramicnetwork?label=Follow&style=social)](https://twitter.com/ceramicnetwork)\n\n# <a name=\"intro\"></a> 3ID-Connect\n\n![3ID Connect Image](./assets/3id-connect_readme-image.png)\n\n3ID user account management in a iframe. An easy way to access a did provider, specifically [ThreeIdProvider](https://github.com/ceramicstudio/js-3id-did-provider) in the browser. It allows users to authenticate, manage, link and permission their 3ID keys to applications. The library [js-3id-did-provider](https://github.com/ceramicstudio/js-3id-did-provider) handles most operations and the parent window (application) communicates with the iframe service over an RPC layer. 3id-connect with Ceramic support is only available at 3id-connect@next and 3idconnect.org at the moment.\n\n## <a name=\"use\"></a> Use\n\n```\nnpm install 3id-connect@next\n```\n\nExample usage with an ethereum provider and related auth provider.\n\n```js\nimport { ThreeIdConnect,  EthereumAuthProvider } from '@ceramicstudio/3id-connect'\n\n// assuming ethereum provider available or on window\nconst addresses = await provider.enable()\n\nconst authProvider = new EthereumAuthProvider(provider, addresses[0])\nawait threeIdConnect.connect(authProvider)\n\nconst didProvider = await threeIdConnect.getDidProvider()\n\n// now consume didProvider in ceramic clients, idx, dids libraries, etc\n```\n\n## <a name=\"structure\"></a> Structure\n\n- **/src** - Core logic and consumable interfaces for clients and iframe\n  - **/threeIdConnect.ts** - Application interface (RPC client) to load iframe and return 3ID provider.\n  - **/connectService.ts** - Identity wallet instance and RPC 'server' to handle requests\n  - **/didProviderProxy.ts** - DID provider interface that relays request through RPC layer\n  - **/authProvider** - 3ID connect (client) consumes an auth provider, auth providers can be implemented to support many different blockchain accounts and authentication methods\n    - **/abstractAuthProvider.ts** - Interface used to implement a auth provider\n    - **/ethereumAuthProvider.ts** - Ethereum auth provider, to link and authenticate with ethereum accounts\n- **/iframe** - all html, css, js, design assets for iframe and flow\n- **/public** - build assets deployed for iframe\n\n## <a name=\"development\"></a> Development\n\nClone and install dependencies\n\n\n#### Run Iframe Locally\n\n```\n$ npm run start\n```\n\nThe iframe will be served locally on port 30001. The iframe service also requires a Ceramic node, by default it will look for a locally running node. The quickest way to run a node is with the Ceramic CLI. \n\n```\n$ npm install -g @ceramicnetwork/cli\n& ceramic daemon\n```\n\nYou can also run the iframe and connect to a remote testnet Ceramic node. \n\n```\n$ npm run start:testnet\n```\n\nAnd lastly connect the iframe to any Ceramic node. \n\n```\n$ CERAMIC_API=https://yourceramicnode:port npm run start\n```\n\n\n#### Run Demo\n\nThe Demo application is served on port 30000, and connects to a locally running iframe, as described above. Demo application is found in the `/example` folder. \n\n```\n$ npm run start:demo\n```\n\nYou can also pass the same options to the local iframe with similar commands. \n\n```\n$ npm run start:demo:testnet\n// or \n$ CERAMIC_API=https://yourceramicnode:port npm run start:demo\n```\n\n#### Build\n\n```\n$ npm run build\n```\n\n## Maintainers\n[@zachferland](https://github.com/zachferland)\n","readmeFilename":"README.md","gitHead":"95a5513c8a1017e6e993c152b4650385a22a2442","_id":"3id-connect@1.0.0-alpha.8","_nodeVersion":"14.11.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-0pYbnoF3aKM9OUS9e8r4P1JZmjJtaDug8Jngkbc8bnCZMuJ7bR61vcxkQfwFdQ1OjCcnuFb2To/Yc2GAQk42tw==","shasum":"f9218f2e989f0c05796d04ae07a542cc83697504","tarball":"https://registry.npmjs.org/3id-connect/-/3id-connect-1.0.0-alpha.8.tgz","fileCount":23,"unpackedSize":100380,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf3P5+CRA9TVsSAnZWagAAh1wP/3UuJ++V5LWXQM0ps1BR\nhxvv438YIMeYIm3b/X+eQXGhkrUuVj3TG6ERANznwnho0y9MhcB+60rir899\ne4kpfeV2KftMTvSuVPTw3fS0CbAdov/VQlvJKdGsOCQY5hvmVOBxc4nSg6xi\nIumJKBUU+R9/Qt7b4nPHEiofuGePM0ZBVKH0ZSt4LeHBlV2QN7OAM9ta2uXy\nToemFsRTbrN7HaXFie9nKinYOpGNAPL7xufTE9OntOX2smYuvdVrzkVliujJ\nS1IESqII/nqI6ukYFkebNAzQiS9VkL1erIIl9vHATy5x0vFXBPXsyv6/atjE\nwhlmhtHfEiNk+GqG1+522wLQVQUtFq+xWaJmJxkXkuYYq8sZfWKBwfV/+B4g\n4Xb4cNDeSeP1iua/scjuuXhZijZj1s0U4FiTfwcF3DXx6Ceg5ck4x+5lmMFG\nEHQgGKHKCJ7eKc/JWB4BH2HV9Lff2bjV6PjTrzUkzdAjlDEMC4ZyeahFrBTr\ngN1PFQkwb99GDZsVVAJIl+LMWWOduE1Yjb4lP+euYVJS0BgXspCdES7EZaVh\nl2O4bXFjvIRlnbPFhbaOCJtP/u33I+62ohpHE888EufjfTqbwcbhqsFXevAM\nVmPCET1s8Xrypt+5vRs62wAr9quOZu7dF5fUiFXrUMzWjmSJFl+br3M/AB6e\n5Ksd\r\n=qmBZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHEL03ow1Qwj39m9AHNmY5Mng0oKI85tNKylJ8Ul/I5yAiBSIKTe1ac6boDtP8YOrf9Hx06t/lzyRGReGiJuc9ZGhQ=="}]},"_npmUser":{"name":"zachferland","email":"zachferland@gmail.com"},"directories":{},"maintainers":[{"name":"paul_lecam","email":"paul@ulem.net"},{"name":"zachferland","email":"zachferland@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/3id-connect_1.0.0-alpha.8_1608318590346_0.07829132934548255"},"_hasShrinkwrap":false},"1.0.0-alpha.9":{"name":"3id-connect","version":"1.0.0-alpha.9","description":"Account management for 3ID","main":"lib/index.js","typings":"types/index.d.ts","scripts":{"lint":"eslint src","test":"jest --detectOpenHandles --coverage","build:prod:es5":"rm -rf ./lib && babel src --out-dir lib --extensions .ts","build:prod:types":"rm -rf ./types && tsc --emitDeclarationOnly --skipLibCheck","build:prod:dist":"webpack --config webpack.config.js --mode=production --output-filename index.js","build":"run-p build:prod:**","prepublishOnly":"npm run build","dev:iframe:build":"webpack --config webpack.config.js --mode=development --watch","dev:iframe:server:start":"http-server -c-1 -p 30001 public","start":"run-p dev:iframe:**","start:testnet":"CERAMIC_API=https://ceramic-clay.3boxlabs.com npm run start","dev:demo:server:start":"http-server -c-1 -p 30000 example","dev:demo:build":"webpack --config ./example/webpack.config.js --mode=development --watch","start:demo":"run-p dev:demo:** start","start:demo:testnet":"CERAMIC_API=https://ceramic-clay.3boxlabs.com run-p dev:demo:** start:testnet"},"jest":{"testEnvironment":"node","testPathIgnorePatterns":["node_modules","lib"]},"repository":{"type":"git","url":"git+https://github.com/3box/3id-connect.git"},"author":{"name":"3box","email":"team@3box.io"},"license":"(Apache-2.0 OR MIT)","bugs":{"url":"https://github.com/3box/3id-connect/issues"},"homepage":"https://github.com/3box/3id-connect#readme","dependencies":{"@babel/runtime":"^7.12.5","@ceramicnetwork/http-client":"^0.8.8","@ceramicstudio/idx":"^0.5.0","@ethersproject/hdnode":"^5.0.7","3id-blockchain-utils":"^1.3.1","3id-did-provider":"^0.2.0","caip":"^0.9.2","dag-jose":"^0.3.0","dids":"^1.1.0","errors-utils":"^0.1.0","postmsg-rpc":"^2.4.0","rpc-utils":"^0.2.0","store":"^2.0.12","url-parse":"^1.4.7"},"devDependencies":{"@babel/cli":"^7.12.10","@babel/core":"^7.12.10","@babel/plugin-proposal-class-properties":"^7.12.1","@babel/plugin-proposal-object-rest-spread":"^7.12.1","@babel/plugin-transform-modules-commonjs":"^7.12.1","@babel/plugin-transform-runtime":"^7.12.10","@babel/preset-env":"^7.12.11","@babel/preset-typescript":"^7.12.7","@ceramicnetwork/3id-did-resolver":"^0.6.0-alpha.0","@portis/web3":"^2.0.0-beta.57","@types/store":"^2.0.2","@types/url-parse":"^1.4.3","@walletconnect/web3-provider":"^1.2.1","authereum":"0.0.4-beta.186","babel-core":"7.0.0-bridge.0","babel-loader":"^8.2.2","css-loader":"^2.1.1","css-to-string-loader":"^0.1.3","eslint":"^7.15.0","eslint-config-3box":"^0.2.0","fortmatic":"^2.2.1","http-server":"^0.12.3","ipfs":"^0.52.3","jest":"^26.6.3","node-sass":"^4.13.1","npm":"^6.14.9","npm-run-all":"^4.1.5","prettier":"^2.2.1","sass-loader":"^8.0.2","style-loader":"^0.23.1","svg-inline-loader":"^0.8.2","typescript":"^4.1.3","url-loader":"^4.0.0","web3modal":"^1.9.2","webpack":"^4.20.2","webpack-bundle-analyzer":"^3.9.0","webpack-cli":"^3.1.2"},"readme":"![ceramicnetwork](https://circleci.com/gh/ceramicstudio/3id-connect.svg?style=shield)\n[![](https://img.shields.io/badge/Chat%20on-Discord-orange.svg?style=flat)](https://discord.gg/6VRZpGP)\n[![Twitter](https://img.shields.io/twitter/follow/ceramicnetwork?label=Follow&style=social)](https://twitter.com/ceramicnetwork)\n\n# <a name=\"intro\"></a> 3ID-Connect\n\n![3ID Connect Image](./assets/3id-connect_readme-image.png)\n\n3ID user account management in a iframe. An easy way to access a did provider, specifically [ThreeIdProvider](https://github.com/ceramicstudio/js-3id-did-provider) in the browser. It allows users to authenticate, manage, link and permission their 3ID keys to applications. The library [js-3id-did-provider](https://github.com/ceramicstudio/js-3id-did-provider) handles most operations and the parent window (application) communicates with the iframe service over an RPC layer. 3id-connect with Ceramic support is only available at 3id-connect@next and 3idconnect.org at the moment.\n\n## <a name=\"use\"></a> Use\n\n```\nnpm install 3id-connect@next\n```\n\nExample usage with an ethereum provider and related auth provider.\n\n```js\nimport { ThreeIdConnect,  EthereumAuthProvider } from '@ceramicstudio/3id-connect'\n\n// assuming ethereum provider available or on window\nconst addresses = await provider.enable()\n\nconst authProvider = new EthereumAuthProvider(provider, addresses[0])\nawait threeIdConnect.connect(authProvider)\n\nconst didProvider = await threeIdConnect.getDidProvider()\n\n// now consume didProvider in ceramic clients, idx, dids libraries, etc\n```\n\n## <a name=\"structure\"></a> Structure\n\n- **/src** - Core logic and consumable interfaces for clients and iframe\n  - **/threeIdConnect.ts** - Application interface (RPC client) to load iframe and return 3ID provider.\n  - **/connectService.ts** - Identity wallet instance and RPC 'server' to handle requests\n  - **/didProviderProxy.ts** - DID provider interface that relays request through RPC layer\n  - **/authProvider** - 3ID connect (client) consumes an auth provider, auth providers can be implemented to support many different blockchain accounts and authentication methods\n    - **/abstractAuthProvider.ts** - Interface used to implement a auth provider\n    - **/ethereumAuthProvider.ts** - Ethereum auth provider, to link and authenticate with ethereum accounts\n- **/iframe** - all html, css, js, design assets for iframe and flow\n- **/public** - build assets deployed for iframe\n\n## <a name=\"development\"></a> Development\n\nClone and install dependencies\n\n\n#### Run Iframe Locally\n\n```\n$ npm run start\n```\n\nThe iframe will be served locally on port 30001. The iframe service also requires a Ceramic node, by default it will look for a locally running node. The quickest way to run a node is with the Ceramic CLI. \n\n```\n$ npm install -g @ceramicnetwork/cli\n& ceramic daemon\n```\n\nYou can also run the iframe and connect to a remote testnet Ceramic node. \n\n```\n$ npm run start:testnet\n```\n\nAnd lastly connect the iframe to any Ceramic node. \n\n```\n$ CERAMIC_API=https://yourceramicnode:port npm run start\n```\n\n\n#### Run Demo\n\nThe Demo application is served on port 30000, and connects to a locally running iframe, as described above. Demo application is found in the `/example` folder. \n\n```\n$ npm run start:demo\n```\n\nYou can also pass the same options to the local iframe with similar commands. \n\n```\n$ npm run start:demo:testnet\n// or \n$ CERAMIC_API=https://yourceramicnode:port npm run start:demo\n```\n\n#### Build\n\n```\n$ npm run build\n```\n\n## Maintainers\n[@zachferland](https://github.com/zachferland)\n","readmeFilename":"README.md","gitHead":"6a5c7726c97d35b28dd937622c98247fdd67d1d6","_id":"3id-connect@1.0.0-alpha.9","_nodeVersion":"14.11.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-vx+2oPwaV1bwk6gsghvWV5ghrIkROxN1RXsR1+cMyb77Asd6Eojo9t6ko55sgV8t3Bp8v+QmBBsQqkCFC3Hwvw==","shasum":"83af14ad087b978d57201e21bb8df5af184c57fb","tarball":"https://registry.npmjs.org/3id-connect/-/3id-connect-1.0.0-alpha.9.tgz","fileCount":25,"unpackedSize":109739,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf4qcSCRA9TVsSAnZWagAAwu0P/Rt1fgwUsAX19wNNtOKf\nl/R23eA+AB/Pp4ZaLMARM+QsSvbF0yrIx6sHbJSW4nAfEq/URoi98O3jOE/4\nHLMf5DsPooLXT64z26kkKqB+RPKqljgDBnIX012S9b3av6X2P082C8k5/N06\nYegkoCd5+XyjALd9/Zq0SqiBnErrXNg5h3dyN1/6soOLuKGxmy6Vkj47TaAB\nHDh6mgFPbzTrRe1i2oZv5e4qWxaOLjPNDmcwoz1gxCH66evPxI0qQnulg41R\n52fxrpN3WGIpjK+CnJ+FpGfhm0f1o1P3h31+T64wNWvihwoePg+V0fBiT7QF\n45i6EEqAkxa9dIVmv3UxLYiR0UdHRZ/yYY8revdPns7OpawbtfMwQ/C3Htfi\nHSTiO029svMirL04zTUd04bK23FNS22Ko4dGZDBK0Nk9EWx0f9UAlz7NH+W3\nL2JJ/CxL2rZ+rpJhzEVtKx7LIdheVC/JrsdSprnmdVPNGR+EJU5e5/se+VrY\nnbt195xMe3pCTweE1uZixWvYNTUugr3s38VVQ6XYIt5BtZfVLW3Q2VzXSA7t\nLWGMlqk9A3+qGGQvwehzhQd0VIlZIUWVD8O1dC7CWSnTncBmyakdvBjr9yNt\nBlF8AfPbcptHEL4M6ZXsejsrKXPkbVaMUBSHGINIO2SOHCw58HMLZ2gguRnZ\nV4SY\r\n=ZAAO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC6UUry4tjX912xSrPGqm7UGGsIHDWZUyrRA3zfVJPUaAIhAMWZCskjx+rg+sTXMC10qlP8Tm9QQA4udDai+L7sOaVe"}]},"_npmUser":{"name":"zachferland","email":"zachferland@gmail.com"},"directories":{},"maintainers":[{"name":"paul_lecam","email":"paul@ulem.net"},{"name":"zachferland","email":"zachferland@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/3id-connect_1.0.0-alpha.9_1608689426140_0.8561206161377866"},"_hasShrinkwrap":false},"1.0.0-alpha.10":{"name":"3id-connect","version":"1.0.0-alpha.10","description":"Account management for 3ID","main":"lib/index.js","typings":"types/index.d.ts","scripts":{"lint":"eslint src","test":"jest --detectOpenHandles --coverage","build:prod:es5":"rm -rf ./lib && babel src --out-dir lib --extensions .ts","build:prod:types":"rm -rf ./types && tsc --emitDeclarationOnly --skipLibCheck","build:prod:dist":"webpack --config webpack.config.js --mode=production --output-filename index.js","build":"run-p build:prod:**","prepublishOnly":"npm run build","dev:iframe:build":"webpack --config webpack.config.js --mode=development --watch","dev:iframe:server:start":"http-server -c-1 -p 30001 public","start":"run-p dev:iframe:**","start:testnet":"CERAMIC_API=https://ceramic-clay.3boxlabs.com npm run start","dev:demo:server:start":"http-server -c-1 -p 30000 example","dev:demo:build":"webpack --config ./example/webpack.config.js --mode=development --watch","start:demo":"run-p dev:demo:** start","start:demo:testnet":"CERAMIC_API=https://ceramic-clay.3boxlabs.com run-p dev:demo:** start:testnet"},"jest":{"testEnvironment":"node","testPathIgnorePatterns":["node_modules","lib"]},"repository":{"type":"git","url":"git+https://github.com/3box/3id-connect.git"},"author":{"name":"3box","email":"team@3box.io"},"license":"(Apache-2.0 OR MIT)","bugs":{"url":"https://github.com/3box/3id-connect/issues"},"homepage":"https://github.com/3box/3id-connect#readme","dependencies":{"3id-blockchain-utils":"^1.3.1","3id-did-provider":"^0.3.0-alpha.0","@babel/runtime":"^7.12.5","@ceramicnetwork/http-client":"0.8.10","@ceramicstudio/idx":"^0.5.2","@ethersproject/hdnode":"^5.0.7","caip":"^0.9.2","dag-jose":"^0.3.0","dids":"^1.1.0","errors-utils":"^0.1.0","postmsg-rpc":"^2.4.0","rpc-utils":"^0.2.0","store":"^2.0.12","url-parse":"^1.4.7"},"devDependencies":{"@babel/cli":"^7.12.10","@babel/core":"^7.12.10","@babel/plugin-proposal-class-properties":"^7.12.1","@babel/plugin-proposal-object-rest-spread":"^7.12.1","@babel/plugin-transform-modules-commonjs":"^7.12.1","@babel/plugin-transform-runtime":"^7.12.10","@babel/preset-env":"^7.12.11","@babel/preset-typescript":"^7.12.7","@ceramicnetwork/3id-did-resolver":"^0.6.0-alpha.0","@portis/web3":"^2.0.0-beta.57","@types/store":"^2.0.2","@types/url-parse":"^1.4.3","@walletconnect/web3-provider":"^1.2.1","authereum":"0.0.4-beta.186","babel-core":"7.0.0-bridge.0","babel-loader":"^8.2.2","css-loader":"^2.1.1","css-to-string-loader":"^0.1.3","eslint":"^7.15.0","eslint-config-3box":"^0.2.0","fortmatic":"^2.2.1","http-server":"^0.12.3","ipfs":"^0.52.3","jest":"^26.6.3","node-sass":"^4.13.1","npm":"^6.14.9","npm-run-all":"^4.1.5","prettier":"^2.2.1","sass-loader":"^8.0.2","style-loader":"^0.23.1","svg-inline-loader":"^0.8.2","typescript":"^4.1.3","url-loader":"^4.0.0","web3modal":"^1.9.2","webpack":"^4.20.2","webpack-bundle-analyzer":"^3.9.0","webpack-cli":"^3.1.2"},"readme":"![ceramicnetwork](https://circleci.com/gh/ceramicstudio/3id-connect.svg?style=shield)\n[![](https://img.shields.io/badge/Chat%20on-Discord-orange.svg?style=flat)](https://discord.gg/6VRZpGP)\n[![Twitter](https://img.shields.io/twitter/follow/ceramicnetwork?label=Follow&style=social)](https://twitter.com/ceramicnetwork)\n\n# <a name=\"intro\"></a> 3ID-Connect\n\n![3ID Connect Image](./assets/3id-connect_readme-image.png)\n\n3ID user account management in a iframe. An easy way to access a did provider, specifically [ThreeIdProvider](https://github.com/ceramicstudio/js-3id-did-provider) in the browser. It allows users to authenticate, manage, link and permission their 3ID keys to applications. The library [js-3id-did-provider](https://github.com/ceramicstudio/js-3id-did-provider) handles most operations and the parent window (application) communicates with the iframe service over an RPC layer. 3id-connect with Ceramic support is only available at 3id-connect@next and 3idconnect.org at the moment.\n\n## <a name=\"use\"></a> Use\n\n```\nnpm install 3id-connect@next\n```\n\nExample usage with an ethereum provider and related auth provider.\n\n```js\nimport { ThreeIdConnect,  EthereumAuthProvider } from '@ceramicstudio/3id-connect'\n\n// assuming ethereum provider available or on window\nconst addresses = await provider.enable()\n\nconst authProvider = new EthereumAuthProvider(provider, addresses[0])\nawait threeIdConnect.connect(authProvider)\n\nconst didProvider = await threeIdConnect.getDidProvider()\n\n// now consume didProvider in ceramic clients, idx, dids libraries, etc\n```\n\n## <a name=\"structure\"></a> Structure\n\n- **/src** - Core logic and consumable interfaces for clients and iframe\n  - **/threeIdConnect.ts** - Application interface (RPC client) to load iframe and return 3ID provider.\n  - **/connectService.ts** - Identity wallet instance and RPC 'server' to handle requests\n  - **/didProviderProxy.ts** - DID provider interface that relays request through RPC layer\n  - **/authProvider** - 3ID connect (client) consumes an auth provider, auth providers can be implemented to support many different blockchain accounts and authentication methods\n    - **/abstractAuthProvider.ts** - Interface used to implement a auth provider\n    - **/ethereumAuthProvider.ts** - Ethereum auth provider, to link and authenticate with ethereum accounts\n- **/iframe** - all html, css, js, design assets for iframe and flow\n- **/public** - build assets deployed for iframe\n\n## <a name=\"development\"></a> Development\n\nClone and install dependencies\n\n\n#### Run Iframe Locally\n\n```\n$ npm run start\n```\n\nThe iframe will be served locally on port 30001. The iframe service also requires a Ceramic node, by default it will look for a locally running node. The quickest way to run a node is with the Ceramic CLI. \n\n```\n$ npm install -g @ceramicnetwork/cli\n& ceramic daemon\n```\n\nYou can also run the iframe and connect to a remote testnet Ceramic node. \n\n```\n$ npm run start:testnet\n```\n\nAnd lastly connect the iframe to any Ceramic node. \n\n```\n$ CERAMIC_API=https://yourceramicnode:port npm run start\n```\n\n\n#### Run Demo\n\nThe Demo application is served on port 30000, and connects to a locally running iframe, as described above. Demo application is found in the `/example` folder. \n\n```\n$ npm run start:demo\n```\n\nYou can also pass the same options to the local iframe with similar commands. \n\n```\n$ npm run start:demo:testnet\n// or \n$ CERAMIC_API=https://yourceramicnode:port npm run start:demo\n```\n\n#### Build\n\n```\n$ npm run build\n```\n\n## Maintainers\n[@zachferland](https://github.com/zachferland)\n","readmeFilename":"README.md","gitHead":"984e6e61fc3e8366adb33ea664be2813b4f9d3c3","_id":"3id-connect@1.0.0-alpha.10","_nodeVersion":"14.11.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-1KzQ8OpqLrzgsA4FK8v7oMvh5ef3ZMfkSiYcfzyQ8gMaVE2d8D7hhZy31GNgiGd0BFHqZ4p7ThILmasZJNTY/w==","shasum":"44989da90da69cf42f9723767899fb6d2b6bd8bc","tarball":"https://registry.npmjs.org/3id-connect/-/3id-connect-1.0.0-alpha.10.tgz","fileCount":25,"unpackedSize":109748,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf/gkqCRA9TVsSAnZWagAAW34P+QFUNO5MRtaWWo4gS47f\nYFF4ATMOS7FT5tekAYfuLgEvZOW8TxlGUCh6UVuO/9F9qlwxX//l0dCVZmza\njJuWyA+Nty6S69kx0T4kpfxMLR4xvhSLnmFxsn1ZLJBFBepKo1eUPdE88Vel\n0VpAgcv91uCMeAnLEIEJQLgjZ5YRZuUFwCI1ZAM7rIy7LmXMt127lcPVRszC\nhfnppfjqoIbtRwVXBi2EyqRmHgvTrNksoguuW4Vv8fDP5lOsRMr3PZDg2q6W\n2Y+P3LnK1fwPAYeOBh+Hs+jdabdfQOSYTYS5TkvA5jAngPDaE+cBgQtKwl5E\nOngtV9dL9X8BFXd2BJ4GgdQJBwxlxPYRuTGzMMrQsz9NBv/D7nDWkLfiSRxG\npFGE7Q5mgqUO0cG95rF/6u5tHdSClgf0QDX++4dXGiSxRhPkp/bwafQBKnNN\n7DfW2sqEDuqxQo2YUH/5ZhRiOoPxxT3n/lPFG2Jy8p7BrgAo8Avs+oKkDu6+\n85KveKcT5w0Hsq6m+3Q0AD+Fltc/qUm8U/o1AvyTr4ofDlNfoD88DRZTjqDO\ngwAXC0b2O7mOuuEEL5xc7+hTUZbCq1ghzOjpz76eV+jpsPtEToSkFJ7Ca/8R\nqqsHZweZfTy02BVamHK/JHgR6spoT5mGtDIJT6GcrXfOFnfl05f+yA4zR+8m\nvdVA\r\n=3aYt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC5GiJMVhlN8g3SKiKTufaCLJrspKGdBf3Rb8hjJuUrXgIgA0ZTNgKTvfow4IzrWXH8DD7WP7qkOhS/RfURlmIQfo8="}]},"_npmUser":{"name":"zachferland","email":"zachferland@gmail.com"},"directories":{},"maintainers":[{"name":"paul_lecam","email":"paul@ulem.net"},{"name":"zachferland","email":"zachferland@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/3id-connect_1.0.0-alpha.10_1610484010305_0.19284279774549407"},"_hasShrinkwrap":false},"1.0.0-alpha.11":{"name":"3id-connect","version":"1.0.0-alpha.11","description":"Account management for 3ID","main":"lib/index.js","typings":"types/index.d.ts","scripts":{"lint":"eslint src","test":"jest --detectOpenHandles --coverage","build:prod:es5":"rm -rf ./lib && babel src --out-dir lib --extensions .ts","build:prod:types":"rm -rf ./types && tsc --emitDeclarationOnly --skipLibCheck","build:prod:dist":"webpack --config webpack.config.js --mode=production --output-filename index.js","build":"run-p build:prod:**","prepublishOnly":"npm run build","dev:iframe:build":"webpack --config webpack.config.js --mode=development --watch","dev:iframe:server:start":"http-server -c-1 -p 30001 public","start":"run-p dev:iframe:**","start:testnet":"CERAMIC_API=https://ceramic-clay.3boxlabs.com npm run start","dev:demo:server:start":"http-server -c-1 -p 30000 example","dev:demo:build":"webpack --config ./example/webpack.config.js --mode=development --watch","start:demo":"run-p dev:demo:** start","start:demo:testnet":"CERAMIC_API=https://ceramic-clay.3boxlabs.com run-p dev:demo:** start:testnet"},"jest":{"testEnvironment":"node","testPathIgnorePatterns":["node_modules","lib"]},"repository":{"type":"git","url":"git+https://github.com/3box/3id-connect.git"},"author":{"name":"3box","email":"team@3box.io"},"license":"(Apache-2.0 OR MIT)","bugs":{"url":"https://github.com/3box/3id-connect/issues"},"homepage":"https://github.com/3box/3id-connect#readme","dependencies":{"3id-blockchain-utils":"^1.3.1","3id-did-provider":"^0.4.0","@babel/runtime":"^7.12.5","@ceramicnetwork/common":"^0.15.7","@ceramicnetwork/http-client":"^0.9.2","@ceramicstudio/idx":"^0.6.0","@ethersproject/hdnode":"^5.0.7","caip":"^0.9.2","dag-jose":"^0.3.0","dids":"^1.1.0","errors-utils":"^0.1.0","postmsg-rpc":"^2.4.0","rpc-utils":"^0.2.0","store":"^2.0.12","url-parse":"^1.4.7"},"devDependencies":{"@babel/cli":"^7.12.10","@babel/core":"^7.12.10","@babel/plugin-proposal-class-properties":"^7.12.1","@babel/plugin-proposal-object-rest-spread":"^7.12.1","@babel/plugin-transform-modules-commonjs":"^7.12.1","@babel/plugin-transform-runtime":"^7.12.10","@babel/preset-env":"^7.12.11","@babel/preset-typescript":"^7.12.7","@ceramicnetwork/3id-did-resolver":"^0.6.0-alpha.0","@portis/web3":"^2.0.0-beta.57","@types/store":"^2.0.2","@types/url-parse":"^1.4.3","@walletconnect/web3-provider":"^1.2.1","authereum":"0.0.4-beta.186","babel-core":"7.0.0-bridge.0","babel-loader":"^8.2.2","css-loader":"^2.1.1","css-to-string-loader":"^0.1.3","eslint":"^7.15.0","eslint-config-3box":"^0.2.0","fortmatic":"^2.2.1","http-server":"^0.12.3","ipfs":"^0.52.3","jest":"^26.6.3","node-sass":"^4.13.1","npm":"^6.14.9","npm-run-all":"^4.1.5","prettier":"^2.2.1","sass-loader":"^8.0.2","style-loader":"^0.23.1","svg-inline-loader":"^0.8.2","typescript":"^4.1.3","url-loader":"^4.0.0","web3modal":"^1.9.2","webpack":"^4.20.2","webpack-bundle-analyzer":"^3.9.0","webpack-cli":"^3.1.2"},"readme":"![ceramicnetwork](https://circleci.com/gh/ceramicstudio/3id-connect.svg?style=shield)\n[![](https://img.shields.io/badge/Chat%20on-Discord-orange.svg?style=flat)](https://discord.gg/6VRZpGP)\n[![Twitter](https://img.shields.io/twitter/follow/ceramicnetwork?label=Follow&style=social)](https://twitter.com/ceramicnetwork)\n\n# <a name=\"intro\"></a> 3ID-Connect\n\n![3ID Connect Image](./assets/3id-connect_readme-image.png)\n\n3ID user account management in a iframe. An easy way to access a did provider, specifically [ThreeIdProvider](https://github.com/ceramicstudio/js-3id-did-provider) in the browser. It allows users to authenticate, manage, link and permission their 3ID keys to applications. The library [js-3id-did-provider](https://github.com/ceramicstudio/js-3id-did-provider) handles most operations and the parent window (application) communicates with the iframe service over an RPC layer. 3id-connect with Ceramic support is only available at 3id-connect@next and 3idconnect.org at the moment.\n\n## <a name=\"use\"></a> Use\n\n```\nnpm install 3id-connect@next\n```\n\nExample usage with an ethereum provider and related auth provider.\n\n```js\nimport { ThreeIdConnect,  EthereumAuthProvider } from '@ceramicstudio/3id-connect'\n\n// assuming ethereum provider available or on window\nconst addresses = await provider.enable()\n\nconst authProvider = new EthereumAuthProvider(provider, addresses[0])\nawait threeIdConnect.connect(authProvider)\n\nconst didProvider = await threeIdConnect.getDidProvider()\n\n// now consume didProvider in ceramic clients, idx, dids libraries, etc\n```\n\n## <a name=\"structure\"></a> Structure\n\n- **/src** - Core logic and consumable interfaces for clients and iframe\n  - **/threeIdConnect.ts** - Application interface (RPC client) to load iframe and return 3ID provider.\n  - **/connectService.ts** - Identity wallet instance and RPC 'server' to handle requests\n  - **/didProviderProxy.ts** - DID provider interface that relays request through RPC layer\n  - **/authProvider** - 3ID connect (client) consumes an auth provider, auth providers can be implemented to support many different blockchain accounts and authentication methods\n    - **/abstractAuthProvider.ts** - Interface used to implement a auth provider\n    - **/ethereumAuthProvider.ts** - Ethereum auth provider, to link and authenticate with ethereum accounts\n- **/iframe** - all html, css, js, design assets for iframe and flow\n- **/public** - build assets deployed for iframe\n\n## <a name=\"development\"></a> Development\n\nClone and install dependencies\n\n\n#### Run Iframe Locally\n\n```\n$ npm run start\n```\n\nThe iframe will be served locally on port 30001. The iframe service also requires a Ceramic node, by default it will look for a locally running node. The quickest way to run a node is with the Ceramic CLI. \n\n```\n$ npm install -g @ceramicnetwork/cli\n& ceramic daemon\n```\n\nYou can also run the iframe and connect to a remote testnet Ceramic node. \n\n```\n$ npm run start:testnet\n```\n\nAnd lastly connect the iframe to any Ceramic node. \n\n```\n$ CERAMIC_API=https://yourceramicnode:port npm run start\n```\n\n\n#### Run Demo\n\nThe Demo application is served on port 30000, and connects to a locally running iframe, as described above. Demo application is found in the `/example` folder. \n\n```\n$ npm run start:demo\n```\n\nYou can also pass the same options to the local iframe with similar commands. \n\n```\n$ npm run start:demo:testnet\n// or \n$ CERAMIC_API=https://yourceramicnode:port npm run start:demo\n```\n\n#### Build\n\n```\n$ npm run build\n```\n\n## Maintainers\n[@zachferland](https://github.com/zachferland)\n","readmeFilename":"README.md","gitHead":"6529e95fd4ab9e91ef95db8516aaf4e151aade85","_id":"3id-connect@1.0.0-alpha.11","_nodeVersion":"14.11.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-VlYLA+Dc+mNbANzy5nduQG+BIgZOA31eXmu+zph2AMDaRTKi+BYdWUpvpbbjNo+zXEqyxUnz6XYPKF7ocbnazA==","shasum":"51232f554e6e67c0ca9cab6efa543a1da118d222","tarball":"https://registry.npmjs.org/3id-connect/-/3id-connect-1.0.0-alpha.11.tgz","fileCount":25,"unpackedSize":109781,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgAQt1CRA9TVsSAnZWagAAXPkP/0LGk6D2bL/piQPOg4fI\nxFSTSLTVZG2NPIyFcSLFB6gUKhYFUp1caJvovi80NVID7PCU006sbvgn5bKh\nwX2x8K0pbogW2H70qVaggKFw4qJ16S9pDT3mGPO8TVcoIhIsaMhOVHzkHrdk\n44BjT9WnMR9ph9wzxWFzTYrH+f/BvV2ZzPkWyuuFYSEPMCJyFQSxZU/89Tnn\n49l5oTQxqweGThYYjKC6PR8zQSpnUPjG3Zx9P+FqR4G3sxda2/gYB7J92rF6\nhY/2T3o4sBQaHG5EGULpdyyP/NEwWklryPloPXBjNwL+pAoHrCyGtFU2eQMX\n59gs6PUbCbq3o25eJNdboLpIFq2oJYBmNoV/TYhGhCZz3DNOGbyQyWqMTkZM\nzaIQvTzSlUduV5tEP9esyV/W6SbyZKSAzEZY+n4QRjfpAVbUhyrl3N0CD2EW\nBBkQsSTr6iBMGGu5UlH2avQ9XhmKaCbJNexMS9S67D/Q8yPWCGn9+kCapvlM\nhJlwOklthCRF4DVjTQwrGOT4h+6KWFwd2JfNhmQYKa33cJI+SNozBx6ZTTQd\nZkZiRmLU1UJRRYKorrT8ODHOeoGU6hLrS5iY7BLrF6I2FCyluHd3JhoAexbq\nJuB7YASvwJeUqxaX7a88Ja7QolOMi+6l81pnUgIqLLaPMzPywwKp1cJ8HzjU\nwcw5\r\n=iolt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC/2SDtckRdMeSi23J4SY9qQ4qWtORh/ojqQg34LoK/AQIhAJFHw3PoMSv2ouUjlct7ymL2CbmXd4yB2cy7XeISDFN/"}]},"_npmUser":{"name":"zachferland","email":"zachferland@gmail.com"},"directories":{},"maintainers":[{"name":"paul_lecam","email":"paul@ulem.net"},{"name":"zachferland","email":"zachferland@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/3id-connect_1.0.0-alpha.11_1610681205146_0.8954701046460014"},"_hasShrinkwrap":false},"1.0.0-alpha.12":{"name":"3id-connect","version":"1.0.0-alpha.12","description":"Account management for 3ID","main":"lib/index.js","typings":"types/index.d.ts","scripts":{"lint":"eslint src","test":"jest --detectOpenHandles --coverage","build:prod:es5":"rm -rf ./lib && babel src --out-dir lib --extensions .ts","build:prod:types":"rm -rf ./types && tsc --emitDeclarationOnly --skipLibCheck","build:prod:dist":"webpack --config webpack.config.js --mode=production --output-filename index.js","build":"run-p build:prod:**","prepublishOnly":"npm run build","dev:iframe:build":"webpack --config webpack.config.js --mode=development --watch","dev:iframe:server:start":"http-server -c-1 -p 30001 public","start":"run-p dev:iframe:**","start:testnet":"CERAMIC_API=https://ceramic-clay.3boxlabs.com npm run start","dev:demo:server:start":"http-server -c-1 -p 30000 example","dev:demo:build":"webpack --config ./example/webpack.config.js --mode=development --watch","start:demo":"run-p dev:demo:** start","start:demo:testnet":"CERAMIC_API=https://ceramic-clay.3boxlabs.com run-p dev:demo:** start:testnet"},"jest":{"testEnvironment":"node","testPathIgnorePatterns":["node_modules","lib"]},"repository":{"type":"git","url":"git+https://github.com/3box/3id-connect.git"},"author":{"name":"3box","email":"team@3box.io"},"license":"(Apache-2.0 OR MIT)","bugs":{"url":"https://github.com/3box/3id-connect/issues"},"homepage":"https://github.com/3box/3id-connect#readme","dependencies":{"@babel/runtime":"^7.12.5","@ceramicnetwork/common":"^0.15.7","@ceramicnetwork/http-client":"^0.9.2","@ceramicstudio/idx":"^0.6.0","@ethersproject/hdnode":"^5.0.8","3id-blockchain-utils":"^1.3.1","3id-did-provider":"^0.4.0","caip":"^0.9.2","dag-jose":"^0.3.0","dids":"^1.1.0","errors-utils":"^0.1.0","postmsg-rpc":"^2.4.0","rpc-utils":"^0.2.0","store":"^2.0.12","url-parse":"^1.4.7"},"devDependencies":{"@babel/cli":"^7.12.10","@babel/core":"^7.12.10","@babel/plugin-proposal-class-properties":"^7.12.1","@babel/plugin-proposal-object-rest-spread":"^7.12.1","@babel/plugin-transform-modules-commonjs":"^7.12.1","@babel/plugin-transform-runtime":"^7.12.10","@babel/preset-env":"^7.12.11","@babel/preset-typescript":"^7.12.7","@ceramicnetwork/3id-did-resolver":"^0.6.7","@portis/web3":"^2.0.0-beta.57","@types/store":"^2.0.2","@types/url-parse":"^1.4.3","@walletconnect/web3-provider":"^1.2.1","authereum":"0.0.4-beta.186","babel-core":"7.0.0-bridge.0","babel-loader":"^8.2.2","css-loader":"^2.1.1","css-to-string-loader":"^0.1.3","eslint":"^7.15.0","eslint-config-3box":"^0.2.0","fortmatic":"^2.2.1","http-server":"^0.12.3","ipfs":"^0.52.3","jest":"^26.6.3","node-sass":"^4.13.1","npm":"^6.14.9","npm-run-all":"^4.1.5","prettier":"^2.2.1","sass-loader":"^8.0.2","style-loader":"^0.23.1","svg-inline-loader":"^0.8.2","typescript":"^4.1.3","url-loader":"^4.0.0","web3modal":"^1.9.2","webpack":"^4.20.2","webpack-bundle-analyzer":"^3.9.0","webpack-cli":"^3.1.2"},"readme":"![ceramicnetwork](https://circleci.com/gh/ceramicstudio/3id-connect.svg?style=shield)\n[![](https://img.shields.io/badge/Chat%20on-Discord-orange.svg?style=flat)](https://discord.gg/6VRZpGP)\n[![Twitter](https://img.shields.io/twitter/follow/ceramicnetwork?label=Follow&style=social)](https://twitter.com/ceramicnetwork)\n\n# <a name=\"intro\"></a> 3ID-Connect\n\n![3ID Connect Image](./assets/3id-connect_readme-image.png)\n\n3ID user account management in a iframe. An easy way to access a did provider, specifically [ThreeIdProvider](https://github.com/ceramicstudio/js-3id-did-provider) in the browser. It allows users to authenticate, manage, link and permission their 3ID keys to applications. The library [js-3id-did-provider](https://github.com/ceramicstudio/js-3id-did-provider) handles most operations and the parent window (application) communicates with the iframe service over an RPC layer. 3id-connect with Ceramic support is only available at 3id-connect@next and 3idconnect.org at the moment.\n\n## <a name=\"use\"></a> Use\n\n```\nnpm install 3id-connect@next\n```\n\nExample usage with an ethereum provider and related auth provider.\n\n```js\nimport { ThreeIdConnect,  EthereumAuthProvider } from '@ceramicstudio/3id-connect'\n\n// assuming ethereum provider available or on window\nconst addresses = await provider.enable()\n\nconst authProvider = new EthereumAuthProvider(provider, addresses[0])\nawait threeIdConnect.connect(authProvider)\n\nconst didProvider = await threeIdConnect.getDidProvider()\n\n// now consume didProvider in ceramic clients, idx, dids libraries, etc\n```\n\n## <a name=\"structure\"></a> Structure\n\n- **/src** - Core logic and consumable interfaces for clients and iframe\n  - **/threeIdConnect.ts** - Application interface (RPC client) to load iframe and return 3ID provider.\n  - **/connectService.ts** - Identity wallet instance and RPC 'server' to handle requests\n  - **/didProviderProxy.ts** - DID provider interface that relays request through RPC layer\n  - **/authProvider** - 3ID connect (client) consumes an auth provider, auth providers can be implemented to support many different blockchain accounts and authentication methods\n    - **/abstractAuthProvider.ts** - Interface used to implement a auth provider\n    - **/ethereumAuthProvider.ts** - Ethereum auth provider, to link and authenticate with ethereum accounts\n- **/iframe** - all html, css, js, design assets for iframe and flow\n- **/public** - build assets deployed for iframe\n\n## <a name=\"development\"></a> Development\n\nClone and install dependencies\n\n\n#### Run Iframe Locally\n\n```\n$ npm run start\n```\n\nThe iframe will be served locally on port 30001. The iframe service also requires a Ceramic node, by default it will look for a locally running node. The quickest way to run a node is with the Ceramic CLI. \n\n```\n$ npm install -g @ceramicnetwork/cli\n& ceramic daemon\n```\n\nYou can also run the iframe and connect to a remote testnet Ceramic node. \n\n```\n$ npm run start:testnet\n```\n\nAnd lastly connect the iframe to any Ceramic node. \n\n```\n$ CERAMIC_API=https://yourceramicnode:port npm run start\n```\n\n\n#### Run Demo\n\nThe Demo application is served on port 30000, and connects to a locally running iframe, as described above. Demo application is found in the `/example` folder. \n\n```\n$ npm run start:demo\n```\n\nYou can also pass the same options to the local iframe with similar commands. \n\n```\n$ npm run start:demo:testnet\n// or \n$ CERAMIC_API=https://yourceramicnode:port npm run start:demo\n```\n\n#### Build\n\n```\n$ npm run build\n```\n\n## Maintainers\n[@zachferland](https://github.com/zachferland)\n","readmeFilename":"README.md","gitHead":"b453c01f43eb11bec322d9b32c20ec4941394ad4","_id":"3id-connect@1.0.0-alpha.12","_nodeVersion":"14.11.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-Q1b0oKWrBNe24wBB33xY5KAWztVRuCspp8Eh2Gktwsi5arHkN743ZlHrJPnyZ6luGlWLfD76he8bWDLDg1iiBA==","shasum":"72ce2b17fc6482c54d92c2da54c133dc68e2c725","tarball":"https://registry.npmjs.org/3id-connect/-/3id-connect-1.0.0-alpha.12.tgz","fileCount":25,"unpackedSize":109774,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgAczrCRA9TVsSAnZWagAACxwQAJmQOGMxx1sAsYQBSj7L\nrHd/jT9Ih1of1E3s6YhC1ru7lSfERcOxqVKCIq4KTeAF9aW9LrIi96EVSMxx\nJkkv/Dy/ey/xLx5erRHQ4aDyclwApazcYaqLAwDXEpuF7SfYmI+ZohrFXrXs\nvSz7hYLiyZfUEvi07gwhWaRVbnQYJtZwY4R7sKWoI+qM9EE7D51fXuVDCyLu\ny+tx8Y/PdLIKAtTJhvknOy9Egz/dISXvOMmckNVEmhBLGVUh7zgDFzACYSk6\nfkiCdV+92++Cd6uo7pp66VWmRfG1Ymjf74BSPI9ptoDVFLhN3YKs8ZzkoKCi\ngtAmeXXN1YnL4WZLMOkgXFJyoEFSaKuhtX6LH/fg828emlYj5mtdP/JU/YvN\nVBEhniOibHEDUZnk9EizjlD7xuXjZsARFeU9Gq0ALryiEcX+5Dq3T9BCWX3Y\nH5YRB3xwxyzh6a9i96gOMDXoQvJG1e3IPl4WcMxD2AmXXVDzNUEFeB7WYLjv\nzSH3gRFN6Mc3oS/XIcvimDb/LoF6hXqSnl4syH7SKXexhrmljW4+F7W5TFdf\njkwSXQgpF2ghynufvq72smLV7fKBF6PaNairUmbI/s+iS9X7U7xMDTx8kPQM\nPxOmu19SNWrllPyBimfteke+JVwiVVeXbm4HQKECEnr5FNtdqPxFIONoUHWl\nvaSe\r\n=g8kU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBGxgPR/6JhkaA6oTRg9O20+R7M/lTaFFMDqV8U2l+vsAiB9oUxmO3p2s5gtYq8zzG6DYiOQaGAXt7FNJQWNQk0TzQ=="}]},"_npmUser":{"name":"zachferland","email":"zachferland@gmail.com"},"directories":{},"maintainers":[{"name":"paul_lecam","email":"paul@ulem.net"},{"name":"zachferland","email":"zachferland@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/3id-connect_1.0.0-alpha.12_1610730730596_0.46018299012078123"},"_hasShrinkwrap":false},"1.0.0-alpha.13":{"name":"3id-connect","version":"1.0.0-alpha.13","description":"Account management for 3ID","main":"lib/index.js","typings":"types/index.d.ts","scripts":{"lint":"eslint src","test":"jest --detectOpenHandles --coverage","build:prod:es5":"rm -rf ./lib && babel src --out-dir lib --extensions .ts","build:prod:types":"rm -rf ./types && tsc --emitDeclarationOnly --skipLibCheck","build:prod:dist":"webpack --config webpack.config.js --mode=production --output-filename index.js","build":"run-p build:prod:**","prepublishOnly":"npm run build","dev:iframe:build":"webpack --config webpack.config.js --mode=development --watch","dev:iframe:server:start":"http-server -c-1 -p 30001 public","start":"run-p dev:iframe:**","start:testnet":"CERAMIC_API=https://ceramic-clay.3boxlabs.com npm run start","dev:demo:server:start":"http-server -c-1 -p 30000 example","dev:demo:build":"webpack --config ./example/webpack.config.js --mode=development --watch","start:demo":"run-p dev:demo:** start","start:demo:testnet":"CERAMIC_API=https://ceramic-clay.3boxlabs.com run-p dev:demo:** start:testnet"},"jest":{"testEnvironment":"node","testPathIgnorePatterns":["node_modules","lib"]},"repository":{"type":"git","url":"git+https://github.com/3box/3id-connect.git"},"author":{"name":"3box","email":"team@3box.io"},"license":"(Apache-2.0 OR MIT)","bugs":{"url":"https://github.com/3box/3id-connect/issues"},"homepage":"https://github.com/3box/3id-connect#readme","dependencies":{"@babel/runtime":"^7.12.5","@ceramicnetwork/common":"^0.15.7","@ceramicnetwork/http-client":"^0.9.3","@ceramicstudio/idx":"^0.7.0","@ethersproject/hdnode":"^5.0.8","3id-blockchain-utils":"^1.3.1","3id-did-provider":"^0.4.0","caip":"^0.9.2","dag-jose":"^0.3.0","dids":"^1.1.0","errors-utils":"^0.1.0","postmsg-rpc":"^2.4.0","rpc-utils":"^0.2.0","store":"^2.0.12","url-parse":"^1.4.7"},"devDependencies":{"@babel/cli":"^7.12.10","@babel/core":"^7.12.10","@babel/plugin-proposal-class-properties":"^7.12.1","@babel/plugin-proposal-object-rest-spread":"^7.12.1","@babel/plugin-transform-modules-commonjs":"^7.12.1","@babel/plugin-transform-runtime":"^7.12.10","@babel/preset-env":"^7.12.11","@babel/preset-typescript":"^7.12.7","@ceramicnetwork/3id-did-resolver":"^0.6.7","@portis/web3":"^2.0.0-beta.57","@types/store":"^2.0.2","@types/url-parse":"^1.4.3","@walletconnect/web3-provider":"^1.2.1","authereum":"0.0.4-beta.186","babel-core":"7.0.0-bridge.0","babel-loader":"^8.2.2","css-loader":"^2.1.1","css-to-string-loader":"^0.1.3","eslint":"^7.15.0","eslint-config-3box":"^0.2.0","fortmatic":"^2.2.1","http-server":"^0.12.3","ipfs":"^0.52.3","jest":"^26.6.3","node-sass":"^4.13.1","npm":"^6.14.9","npm-run-all":"^4.1.5","prettier":"^2.2.1","sass-loader":"^8.0.2","style-loader":"^0.23.1","svg-inline-loader":"^0.8.2","typescript":"^4.1.3","url-loader":"^4.0.0","web3modal":"^1.9.2","webpack":"^4.20.2","webpack-bundle-analyzer":"^3.9.0","webpack-cli":"^3.1.2"},"readme":"![ceramicnetwork](https://circleci.com/gh/ceramicstudio/3id-connect.svg?style=shield)\n[![](https://img.shields.io/badge/Chat%20on-Discord-orange.svg?style=flat)](https://discord.gg/6VRZpGP)\n[![Twitter](https://img.shields.io/twitter/follow/ceramicnetwork?label=Follow&style=social)](https://twitter.com/ceramicnetwork)\n\n# <a name=\"intro\"></a> 3ID-Connect\n\n![3ID Connect Image](./assets/3id-connect_readme-image.png)\n\n3ID user account management in a iframe. An easy way to access a did provider, specifically [ThreeIdProvider](https://github.com/ceramicstudio/js-3id-did-provider) in the browser. It allows users to authenticate, manage, link and permission their 3ID keys to applications. The library [js-3id-did-provider](https://github.com/ceramicstudio/js-3id-did-provider) handles most operations and the parent window (application) communicates with the iframe service over an RPC layer. 3id-connect with Ceramic support is only available at 3id-connect@next and 3idconnect.org at the moment.\n\n## <a name=\"use\"></a> Use\n\n```\nnpm install 3id-connect@next\n```\n\nExample usage with an ethereum provider and related auth provider.\n\n```js\nimport { ThreeIdConnect,  EthereumAuthProvider } from '@ceramicstudio/3id-connect'\n\n// assuming ethereum provider available or on window\nconst addresses = await provider.enable()\n\nconst authProvider = new EthereumAuthProvider(provider, addresses[0])\nawait threeIdConnect.connect(authProvider)\n\nconst didProvider = await threeIdConnect.getDidProvider()\n\n// now consume didProvider in ceramic clients, idx, dids libraries, etc\n```\n\n## <a name=\"structure\"></a> Structure\n\n- **/src** - Core logic and consumable interfaces for clients and iframe\n  - **/threeIdConnect.ts** - Application interface (RPC client) to load iframe and return 3ID provider.\n  - **/connectService.ts** - Identity wallet instance and RPC 'server' to handle requests\n  - **/didProviderProxy.ts** - DID provider interface that relays request through RPC layer\n  - **/authProvider** - 3ID connect (client) consumes an auth provider, auth providers can be implemented to support many different blockchain accounts and authentication methods\n    - **/abstractAuthProvider.ts** - Interface used to implement a auth provider\n    - **/ethereumAuthProvider.ts** - Ethereum auth provider, to link and authenticate with ethereum accounts\n- **/iframe** - all html, css, js, design assets for iframe and flow\n- **/public** - build assets deployed for iframe\n\n## <a name=\"development\"></a> Development\n\nClone and install dependencies\n\n\n#### Run Iframe Locally\n\n```\n$ npm run start\n```\n\nThe iframe will be served locally on port 30001. The iframe service also requires a Ceramic node, by default it will look for a locally running node. The quickest way to run a node is with the Ceramic CLI. \n\n```\n$ npm install -g @ceramicnetwork/cli\n& ceramic daemon\n```\n\nYou can also run the iframe and connect to a remote testnet Ceramic node. \n\n```\n$ npm run start:testnet\n```\n\nAnd lastly connect the iframe to any Ceramic node. \n\n```\n$ CERAMIC_API=https://yourceramicnode:port npm run start\n```\n\n\n#### Run Demo\n\nThe Demo application is served on port 30000, and connects to a locally running iframe, as described above. Demo application is found in the `/example` folder. \n\n```\n$ npm run start:demo\n```\n\nYou can also pass the same options to the local iframe with similar commands. \n\n```\n$ npm run start:demo:testnet\n// or \n$ CERAMIC_API=https://yourceramicnode:port npm run start:demo\n```\n\n#### Build\n\n```\n$ npm run build\n```\n\n## Maintainers\n[@zachferland](https://github.com/zachferland)\n","readmeFilename":"README.md","gitHead":"fc405b6fcc0d2927990a963c3179e33f78fdddb1","_id":"3id-connect@1.0.0-alpha.13","_nodeVersion":"14.15.3","_npmVersion":"6.14.11","dist":{"integrity":"sha512-eGmj8yVwn2J2no6PvE166qQbKGedNW+xcopCcRtQfEpptJA+fcA/pOwY/1Zx1BbY+0kK2FVC4dHoSEgedIGNAQ==","shasum":"363781e6e508187a57fd6e1bc3d454ccc33c1a7e","tarball":"https://registry.npmjs.org/3id-connect/-/3id-connect-1.0.0-alpha.13.tgz","fileCount":25,"unpackedSize":109774,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgBvefCRA9TVsSAnZWagAAmRcP/jQq8DvGt+knJR9VyQFt\nptIOUicAPpqpXsIhfvAyab174OenvBLm7y51qat14rOOxi/l122qoRFwvefm\nLLM49w5fYPYKDhrVb7XdmASuXTD40kkjMAeptMbQuBPmOjyb1RMuaE/bNbrv\n9nth7ctc1grj4kIZjpFQ4xsx2P0YoVDGgjUxV0wy+PxxrN2GJ8vSqaR/uwDE\n2RM9zW3lnWFbGsmP+vd4X43ifpMRfRNgPejZOJ15IJE6dKIZv9E3HF5VpHkA\nxadYNqCGaGeGK8OviQsWezJspEX0yHGRi2E6q0wd1GIpZ7Plp61FGWOIkCYn\nAPmW+2JAjAtkqs/5EvJgUYVfGRLOo7hkgjxuTvUso/osCmHy7saINGWtsYgR\n7lFw0kwCOZc9+WTjbPXajB1wz3ASk+emgUNknmyOr4a/nvdkTPs85DUJKRVQ\n02h6M7likVp7ItMglLT5mIEKg/w2DKgmHXYVv+zw3PfGovxQacUSwbi1DCja\nR0nEh+7DO832REh1D3jGHYR/0vy9nXCkDd8EXZxarYH1xa4sZ5d3QMheLlpb\nrR5kc92aHZLdWP3ZrllLhVW63LM9PjWOmQHHD14rbokyS+FddTOUwAnH+p1j\n8GswS2diw+97u8Nt578uMRdrAQxcqW60DbOmKxXuAVOAEfT5Uzotbzh/ieJ+\nsLKf\r\n=1Goi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHWVBQy1LitHO+wuhrahRri57gqbr25lCIU2H/fcCV67AiA8rl117RvxbUmqSW4TxXf2moXxmkoJgiqUVb3QEwBzsA=="}]},"_npmUser":{"name":"zachferland","email":"zachferland@gmail.com"},"directories":{},"maintainers":[{"name":"paul_lecam","email":"paul@ulem.net"},{"name":"zachferland","email":"zachferland@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/3id-connect_1.0.0-alpha.13_1611069343533_0.6446343568298916"},"_hasShrinkwrap":false},"1.0.0-alpha.14":{"name":"3id-connect","version":"1.0.0-alpha.14","description":"Account management for 3ID","main":"lib/index.js","typings":"types/index.d.ts","scripts":{"lint":"eslint src","test":"jest --detectOpenHandles --coverage","build:prod:es5":"rm -rf ./lib && babel src --out-dir lib --extensions .ts","build:prod:types":"rm -rf ./types && tsc --emitDeclarationOnly --skipLibCheck","build:prod:dist":"webpack --config webpack.config.js --mode=production --output-filename index.js","build":"run-p build:prod:**","prepublishOnly":"npm run build","dev:iframe:build":"webpack --config webpack.config.js --mode=development --watch","dev:iframe:server:start":"http-server -c-1 -p 30001 public","start":"run-p dev:iframe:**","start:testnet":"CERAMIC_API=https://ceramic-clay.3boxlabs.com npm run start","dev:demo:server:start":"http-server -c-1 -p 30000 example","dev:demo:build":"webpack --config ./example/webpack.config.js --mode=development --watch","start:demo":"run-p dev:demo:** start","start:demo:testnet":"CERAMIC_API=https://ceramic-clay.3boxlabs.com run-p dev:demo:** start:testnet"},"jest":{"testEnvironment":"node","testPathIgnorePatterns":["node_modules","lib"]},"repository":{"type":"git","url":"git+https://github.com/3box/3id-connect.git"},"author":{"name":"3box","email":"team@3box.io"},"license":"(Apache-2.0 OR MIT)","bugs":{"url":"https://github.com/3box/3id-connect/issues"},"homepage":"https://github.com/3box/3id-connect#readme","dependencies":{"@babel/runtime":"^7.12.5","@ceramicnetwork/common":"^0.15.7","@ceramicnetwork/http-client":"^0.9.4","@ceramicstudio/idx":"^0.7.0","@ethersproject/hdnode":"^5.0.8","3id-blockchain-utils":"^1.3.1","3id-did-provider":"^0.5.0","caip":"^0.9.2","dag-jose":"^0.3.0","dids":"^1.1.0","errors-utils":"^0.1.0","postmsg-rpc":"^2.4.0","rpc-utils":"^0.2.0","store":"^2.0.12","url-parse":"^1.4.7"},"devDependencies":{"@babel/cli":"^7.12.10","@babel/core":"^7.12.10","@babel/plugin-proposal-class-properties":"^7.12.1","@babel/plugin-proposal-object-rest-spread":"^7.12.1","@babel/plugin-transform-modules-commonjs":"^7.12.1","@babel/plugin-transform-runtime":"^7.12.10","@babel/preset-env":"^7.12.11","@babel/preset-typescript":"^7.12.7","@ceramicnetwork/3id-did-resolver":"^0.6.8","@portis/web3":"^2.0.0-beta.57","@types/store":"^2.0.2","@types/url-parse":"^1.4.3","@walletconnect/web3-provider":"^1.2.1","authereum":"0.0.4-beta.186","babel-core":"7.0.0-bridge.0","babel-loader":"^8.2.2","css-loader":"^2.1.1","css-to-string-loader":"^0.1.3","eslint":"^7.15.0","eslint-config-3box":"^0.2.0","fortmatic":"^2.2.1","http-server":"^0.12.3","ipfs":"^0.52.3","jest":"^26.6.3","node-sass":"^4.13.1","npm":"^6.14.9","npm-run-all":"^4.1.5","prettier":"^2.2.1","sass-loader":"^8.0.2","style-loader":"^0.23.1","svg-inline-loader":"^0.8.2","typescript":"^4.1.3","url-loader":"^4.0.0","web3modal":"^1.9.2","webpack":"^4.20.2","webpack-bundle-analyzer":"^3.9.0","webpack-cli":"^3.1.2"},"readme":"![ceramicnetwork](https://circleci.com/gh/ceramicstudio/3id-connect.svg?style=shield)\n[![](https://img.shields.io/badge/Chat%20on-Discord-orange.svg?style=flat)](https://discord.gg/6VRZpGP)\n[![Twitter](https://img.shields.io/twitter/follow/ceramicnetwork?label=Follow&style=social)](https://twitter.com/ceramicnetwork)\n\n# <a name=\"intro\"></a> 3ID-Connect\n\n![3ID Connect Image](./assets/3id-connect_readme-image.png)\n\n3ID user account management in a iframe. An easy way to access a did provider, specifically [ThreeIdProvider](https://github.com/ceramicstudio/js-3id-did-provider) in the browser. It allows users to authenticate, manage, link and permission their 3ID keys to applications. The library [js-3id-did-provider](https://github.com/ceramicstudio/js-3id-did-provider) handles most operations and the parent window (application) communicates with the iframe service over an RPC layer. 3id-connect with Ceramic support is only available at 3id-connect@next and 3idconnect.org at the moment.\n\n## <a name=\"use\"></a> Use\n\n```\nnpm install 3id-connect@next\n```\n\nExample usage with an ethereum provider and related auth provider.\n\n```js\nimport { ThreeIdConnect,  EthereumAuthProvider } from '@ceramicstudio/3id-connect'\n\n// assuming ethereum provider available or on window\nconst addresses = await provider.enable()\n\nconst authProvider = new EthereumAuthProvider(provider, addresses[0])\nawait threeIdConnect.connect(authProvider)\n\nconst didProvider = await threeIdConnect.getDidProvider()\n\n// now consume didProvider in ceramic clients, idx, dids libraries, etc\n```\n\n## <a name=\"structure\"></a> Structure\n\n- **/src** - Core logic and consumable interfaces for clients and iframe\n  - **/threeIdConnect.ts** - Application interface (RPC client) to load iframe and return 3ID provider.\n  - **/connectService.ts** - Identity wallet instance and RPC 'server' to handle requests\n  - **/didProviderProxy.ts** - DID provider interface that relays request through RPC layer\n  - **/authProvider** - 3ID connect (client) consumes an auth provider, auth providers can be implemented to support many different blockchain accounts and authentication methods\n    - **/abstractAuthProvider.ts** - Interface used to implement a auth provider\n    - **/ethereumAuthProvider.ts** - Ethereum auth provider, to link and authenticate with ethereum accounts\n- **/iframe** - all html, css, js, design assets for iframe and flow\n- **/public** - build assets deployed for iframe\n\n## <a name=\"development\"></a> Development\n\nClone and install dependencies\n\n\n#### Run Iframe Locally\n\n```\n$ npm run start\n```\n\nThe iframe will be served locally on port 30001. The iframe service also requires a Ceramic node, by default it will look for a locally running node. The quickest way to run a node is with the Ceramic CLI. \n\n```\n$ npm install -g @ceramicnetwork/cli\n& ceramic daemon\n```\n\nYou can also run the iframe and connect to a remote testnet Ceramic node. \n\n```\n$ npm run start:testnet\n```\n\nAnd lastly connect the iframe to any Ceramic node. \n\n```\n$ CERAMIC_API=https://yourceramicnode:port npm run start\n```\n\n\n#### Run Demo\n\nThe Demo application is served on port 30000, and connects to a locally running iframe, as described above. Demo application is found in the `/example` folder. \n\n```\n$ npm run start:demo\n```\n\nYou can also pass the same options to the local iframe with similar commands. \n\n```\n$ npm run start:demo:testnet\n// or \n$ CERAMIC_API=https://yourceramicnode:port npm run start:demo\n```\n\n#### Build\n\n```\n$ npm run build\n```\n\n## Maintainers\n[@zachferland](https://github.com/zachferland)\n","readmeFilename":"README.md","gitHead":"ab5df8483f385e882d46b183c21bd00bb976795b","_id":"3id-connect@1.0.0-alpha.14","_nodeVersion":"14.15.3","_npmVersion":"6.14.11","dist":{"integrity":"sha512-uujCauu8R2qF5l/HKSkrAStv4jw2/iUjsT0Flx/DcIW+ikbM6nX4+1h/KWzKkU1NvoUe4nLaCcJp2/jxAxHP/Q==","shasum":"d95e9692ec10b527817fec0b768151794de50d3d","tarball":"https://registry.npmjs.org/3id-connect/-/3id-connect-1.0.0-alpha.14.tgz","fileCount":25,"unpackedSize":109774,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgCZdvCRA9TVsSAnZWagAA6agP/ArqO8F7RHEQY4s8Oay8\nXPsr90A/Gcq/AydbqDbFtuQZVWrGWKl7QHncwnrLRNF1JcdZoQJqMvAQcemT\nS5OV9HRLpXTQodXBHAYz5xoc0WGA2DonbWF2WJZx/ExghWF114oy3PPiI3gw\nuRWl0OQPdHFX0QiGvqpvYxUzmsDVhjBRTqbsA/Wr883o5kJP9u/uz1Z0ZZfW\nRgFjRnfI+gn96RCoZb8xkcaA/hkJ200C/X++oN7RjAmmUsmX28J8+JDWA3Oh\nJRUm79VeWELgq/zpNaLGY5qnYvcRuYG3vhZ2VSQ3Z05IRGthr7y6kafV0wBa\nWe8RO3hecvFM1oB8C1NPiIRCVp4QP/jWHyDrIVC7UK9524dqTj5ESoDNjSUn\nFwyZzQJ1/0+NQIoKCVi3yCG2DOFwn03bNs4CJki/TqQYqHNlcg2jCG7zGYS7\nWuBZPEpvQrTAblKRFCagyvcH8Whzo8abrwXqxZTxJhOSGDMlqzywpctY/zSv\nVnRiqywO3MEIVwZFn2fYgX0uew58/sNhr8Nmi2yWeN9Z1POisrQG8AJ7yIW8\nNUzQI4qk5FW3skXeNECDo2/Gbl5xroEfvYQ0UV+39IvqII8smnoDUfpuEwgH\nuNk9+GXBjcHY5609Jxtx9ppGRHv7Z2RHbORhXQmMrD4Afdr70MRk0+eLsVMx\nnqJP\r\n=34iJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD6kM7MyDUkeqL9thWhR0o21lgzc8JTxVXCpfzB/+qUyAIhANPr5YzxN7mMtLR6O7HoH/QzacEz4QWHr0ylIUbm/vjb"}]},"_npmUser":{"name":"zachferland","email":"zachferland@gmail.com"},"directories":{},"maintainers":[{"name":"paul_lecam","email":"paul@ulem.net"},{"name":"zachferland","email":"zachferland@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/3id-connect_1.0.0-alpha.14_1611241326958_0.14449834067936562"},"_hasShrinkwrap":false},"1.0.0-alpha.15":{"name":"3id-connect","version":"1.0.0-alpha.15","description":"Account management for 3ID","main":"lib/index.js","typings":"types/index.d.ts","scripts":{"lint":"eslint src","test":"jest --detectOpenHandles --coverage","build:prod:es5":"rm -rf ./lib && babel src --out-dir lib --extensions .ts","build:prod:types":"rm -rf ./types && tsc --emitDeclarationOnly --skipLibCheck","build:prod:dist":"webpack --config webpack.config.js --mode=production --output-filename index.js","build":"run-p build:prod:**","prepublishOnly":"npm run build","dev:iframe:build":"webpack --config webpack.config.js --mode=development --watch","dev:iframe:server:start":"http-server -c-1 -p 30001 public","start":"run-p dev:iframe:**","start:testnet":"CERAMIC_API=https://ceramic-clay.3boxlabs.com npm run start","dev:demo:server:start":"http-server -c-1 -p 30000 example","dev:demo:build":"webpack --config ./example/webpack.config.js --mode=development --watch","start:demo":"run-p dev:demo:** start","start:demo:testnet":"CERAMIC_API=https://ceramic-clay.3boxlabs.com run-p dev:demo:** start:testnet"},"jest":{"testEnvironment":"node","testPathIgnorePatterns":["node_modules","lib"]},"repository":{"type":"git","url":"git+https://github.com/3box/3id-connect.git"},"author":{"name":"3box","email":"team@3box.io"},"license":"(Apache-2.0 OR MIT)","bugs":{"url":"https://github.com/3box/3id-connect/issues"},"homepage":"https://github.com/3box/3id-connect#readme","dependencies":{"@babel/runtime":"^7.12.5","@ceramicnetwork/common":"^0.15.7","@ceramicnetwork/http-client":"^0.9.4","@ceramicstudio/idx":"^0.7.0","@ethersproject/hdnode":"^5.0.8","3id-blockchain-utils":"^1.3.1","3id-did-provider":"^0.5.0","caip":"^0.9.2","dag-jose":"^0.3.0","dids":"^1.1.0","errors-utils":"^0.1.0","multicodec":"^2.0.0","postmsg-rpc":"^2.4.0","rpc-utils":"^0.2.0","store":"^2.0.12","url-parse":"^1.4.7"},"devDependencies":{"@babel/cli":"^7.12.10","@babel/core":"^7.12.10","@babel/plugin-proposal-class-properties":"^7.12.1","@babel/plugin-proposal-object-rest-spread":"^7.12.1","@babel/plugin-transform-modules-commonjs":"^7.12.1","@babel/plugin-transform-runtime":"^7.12.10","@babel/preset-env":"^7.12.11","@babel/preset-typescript":"^7.12.7","@ceramicnetwork/3id-did-resolver":"^0.6.8","@portis/web3":"^2.0.0-beta.57","@types/store":"^2.0.2","@types/url-parse":"^1.4.3","@walletconnect/web3-provider":"^1.2.1","authereum":"0.0.4-beta.186","babel-core":"7.0.0-bridge.0","babel-loader":"^8.2.2","css-loader":"^2.1.1","css-to-string-loader":"^0.1.3","eslint":"^7.15.0","eslint-config-3box":"^0.2.0","fortmatic":"^2.2.1","http-server":"^0.12.3","ipfs":"^0.52.3","jest":"^26.6.3","node-sass":"^4.13.1","npm":"^6.14.9","npm-run-all":"^4.1.5","prettier":"^2.2.1","sass-loader":"^8.0.2","style-loader":"^0.23.1","svg-inline-loader":"^0.8.2","typescript":"^4.1.3","url-loader":"^4.0.0","web3modal":"^1.9.2","webpack":"^4.20.2","webpack-bundle-analyzer":"^3.9.0","webpack-cli":"^3.1.2"},"readme":"![ceramicnetwork](https://circleci.com/gh/ceramicstudio/3id-connect.svg?style=shield)\n[![](https://img.shields.io/badge/Chat%20on-Discord-orange.svg?style=flat)](https://discord.gg/6VRZpGP)\n[![Twitter](https://img.shields.io/twitter/follow/ceramicnetwork?label=Follow&style=social)](https://twitter.com/ceramicnetwork)\n\n# <a name=\"intro\"></a> 3ID-Connect\n\n![3ID Connect Image](./assets/3id-connect_readme-image.png)\n\n3ID user account management in a iframe. An easy way to access a did provider, specifically [ThreeIdProvider](https://github.com/ceramicstudio/js-3id-did-provider) in the browser. It allows users to authenticate, manage, link and permission their 3ID keys to applications. The library [js-3id-did-provider](https://github.com/ceramicstudio/js-3id-did-provider) handles most operations and the parent window (application) communicates with the iframe service over an RPC layer. 3id-connect with Ceramic support is only available at 3id-connect@next and 3idconnect.org at the moment.\n\n## <a name=\"use\"></a> Use\n\n```\nnpm install 3id-connect@next\n```\n\nExample usage with an ethereum provider and related auth provider.\n\n```js\nimport { ThreeIdConnect,  EthereumAuthProvider } from '@ceramicstudio/3id-connect'\n\n// assuming ethereum provider available or on window\nconst addresses = await provider.enable()\n\nconst authProvider = new EthereumAuthProvider(provider, addresses[0])\nawait threeIdConnect.connect(authProvider)\n\nconst didProvider = await threeIdConnect.getDidProvider()\n\n// now consume didProvider in ceramic clients, idx, dids libraries, etc\n```\n\n## <a name=\"structure\"></a> Structure\n\n- **/src** - Core logic and consumable interfaces for clients and iframe\n  - **/threeIdConnect.ts** - Application interface (RPC client) to load iframe and return 3ID provider.\n  - **/connectService.ts** - Identity wallet instance and RPC 'server' to handle requests\n  - **/didProviderProxy.ts** - DID provider interface that relays request through RPC layer\n  - **/authProvider** - 3ID connect (client) consumes an auth provider, auth providers can be implemented to support many different blockchain accounts and authentication methods\n    - **/abstractAuthProvider.ts** - Interface used to implement a auth provider\n    - **/ethereumAuthProvider.ts** - Ethereum auth provider, to link and authenticate with ethereum accounts\n- **/iframe** - all html, css, js, design assets for iframe and flow\n- **/public** - build assets deployed for iframe\n\n## <a name=\"development\"></a> Development\n\nClone and install dependencies\n\n\n#### Run Iframe Locally\n\n```\n$ npm run start\n```\n\nThe iframe will be served locally on port 30001. The iframe service also requires a Ceramic node, by default it will look for a locally running node. The quickest way to run a node is with the Ceramic CLI. \n\n```\n$ npm install -g @ceramicnetwork/cli\n& ceramic daemon\n```\n\nYou can also run the iframe and connect to a remote testnet Ceramic node. \n\n```\n$ npm run start:testnet\n```\n\nAnd lastly connect the iframe to any Ceramic node. \n\n```\n$ CERAMIC_API=https://yourceramicnode:port npm run start\n```\n\n\n#### Run Demo\n\nThe Demo application is served on port 30000, and connects to a locally running iframe, as described above. Demo application is found in the `/example` folder. \n\n```\n$ npm run start:demo\n```\n\nYou can also pass the same options to the local iframe with similar commands. \n\n```\n$ npm run start:demo:testnet\n// or \n$ CERAMIC_API=https://yourceramicnode:port npm run start:demo\n```\n\n#### Build\n\n```\n$ npm run build\n```\n\n## Maintainers\n[@zachferland](https://github.com/zachferland)\n","readmeFilename":"README.md","gitHead":"33e0038007dd71ca77c1c7718663d3d389357205","_id":"3id-connect@1.0.0-alpha.15","_nodeVersion":"14.15.3","_npmVersion":"7.4.2","dist":{"integrity":"sha512-jFDGO1b4xFW3LjJtDEzS8JsjR2ctj6pZXyHRyK52PwwMJvUaJK+XXysfSNPROKOU9ZFwIwFJvfjXrQgLSi7ljg==","shasum":"92ee708dd9fc2849bd97545f3a1417255c3929fa","tarball":"https://registry.npmjs.org/3id-connect/-/3id-connect-1.0.0-alpha.15.tgz","fileCount":25,"unpackedSize":109802,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgCa0rCRA9TVsSAnZWagAAVpcP/3k8dcFo2SmmsmA/Paxl\nL25Aq65sVX/M07UHwFEnypRaItscs6sn0YnxAJq5DGrK1bs5h47s+0Iwjl2D\nWPL2PYw3TmfkmMGnO82svJAzxvprdhsZ2BG3Irl25VOqBkG4FCTgqQd7jV6S\nqbEx1o7BpgjoNcXZAMYcyF/ORpLKeikkWUrE1vjxAHiw2VM/+CcGimlc7LdB\n77vP0b+8N9GKfr/dghdJpn1WBmv4up6RVgnD8wyDnVopUxnY+ihLHSo6l69R\nTo+si9QCiRC0veu0n34Cz8UrTkBpwmRIImQw97RQ4IUMqON6aHSaedUqdzN2\nnptUMfY3324cOtkVuzPr2K83SV/plWZ7jjqX2BcWU26PdIciZQL2SE4JkBUT\nKnXwHCdleSAODLhvGymS5KVloWLvrTnpMQbf4X+I9a4LLg22ZsUoVtiME2vp\nn4tzmUhlDVsbEpfAPmoLMAfd2UNbgM4umwm/zpLedGYtsiQEym44ceSBw2CW\noj9qwxluYrc9t6WoK0VGNn8ZqS5EO/wmfDyO0gYgxK/RdKpkvt284cjN0XoI\nQ1RggmcQXwEU29E33TWQHQUjwQIAKpZ1ehoMam68HVKHc3fOdDerHVJUjFqj\nsg4OXN8qpeuJmSJCeO6uE0iezaIS840b/FSzpN0E1QW5uQ2xLwafwrhrI+XM\nUppC\r\n=yOsZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEyTruSgk8N1/c6ysMZ6In1rAzL9SqvT89xxrdqKD+ZfAiAPKmLohLl3+pAYX/CgIUtNKgwB8Y78KAtsDMq+3fyekQ=="}]},"_npmUser":{"name":"zachferland","email":"zachferland@gmail.com"},"directories":{},"maintainers":[{"name":"paul_lecam","email":"paul@ulem.net"},{"name":"zachferland","email":"zachferland@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/3id-connect_1.0.0-alpha.15_1611246891109_0.16143454454099793"},"_hasShrinkwrap":false,"deprecated":"3ID Connect on Ceramic has now moved to the following package @3id/connect, and this package is being deprecated."},"1.0.0-beta.15":{"name":"3id-connect","version":"1.0.0-beta.15","description":"Account management for 3ID","main":"lib/index.js","typings":"types/index.d.ts","scripts":{"lint":"eslint src","test:build:app":"webpack --config ./test/env/webpack.config.js --mode=development","test:build:iframe":"CERAMIC_API=http://localhost:7777 webpack --config webpack.config.js --mode=development --output-path ./test/env/build --output-filename iframe.js","test:ceramic":"rm -rf ./test/data && ceramic daemon --port 7777 --pinset-directory ./test/data --network inmemory","test:server":"http-server -c-1 -p 30001 ./test/env/","test:app":"run-p test:build:** test:server","test:run:integration":"jest --config integration.jest.config.js","test:run:unit":"jest --projects src/__tests__ --detectOpenHandles","test":"run-p test:build:** && npm run test:run:integration && npm run test:run:unit","build:prod:es5":"rm -rf ./lib && babel src --out-dir lib --extensions .ts","build:prod:types":"rm -rf ./types && tsc --emitDeclarationOnly --skipLibCheck","build:prod:dist":"webpack --config webpack.config.js --mode=production --output-filename index.js","build:dev:dist":"webpack --config webpack.config.js --mode=production --output-filename index.js --env develop","build":"run-p build:prod:**","build:dev":"run-p build:prod:es5 build:prod:types build:dev:dist","prepublishOnly":"npm run build","dev:iframe:build":"webpack --config webpack.config.js --mode=development --watch","dev:iframe:server:start":"http-server -c-1 -p 30001 ../public","start":"run-p dev:iframe:**","start:testnet":"CERAMIC_API=https://ceramic-clay.3boxlabs.com npm run start","dev:demo:server:start":"http-server -c-1 -p 30000 example","dev:demo:build":"webpack --config ./example/webpack.config.js --mode=development --watch","start:demo":"run-p dev:demo:** start","start:demo:testnet":"CERAMIC_API=https://ceramic-clay.3boxlabs.com run-p dev:demo:** start:testnet"},"repository":{"type":"git","url":"git+https://github.com/3box/3id-connect.git"},"author":{"name":"3box","email":"team@3box.io"},"license":"(Apache-2.0 OR MIT)","bugs":{"url":"https://github.com/3box/3id-connect/issues"},"homepage":"https://github.com/3box/3id-connect#readme","dependencies":{"@babel/runtime":"^7.12.13","@ceramicnetwork/blockchain-utils-linking":"^0.1.0","@ceramicnetwork/common":"^0.15.9","@ceramicnetwork/http-client":"^0.9.6","@ceramicnetwork/rpc-postmessage":"^0.3.0","@ceramicnetwork/rpc-transport":"^0.2.0","@ceramicnetwork/transport-postmessage":"^0.2.0","@ceramicnetwork/transport-subject":"^0.2.0","@ceramicstudio/idx":"^0.8.0","@ceramicstudio/idx-constants":"^0.7.0","@ethersproject/hdnode":"^5.0.8","@stablelib/sha256":"^1.0.0","3id-did-provider":"^0.5.1","caip":"^0.9.2","cross-fetch":"^3.0.6","dag-jose":"^0.3.0","dids":"^1.1.1","errors-utils":"^0.1.0","jest-playwright-jsdom":"^0.0.4","jwt-decode":"^3.1.2","multicodec":"~2.0.0","postmsg-rpc":"^2.4.0","rpc-utils":"^0.3.4","store":"^2.0.12","uint8arrays":"^2.1.2","url-parse":"^1.4.7"},"devDependencies":{"@babel/cli":"^7.12.13","@babel/core":"^7.12.13","@babel/plugin-proposal-class-properties":"^7.12.13","@babel/plugin-proposal-object-rest-spread":"^7.12.13","@babel/plugin-transform-modules-commonjs":"^7.12.13","@babel/plugin-transform-runtime":"^7.12.13","@babel/preset-env":"^7.12.13","@babel/preset-typescript":"^7.12.13","@ceramicnetwork/3id-did-resolver":"^0.6.10","@ceramicnetwork/cli":"^0.20.8","@ceramicstudio/idx-tools":"^0.8.0","@ethersproject/wallet":"^5.0.11","@glif/filecoin-address":"^1.1.0-beta.18","@glif/local-managed-provider":"^1.1.0-beta.18","@polkadot/util":"^5.6.2","@portis/web3":"^2.0.0-beta.57","@smontero/eosio-local-provider":"^0.0.3","@tendermint/sig":"^0.6.0","@types/create-hash":"^1.2.2","@types/store":"^2.0.2","@types/url-parse":"^1.4.3","@walletconnect/web3-provider":"^1.3.4","@zondax/filecoin-signing-tools":"^0.13.0","authereum":"0.0.4-beta.186","babel-core":"7.0.0-bridge.0","babel-loader":"^8.2.2","bip39":"^3.0.2","css-loader":"^2.1.1","css-to-string-loader":"^0.1.3","eosjs-ecc":"^4.0.7","eslint":"^7.19.0","eslint-config-3box":"^0.2.0","eslint-plugin-jest-playwright":"^0.2.1","fortmatic":"^2.2.1","http-server":"^0.12.3","ipfs":"^0.52.3","jest":"^26.6.3","jest-playwright-preset":"^1.4.5","node-sass":"^4.13.1","npm":"^6.14.11","npm-run-all":"^4.1.5","playwright":"^1.7.1","prettier":"^2.2.1","rxjs":"^6.6.6","sass-loader":"^8.0.2","style-loader":"^0.23.1","svg-inline-loader":"^0.8.2","typescript":"^4.1.3","url-loader":"^4.0.0","web3modal":"^1.9.2","webpack":"^4.20.2","webpack-bundle-analyzer":"^3.9.0","webpack-cli":"^3.1.2"},"eslintIgnore":["src/__tests__/"],"readme":"# <a name=\"intro\"></a> 3ID-Connect\n\n3ID user account management in a iframe. An easy way to access a did provider, specifically [ThreeIdProvider](https://github.com/ceramicstudio/js-3id-did-provider) in the browser. It allows users to authenticate, manage, link and permission their 3ID keys to applications. The library [js-3id-did-provider](https://github.com/ceramicstudio/js-3id-did-provider) handles most operations and the parent window (application) communicates with the iframe service over an RPC layer. 3id-connect with Ceramic support is only available at 3id-connect@next and 3idconnect.org at the moment.\n\n## <a name=\"use\"></a> Use\n\n```\nnpm install 3id-connect@next\n```\n\nExample usage with an ethereum provider and related auth provider.\n\n```js\nimport { ThreeIdConnect, EthereumAuthProvider } from '@ceramicstudio/3id-connect'\n\n// assuming ethereum provider available or on window\nconst addresses = await provider.enable()\n\nconst authProvider = new EthereumAuthProvider(provider, addresses[0])\nawait threeIdConnect.connect(authProvider)\n\nconst didProvider = await threeIdConnect.getDidProvider()\n\n// now consume didProvider in ceramic clients, idx, dids libraries, etc\n```\n\n## <a name=\"structure\"></a> Structure\n\n- **/src** - Core logic and consumable interfaces for clients and iframe\n  - **/threeIdConnect.ts** - Application interface (RPC client) to load iframe and return 3ID provider.\n  - **/connectService.ts** - Identity wallet instance and RPC 'server' to handle requests\n  - **/didProviderProxy.ts** - DID provider interface that relays request through RPC layer\n  - **/authProvider** - 3ID connect (client) consumes an auth provider, auth providers can be implemented to support many different blockchain accounts and authentication methods\n    - **/abstractAuthProvider.ts** - Interface used to implement a auth provider\n    - **/ethereumAuthProvider.ts** - Ethereum auth provider, to link and authenticate with ethereum accounts\n- **/iframe** - all html, css, js, design assets for iframe and flow\n- **../public** - build assets deployed for iframe\n\n## <a name=\"development\"></a> Development\n\nClone and install dependencies\n\n#### Run Iframe Locally\n\n```\n$ npm run start\n```\n\nThe iframe will be served locally on port 30001. The iframe service also requires a Ceramic node, by default it will look for a locally running node. The quickest way to run a node is with the Ceramic CLI.\n\n```\n$ npm install -g @ceramicnetwork/cli\n& ceramic daemon\n```\n\nYou can also run the iframe and connect to a remote testnet Ceramic node.\n\n```\n$ npm run start:testnet\n```\n\nAnd lastly connect the iframe to any Ceramic node.\n\n```\n$ CERAMIC_API=https://yourceramicnode:port npm run start\n```\n\n#### Run Demo\n\nThe Demo application is served on port 30000, and connects to a locally running iframe, as described above. Demo application is found in the `/example` folder.\n\n```\n$ npm run start:demo\n```\n\nYou can also pass the same options to the local iframe with similar commands.\n\n```\n$ npm run start:demo:testnet\n// or\n$ CERAMIC_API=https://yourceramicnode:port npm run start:demo\n```\n\n#### Build\n\n```\n$ npm run build\n```\n\n## Maintainers\n\n[@zachferland](https://github.com/zachferland)\n","readmeFilename":"README.md","_id":"3id-connect@1.0.0-beta.15","_nodeVersion":"14.15.3","_npmVersion":"7.4.2","dist":{"integrity":"sha512-wNyxVqPc2LiPlC7o62/1tv6YUg9OEXBHMEw0z4pCmPXB+QIM9odJXne3IwiriyhFdBF3xdbcFsL5NGUsNOt3lA==","shasum":"2f3272bd1743142da08d68d130dd683f9fcff5d6","tarball":"https://registry.npmjs.org/3id-connect/-/3id-connect-1.0.0-beta.15.tgz","fileCount":32,"unpackedSize":146077,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgWTZ+CRA9TVsSAnZWagAAE2UP/3EncdagsCmZVaojVvs7\nfEFTUyFsjFky8WZKIrAsHBNpNXLhhAt0cm1ZwWGr5rlkr3enPgNNA70HoSEI\nQeY1ke1OrjGwx1LSIpRdriPg4/bU+53cDyK+qSmn3CUrLz0vPjBOGUm+fldG\nmIYWW93zDmhKu9KmM/2GBGDTYNh/EO/DllLWAfeLUMAkoJWGSmDfcX6hGdVV\nLmIkE2iTBEe0AXoavCCMiw1JfSNxoUCiG36flawG+mBbE5q6EHK8ynAJ3PWC\nXgqoXoZX/3HgJgQWtTYiCTZ4AMPyiy21ZGgzkhOk9fF7abSFYBofIl+Eeri9\nu9xasY5b9+D9aIu02yMcNnI6n/Ot8Kv8ndIp3yhUhtCcpsc5fWEP+ZQbdrrE\nuuSziHcXSFM7OrKM628CSrnt4yaSm7L78JGwoCfq3nh6YhJZ0+zng8UM7Ls5\nYNxmcs7JR/0tbNa18z2he8MZrEb7yr2NUychNSoOGid13H1CI+vfz5aSKbcR\n9yb33kzfMobkm5iHD+xIZIU5vYuLSwOTcPRxmn2omq5yXJBt+vq+mgod1goH\nbPEPuQqzXtDYC0BOtqLAHrxizu4AANgqXpFexA08iiyGg4GjpgY0t0g150zc\nbo5iU/V8fGi9zTCa2nQkZECganXbqxdvpP4WHbNeTM4+OjfBByct2b8IYovs\npNI2\r\n=nKkO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDtxn6MdFYA6JaBAHLyr72mwCc0aBtr3Hx2McgwXegksQIhAKZPSSmroWs5E5IC1PxO0JNzmT7s6wWexBv+fdlV6NYa"}]},"_npmUser":{"name":"zachferland","email":"zachferland@gmail.com"},"directories":{},"maintainers":[{"name":"paul_lecam","email":"paul@ulem.net"},{"name":"zachferland","email":"zachferland@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/3id-connect_1.0.0-beta.15_1616459390474_0.4868490327929753"},"_hasShrinkwrap":false}},"time":{"created":"2020-04-20T18:31:16.104Z","0.0.1":"2020-04-20T18:31:16.258Z","modified":"2022-04-04T10:21:38.800Z","0.0.2":"2020-04-30T16:51:39.864Z","0.1.0":"2020-05-30T19:55:59.950Z","1.0.0-alpha.0":"2020-10-06T00:38:43.616Z","1.0.0-alpha.1":"2020-10-26T09:09:00.419Z","1.0.0-alpha.2":"2020-10-26T09:11:05.107Z","1.0.0-alpha.3":"2020-11-03T19:38:47.650Z","1.0.0-alpha.4":"2020-11-12T02:21:18.635Z","1.0.0-alpha.6":"2020-12-04T02:32:30.272Z","1.0.0-alpha.7":"2020-12-18T02:36:56.238Z","1.0.0-alpha.8":"2020-12-18T19:09:50.485Z","1.0.0-alpha.9":"2020-12-23T02:10:26.320Z","1.0.0-alpha.10":"2021-01-12T20:40:10.418Z","1.0.0-alpha.11":"2021-01-15T03:26:45.311Z","1.0.0-alpha.12":"2021-01-15T17:12:10.717Z","1.0.0-alpha.13":"2021-01-19T15:15:43.631Z","1.0.0-alpha.14":"2021-01-21T15:02:07.159Z","1.0.0-alpha.15":"2021-01-21T16:34:51.334Z","1.0.0-beta.15":"2021-03-23T00:29:50.629Z"},"maintainers":[{"name":"paul_lecam","email":"paul@ulem.net"},{"name":"zachferland","email":"zachferland@gmail.com"}],"description":"Account management for 3Box","homepage":"https://github.com/3box/3id-connect#readme","repository":{"type":"git","url":"git+https://github.com/3box/3id-connect.git"},"author":{"name":"3box","email":"team@3box.io"},"bugs":{"url":"https://github.com/3box/3id-connect/issues"},"license":"MIT","readme":"","readmeFilename":""}