{"_id":"@abhikumar_98/test3","_rev":"3-7850a68059bd6465f47d6a13fc3acef6","name":"@abhikumar_98/test3","dist-tags":{"latest":"1.2.1"},"versions":{"1.0.0":{"name":"@abhikumar_98/test3","version":"1.0.0","main":"dist/index.cjs.js","module":"dist/index.esm.js","repository":{"url":"git+https://github.com/michal-wrzosek/react-component-lib.git","type":"git"},"license":"MIT","types":"dist/index.d.ts","devDependencies":{"@types/react":"^16.9.55","@types/react-dom":"^16.9.9","@types/styled-components":"^5.1.4","@typescript-eslint/eslint-plugin":"^2.10.0","@typescript-eslint/parser":"^2.10.0","concurrently":"^5.3.0","eslint":"^6.6.0","eslint-config-prettier":"^6.15.0","eslint-plugin-prettier":"^3.1.4","eslint-plugin-react":"^7.19.0","install-peers-cli":"^2.2.0","prepend-file":"^2.0.0","prettier":"^2.1.2","rollup":"^2.33.1","rollup-plugin-typescript2":"^0.29.0","ts-node":"^9.0.0","tslib":"^2.0.3","typescript":"^4.0.5"},"peerDependencies":{"react":"^16.14.0","react-dom":"^16.14.0","styled-components":"^5.2.1","@apollo/client":"^3.5.10","@metamask/eth-sig-util":"^4.0.0","@types/crypto-js":"^4.1.1","axios":"^0.26.1","crypto-js":"^4.1.1","ethers":"^5.6.4","ipfs-http-client":"^56.0.2","uuidv4":"^6.2.13"},"scripts":{"build":"rollup -c","build-watch":"rollup -c -w","prepublishOnly":"npm run build","start-example":"cd example && npm start","deploy-example":"cd example && npm run deploy","dev":"concurrently --kill-others \"npm run build-watch\" \"npm run start-example\"","test":"npm run test:lint && npm run test:unit","pretest":"npm run build","test:unit":"ts-node test/test.ts","test:lint":"eslint ./src/**/*.ts ./src/**/*.tsx ./example/src/**/*.ts ./example/src/**/*.tsx","test:lint:fix":"npm run test:lint -- --fix"},"dependencies":{"@apollo/client":"^3.5.10","@metamask/eth-sig-util":"^4.0.0","@types/crypto-js":"^4.1.1","axios":"^0.26.1","crypto-js":"^4.1.1","ethers":"^5.6.4","ipfs-http-client":"^56.0.2","uuidv4":"^6.2.13"},"gitHead":"556fe83492ff1ad6623d6cad334f6f17d71a142d","description":"This is a boilerplate repository for creating npm packages with React components written in TypeScript and using styled-components.","bugs":{"url":"https://github.com/michal-wrzosek/react-component-lib/issues"},"homepage":"https://github.com/michal-wrzosek/react-component-lib#readme","_id":"@abhikumar_98/test3@1.0.0","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-a8niJjzB3AY+sqAdIsZOQmQcudNeur9haHS35d4UEOuneZXXZLCKRkyxaLXShaoApJ+FPglrjagvFCkyV3J4Ag==","shasum":"27c381170186fe609f2f03e5216257410b92379a","tarball":"https://registry.npmjs.org/@abhikumar_98/test3/-/test3-1.0.0.tgz","fileCount":13,"unpackedSize":45183,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDwZDtvvW+pbmz4VdYyFQz3YK7UYVrZXDtw/9RLqXLuSwIhAL78YaUTaBytiXuR/5/BD+bWLr7lv4tTfoTzUSNtTJxA"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiXaRoACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoysA/+PNqbJ687u0vjQdGNcrxP2ce8awnwQGyVM67bplivRCI2UaWe\r\nHqu9kAoRgo1FSoatobxE49Axg2TfxYAPshXZWTB5TCyAthTLBaHQvSlgnSTy\r\n/ERkRu2v5Y7sC1+wKpKnrmCPzCj/6jDIkhlWaiEh7FaGTFcprdyB80tsYQXu\r\njaPk7HYiXptXyg+NDO5HblOKkcjZ+nadMaW1ndNMRwMIidWL3esS1iGjYV+5\r\nb96exojMPcsE0TMHaYeu+EPszDqsw+nprQMlAhSvGDyAz1v+gztaDOo/d+12\r\nelvDDFyDdQ7HewcpLsO5tl2oCt88mkd5AiAhQbLwVJpSL+icqdWDHOahupKN\r\nJTONiuCmwCRtvUIn6Xas8gx7i6maCkDAFhHn0DBculLT6f74NKpL5XCSRrm+\r\nBGOCg4uTtXrWJm1As5EmdMjsaAXZq6UkSkeFCGyRgrQBhVN2a+1Cc0GmbsQx\r\nXV093vXZlyJAMbW+95TYwy6Q3JofQI26p22NwpqkiLppoJlAJ+TZ6PBNYa42\r\nQS0oXH6ajURf2NnhKw20UA8fLvvMAr9zK/w4yX5VdXzuPEaZkDOrNxnwh6hE\r\nuwS4rYW3BeEcosshiVN/ZdaXcpF/8MWVOMx+DaGMmBZsX4WVoMTE/D/dKLjZ\r\nn0aUXs8nfuHjmh9Pzcw8dzoncjndQZgd6fg=\r\n=pZcM\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"abhikumar_98","email":"abhishekkumar35962@gmail.com"},"directories":{},"maintainers":[{"name":"abhikumar_98","email":"abhishekkumar35962@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/test3_1.0.0_1650304104492_0.6138137483429942"},"_hasShrinkwrap":false},"1.1.0":{"name":"@abhikumar_98/test3","version":"1.1.0","main":"dist/index.cjs.js","module":"dist/index.esm.js","repository":{"url":"git+https://github.com/michal-wrzosek/react-component-lib.git","type":"git"},"license":"MIT","types":"dist/index.d.ts","devDependencies":{"@types/react":"^16.9.55","@types/react-dom":"^16.9.9","@types/styled-components":"^5.1.4","@typescript-eslint/eslint-plugin":"^2.10.0","@typescript-eslint/parser":"^2.10.0","concurrently":"^5.3.0","eslint":"^6.6.0","eslint-config-prettier":"^6.15.0","eslint-plugin-prettier":"^3.1.4","eslint-plugin-react":"^7.19.0","install-peers-cli":"^2.2.0","prepend-file":"^2.0.0","prettier":"^2.1.2","rollup":"^2.33.1","rollup-plugin-typescript2":"^0.29.0","ts-node":"^9.0.0","tslib":"^2.0.3","typescript":"^4.0.5"},"peerDependencies":{"react":"^16.14.0","react-dom":"^16.14.0","styled-components":"^5.2.1","@apollo/client":"^3.5.10","@metamask/eth-sig-util":"^4.0.0","@types/crypto-js":"^4.1.1","axios":"^0.26.1","crypto-js":"^4.1.1","ethers":"^5.6.4","ipfs-http-client":"^56.0.2","uuidv4":"^6.2.13"},"scripts":{"build":"rollup -c","build-watch":"rollup -c -w","prepublishOnly":"npm run build","start-example":"cd example && npm start","deploy-example":"cd example && npm run deploy","dev":"concurrently --kill-others \"npm run build-watch\" \"npm run start-example\"","test":"npm run test:lint && npm run test:unit","pretest":"npm run build","test:unit":"ts-node test/test.ts","test:lint":"eslint ./src/**/*.ts ./src/**/*.tsx ./example/src/**/*.ts ./example/src/**/*.tsx","test:lint:fix":"npm run test:lint -- --fix"},"dependencies":{"@apollo/client":"^3.5.10","@metamask/eth-sig-util":"^4.0.0","@types/crypto-js":"^4.1.1","axios":"^0.26.1","crypto-js":"^4.1.1","ethers":"^5.6.4","ipfs-http-client":"^56.0.2","uuidv4":"^6.2.13"},"gitHead":"2fa0f6e2edc2badb77840a0d7338c08019b61876","description":"This is a boilerplate repository for creating npm packages with React components written in TypeScript and using styled-components.","bugs":{"url":"https://github.com/michal-wrzosek/react-component-lib/issues"},"homepage":"https://github.com/michal-wrzosek/react-component-lib#readme","_id":"@abhikumar_98/test3@1.1.0","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-rE33YIDqUXy+Td0KhlcELhLbAv5jSnMtvkEHesAwiNM9YWWw7/8iIvFnXq1WqJJ7sgxKxRRft42MyHUmLmfOVQ==","shasum":"023ed96267fb5aa9e8b7bd87ec770324edb56ac9","tarball":"https://registry.npmjs.org/@abhikumar_98/test3/-/test3-1.1.0.tgz","fileCount":13,"unpackedSize":48753,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC6LlJkOciAeKFkR/OYxuMN2jPHiblQp6gpfb0vL8y1XgIhAKqkboSiHlfeiQdB4TbVyosC9osqVJWiay+OPYxv8Nem"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiaD4rACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo5MQ/9GRx+oWyLWvTyCuF7cBMWy8KpiNivEm6fBjBaijExpL8ZCKAp\r\nPw/DiYci1XyaYCi6HHUCcNs0ZGLTqjiA9VqTbb5zy50esRvB6KHanH1t3YaE\r\njF56K0y5BRInKMeG+gzgnTVss5qwm/7hfTDNJv+J20tKW8y2JDMrudTxPZd1\r\ndP594AH6hv+X59doblaAwbXJYwj5lDxyy8khONLG/Q7sr/KaOpz0lsbrvTDI\r\nj/W2jG9LgCurexsNFSqPAMGw65fqXB9yVuvEo0Bg9f1Dzq3NXUN4QslmRmpA\r\ncfHwQLMmIq4so+CFc8X1a3h5nHLKd3+FLiM4fmXuIdezktvBFuAYb6TXV5FW\r\nOEr2xP23BDyQ9Op1+L4Uy7n83YeRCzUyY9A0DFZph0YQMGUvwmzynM7qOlSM\r\nTW61hBYPfH2BeYioLtTT3rKMleYQWmr4irtgXykJcpJcFJboNmgrOwYXDD8K\r\nDxeEn6BQORLoqBATS7fz2D7rD1uR5FcYoQnS00byZxQGn1lX4FJZw43Nh+tE\r\n/eFpuP3JgCsXcJ/S/nYAxSpDb2ogMmOT6biQnOwYoNQQM8eg6X/Hn3A1/uRI\r\nrfLFQUKq/BKQFp0pfzC3wcDem0r8FuQslSz9nJUw26mCCnzaRyAzj8Fjq0pQ\r\nmus2akrcZM4H9uPa8QBnB1dAy/K63825X+0=\r\n=FNmi\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"abhikumar_98","email":"abhishekkumar35962@gmail.com"},"directories":{},"maintainers":[{"name":"abhikumar_98","email":"abhishekkumar35962@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/test3_1.1.0_1650998825417_0.9832878224670243"},"_hasShrinkwrap":false},"1.1.1":{"name":"@abhikumar_98/test3","version":"1.1.1","main":"dist/index.cjs.js","module":"dist/index.esm.js","repository":{"url":"git+https://github.com/michal-wrzosek/react-component-lib.git","type":"git"},"license":"MIT","types":"dist/index.d.ts","devDependencies":{"@types/react":"^16.9.55","@types/react-dom":"^16.9.9","@types/styled-components":"^5.1.4","@typescript-eslint/eslint-plugin":"^2.10.0","@typescript-eslint/parser":"^2.10.0","concurrently":"^5.3.0","eslint":"^6.6.0","eslint-config-prettier":"^6.15.0","eslint-plugin-prettier":"^3.1.4","eslint-plugin-react":"^7.19.0","install-peers-cli":"^2.2.0","prepend-file":"^2.0.0","prettier":"^2.1.2","rollup":"^2.33.1","rollup-plugin-typescript2":"^0.29.0","ts-node":"^9.0.0","tslib":"^2.0.3","typescript":"^4.0.5"},"peerDependencies":{"react":"^16.14.0","react-dom":"^16.14.0","styled-components":"^5.2.1","@apollo/client":"^3.5.10","@metamask/eth-sig-util":"^4.0.0","@types/crypto-js":"^4.1.1","axios":"^0.26.1","crypto-js":"^4.1.1","ethers":"^5.6.4","ipfs-http-client":"^56.0.2","uuidv4":"^6.2.13"},"scripts":{"build":"rollup -c","build-watch":"rollup -c -w","prepublishOnly":"npm run build","start-example":"cd example && npm start","deploy-example":"cd example && npm run deploy","dev":"concurrently --kill-others \"npm run build-watch\" \"npm run start-example\"","test":"npm run test:lint && npm run test:unit","pretest":"npm run build","test:unit":"ts-node test/test.ts","test:lint":"eslint ./src/**/*.ts ./src/**/*.tsx ./example/src/**/*.ts ./example/src/**/*.tsx","test:lint:fix":"npm run test:lint -- --fix"},"dependencies":{"@apollo/client":"^3.5.10","@metamask/eth-sig-util":"^4.0.0","@types/crypto-js":"^4.1.1","axios":"^0.26.1","crypto-js":"^4.1.1","ethers":"^5.6.4","ipfs-http-client":"^56.0.2","uuidv4":"^6.2.13"},"gitHead":"995aab3029ce8ee50f11e48b2f126cfff6241cbe","description":"This is a boilerplate repository for creating npm packages with React components written in TypeScript and using styled-components.","bugs":{"url":"https://github.com/michal-wrzosek/react-component-lib/issues"},"homepage":"https://github.com/michal-wrzosek/react-component-lib#readme","_id":"@abhikumar_98/test3@1.1.1","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-J1nuLPTWOz78/S3Q6gm/2m1MrweCz+q8YpTYwmUM8XBwqseCP/SwLlHlt6gVdXzoO0Cx64mLHPJdURiyiAgmvQ==","shasum":"5b870d74dd2b0a59ef27b68718cf4d1256a8ee86","tarball":"https://registry.npmjs.org/@abhikumar_98/test3/-/test3-1.1.1.tgz","fileCount":13,"unpackedSize":50061,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCJOPJSWYzoFWZAyzBokqG+r4tCGzIPtCjyiY54QzK6TQIhAOxScxwTCM0pvkUgOl9O0LugGC7sMiP9HgQ4ug/rpAuR"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJibQDvACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrtfRAAn5ZAaWOyM83kPr/5MqNcTPYuJ9rPStufved111C72c8/z5Dl\r\ncglE1JylevbskXZTe0ZTDIC2zO5ZRnvHEzwD3aFaD+MqtQtyWiH00eWcv3BC\r\nWyLlEnFEm5q/YhEMhChSPijP/TtxfDEIHVuRNrAikHtmdns0SmEHGYWpjnQ9\r\nioOcWJ47nYaWk6vPt2UnXq3AQ0Uc4UDfkwO9VazmCWN60fbLILbTYUUKlKud\r\n4hLnyi1Pmsck8aOnCJs5Xi4ivZCtyh3GzhxxVdpFIrcB4pLqzGt7iB7S4sPP\r\n9IVM/LiTHt5bxi7Ay5XMCF3pEaEvaKqMDK3HiLawH+rFP3h87rkXo2NG2ggK\r\n7awSr1MsX2ex+o57Pc2nLFZ3qdJelqoOiorshvvC1dZ3fOfLhB1vtYhFnegn\r\n6xFbn3xKiNASz+r3ML6FsW/SgtbijhxCxD2/98vaTuMlCioVH9E4ARoPs3Mh\r\n1W6ktL+CW9JZuehze9r7xkL55wpH/ZgHa5nJoslrGNFmZZCgnZgU8Q+qBFQQ\r\nVYnnjc4O5XBiA62FJsJEypw7IglL+37ZQv+aiwglv1Luc/4NnxGZXDMNeLWo\r\nsAEYnZcAON3VGYk4RP+EwM2SpW+yxBOnHoRL24gaCHuzgRhUdac5nkS7Vsqr\r\nWAdiiy/9Hb7PM1xOyHWN/KlqICnwSt8NhY8=\r\n=eJ9G\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"abhikumar_98","email":"abhishekkumar35962@gmail.com"},"directories":{},"maintainers":[{"name":"abhikumar_98","email":"abhishekkumar35962@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/test3_1.1.1_1651310830814_0.294943658931645"},"_hasShrinkwrap":false},"1.2.1":{"name":"@abhikumar_98/test3","version":"1.2.1","main":"dist/index.cjs.js","module":"dist/index.esm.js","author":{"name":"Abhikumar"},"repository":{"url":"git+https://github.com/Abhikumar98/react-npm-lib.git","type":"git"},"license":"MIT","types":"dist/index.d.ts","devDependencies":{"@types/react":"^16.9.55","@types/react-dom":"^16.9.9","@types/styled-components":"^5.1.4","@typescript-eslint/eslint-plugin":"^2.10.0","@typescript-eslint/parser":"^2.10.0","concurrently":"^5.3.0","eslint":"^6.6.0","eslint-config-prettier":"^6.15.0","eslint-plugin-prettier":"^3.1.4","eslint-plugin-react":"^7.19.0","install-peers-cli":"^2.2.0","prepend-file":"^2.0.0","prettier":"^2.1.2","rollup":"^2.33.1","rollup-plugin-typescript2":"^0.29.0","ts-node":"^9.0.0","tslib":"^2.0.3","typescript":"^4.0.5"},"peerDependencies":{"react":"^16.14.0","react-dom":"^16.14.0","styled-components":"^5.2.1","@apollo/client":"^3.5.10","@metamask/eth-sig-util":"^4.0.0","@types/crypto-js":"^4.1.1","axios":"^0.26.1","crypto-js":"^4.1.1","ethers":"^5.6.4","ipfs-http-client":"^56.0.2","uuidv4":"^6.2.13"},"scripts":{"build":"rollup -c","build-watch":"rollup -c -w","prepublishOnly":"npm run build","start-example":"cd example && npm start","deploy-example":"cd example && npm run deploy","dev":"concurrently --kill-others \"npm run build-watch\" \"npm run start-example\"","test":"npm run test:lint && npm run test:unit","pretest":"npm run build","test:unit":"ts-node test/test.ts","test:lint":"eslint ./src/**/*.ts ./src/**/*.tsx ./example/src/**/*.ts ./example/src/**/*.tsx","test:lint:fix":"npm run test:lint -- --fix"},"dependencies":{"@apollo/client":"^3.5.10","@metamask/eth-sig-util":"^4.0.0","@types/crypto-js":"^4.1.1","axios":"^0.26.1","crypto-js":"^4.1.1","ethers":"^5.6.4","ipfs-http-client":"^56.0.2","uuidv4":"^6.2.13"},"gitHead":"fa8d8cd3bb17f8918ac11f820efb2c60a6e32757","description":"Send messages on chain to any ethereum address.","bugs":{"url":"https://github.com/Abhikumar98/react-npm-lib/issues"},"homepage":"https://github.com/Abhikumar98/react-npm-lib#readme","_id":"@abhikumar_98/test3@1.2.1","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-gotIApsk1Hb1Q6YwklEWVhg1N7MGdoHZDmpurNzBw7BimwtO6LKUC4PWqseAvEkJ3BIKuiHdypLwtx5aTAbFOg==","shasum":"c5749265ee2e8d567a7fe265c01973331b1c767c","tarball":"https://registry.npmjs.org/@abhikumar_98/test3/-/test3-1.2.1.tgz","fileCount":13,"unpackedSize":52204,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCTdCO9QgkKVqJk3RrxEHMWjgy+9WOtIWOrGRPMM47CPgIgFSe9MDeYZ37V77m9/yG/UUS/zqG4KTUDNwN201LcUkA="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJibQyjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr3tg//SgDYpzWWuj+fwYfE8e9/UO27Sl5WLi4ZFuj/FIUHbzuRyDqq\r\n6QO5pdx4jdIaZWpXAfEOVMUVAaFhFl9MSton3U3ZE0W/xOiz0BhutlHZyxhr\r\nvHpNOpK9jgJNdkzfYC0HvzBl+eXSt4WiG0Dx6QyvDe7lrJeXqk+gTGycFDsz\r\ncjA+PZajSbV3bTFeIZlFc1WAEM4O9yg4zqSlSva85/5/kllwG/ofvlX+KwNM\r\nX6ozQKUH6yS0PY+93tTUog61J5lMHRYzhV+1X5HSyWlVy6tWcfZNCZopYNvU\r\npSfuNjgy8YjR30DbUyQpz3LmUaVDeXmCITp5pY38mXaxwNw23IgOXWe5EWNu\r\n6jXVQvBvDiXVVAN0WUgI/CyZGf2R/MOJ88JnEndeMxrD+azeTyYiT5zaFoeF\r\nwXgp+/DFYB/p0UzhA2rUOgvLz1WomhyY3cpZfw3Zz/dkIab1VDSvFnr0GYXA\r\nROY946Gb91lm4DPpo3nQHwzAumqLo3tD4XQ5+k5/gRoZnkLB2sGyD9YiGdQ7\r\nD7/+gDMJzhn6pZUt1qgnbb2xkhfD+TwzODLrkB2yKFKyhmB2Z+r7r626xmtx\r\n34IVmmwNzxOzUdT88rCrWSicYNIqCI5lX15LNjSSUWfEHD473rUUuzFqF89j\r\naGPqOW2TLlDKpl6Xjx8v24741sgAYL6AlBE=\r\n=kHxz\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"abhikumar_98","email":"abhishekkumar35962@gmail.com"},"directories":{},"maintainers":[{"name":"abhikumar_98","email":"abhishekkumar35962@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/test3_1.2.1_1651313827584_0.3152620273532216"},"_hasShrinkwrap":false}},"time":{"created":"2022-04-18T17:48:24.427Z","1.0.0":"2022-04-18T17:48:24.737Z","modified":"2022-04-30T10:17:07.871Z","1.1.0":"2022-04-26T18:47:07.005Z","1.1.1":"2022-04-30T09:27:10.976Z","1.2.1":"2022-04-30T10:17:07.809Z"},"maintainers":[{"name":"abhikumar_98","email":"abhishekkumar35962@gmail.com"}],"description":"Send messages on chain to any ethereum address.","homepage":"https://github.com/Abhikumar98/react-npm-lib#readme","repository":{"url":"git+https://github.com/Abhikumar98/react-npm-lib.git","type":"git"},"bugs":{"url":"https://github.com/Abhikumar98/react-npm-lib/issues"},"license":"MIT","readme":"# Dakiya SDK\n\nSend messages on chain to any ethereum address.\n\n## Usage\n\n```\nnpm i @dakiya/sdk\n\nor\n\nyarn add @dakiya/sdk\n\n```\n\n## Steps\n\n1. On board user before sending messages\n\n```\nimport { onboardUser } from \"@dakiya/sdk\";\n\nconst App = () => {\n\n    const handleOnBoard = async () => {\n\n        const account = \"\"; // current connected account from metamask\n        const chainId = \"0x1\"' // current chain id from metamask\n\n        const user = await onboardUser(account, chainId);\n        console.log(user);\n    }\n\n    return <button onClick={handleOnBoard}>Let's get started</button>\n}\n\n```\n\n2. Start sending messages :)\n\n```\nimport { createThread } from \"@dakiya/sdk\";\n\nconst App = () => {\n\n    const startNewThread = async () => {\n\n        const createThreadParams = {\n            receiver: \"someone.eth\"\n            subject: \"Hello world !\";\n            message: \"Basic hello\";\n            chainId: \"0x1\";\n        }\n\n        const newThread = await createThread(createThreadParams);\n    }\n\n    return <button onClick={startNewThread}>Say Hello</button>\n}\n\n```\n\n3. Start sending messages :)\n\n```\nimport { threadReply } from \"@dakiya/sdk\";\n\nconst App = () => {\n\n    const startNewThread = async () => {\n\n        const threadReplyParams = {\n            receiver: \"\",\n            message: \"\",\n            threadId: \"\",\n            encryptionKey: \"\", // thread's encryption key\n            senderPubEncKey: \"0x...\", // sender's public encryption key\n            receiverPubEncKey: \"\", // reciever's public encryption key\n            encrypt: true, // is thread encrypted?\n            chainId: \"0x1\"\n        }\n\n        /**\n        encryptionKey, senderPubEncKey, receiverPubEncKey, encrypt are supposed to be passed from the thread details when decrypted while loading the thread\n        */\n\n        const newThread = await createThread(threadReplyParams);\n    }\n\n    return <button onClick={startNewThread}>Say Hello</button>\n}\n\n```\n\n4. Fetching messages from thread\n\n```\nimport { getMessagesFromThread } from \"@dakiya/sdk\";\n\nconst App = () => {\n\n    const fetchMessages = async () => {\n\n        const getMessagesParams = {\n            account: \"\", // current connected account from metamask\n            threadId: \"\",\n            encryptionKey: \"\", // thread's encryption key\n            chainId: \"0x1\"\n        }\n\n        const newThread = await getMessagesFromThread(getMessagesParams);\n    }\n\n    return <button onClick={fetchMessages}>Say Hello</button>\n}\n```\n\n5. Getting subject of Thread while getting messages\n\n```\nimport { getSubject } from \"@dakiya/sdk\";\n\nconst App = () => {\n\n    const fetchThreadSubject = async () => {\n\n        const subjectParams = {\n            subjectURI: \"\", // thread's encryption key\n            encryptionKey: \"\"\n        }\n\n        const newThread = await getSubject(subjectParams);\n    }\n\n    return <button onClick={fetchThreadSubject}>Say Hello</button>\n}\n```\n","readmeFilename":"README.md","author":{"name":"Abhikumar"}}