{"_id":"@buidlerlabs/rollup-plugin-hedera-strato","_rev":"4-99653ec49b1fa44b70350fb212e1890a","name":"@buidlerlabs/rollup-plugin-hedera-strato","dist-tags":{"latest":"0.8.0","alpha":"0.7.6-alpha.0"},"versions":{"0.7.4":{"author":{"name":"Buidler Labs Developers","email":"devs@buidlerlabs.com"},"description":"The Rollup plugin aiding to bundle the Hedera Strato Js library","engines":{"node":">=14.8"},"exports":{".":{"node":"./lib.cjs/plugin.js","default":"./lib.esm/plugin.js"}},"main":"./lib.cjs/plugin.js","module":"./lib.esm/plugin.js","name":"@buidlerlabs/rollup-plugin-hedera-strato","scripts":{"build:4-publish":"run-s build:cjs build:esm build:declarations","build:bundle-test-rollup":"rollup -c ./test/rollup.config.js","build:cjs":"babel --env-name cjs lib --extensions .ts --out-dir lib.cjs --source-maps","build:esm":"babel --env-name esm lib --extensions .ts --out-dir lib.esm --source-maps","build:declarations":"tsc","clean":"run-s clean:bundle-test-rollup clean:cjs clean:esm clean:declarations","clean:bundle-test-rollup":"rm -fr test/lib.esm","clean:cjs":"rm -fr lib.cjs","clean:declarations":"rm -fr types","clean:esm":"rm -fr lib.esm","lint":"eslint . --ext ts","publish:npm":"run-s clean build:4-publish && npm publish --access public","test":"run-s build:4-publish build:bundle-test-rollup test:in-browser","test:in-browser":"karma start ./test/karma.smoke.conf.js"},"keywords":["StratoJs","rollup-plugin","Hedera","Hashgraph","Smart Contracts"],"license":"MIT","dependencies":{"@babel/runtime":"^7.17.2","@rollup/plugin-commonjs":"^21.0.2","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^13.1.3","magic-string":"^0.25.7","rollup":"^2.68.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.11.0","@typescript-eslint/parser":"^5.11.0","dotenv":"^10.0.0","eslint":"^8.8.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","rollup-plugin-terser":"^7.0.2","typescript":"^4.5.5"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/buidler-labs/hedera-strato-rollup.git"},"types":"./types/plugin.d.ts","version":"0.7.4","peerDependencies":{"@buidlerlabs/hedera-strato-js":"^0.7.4"},"gitHead":"48bc316efd510d3856e5f8c5a69545baa873ef2a","bugs":{"url":"https://github.com/buidler-labs/hedera-strato-rollup/issues"},"homepage":"https://github.com/buidler-labs/hedera-strato-rollup#readme","_id":"@buidlerlabs/rollup-plugin-hedera-strato@0.7.4","_nodeVersion":"17.8.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-+LC1mphgIGd4pJ9bnBCIUtE12JOKkdRiS/SAL5Ulyl6RKWWmzjI7C7XKqsVmAjJ5/G8KE9oejpy7i7shAJovYA==","shasum":"30bb59cfe818c834922ec997c27dd105c25648a6","tarball":"https://registry.npmjs.org/@buidlerlabs/rollup-plugin-hedera-strato/-/rollup-plugin-hedera-strato-0.7.4.tgz","fileCount":45,"unpackedSize":142356,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCaRM+jIb3lr02+wr0erExYw6fcVrZhJj2lbzmZv6wXkQIhAKGuX8kJrl6XlzHtL82qJ5Ob/11glj7arEt9eW1ydoVs"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiXSWGACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo3+g//fMiSdHBUAmUQhkw5xRi77rHqgHDe1jxeVo8k588uEqBOXUEx\r\nN2BfCvWj/cSi/uZds8Nfq8QHphLK3+rIsLBmPLTgu7slobERsCcTOT8xu/+V\r\nAPRHV+PkjzuIDi2mOIbV2mjcan1VL/bXdt/do5NdcRnOqERKFF+gap5U1tJR\r\nSSiMpvXhBmn5gMW/OSZt2sEK58BvJzeTuzq+8j3XzOdWUewPd1RI9XyKgxBT\r\nL8aGkyCqIK/4h3Z1YjsyTTy3VGPqlHD2L64dAb71gfvFMCJ/adkwvgDw9mkg\r\nUd3pRupiFOVISspD5LePaGClW6poS5tVinQlbsLxdllFUCAfFxqF9/aqR/H0\r\nmtRZ0rDnitXPU0Jerb6NmSq/WPjlyrsbwL8KnuWKMgTnTjKIz3l5e7MuXLb2\r\nMsgaWZSuAjH/S05dV9EmSUQAmn7bYoU6jf+uNpzkiVMNPvqi7Tk5W+m9GcOu\r\nNO623EXCXl24wEHHHRf260YUwfY2zQMCUQQKoAQJayQm8SxMDRWyWo3Nkuuc\r\ngjFBGo6gd0ejquVe6OOcGIALghH8Zaj7JuCpFpjrx8ebe6ayStlqxjJf80Ei\r\nKOXrzhugZAiUV7As3zqHrcmVzcMIeA2dYJJST2/a/hGb2gbhEOzm5OaE47lL\r\nOTrXXwN5DC6huzOE/bj/I3jUSVvLV8LhVSs=\r\n=RiAC\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-hedera-strato_0.7.4_1650271622527_0.19172375580361978"},"_hasShrinkwrap":false,"deprecated":"Due to trademarked naming concerns, please use @buidlerlabs/rollup-plugin-hashgraph-venin from now on. Sorry for any inconveniance."},"0.7.6-alpha.0":{"author":{"name":"Buidler Labs Developers","email":"devs@buidlerlabs.com"},"description":"The Rollup plugin aiding to bundle the Hedera Strato Js library","engines":{"node":">=14.8"},"exports":{".":{"require":"./lib.cjs/plugin.js","import":"./lib.esm/plugin.js"}},"main":"lib.cjs/plugin.js","module":"lib.esm/plugin.js","name":"@buidlerlabs/rollup-plugin-hedera-strato","scripts":{"build:4-publish":"run-p build:cjs build:esm build:declarations","build:bundle-test-rollup":"rollup -c ./test/rollup.config.js","build:cjs":"babel --env-name cjs lib --extensions .ts --out-dir lib.cjs","build:esm":"babel --env-name esm lib --extensions .ts --out-dir lib.esm --source-maps","build:declarations":"tsc","clean":"run-s clean:bundle-test-rollup clean:cjs clean:esm clean:declarations","clean:bundle-test-rollup":"rm -fr test/lib.esm","clean:cjs":"rm -fr lib.cjs","clean:declarations":"rm -fr types","clean:esm":"rm -fr lib.esm","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.js"},"keywords":["StratoJs","rollup-plugin","Hedera","Hashgraph","Smart Contracts"],"license":"MIT","dependencies":{"@babel/runtime":"^7.17.2","@rollup/plugin-commonjs":"^21.0.2","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^13.1.3","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.11.0","@typescript-eslint/parser":"^5.11.0","dotenv":"^10.0.0","eslint":"^8.8.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/hedera-strato-rollup.git"},"types":"./types/plugin.d.ts","version":"0.7.6-alpha.0","peerDependencies":{"@buidlerlabs/hedera-strato-js":">0.7.6-alpha <0.7.6-beta"},"readme":"# Hedera Strato 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/hedera-strato-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 [Strato](https://github.com/buidler-labs/hedera-strato-js)\n\n## Quick. No questions asked, TL;LDR;\nDo a\n```\nnpm install --save-dev @buidlerlabs/rollup-plugin-hedera-strato\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 strato from \"@buidlerlabs/rollup-plugin-hedera-strato\";\n\n//...\nexport default {\n  //...\n  plugins: [\n    strato(),\n    //...\n  ]\n  //...\n}\n```\n\n*That's it!* 🍾 Now you can bundle your dApp and have Strato 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 Strato 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```\nstrato({\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/hedera-strato-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/hedera-strato-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":"3ea5871a15bcee353eff957add7cc2786b89c234","bugs":{"url":"https://github.com/buidler-labs/hedera-strato-rollup/issues"},"homepage":"https://github.com/buidler-labs/hedera-strato-rollup#readme","_id":"@buidlerlabs/rollup-plugin-hedera-strato@0.7.6-alpha.0","_nodeVersion":"16.14.2","_npmVersion":"8.5.5","dist":{"integrity":"sha512-zlEpBFFeO69UzdBRWbVx0eZLUxtxcjbnb5lR95Adj0LwN1RpX3/C1BGaplSrpI+y+Njs/0p96URXIuZ7BxxMtw==","shasum":"7c0e40bbbcb5d18a95d027d3aa0448e335d824e0","tarball":"https://registry.npmjs.org/@buidlerlabs/rollup-plugin-hedera-strato/-/rollup-plugin-hedera-strato-0.7.6-alpha.0.tgz","fileCount":33,"unpackedSize":104267,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDsfIM8SkUR1Tbul0MWT+x1A7id1f5n+Ft/fPFkvvGutAIgX5NsYBjYB1vOqywC23SmrkbsKj5Z4d3TTEM+zBTI7yk="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi/iHVACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmobjg//d0DZ37zs0ADxPCPh3wIAS3lgfuhFbXZ+4PZpzcduI1k33alS\r\n2FL8aVbbEx9xNNTb+wduq1+hmzMN6C4EDae180HJRUdlt6JmySCxBOBvLe4a\r\njorBNybHj7x4PaqQl7Zdoz1hyEoCYEMEpj54OJX4dvnzG6K8R4QGwFsl+UJ1\r\nX3J7e57hjP9Jug1bhWpVVOGhdbvsUMb2+yfbo5SpaivC+m+SbWd6gXxjHyvG\r\n71yTKB/KtdD/BFfnR9NXTgcwX2lzg94F1JkRGi4fQnE3mS1neiWd3eF9I/LG\r\nIetHWGnNhkN9AbJ9bAVeKBY/GWXtDoGbXTroNt8hggOAVNlvJxzgrRa+AH7A\r\n0MUIymGjnxhM3kjXQ1uSfBx/z0IXTFnVdQEcbYioxzew/TgOTU5o1mbXShIE\r\nlWKHoNCTOMY9v76Uv7Z6/gqbn3vADBhl2C0qVtH8AA1WlclFPQz4tULC5Gv1\r\n/QHA/0X4Hi9DuQVgZN+MYK4pnvWY+4RAMbHaZggPCHfE4AG2OPf2hNBi7bxA\r\naGJ/OzMIwNZN3hMRUD5AWJHhrqBwidZDqNARGdbZBXKh5rE6l6jYHmBetthF\r\n8lNpGxPOc9lyhBHNfxuLxbtXLaMNFCwkdbxxq/dZT4A70NoOCCyJ47SjoaRz\r\noz8MFCpnM2XkuDHXW2Yz7MhWEVWMEhW1x40=\r\n=MJ2C\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-hedera-strato_0.7.6-alpha.0_1660821973347_0.9257574104519115"},"_hasShrinkwrap":false,"deprecated":"Due to trademarked naming concerns, please use @buidlerlabs/rollup-plugin-hashgraph-venin from now on. Sorry for any inconveniance."},"0.7.6-beta.0":{"author":{"name":"Buidler Labs Developers","email":"devs@buidlerlabs.com"},"description":"The Rollup plugin aiding to bundle the Hedera Strato Js library","engines":{"node":">=14.8"},"exports":{".":{"import":"./dist/plugin.mjs"}},"module":"dist/plugin.mjs","name":"@buidlerlabs/rollup-plugin-hedera-strato","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":["StratoJs","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/hedera-strato-rollup.git"},"type":"module","types":"./types/plugin.d.ts","version":"0.7.6-beta.0","peerDependencies":{"@buidlerlabs/hedera-strato-js":"^0.7.6-beta"},"gitHead":"824901360ca4eec824c31d8b862fb96e0f3f8242","bugs":{"url":"https://github.com/buidler-labs/hedera-strato-rollup/issues"},"homepage":"https://github.com/buidler-labs/hedera-strato-rollup#readme","_id":"@buidlerlabs/rollup-plugin-hedera-strato@0.7.6-beta.0","_nodeVersion":"16.14.2","_npmVersion":"8.5.5","dist":{"integrity":"sha512-et6VE718oUXYG+hsZnhbrktxVX0uvBk/jHktR7ZsEQDghn7JBoysuBsvE9FYEsizR96qcBFk3OebffXn4QyULw==","shasum":"5b64906e4a3f406c72bbd9fc0bad0666e53a66d3","tarball":"https://registry.npmjs.org/@buidlerlabs/rollup-plugin-hedera-strato/-/rollup-plugin-hedera-strato-0.7.6-beta.0.tgz","fileCount":24,"unpackedSize":67863,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDKV34rgwioLAjTIN5/pjUKhzrc+aNM+nZ3d1Kr5IyhjAiBPGRYUmN0huWaqoxQBqMij60GMrEwz53SJrbBv+znKCw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjDKnnACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpkkA//Qk2upkWM+2px0+1ijxfz2GNklMRv/f5lKrv9V1LiMXsKrHIT\r\n3ppObzurskNvjJ0ZoA4ctTfqal6eBY9rFrQBVjAob1Yox/3PLziW7OICc+8l\r\nnHg1Z9n4E3LbhvNf4Jh6YEpWmOqWcP/DxLz89B+HwbJmYr1m67rYUcS9JgPl\r\n+vwr1//0sPBaOPz1tO0hYuprcgcLDNPws5uOgL/MR6zTmnHblJDMQWYq+/id\r\nmJPjTXUnZbs2ZXG6L99qSF17eMcnuObG2PhKqPhXyBI8pbdS992L1AFoj9Rj\r\nGPcSs8CafmSI6tWvdMFJeek6nQSUYkCURBP5yjovPv+MGyjoENC8F2FUnekN\r\nruF1ybassrsTsyJraSEGNDkkXmk3L0+WjH6f8C6RHtk0C7ZLn45PFafqgXDi\r\n9Wwt1pGeoq1nK1SB2l1z5SbdS2EPw60U/PyFGxCwL/nPpmtW7mqTcO7Fi98f\r\ndHrPkaa5upwRe9Ta9s3nPzx2BD6pgEJAzmj2oFg6KNKfr0+V4LsS9QhBCoKD\r\nFEfmFm012jXvHprJwn8tC6FhsMxmDpZgA0HUkPT+xKnUs796JMBwiLAJfeXP\r\nIE0mQ5K6GeGlK5C9nm17UyN+LlvJ6mhEh5M+OBGCSA0b59ppZ7O8VkxbF/IS\r\nNJmBaoYgGEMlunAafTdGs4aO6qqAJup2ifs=\r\n=NeBs\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-hedera-strato_0.7.6-beta.0_1661774311123_0.03818082578228221"},"_hasShrinkwrap":false,"deprecated":"Due to trademarked naming concerns, please use @buidlerlabs/rollup-plugin-hashgraph-venin from now on. Sorry for any inconveniance."},"0.8.0":{"author":{"name":"Buidler Labs Developers","email":"devs@buidlerlabs.com"},"description":"The Rollup plugin aiding to bundle the Hedera Strato Js library","engines":{"node":">=14.8"},"exports":{".":{"import":"./dist/plugin.mjs"}},"module":"dist/plugin.mjs","name":"@buidlerlabs/rollup-plugin-hedera-strato","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":["StratoJs","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/hedera-strato-rollup.git"},"type":"module","types":"./types/plugin.d.ts","version":"0.8.0","peerDependencies":{"@buidlerlabs/hedera-strato-js":"~0.8.0"},"gitHead":"f9710648b89646cee89198135044494cd898dda4","bugs":{"url":"https://github.com/buidler-labs/hedera-strato-rollup/issues"},"homepage":"https://github.com/buidler-labs/hedera-strato-rollup#readme","_id":"@buidlerlabs/rollup-plugin-hedera-strato@0.8.0","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-3bollfkWg7hZ5AyuPFTaXTnV+4dzUAfI7nLIolH9DcDndkgy6eEifxBOUrHWrZtmBSIDfweb9+f/+Y5LhkEWiA==","shasum":"4491e347d9c1f0e6484d8687f89233b10d4f5c9c","tarball":"https://registry.npmjs.org/@buidlerlabs/rollup-plugin-hedera-strato/-/rollup-plugin-hedera-strato-0.8.0.tgz","fileCount":24,"unpackedSize":67851,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC/GoTAoc00y5w+yloiWVNtt+Fg99NhwYdCEaA6gT1fTgIgH7EPe2oZy6KeB39GePxM4KHva54MXnZ47X4eeY6WEsg="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjQEXWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmovlg//eLivNxwyNSuVLy7lRsst1uQUN99UkSFUcEkXHfX2rqYmk4rn\r\nNs2HkmDgUD+zKVoULXRZqjOedzBYb4qlrkmmnl9PKCE1DWFo1aSsEcs2kAAf\r\nxtAAbDrJw+wSZ99NlRvoJy0DwxgGjtUjmcY3eqBM1x674DXW1vWKTN3vts0J\r\nOkDjVnLPJPDo3HrWdRd+qRQNEpV8FhrE3D/y8gz2zDvarFk0CMQ4NJjc4GUI\r\n1v7z6bM8OOaF1kVmtSYf07QRUfYGjf3htADb0pV0TasLUinHWEb/sVHP9y4J\r\n6+hzf9Uj8jyw07abgpvWnAVekF7dyxU0QdrAdfAFfv/As/ogJgtmv1CrzcL5\r\nLIhgYG9BZmRrU4JGjxoBz19Mn8dzlLmWnM8mGE3ZO6DjRUwKGxTbIt1XtoTp\r\nIV7Gd2ly4E+6qUMVAlQtP7PH0eUNJJ1OD7c4XobOvHwvoJ7kZsJaCE4f5iqV\r\nwAnNcFqNkkdRHYa3QxVmM6LL5khJTtbY+bA4yFTHP1YqmZhCbxg9kXdcNkfC\r\naOx9mJQITaRG+k8Md57twAYQWj/46nvN9rOxEB4abkmnJbiWxP4luf0h8rOw\r\ncHdep4vS4vbV9j6miFunRSmoq/B426XrT7UWOjLGdGjibx7obthpQoAKZZWL\r\nSOXGXc+ZnD0AkPYcVwuiP8DneskiUUmvmB0=\r\n=LADv\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-hedera-strato_0.8.0_1665156566733_0.7847033083696493"},"_hasShrinkwrap":false,"deprecated":"Due to trademarked naming concerns, please use @buidlerlabs/rollup-plugin-hashgraph-venin from now on. Sorry for any inconveniance."}},"time":{"created":"2022-04-18T08:47:02.447Z","0.7.4":"2022-04-18T08:47:02.690Z","modified":"2022-11-24T11:42:47.726Z","0.7.6-alpha.0":"2022-08-18T11:26:13.513Z","0.7.6-beta.0":"2022-08-29T11:58:31.324Z","0.8.0":"2022-10-07T15:29:26.970Z"},"maintainers":[{"name":"3nigma","email":"victor.adascalitei@3vs.ro"},{"name":"victorholo","email":"victor.holotescu@gmail.com"},{"name":"vladuts","email":"vlad.oprisor95@gmail.com"}],"description":"The Rollup plugin aiding to bundle the Hedera Strato Js library","homepage":"https://github.com/buidler-labs/hedera-strato-rollup#readme","keywords":["StratoJs","rollup-plugin","Hedera","Hashgraph","Smart Contracts"],"repository":{"type":"git","url":"git+https://github.com/buidler-labs/hedera-strato-rollup.git"},"author":{"name":"Buidler Labs Developers","email":"devs@buidlerlabs.com"},"bugs":{"url":"https://github.com/buidler-labs/hedera-strato-rollup/issues"},"license":"MIT","readme":"# Hedera Strato Rollup\r\n\r\n[![Discord support channel](https://img.shields.io/discord/949250301792239686?style=flat-square)](https://discord.com/invite/4mYCre869F)\r\n![contributions](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)\r\n![license](https://img.shields.io/github/license/buidler-labs/hedera-strato-rollup.svg?colorB=ff0000&style=flat-square)\r\n![node version](https://img.shields.io/badge/Node.js-%3E%3D14.8.0-orange.svg?style=flat-square)\r\n\r\n... rollup's best friend for bundling [Strato](https://github.com/buidler-labs/hedera-strato-js)\r\n\r\n## Quick. No questions asked, TL;LDR;\r\nDo a\r\n```\r\nnpm install --save-dev @buidlerlabs/rollup-plugin-hedera-strato\r\n```\r\nthen, in your `rollup.config.json` or any [other Rollup config option of preference](https://rollupjs.org/guide/en/#configuration-files), do\r\n\r\n```js\r\nimport strato from \"@buidlerlabs/rollup-plugin-hedera-strato\";\r\n\r\n//...\r\nexport default {\r\n  //...\r\n  plugins: [\r\n    strato(),\r\n    //...\r\n  ]\r\n  //...\r\n}\r\n```\r\n\r\n*That's it!* 🍾 Now you can bundle your dApp and have Strato embedded in it, ready to be used. 🥂\r\n\r\n## Config-ing\r\nYou can configure the plugin by passing in an object with the following properties and meaning:\r\n\r\n| Prop  | Description  |\r\n| ----- | ----------- |\r\n`contracts.path` | Where to load the solidity contracts from\r\n`contracts.recurse` | `true` to deep load all the inner directory's contracts from `contracts.path`, `false` to only load the provided top directory\r\n`environment` | The environment object passed to Strato to be used when creating `ApiSession.default` instances\r\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)\r\n`sourceMap` | `true` to include the source-map (helpful for debugging), `false` otherwise\r\n\r\nEmbedding the plugin with no such object is equivalent to virtually calling:\r\n```\r\nstrato({\r\n  contracts: {\r\n    path: './contracts',\r\n    recurse: false\r\n  },\r\n  environment: process.env,\r\n  includeCompiler: false,\r\n  sourceMap: false\r\n})\r\n```\r\n\r\nFor an immediate working example, have a look at [our bundler recipe used by our test-base](https://github.com/buidler-labs/hedera-strato-rollup/blob/main/test/rollup.config.js).\r\n\r\n## Further docs\r\nNeed more context and configurability? Check our [official docs page](https://hsj-docs.buidlerlabs.com/) for more info.\r\n\r\n## Testing it\r\n\r\nHave the `.env` file ready (see above) and run\r\n\r\n```\r\n$ npm test\r\n```\r\n\r\n## Contributions\r\n\r\n... are more then welcome! Head over to [our issues page](https://github.com/buidler-labs/hedera-strato-js/issues) and let us know your thoughts or, better yet, open that PR and lets discuss it there! \r\n\r\nOh! And if you ever feel like talking to us, you can [reach us on discord](https://discord.gg/4mYCre869F). We're very friendly! 👨‍👩‍👧‍👦\r\n\r\n## License\r\n\r\nThis work has been published under the MIT License.\r\n","readmeFilename":"README.md"}