{"_id":"@buidlerlabs/rollup-plugin-hashgraph-venin","_rev":"1-3dc15eb26679fd9654db7b6d1fbda617","name":"@buidlerlabs/rollup-plugin-hashgraph-venin","dist-tags":{"latest":"0.8.1","beta":"0.8.2-beta.0"},"versions":{"0.8.1":{"author":{"name":"Buidler Labs Developers","email":"devs@buidlerlabs.com"},"description":"The Rollup plugin aiding to bundle the Hashgraph Venin Js library","engines":{"node":">=14.8"},"exports":{".":{"import":"./dist/plugin.mjs"}},"module":"dist/plugin.mjs","name":"@buidlerlabs/rollup-plugin-hashgraph-venin","scripts":{"build:4-publish":"run-p build:esm build:declarations","build:bundle-test-rollup":"rollup -c ./test/rollup.config.mjs","build:esm":"babel --env-name esm lib --extensions .ts --out-dir dist --source-maps --out-file-extension .mjs","build:declarations":"tsc","clean":"run-p clean:bundle-test-rollup clean:esm clean:declarations","clean:bundle-test-rollup":"rm -fr test/lib.esm","clean:declarations":"rm -fr types","clean:esm":"rm -fr dist","lint":"eslint . --ext ts","publish:npm":"run-s clean build:4-publish && npm publish --access public","pretest":"run-s build:4-publish build:bundle-test-rollup","test":"run-s test:in-browser","test:in-browser":"karma start ./test/karma.smoke.conf.cjs"},"keywords":["VeninJs","rollup-plugin","Hedera","Hashgraph","Smart Contracts"],"license":"MIT","dependencies":{"@babel/runtime":"^7.17.2","@rollup/plugin-commonjs":"^22.0.2","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^13.3.0","magic-string":"^0.25.7","rollup":"^2.78.0","rollup-plugin-node-polyfills":"^0.2.1","rollup-plugin-web-worker-loader":"^1.6.1","solc":"0.8.9","tslib":"^2.3.1"},"devDependencies":{"@babel/cli":"^7.16.8","@babel/core":"^7.16.12","@babel/plugin-transform-runtime":"^7.17.0","@babel/preset-env":"^7.16.11","@babel/preset-typescript":"^7.16.7","@rollup/plugin-babel":"^5.3.0","@typescript-eslint/eslint-plugin":"^5.35.1","@typescript-eslint/parser":"^5.35.1","babel-plugin-add-import-extension":"^1.6.0","dotenv":"^10.0.0","eslint":"^8.22.0","eslint-config-prettier":"^8.5.0","events":"^3.3.0","karma":"^6.3.13","karma-chrome-launcher":"^3.1.0","karma-jasmine":"^4.0.1","npm-run-all":"^4.1.5","prettier":"^2.6.2","puppeteer":"^13.1.3","typescript":"^4.5.5"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/buidler-labs/hashgraph-venin-rollup.git"},"type":"module","types":"./types/plugin.d.ts","version":"0.8.1","peerDependencies":{"@buidlerlabs/hashgraph-venin-js":"~0.8.1"},"gitHead":"9b8a6a85646921b438fb7ae8845547f23cae22f1","bugs":{"url":"https://github.com/buidler-labs/hashgraph-venin-rollup/issues"},"homepage":"https://github.com/buidler-labs/hashgraph-venin-rollup#readme","_id":"@buidlerlabs/rollup-plugin-hashgraph-venin@0.8.1","_nodeVersion":"16.14.2","_npmVersion":"8.5.5","dist":{"integrity":"sha512-5BVCWceBDG80nU67kxcIToT/bDE+m6yBFE8ypenoZbL2ljICH8lfO5RYCR/ZMW/WTl0bhA5+egDCp5Kml9JTpA==","shasum":"3e260528b7042d9dbfb9f5d056f0af9890b027a7","tarball":"https://registry.npmjs.org/@buidlerlabs/rollup-plugin-hashgraph-venin/-/rollup-plugin-hashgraph-venin-0.8.1.tgz","fileCount":24,"unpackedSize":69273,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBAI0ZpP222uTlWkiilCP8KIi/S+lVGYIe+UqXK0g1LjAiEAnSM1GWFuBWqlV0R4Btl2KcpltMtMcSUFUghJml1Y+oU="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjf1lYACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr5ig//fCujKNfwWRNgBSMhczf73cUwTNeyJGxjT+taBB8+oT3+LQcH\r\nGqmPtZ41UO0mhgUsAIZuwZ+CsS103bi+pLlTbFpY2D10R7YDDn1cfj8xngiR\r\nG0E+JwIHW1fomHD7gtHSvgo4X7O7e3+MV8gu7+qSAOFAA88E1MQBh47JVJBm\r\nRRBFl60k9pyT+S4clNjTyChvjr22nJNheimZE+1tDYEy8kfhDuwStjLnmR3G\r\n5vpXCiYYS4prnyRUUppwKV08tOyv6ZIEtlomcB0rKTjCBjNMmotM3nSVQzT/\r\nIeqmMqEIf3IAIBlnfsxt61bJQQsKJH0LctnARTABLRkpfqd/nSP8D1Lv/BGV\r\nRnqI1EefruOwFa4BCPu6du5Hd+U7XBMmDrQWpUnJbI7Q1iys0OR31ZPK5bsT\r\nPS9dK3o2772d6y42uBGqTBybSamgBXZJyMRkIsiUV0wCl2qTD4IA90LojpLm\r\n3XPOSOA3uJXy2huK0+kJLJm38HOyzPy4OOBIM1UkFkx9tCnJJBLaK9QIc8H8\r\nK81/z1sq2JYpMkudf3ztgr68B1Hvsl69THyeKlwU1dozzWHgjcZqMSm/Qrqu\r\njt1OKaM2rvOQ6ommtfrdBfxh+TibbCMDeAahLbEKA1zRAbrbyZZWLfR4PC4D\r\nkMMbIklmeiWnZjYjbJILo3GPAbbawJOmV5o=\r\n=/gD6\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"3nigma","email":"victor.adascalitei@3vs.ro"},"directories":{},"maintainers":[{"name":"vladuts","email":"vlad.oprisor95@gmail.com"},{"name":"victorholo","email":"victor.holotescu@gmail.com"},{"name":"3nigma","email":"victor.adascalitei@3vs.ro"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-hashgraph-venin_0.8.1_1669290328422_0.8955237105800056"},"_hasShrinkwrap":false},"0.8.2-beta.0":{"author":{"name":"Buidler Labs Developers","email":"devs@buidlerlabs.com"},"description":"The Rollup plugin aiding to bundle the Hashgraph Venin Js library","engines":{"node":">=14.8"},"exports":{".":{"import":"./dist/plugin.mjs"}},"module":"dist/plugin.mjs","name":"@buidlerlabs/rollup-plugin-hashgraph-venin","scripts":{"build:4-publish":"run-p build:esm build:declarations","build:bundle-test-rollup":"rollup -c ./test/rollup.config.mjs","build:esm":"babel --env-name esm lib --extensions .ts --out-dir dist --source-maps --out-file-extension .mjs","build:declarations":"tsc","clean":"run-p clean:bundle-test-rollup clean:esm clean:declarations","clean:bundle-test-rollup":"rm -fr test/lib.esm","clean:declarations":"rm -fr types","clean:esm":"rm -fr dist","lint":"eslint . --ext ts","publish:npm":"run-s clean build:4-publish && npm publish --access public","pretest":"run-s build:4-publish build:bundle-test-rollup","test":"run-s test:in-browser","test:in-browser":"karma start ./test/karma.smoke.conf.cjs"},"keywords":["VeninJs","rollup-plugin","Hedera","Hashgraph","Smart Contracts"],"license":"MIT","dependencies":{"@babel/runtime":"^7.17.2","@rollup/plugin-commonjs":"^22.0.2","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^13.3.0","magic-string":"^0.25.7","rollup":"^2.78.0","rollup-plugin-node-polyfills":"^0.2.1","rollup-plugin-web-worker-loader":"^1.6.1","solc":"0.8.9","tslib":"^2.3.1"},"devDependencies":{"@babel/cli":"^7.16.8","@babel/core":"^7.16.12","@babel/plugin-transform-runtime":"^7.17.0","@babel/preset-env":"^7.16.11","@babel/preset-typescript":"^7.16.7","@rollup/plugin-babel":"^5.3.0","@typescript-eslint/eslint-plugin":"^5.35.1","@typescript-eslint/parser":"^5.35.1","babel-plugin-add-import-extension":"^1.6.0","dotenv":"^10.0.0","eslint":"^8.22.0","eslint-config-prettier":"^8.5.0","events":"^3.3.0","karma":"^6.3.13","karma-chrome-launcher":"^3.1.0","karma-jasmine":"^4.0.1","npm-run-all":"^4.1.5","prettier":"^2.6.2","puppeteer":"^13.1.3","typescript":"^4.5.5"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/buidler-labs/hashgraph-venin-rollup.git"},"type":"module","types":"./types/plugin.d.ts","version":"0.8.2-beta.0","peerDependencies":{"@buidlerlabs/hashgraph-venin-js":"~0.8.2-beta.0"},"readme":"# Hashgraph Venin Rollup\n\n[![Discord support channel](https://img.shields.io/discord/949250301792239686?style=flat-square)](https://discord.com/invite/4mYCre869F)\n![contributions](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)\n![license](https://img.shields.io/github/license/buidler-labs/hashgraph-venin-rollup.svg?colorB=ff0000&style=flat-square)\n![node version](https://img.shields.io/badge/Node.js-%3E%3D14.8.0-orange.svg?style=flat-square)\n\n... rollup's best friend for bundling [Venin](https://github.com/buidler-labs/hashgraph-venin-js)\n\n## Quick. No questions asked, TL;LDR;\nDo a\n```\nnpm install --save-dev @buidlerlabs/rollup-plugin-hashgraph-venin\n```\nthen, in your `rollup.config.json` or any [other Rollup config option of preference](https://rollupjs.org/guide/en/#configuration-files), do\n\n```js\nimport venin from \"@buidlerlabs/rollup-plugin-hashgraph-venin\";\n\n//...\nexport default {\n  //...\n  plugins: [\n    venin(),\n    //...\n  ]\n  //...\n}\n```\n\n*That's it!* 🍾 Now you can bundle your dApp and have Venin embedded in it, ready to be used. 🥂\n\n## Config-ing\nYou can configure the plugin by passing in an object with the following properties and meaning:\n\n| Prop  | Description  |\n| ----- | ----------- |\n`contracts.path` | Where to load the solidity contracts from\n`contracts.recurse` | `true` to deep load all the inner directory's contracts from `contracts.path`, `false` to only load the provided top directory\n`environment` | The environment object passed to Venin to be used when creating `ApiSession.default` instances\n`includeCompiler` | `true` to embed a web-worker that will allow in-browser compilation (note: the solidity compiler is lazy loaded the first time a `Contract.newFrom`/`Contract.allFrom` is called) and `false` if you don't intend to use this feature (conserves bandwidth)\n`sourceMap` | `true` to include the source-map (helpful for debugging), `false` otherwise\n\nEmbedding the plugin with no such object is equivalent to virtually calling:\n```\nvenin({\n  contracts: {\n    path: './contracts',\n    recurse: false\n  },\n  environment: process.env,\n  includeCompiler: false,\n  sourceMap: false\n})\n```\n\nFor an immediate working example, have a look at [our bundler recipe used by our test-base](https://github.com/buidler-labs/hashgraph-venin-rollup/blob/main/test/rollup.config.js).\n\n## Further docs\nNeed more context and configurability? Check our [official docs page](https://hsj-docs.buidlerlabs.com/) for more info.\n\n## Testing it\n\nHave the `.env` file ready (see above) and run\n\n```\n$ npm test\n```\n\n## Contributions\n\n... are more then welcome! Head over to [our issues page](https://github.com/buidler-labs/hashgraph-venin-js/issues) and let us know your thoughts or, better yet, open that PR and lets discuss it there! \n\nOh! And if you ever feel like talking to us, you can [reach us on discord](https://discord.gg/4mYCre869F). We're very friendly! 👨‍👩‍👧‍👦\n\n## License\n\nThis work has been published under the MIT License.\n","readmeFilename":"README.md","gitHead":"a77e56f4ed96470c46a5503a4edb456b2ae4f087","bugs":{"url":"https://github.com/buidler-labs/hashgraph-venin-rollup/issues"},"homepage":"https://github.com/buidler-labs/hashgraph-venin-rollup#readme","_id":"@buidlerlabs/rollup-plugin-hashgraph-venin@0.8.2-beta.0","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-loDBl992lKJc0hHDWmonDISLIDTWFOYJZj54Kr0RerFH5Q0c/YWoBbgwja0Fk2tGnKbwv3oi75gyZoW7LT12aA==","shasum":"6f786ce500b213c31099d6d036246ea043f7e1e2","tarball":"https://registry.npmjs.org/@buidlerlabs/rollup-plugin-hashgraph-venin/-/rollup-plugin-hashgraph-venin-0.8.2-beta.0.tgz","fileCount":24,"unpackedSize":68057,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDj40pUT1XTQti0TWAqMhcV9e9bgnU2xoyeeOmIYnG6kwIhAIRyw8e//5NCMD3VJPI1Ov+xRCGMKLLH6Cl+sVozgmZk"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjgJ5DACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq5kQ//RLFcBaBrKT5cPyrTm49mSin1P/hQz99RY0p6grXSbnPOerqH\r\n6kVqRDpLW/ovxuRWdfBwtdLl6hw3HeJJnocrm+V4Cs98C2aiuL6HjdyI7+7V\r\n9HIBYFRk+4uUkqG35narmLNZQRw7zPZWjynLtWbJTgSqSIYHOtHiHkpYxjOz\r\npuYmmFovLptNJlal1TrFFQ3VKinNUshK/PXibMEX0KeP9h+WUp9tmkQftRnR\r\nvFEceJ4WRpx33NdQ6kYCaM8wF0pS1JfgNFom+olc8xI4bxe0QN/ZXCage+rM\r\nyPPXpSKLCct3RTuyXvJhcVExdRNy70h/WgfnRGo6V7be+5UCuXrA3LWtj+GH\r\n4z6aK4MgZvXBT6dlmeAFffBhV31XqnNOfODoaHe+2AamitOFg5cMZ7DdVYPZ\r\n8/ZQ1zCCUFpeo4oVM8hv5rz4FcZF0Lc/hWWHrZ3mE3wWdlJo0EODp6FV0pxz\r\ne2vn7+4vQ+izbxwFw6PQ06CJIqUUJfgVAoJAYy9Kp+6FK3NJdd0atXI7NQhH\r\ni80eDhmY2U4P72l/rwS4sXzZ/p9Pc0ueh3CMQ8f5/pgwJHmZKA4Kddm6yhvL\r\nN/LReTbdxSXSdHN3LQ9WzvaSuO2ljw+MhTHitzMfoTZnA+xCarpYxMo/GQ7v\r\nS+L9dmLh0LFXaC1pIASDC2bPcBuTJk99xhk=\r\n=Nx1Y\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"victorholo","email":"victor.holotescu@gmail.com"},"directories":{},"maintainers":[{"name":"vladuts","email":"vlad.oprisor95@gmail.com"},{"name":"victorholo","email":"victor.holotescu@gmail.com"},{"name":"3nigma","email":"victor.adascalitei@3vs.ro"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-hashgraph-venin_0.8.2-beta.0_1669373507318_0.41459342385764164"},"_hasShrinkwrap":false}},"time":{"created":"2022-11-24T11:45:28.369Z","0.8.1":"2022-11-24T11:45:28.575Z","modified":"2022-11-25T10:51:47.577Z","0.8.2-beta.0":"2022-11-25T10:51:47.457Z"},"maintainers":[{"name":"vladuts","email":"vlad.oprisor95@gmail.com"},{"name":"victorholo","email":"victor.holotescu@gmail.com"},{"name":"3nigma","email":"victor.adascalitei@3vs.ro"}],"description":"The Rollup plugin aiding to bundle the Hashgraph Venin Js library","homepage":"https://github.com/buidler-labs/hashgraph-venin-rollup#readme","keywords":["VeninJs","rollup-plugin","Hedera","Hashgraph","Smart Contracts"],"repository":{"type":"git","url":"git+https://github.com/buidler-labs/hashgraph-venin-rollup.git"},"author":{"name":"Buidler Labs Developers","email":"devs@buidlerlabs.com"},"bugs":{"url":"https://github.com/buidler-labs/hashgraph-venin-rollup/issues"},"license":"MIT","readme":"","readmeFilename":""}