{"_id":"@cambrianprotocol/anchor-utils","_rev":"5-f6a55074d6c8254d2b496eb848e9bec9","name":"@cambrianprotocol/anchor-utils","dist-tags":{"next":"1.12.0-rc.0","latest":"1.12.0"},"versions":{"1.8.0-rc.0":{"name":"@cambrianprotocol/anchor-utils","version":"1.8.0-rc.0","description":"Ceramic anchor contract constants, interface and utilities","keywords":["ceramic","anchor"],"main":"./lib/index.js","types":"./lib/index.d.ts","type":"module","directories":{"lib":"./lib"},"sideEffects":false,"exports":{".":"./lib/index.js"},"scripts":{"test":"NODE_OPTIONS=--experimental-vm-modules npx jest --silent --coverage","build":"npx tsc --project tsconfig.json","prepublishOnly":"npm run build","prebuild":"npm run clean","lint":"npx eslint ./src --ext .js,.jsx,.ts,.tsx","clean":"npx rimraf ./lib"},"author":{"name":"3Box Labs"},"license":"(Apache-2.0 OR MIT)","dependencies":{"@ceramicnetwork/common":"^2.23.0","@ethersproject/abi":"^5.7.0","multiformats":"^11.0.1","uint8arrays":"^4.0.3"},"devDependencies":{"@ceramicnetwork/streamid":"^2.14.0","@ethersproject/providers":"^5.5.1","@stablelib/sha256":"^1.0.1"},"publishConfig":{"access":"public"},"gitHead":"1913908a5e09c769883a3f38c232a50130e133b0","_id":"@cambrianprotocol/anchor-utils@1.8.0-rc.0","_nodeVersion":"16.15.1","_npmVersion":"lerna/4.0.0/node@v16.15.1+x64 (win32)","dist":{"integrity":"sha512-Ekp8NBF1xzZV3ztEi8r7bK3DwsLQr3FAiwQS/i1/PsEYvG81uB3gqw/1KiWPNws6zwtH2KKddqA0Hfz/yibV/Q==","shasum":"37e4d1f1c59bfaf29b2d27c2070c64ec3f5cf404","tarball":"https://registry.npmjs.org/@cambrianprotocol/anchor-utils/-/anchor-utils-1.8.0-rc.0.tgz","fileCount":58,"unpackedSize":40432,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC/lPyE9fgpotZy/YsSdCMRdRYSdp5qUhwL+BD3Jt5hygIhAMHpbYZrDAHlGkHMdZMllBQWWIUmXFINZboRQ6M+S6uR"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkCGX1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpdXhAAo4Gtdl9MWIdwcorsa2vrtrNRkCQbiRStV8JEAwbFktxEfH/2\r\nefIQ7NnHeL0jxXVXyrmGzzg2m3rEqm4RBDnemdUvtKYh7roWIwNb3ImXxykg\r\n7RyPULG/BEYN+Cv/XuN+B2+qUgb/XXp4ZrKse5h6f7xrUfU5pU935IiuHoXE\r\n34IqinDqq/mLjoAy254gr/QVntIvRbVtglEGqNhv4jpWrv/rPR+/ijFIKsma\r\nn1c1nXLWMzLFPiO5fgbF+qOIdq7Vv38ugOIqaU0IESWFsLlRyJscuNj5ne/S\r\nRTH2cP9z8JmbqQPuGJaqaQbgu7bPKdZ10kQUVsmogHSgAxbY92xVOUDB1V3d\r\nJQuyx3/nmWoJAh7DpYJ481Llpihfv4rE+EJTIUp/C/6CtAiZ3pxT26SKPdQa\r\nadHQtIogORjrmylc9ek+yq5kWQ9hQovAVdpQdJHSUBlFXZpJl+Mmc66mlOas\r\nc3SkgCC5Tj0YWbMx5uBkECS2495Nda3es1ob4BOi1ayYCi2uMP1IKm+cIr6m\r\nktE5/Jn0Lwfp7WI1fz6hyadiOYc82iCu7OvUkF6c9k5drzo0czIEkh7PxriC\r\nGhKo8t50Maz9n/+rMG7ewFpg50BHzKiU6+oPahD27CFlNIZl9XkGXBtCI5JD\r\nRUg5piPaC0mIAyKTAOm6FKrrz5mtfCawNFE=\r\n=ohyz\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"zktruth","email":"nic@cambrianprotocol.com"},"maintainers":[{"name":"zktruth","email":"nic@cambrianprotocol.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/anchor-utils_1.8.0-rc.0_1678271989432_0.2322129562141444"},"_hasShrinkwrap":false},"1.9.0-rc.0":{"name":"@cambrianprotocol/anchor-utils","version":"1.9.0-rc.0","description":"Ceramic anchor contract constants, interface and utilities","keywords":["ceramic","anchor"],"main":"./lib/index.js","types":"./lib/index.d.ts","type":"module","directories":{"lib":"./lib"},"sideEffects":false,"exports":{".":"./lib/index.js"},"scripts":{"test":"NODE_OPTIONS=--experimental-vm-modules npx jest --silent --coverage","build":"npx tsc --project tsconfig.json","prepublishOnly":"npm run build","prebuild":"npm run clean","lint":"npx eslint ./src --ext .js,.jsx,.ts,.tsx","clean":"npx rimraf ./lib"},"author":{"name":"3Box Labs"},"license":"(Apache-2.0 OR MIT)","dependencies":{"@cambrianprotocol/common":"2.25.0-rc.0","@ethersproject/abi":"^5.7.0","multiformats":"^11.0.1","uint8arrays":"^4.0.3"},"devDependencies":{"@ceramicnetwork/streamid":"^2.14.0","@ethersproject/providers":"^5.5.1","@stablelib/sha256":"^1.0.1"},"publishConfig":{"access":"public"},"gitHead":"d7cebc7257f14a8b65514249d81a0d369ce33ed1","readme":"# Ceramic anchor contract utilities\r\n\r\n![ceramicnetwork](https://circleci.com/gh/ceramicnetwork/js-ceramic.svg?style=shield)\r\n[![MIT license](https://img.shields.io/badge/License-MIT-blue.svg)](https://lbesson.mit-license.org/)\r\n[![](https://img.shields.io/badge/Chat%20on-Discord-orange.svg?style=flat)](https://discord.gg/6VRZpGP)\r\n[![Twitter](https://img.shields.io/twitter/follow/ceramicnetwork?label=Follow&style=social)](https://twitter.com/ceramicnetwork)\r\n\r\n## Getting started\r\n\r\n### Installation\r\n\r\n```\r\n$ npm install @ceramicnetwork/anchor-utils\r\n```\r\n\r\n### Usage\r\n\r\n```ts\r\nimport { convertEthHashToCid } from '@ceramicnetwork/anchor-utils'\r\n\r\nconst cidHash = convertEthHashToCid(stringHash.slice(2))\r\n```\r\n\r\n## Development\r\n\r\nRun tests:\r\n\r\n```shell\r\nnpm test\r\n```\r\n\r\nRun linter:\r\n\r\n```shell\r\nnpm run lint\r\n```\r\n\r\n## Contributing\r\n\r\nWe are happy to accept small and large contributions. Make sure to check out the\r\n[Ceramic specifications](https://github.com/ceramicnetwork/ceramic/blob/main/SPECIFICATION.md)\r\nfor details of how the protocol works.\r\n\r\n## License\r\n\r\nMIT or Apache-2.0\r\n","readmeFilename":"README.md","_id":"@cambrianprotocol/anchor-utils@1.9.0-rc.0","_nodeVersion":"16.15.1","_npmVersion":"lerna/4.0.0/node@v16.15.1+x64 (win32)","dist":{"integrity":"sha512-DasngyoE2D1PKTjh9CE0u+4AMlja/6LAjeEb9uKTpIEb9P+L03CFKxIjk/enqfV6oQe8qmXKhEWDIF46W8NUeQ==","shasum":"5be18dd7e89d08c2f3e8919f30012d9ceacf5434","tarball":"https://registry.npmjs.org/@cambrianprotocol/anchor-utils/-/anchor-utils-1.9.0-rc.0.tgz","fileCount":58,"unpackedSize":40426,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHzFmlo+3X/3tVqloeao9wDHhenzpKzexjrGA3Re+nP3AiBT5LJeMRUE/tZK1F/vFRU+OCO9j0QMNtq9bdbhoJRU8A=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkCHPAACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpfWw//QJ1pBzeoH04vnFyYMCUEIW7/ZtrKtirgelQdvVYBh1Vmvs+v\r\ncP7yW8wM/CYWjlSmziyq42XaexprYuSY/wvtEAfeLYF5BgfAEL+AZmn542EV\r\nemF6K9/fS2BCrZXrbPeoWrZQv2+EWXE3pjU2QPUbFpjDL11A7EulF8ILa0hS\r\ndCrbOHlI/DHqRLIcERSSCv+FdoWACI9p2dR9MWvagt9AqkgD/L5unt4UYzSI\r\nBgivjyw8SfBvBUshUPn3UNHeNkJwj4J3V95hfMMxv0woCf9pPILus9hDPBWF\r\nUF2VNo/AJ/dL1U6Ih1qr2Qam/298BTUz6L76/oz2xEjWtza8276dEJsriHzU\r\ngpcXkL/RvP+mTBnYQA5jlaQjFymPksbZtUyrncTvBAe/Yqckyndqi4Vil4Ac\r\naYr8kYv9Ugs5+SWBGoxi5u9uCNpY1bzaWn/beYmkbJ8ihOQvNlUzWgb/v+ja\r\nQ+71ut2xhwxvzlZH8Ar66qEoqWaU1J+ig/Qkx7/6OJD+ZaPRmeXzjkilkTI1\r\nQQEj9cSyayvjHMP+5uUrMSM/QpxyM99xHAP1l8NRqrHdachPZtiopJd0stAR\r\n0Oxcs1DdruW7R4LwI9WHxVlD/PtfWyC+upe+VSL6T6slORa0KvXq9BilwuPA\r\njF9Bq3aiUFt5GUXTDCGyysH42m5/N5Qlbeo=\r\n=5TBP\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"zktruth","email":"nic@cambrianprotocol.com"},"maintainers":[{"name":"zktruth","email":"nic@cambrianprotocol.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/anchor-utils_1.9.0-rc.0_1678275519861_0.2711730669429142"},"_hasShrinkwrap":false},"1.10.0-rc.0":{"name":"@cambrianprotocol/anchor-utils","version":"1.10.0-rc.0","description":"Ceramic anchor contract constants, interface and utilities","keywords":["ceramic","anchor"],"main":"./lib/index.js","types":"./lib/index.d.ts","type":"module","directories":{"lib":"./lib"},"sideEffects":false,"exports":{".":"./lib/index.js"},"scripts":{"test":"NODE_OPTIONS=--experimental-vm-modules npx jest --silent --coverage","build":"npx tsc --project tsconfig.json","prepublishOnly":"npm run build","prebuild":"npm run clean","lint":"npx eslint ./src --ext .js,.jsx,.ts,.tsx","clean":"npx rimraf ./lib"},"author":{"name":"3Box Labs"},"license":"(Apache-2.0 OR MIT)","dependencies":{"@cambrianprotocol/common":"2.25.0-rc.0","@ethersproject/abi":"^5.7.0","multiformats":"^11.0.1","uint8arrays":"^4.0.3"},"devDependencies":{"@ceramicnetwork/streamid":"^2.14.0","@ethersproject/providers":"^5.5.1","@stablelib/sha256":"^1.0.1"},"publishConfig":{"access":"public"},"gitHead":"eb1d02da12564f5a0a3dcd73bffeec71d144c209","readme":"# Ceramic anchor contract utilities\r\n\r\n![ceramicnetwork](https://circleci.com/gh/ceramicnetwork/js-ceramic.svg?style=shield)\r\n[![MIT license](https://img.shields.io/badge/License-MIT-blue.svg)](https://lbesson.mit-license.org/)\r\n[![](https://img.shields.io/badge/Chat%20on-Discord-orange.svg?style=flat)](https://discord.gg/6VRZpGP)\r\n[![Twitter](https://img.shields.io/twitter/follow/ceramicnetwork?label=Follow&style=social)](https://twitter.com/ceramicnetwork)\r\n\r\n## Getting started\r\n\r\n### Installation\r\n\r\n```\r\n$ npm install @ceramicnetwork/anchor-utils\r\n```\r\n\r\n### Usage\r\n\r\n```ts\r\nimport { convertEthHashToCid } from '@ceramicnetwork/anchor-utils'\r\n\r\nconst cidHash = convertEthHashToCid(stringHash.slice(2))\r\n```\r\n\r\n## Development\r\n\r\nRun tests:\r\n\r\n```shell\r\nnpm test\r\n```\r\n\r\nRun linter:\r\n\r\n```shell\r\nnpm run lint\r\n```\r\n\r\n## Contributing\r\n\r\nWe are happy to accept small and large contributions. Make sure to check out the\r\n[Ceramic specifications](https://github.com/ceramicnetwork/ceramic/blob/main/SPECIFICATION.md)\r\nfor details of how the protocol works.\r\n\r\n## License\r\n\r\nMIT or Apache-2.0\r\n","readmeFilename":"README.md","_id":"@cambrianprotocol/anchor-utils@1.10.0-rc.0","_nodeVersion":"16.15.1","_npmVersion":"lerna/4.0.0/node@v16.15.1+x64 (win32)","dist":{"integrity":"sha512-PWTkfUckR0bHCc0AoHDZJdJo+rQ3n418RapyjUfU0wyo4GT/KWDhEcFA8yt7T4hmXqosQev/fRX9ZpqZxeE4Fw==","shasum":"e36a94869931ef129ebd90129af54c00f2ac5be2","tarball":"https://registry.npmjs.org/@cambrianprotocol/anchor-utils/-/anchor-utils-1.10.0-rc.0.tgz","fileCount":58,"unpackedSize":40431,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC51cgIZuz4jCtlkf2f/mjLOF0yUwKOkXKiyaqTnALVDQIhALTsQysXviW18Cfr27BNY/tsIQFOEdPwRu1S9S3LKTOz"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkCJ4WACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrSMhAAlhq5K2JMj/piDJCFVY3SwRIkX/xl6Nn00o9nO4UwrsZWLQSB\r\n/dllIGIvrTL3He/91u9I/3vgumneesdrDlZ2KK1mTiCTcz8zeYKxz8b4L2E+\r\n5ZGvK1eUkx/eSgO7xBW4W5W7/XncVwSRQIAEHFUbx3nqI2PqhWopgh6GHEzw\r\nNGzlttVjRhebZxvQ6f5m1ScDguy1J2ab5zAe2Z7lToz96BZizTwpWOHaZQX+\r\nONxo/oEIWBjRvuR6B8zxsK25T1/jNVB8sv1bhLGsMK6DrX2ohTlTM6XN0tb9\r\nHY8LNi5eZW4NfUt32+nJ+bB8gm0FXXT7bUBQer9q5ZND/9aeB/QYSoyndyyI\r\nO95zUS13r8byS9DhiSZOgC5956bANl0hdUx/ysS0XksDLDgTzpa6OaVbMOEZ\r\nwG6bw4gD7EU27TThQG7/2xihThzseTJizgXZmLLjNjk8PHgIs7ahFNSmVKtN\r\nGqbI12kcyurcKJQwNLC2mhhAMVNafhQw44GEvYpwAoiOt304t7j7TtU/sEB2\r\nyRh0EEc2L/2KDHFu579wZRB48ko7RcfmUFU2P06z12zuQekOMwsGlU0Gsrm0\r\nEb4hjfkanYOtfjfzo3H8/OBgVyh7dpD0B40cW7ci0NCatjJmfmgKiFx53mDu\r\ndNOK65Egw3vKQ02nYn8UgOV4ZFI3jO75F6w=\r\n=XMgi\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"zktruth","email":"nic@cambrianprotocol.com"},"maintainers":[{"name":"zktruth","email":"nic@cambrianprotocol.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/anchor-utils_1.10.0-rc.0_1678286357897_0.3655291765175155"},"_hasShrinkwrap":false},"1.11.0-rc.0":{"name":"@cambrianprotocol/anchor-utils","version":"1.11.0-rc.0","description":"Ceramic anchor contract constants, interface and utilities","keywords":["ceramic","anchor"],"main":"./lib/index.js","types":"./lib/index.d.ts","type":"module","directories":{"lib":"./lib"},"sideEffects":false,"exports":{".":"./lib/index.js"},"scripts":{"test":"NODE_OPTIONS=--experimental-vm-modules npx jest --silent --coverage","build":"npx tsc --project tsconfig.json","prepublishOnly":"npm run build","prebuild":"npm run clean","lint":"npx eslint ./src --ext .js,.jsx,.ts,.tsx","clean":"npx rimraf ./lib"},"author":{"name":"3Box Labs"},"license":"(Apache-2.0 OR MIT)","dependencies":{"@cambrianprotocol/common":"^2.26.0-rc.0","@ethersproject/abi":"^5.7.0","multiformats":"^11.0.1","uint8arrays":"^4.0.3"},"devDependencies":{"@ceramicnetwork/streamid":"^2.14.0","@ethersproject/providers":"^5.5.1","@stablelib/sha256":"^1.0.1"},"publishConfig":{"access":"public"},"gitHead":"0903cc3a6c0e7d6fe4109ef2ac07b836bca75552","readme":"# Ceramic anchor contract utilities\r\n\r\n![ceramicnetwork](https://circleci.com/gh/ceramicnetwork/js-ceramic.svg?style=shield)\r\n[![MIT license](https://img.shields.io/badge/License-MIT-blue.svg)](https://lbesson.mit-license.org/)\r\n[![](https://img.shields.io/badge/Chat%20on-Discord-orange.svg?style=flat)](https://discord.gg/6VRZpGP)\r\n[![Twitter](https://img.shields.io/twitter/follow/ceramicnetwork?label=Follow&style=social)](https://twitter.com/ceramicnetwork)\r\n\r\n## Getting started\r\n\r\n### Installation\r\n\r\n```\r\n$ npm install @ceramicnetwork/anchor-utils\r\n```\r\n\r\n### Usage\r\n\r\n```ts\r\nimport { convertEthHashToCid } from '@ceramicnetwork/anchor-utils'\r\n\r\nconst cidHash = convertEthHashToCid(stringHash.slice(2))\r\n```\r\n\r\n## Development\r\n\r\nRun tests:\r\n\r\n```shell\r\nnpm test\r\n```\r\n\r\nRun linter:\r\n\r\n```shell\r\nnpm run lint\r\n```\r\n\r\n## Contributing\r\n\r\nWe are happy to accept small and large contributions. Make sure to check out the\r\n[Ceramic specifications](https://github.com/ceramicnetwork/ceramic/blob/main/SPECIFICATION.md)\r\nfor details of how the protocol works.\r\n\r\n## License\r\n\r\nMIT or Apache-2.0\r\n","readmeFilename":"README.md","_id":"@cambrianprotocol/anchor-utils@1.11.0-rc.0","_nodeVersion":"16.15.1","_npmVersion":"lerna/4.0.0/node@v16.15.1+x64 (win32)","dist":{"integrity":"sha512-ygnTWdL4gXvzBGFBjWWGysMDFbVN2j2u6TAtzG+Avk27nNl5YIvDtIEuDrrKxFPLAkR3lyvELZ+ToIVn50R7Sg==","shasum":"eaa2ba363e76ff8164ede81fc759370f3381ae27","tarball":"https://registry.npmjs.org/@cambrianprotocol/anchor-utils/-/anchor-utils-1.11.0-rc.0.tgz","fileCount":58,"unpackedSize":40432,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFIPXWGdqLdl4xiEh49oesziJX7qaW6dEkmbQtEyXBsBAiAc7Tw/tee33XuKxpK9LmA4k448ur7CmM4lobGfyOFf1Q=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkCK1SACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp6MA//eCyFt0Bo6HCXy97aw5nGmDjy3+d1NVHgI+dFVG5GKK00Iyus\r\nQZfDe7etSoC+ITs3mcmkLy0jhlMrI8EezeiEBq+qw+ujnJPBJBpvXlwRswhY\r\naGKC3s3Qo0839lOtZTx9tZ/C8bKzb7+1UcehOHmQ9ArXTmJzVOhF3o5h0+gi\r\nJrZ1HRWg2AHGx3gWtzac+wT2Lm0N7tlmcrxAzPiM74yjycDv0w9n2MY1YATR\r\nVQiWoDnUEtOO56hdZjYQFmfUp96v9sDd7QMD67NetUJFH/RMkhtuSUHIlijT\r\nsLDBgHxYQui2gxEdRH23KtP/Jhizl2VPkljzoP6nYuQREEpmsrgUGNCVWyPu\r\nTffuIDhbVYDjMIE6iIy3RL2CRbjkVkprivEiFmR8sxxuFtWbLrVbQvTG+rRE\r\ndOPV9ZcyhtTnt/DHoiJMZzXrMcZWc1pQ/JLrR1kp7l3C9QzQNAyJJDxP3HOr\r\n6y+8lQbakzjQVs5Oys0FI2/U+HA+UBXRcPA/kq9g8IS2P7RwK0AuW9zTmEgm\r\nArjNl1hjFA7A9i5TCVw3W39cqo9cAFtk3VSi+MXe0JzTv3XNgPqD0Il/0h+V\r\npkhFb1deq3JyLQu1e2pvOjZ8+AhxA7Ck9cXmdFEnc4GtVLT5s+bmoj5J6OlH\r\nqI9F9yJbTppNOi9LA9WqAu19UKZhstoxoTc=\r\n=0p1G\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"zktruth","email":"nic@cambrianprotocol.com"},"maintainers":[{"name":"zktruth","email":"nic@cambrianprotocol.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/anchor-utils_1.11.0-rc.0_1678290258070_0.555598864186863"},"_hasShrinkwrap":false},"1.12.0-rc.0":{"name":"@cambrianprotocol/anchor-utils","version":"1.12.0-rc.0","description":"Ceramic anchor contract constants, interface and utilities","keywords":["ceramic","anchor"],"main":"./lib/index.js","types":"./lib/index.d.ts","type":"module","directories":{"lib":"./lib"},"sideEffects":false,"exports":{".":"./lib/index.js"},"scripts":{"test":"NODE_OPTIONS=--experimental-vm-modules npx jest --silent --coverage","build":"npx tsc --project tsconfig.json","prepublishOnly":"npm run build","prebuild":"npm run clean","lint":"npx eslint ./src --ext .js,.jsx,.ts,.tsx","clean":"npx rimraf ./lib"},"author":{"name":"3Box Labs"},"license":"(Apache-2.0 OR MIT)","dependencies":{"@cambrianprotocol/common":"^2.27.0-rc.0","@ethersproject/abi":"^5.7.0","multiformats":"^11.0.1","uint8arrays":"^4.0.3"},"devDependencies":{"@ceramicnetwork/streamid":"^2.14.0","@ethersproject/providers":"^5.5.1","@stablelib/sha256":"^1.0.1"},"publishConfig":{"access":"public"},"gitHead":"77d05e076af8f307dbe8ba3a675778d6ae33165c","readme":"# Ceramic anchor contract utilities\r\n\r\n![ceramicnetwork](https://circleci.com/gh/ceramicnetwork/js-ceramic.svg?style=shield)\r\n[![MIT license](https://img.shields.io/badge/License-MIT-blue.svg)](https://lbesson.mit-license.org/)\r\n[![](https://img.shields.io/badge/Chat%20on-Discord-orange.svg?style=flat)](https://discord.gg/6VRZpGP)\r\n[![Twitter](https://img.shields.io/twitter/follow/ceramicnetwork?label=Follow&style=social)](https://twitter.com/ceramicnetwork)\r\n\r\n## Getting started\r\n\r\n### Installation\r\n\r\n```\r\n$ npm install @ceramicnetwork/anchor-utils\r\n```\r\n\r\n### Usage\r\n\r\n```ts\r\nimport { convertEthHashToCid } from '@ceramicnetwork/anchor-utils'\r\n\r\nconst cidHash = convertEthHashToCid(stringHash.slice(2))\r\n```\r\n\r\n## Development\r\n\r\nRun tests:\r\n\r\n```shell\r\nnpm test\r\n```\r\n\r\nRun linter:\r\n\r\n```shell\r\nnpm run lint\r\n```\r\n\r\n## Contributing\r\n\r\nWe are happy to accept small and large contributions. Make sure to check out the\r\n[Ceramic specifications](https://github.com/ceramicnetwork/ceramic/blob/main/SPECIFICATION.md)\r\nfor details of how the protocol works.\r\n\r\n## License\r\n\r\nMIT or Apache-2.0\r\n","readmeFilename":"README.md","_id":"@cambrianprotocol/anchor-utils@1.12.0-rc.0","_nodeVersion":"16.15.1","_npmVersion":"lerna/4.0.0/node@v16.15.1+x64 (win32)","dist":{"integrity":"sha512-u10MGR6KHYABF83JV+HRyer8iszg6WfY1W0LSPeqUmzy0OaB9iX3gO4ZfEINdpn2uk0rKtxOcd1WPn2pBIVpcA==","shasum":"2a53166a37d0389f155e3010855992b666172452","tarball":"https://registry.npmjs.org/@cambrianprotocol/anchor-utils/-/anchor-utils-1.12.0-rc.0.tgz","fileCount":58,"unpackedSize":40432,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAmI37xreWerJ3/5hrSqtoQjM12PuRdrZMyO3t7rFv8wAiAHsW2nWUIzjHPIpzwVW6WWI9yyXEn6PQhsjokdKmDaeg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkCLx2ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrIXBAAgJbOFLZmW0Ki2vH59B1uM/iwJF/WPH8UJqCrHeLrppWnuzKW\r\nSAajN+c1zRrdtuswrLYD8N/AqBqVHWr9t7AkISKUs92kpkF3U/MiPMphQ0BF\r\nch0Qc7A31P8siAfwyu5tqjqAp0bJhK3UWUU5DwtOwx1LT1DriNYGk4upMc6u\r\nESbxNRSfNCdv18YT1SgoifJ+N8fx7LUsGSv3kQeIwMGvUdEvanUKnqVQcYrc\r\nIfHpCeVukKBTFt7PTJYXnoR0jfCsq2QlTJbObtheKdk/81hAFlqf2vTq7cF0\r\nfWvlhkJnIr8+4IL+hEGBRK5E9fsTlv9JLMESSNXjbTl7CjQxVqTrrKMieLIZ\r\naTZunV91jgF34ORetgYSSunyn2YAbW7ngXsrbRKCPJE2eEi09qoNAMkQ716U\r\nL8MIGNzgtk6E9Hofl+fZOKSnpSKBDeMjxTGm/ic6MIFyjGXOyHm5XMvabxDN\r\nQrP7H8ixWyTyP/OvumHF6uJnb29vLB5Un/lwhk5yTzg9pCxGllpGExTe75i4\r\n+JTpeLMjLH68mKO7twfy/CK/pzd6oHYQbPOy2j4JK8saz6soiZaLtUTlTzRn\r\ncgQwcH3tX6dS7FrHWWQ/syFIDZ2qc/JS5bNznNn6/eVHO1AqRtEHXkYDJuka\r\n/LtGEJivQK3lj4XMPxuhJ0JPrfIGZ1sJIUk=\r\n=yvDy\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"zktruth","email":"nic@cambrianprotocol.com"},"maintainers":[{"name":"zktruth","email":"nic@cambrianprotocol.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/anchor-utils_1.12.0-rc.0_1678294134384_0.18157785332902554"},"_hasShrinkwrap":false},"1.12.0":{"name":"@cambrianprotocol/anchor-utils","version":"1.12.0","description":"Ceramic anchor contract constants, interface and utilities","keywords":["ceramic","anchor"],"main":"./lib/index.js","types":"./lib/index.d.ts","type":"module","directories":{"lib":"./lib"},"sideEffects":false,"exports":{".":"./lib/index.js"},"scripts":{"test":"NODE_OPTIONS=--experimental-vm-modules npx jest --silent --coverage","build":"npx tsc --project tsconfig.json","prepublishOnly":"npm run build","prebuild":"npm run clean","lint":"npx eslint ./src --ext .js,.jsx,.ts,.tsx","clean":"npx rimraf ./lib"},"author":{"name":"3Box Labs"},"license":"(Apache-2.0 OR MIT)","dependencies":{"@cambrianprotocol/common":"^2.27.0","@ethersproject/abi":"^5.7.0","multiformats":"^11.0.1","uint8arrays":"^4.0.3"},"devDependencies":{"@ceramicnetwork/streamid":"^2.14.0","@ethersproject/providers":"^5.5.1","@stablelib/sha256":"^1.0.1"},"publishConfig":{"access":"public"},"gitHead":"7fec99b17e8e28e93ef34002755d5240db492a32","_id":"@cambrianprotocol/anchor-utils@1.12.0","_nodeVersion":"16.15.1","_npmVersion":"lerna/4.0.0/node@v16.15.1+x64 (win32)","dist":{"integrity":"sha512-fPF1D8HdLtr45MzVb3aqSTy1+/nLNiRR5bnJ3Gic6Ny/XM+/aF6qkMLGkwRChsz3JS5LO6B02gSmmABbWUgcjw==","shasum":"3cfedf1af577ae03b5959106053857cccfd65935","tarball":"https://registry.npmjs.org/@cambrianprotocol/anchor-utils/-/anchor-utils-1.12.0.tgz","fileCount":58,"unpackedSize":40422,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCTbMOAXK20kAVYyjyCgZzeC7/+mEQEE8/LULSddYX/7wIhAKD9NqzdcV3yPKQCNdGbV1qeQ7W6NZRxFwAHHtg2G8Uv"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkCMKhACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmov3A//XQZIR4R8s5eHtws8arrcGqGqDII5LpaowoLNhw7AElcDgf54\r\ns6QO4Rf5e1zLFCoIV/ZrUn65lTCf2RhMtAknaWV5x7DdIBzdn/bxR2Mdq1HR\r\nRclEz6edaVAb8/GkU3YKwx5rFauWm4I6aDQl3uFf4z2ziXKBOreUfbVCleI6\r\n1aQamC9I2KjM1EIjyZFtVFoW11uFBjtXrVYhEC9Yk6FkWnDvJXLNnsIykTLb\r\nXFuoq4/2rT0nbrlW9bmchJAfWEMPIiFnf92TG9WHysAJ4Nwzh1L3qlHm9X7h\r\nRfivIw5UhMoutIxm0j0Yxb7orSYofGeaIMwSa/AkMAGtG0sL4mDCgYKwPpue\r\nz/oIAHXFnat6clQpWKM4zGDObf5zLEmQEax9k5IyuRBKCqj9+KwqS2Y+96V9\r\n0eVxlV7ZkuPj3TunGVcqtht44qu/EAeRQBrQi7SzK7f/4MWX4kbS5ifHeg0c\r\n/jYjsjQZbQjBCwrN9GvRcEP6uq6h4QcpEk+VzLNINbjnnDjOTXsn/DjTkJWl\r\n0YCGNKJCHWyV+/zpPLipSLanr6dWUXAkhUPCgAPTNT32sE9UrJksZpLQpmVK\r\nDLyN8AQqeN8r7J8p6iW9p+PDGBCFmT+OEuaGy+FaQXVfySg1hqb5fgFfYEBK\r\n1WQ6VMNELx33ujplyiollt6amvhVmBdW3Cg=\r\n=F7qE\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"zktruth","email":"nic@cambrianprotocol.com"},"maintainers":[{"name":"zktruth","email":"nic@cambrianprotocol.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/anchor-utils_1.12.0_1678295713569_0.28393449162003304"},"_hasShrinkwrap":false}},"time":{"created":"2023-03-08T10:39:49.258Z","1.8.0-rc.0":"2023-03-08T10:39:49.554Z","modified":"2023-03-08T17:15:13.864Z","1.9.0-rc.0":"2023-03-08T11:38:40.089Z","1.10.0-rc.0":"2023-03-08T14:39:18.066Z","1.11.0-rc.0":"2023-03-08T15:44:18.282Z","1.12.0-rc.0":"2023-03-08T16:48:54.645Z","1.12.0":"2023-03-08T17:15:13.749Z"},"maintainers":[{"name":"zktruth","email":"nic@cambrianprotocol.com"}],"description":"Ceramic anchor contract constants, interface and utilities","keywords":["ceramic","anchor"],"author":{"name":"3Box Labs"},"license":"(Apache-2.0 OR MIT)","readme":"# Ceramic anchor contract utilities\r\n\r\n![ceramicnetwork](https://circleci.com/gh/ceramicnetwork/js-ceramic.svg?style=shield)\r\n[![MIT license](https://img.shields.io/badge/License-MIT-blue.svg)](https://lbesson.mit-license.org/)\r\n[![](https://img.shields.io/badge/Chat%20on-Discord-orange.svg?style=flat)](https://discord.gg/6VRZpGP)\r\n[![Twitter](https://img.shields.io/twitter/follow/ceramicnetwork?label=Follow&style=social)](https://twitter.com/ceramicnetwork)\r\n\r\n## Getting started\r\n\r\n### Installation\r\n\r\n```\r\n$ npm install @ceramicnetwork/anchor-utils\r\n```\r\n\r\n### Usage\r\n\r\n```ts\r\nimport { convertEthHashToCid } from '@ceramicnetwork/anchor-utils'\r\n\r\nconst cidHash = convertEthHashToCid(stringHash.slice(2))\r\n```\r\n\r\n## Development\r\n\r\nRun tests:\r\n\r\n```shell\r\nnpm test\r\n```\r\n\r\nRun linter:\r\n\r\n```shell\r\nnpm run lint\r\n```\r\n\r\n## Contributing\r\n\r\nWe are happy to accept small and large contributions. Make sure to check out the\r\n[Ceramic specifications](https://github.com/ceramicnetwork/ceramic/blob/main/SPECIFICATION.md)\r\nfor details of how the protocol works.\r\n\r\n## License\r\n\r\nMIT or Apache-2.0\r\n","readmeFilename":"README.md"}