{"_id":"@alicenet_/alicenetjs-legacy","_rev":"3-9a4c844c8c3dfd0b1d5b72831205e7c2","name":"@alicenet_/alicenetjs-legacy","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.0":{"name":"@alicenet_/alicenetjs-legacy","version":"1.0.0","description":"##### Requirements - `Nodejs 12+` - `NPM 6+` ##","main":"index.js","scripts":{"test":"mocha --recursive tests/**/*.js","test-unit":"mocha --recursive tests/unit","test-integration":"mocha --recursive tests/integration","test-single":"mocha","test-coverage":"nyc --exclude=src/GoWrappers/** --exclude=**/tests/** --reporter=cobertura --reporter=text npm run test","test-unit-coverage":"nyc --exclude=src/GoWrappers/** --exclude=**/tests/** npm run test-unit","test-integration-coverage":"nyc --exclude=src/GoWrappers/** --exclude=**/tests/** npm run test-integration","build-docs":"jsdoc -c jsdoc.json","lint":"eslint .","lint-fix":"eslint --fix ."},"author":{},"license":"MIT","dependencies":{"axios":"0.26.0","ethereum-cryptography":"^1.0.3","ethereumjs-util":"7.0.4","mad-doc-template":"git+https://github.com/MadBase/mad-doc-template.git","secp256k1":"^4.0.3"},"devDependencies":{"assert":"2.0.0","chai":"4.2.0","chai-as-promised":"7.1.1","dotenv":"8.4.0","eslint":"8.8.0","jsdoc":"3.6.6","mocha":"8.2.1","nyc":"15.1.0"},"licenseText":"MIT License\n\nCopyright (c) 2020 MadNet Foundation\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@alicenet_/alicenetjs-legacy@1.0.0","dist":{"shasum":"70af905fb002f3a1bb5306632ccdbf89e94779a1","integrity":"sha512-N/23XHFd7DWmCOAJemggL8J8olV0ZVFQxiFTKTsGpTANBUTMPPWZ+uTCONL2j/3CAgJAq6dqNp0EHlKo1bGDHQ==","tarball":"https://registry.npmjs.org/@alicenet_/alicenetjs-legacy/-/alicenetjs-legacy-1.0.0.tgz","fileCount":87,"unpackedSize":6786945,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDEl85tqbG4/jVYD9HFnbH7YHcIneqwFXho5J08mRm//QIgQAe73oR0gKwdTpNmCM/0jLeR8SM39IMeRPQzkVwTCCA="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj0X0sACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmraww//eNEjVkVGB9Sc8vdTf7EunW16KZ58xQg0hOhwJexw3vXB/r61\r\nfF1n8yOOjFBiLNHurE5X4AKTMfd2ZYOZr8Sz5loYAlgfFKWu5E/DL/MyUIXc\r\n7/XO5US/w604IFAJZ7EOfGqVpdUtijyPo9xGZIhvbTGBNDOnZaRZYnriRVaV\r\nFu5cYlP3HrHLiDD7V4oDZvJ4ey9bW0yBOWyTLZMqKlzPngmncTmKB4dxx8xm\r\nN4eFijU3Pb0UAlYIU7nIMnTNMtii4RUi/nUAlPPf703tpPXMAT6SSp2l5R+p\r\nmr2eoCaENDCsmJH6G1vH3eZcvwEjC0bY4QwU/iMxqE3zr0E+rCKUTemT916L\r\nUIFlx7hbinzNFu5gZFvsMinXyW6HIlxP14ETAYwR5Fm4nE4OzM0C4e2atfM/\r\nr3p38vCkdoKcwxDOYyWYISIApWkg5lb7l3KTA7LB2RaF1VCm79khZhYPXR8w\r\n0VOZ/M1ALnxSofy3MDD+wO/yaAGy3SkGcs9qvcOMtZ3gS/3MLm4C+ANjQkdk\r\nKLtrFIyfm6TYoxRdZQ2gT6jfQXpMZbD2B0AtPkuEuXyZJBiLxaB7OvhfqLvP\r\nuK/5wdl0etT4WE8GsxsMifugmW6t0hmLml49syRT5jqWHIvG2TX/EtK2W3s8\r\nr3Zi2AxPuVBO02bX8j6JQ0F39uW/ZGh9170=\r\n=0gV1\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"acatthatprograms","email":"npm@acatthatprograms.com"},"directories":{},"maintainers":[{"name":"alicenetbret","email":"bret@alice.net"},{"name":"acatthatprograms","email":"npm@acatthatprograms.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/alicenetjs-legacy_1.0.0_1674673452115_0.09219417033584709"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.1":{"name":"@alicenet_/alicenetjs-legacy","version":"1.0.1","description":"##### Requirements - `Nodejs 16+` - `NPM 6+` ##","main":"index.js","scripts":{"test":"mocha --recursive tests/**/*.js","test-unit":"mocha --recursive tests/unit","test-integration":"mocha --recursive tests/integration","test-single":"mocha","test-coverage":"nyc --exclude=src/GoWrappers/** --exclude=**/tests/** --reporter=cobertura --reporter=text npm run test","test-unit-coverage":"nyc --exclude=src/GoWrappers/** --exclude=**/tests/** npm run test-unit","test-integration-coverage":"nyc --exclude=src/GoWrappers/** --exclude=**/tests/** npm run test-integration","build-docs":"jsdoc -c jsdoc.json","lint":"eslint .","lint-fix":"eslint --fix ."},"author":{},"license":"MIT","dependencies":{"axios":"0.26.0","ethereum-cryptography":"^1.0.3","ethereumjs-util":"7.0.4","mad-doc-template":"git+https://github.com/MadBase/mad-doc-template.git","secp256k1":"^4.0.3"},"devDependencies":{"assert":"2.0.0","chai":"4.2.0","chai-as-promised":"7.1.1","dotenv":"8.4.0","eslint":"8.8.0","jsdoc":"3.6.6","mocha":"8.2.1","nyc":"15.1.0"},"licenseText":"MIT License\n\nCopyright (c) 2020 MadNet Foundation\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@alicenet_/alicenetjs-legacy@1.0.1","dist":{"shasum":"8c715984889b1f17c08486ab38fb6889d491868b","integrity":"sha512-O9q9uNromvimy7pCIKsbzR4QEwHHVWr7bmXipWdQOrfvWGkKHWcMIbwVqsEdT6OQiHXk9RdgbdvXZslcEmEBWA==","tarball":"https://registry.npmjs.org/@alicenet_/alicenetjs-legacy/-/alicenetjs-legacy-1.0.1.tgz","fileCount":87,"unpackedSize":6786949,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCWmjeKRQ4NS8SJOPzkt/FbykOcOHCY9sqSYYFJandvpwIhAOlDrniT2xZndrHPGU4yZAlDPO9UqQ5p3P1Z1USLnMwe"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj0X4nACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqPeg//eO2BWCoTp+U6QSO1d65oO5nTXMCNYRv6ATe5K9tD2Yg4bYc4\r\nHVWMPaU7IeNysCu7+opUmAqI32nJDtQuamKcPzCj/ydqy2UEtB7coovDayYd\r\nGEQJga7tjdTyV+5AELBcCnMFjrLsSbR63JByhfjKcicHA1RYpxnyRBtyCeyB\r\n2lha7SwW2kkMzrT93aZlRuK6qZ9tZvyZXhobd7+M7wpfNTnULT7kqzfW/5Mv\r\nzD5hzCEQQXGGhdl4JKhgQ2sk7JzkXJ3AAgw4so5CngOn5yRnnLP/sxSpf9H9\r\nHc1xlKHREYIDkmeSxHCsYz+NoIcm8jXDH/4EXvnNcT1fbz1FBWKfQktiX8z5\r\nelg7ea8zu26lIfnhl0svBXz/+vMifR5AZqBN9Dbtx2W3R9iFjE0pJChhDbdW\r\nDgwRIgj0/iywh9O5u2xslenih8sk9nFd4mji9zXbgb+hZu5fWQdRsZVB/q+o\r\n+lrYT9YXNY57A+BECVLUt50LIZrI8dtA2D29bde7J3v7W71xyW4dVvjYkSmX\r\nKDJXbmKSbAgOnhnuWuD9mqZLm2QnwfTtlUk+d105kt0C4KVyKTuBvSHnYjBw\r\nNMF2FC/Aw669dtdD9vL/Jpjgs5vgy1Xnpc89urk9GTFYV2vbUIPHfGHV0Knz\r\nP7iWRNUSrQtAxS96sqxxGlrTGFU9pc2mqcM=\r\n=KkYc\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"acatthatprograms","email":"npm@acatthatprograms.com"},"directories":{},"maintainers":[{"name":"alicenetbret","email":"bret@alice.net"},{"name":"acatthatprograms","email":"npm@acatthatprograms.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/alicenetjs-legacy_1.0.1_1674673702725_0.25457518406122204"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.3":{"name":"@alicenet_/alicenetjs-legacy","version":"1.0.3","description":"##### Requirements - `Nodejs 16+` - `NPM 6+` ##","main":"index.js","scripts":{"test":"mocha --recursive tests/**/*.js","test-unit":"mocha --recursive tests/unit","test-integration":"mocha --recursive tests/integration","test-single":"mocha","test-coverage":"nyc --exclude=src/GoWrappers/** --exclude=**/tests/** --reporter=cobertura --reporter=text npm run test","test-unit-coverage":"nyc --exclude=src/GoWrappers/** --exclude=**/tests/** npm run test-unit","test-integration-coverage":"nyc --exclude=src/GoWrappers/** --exclude=**/tests/** npm run test-integration","build-docs":"jsdoc -c jsdoc.json","lint":"eslint .","lint-fix":"eslint --fix ."},"author":{},"license":"MIT","dependencies":{"axios":"0.26.0","ethereum-cryptography":"^1.0.3","ethereumjs-util":"7.0.4","mad-doc-template":"git+https://github.com/MadBase/mad-doc-template.git","secp256k1":"^4.0.3"},"devDependencies":{"assert":"2.0.0","chai":"4.2.0","chai-as-promised":"7.1.1","dotenv":"8.4.0","eslint":"8.8.0","jsdoc":"3.6.6","mocha":"8.2.1","nyc":"15.1.0"},"licenseText":"MIT License\n\nCopyright (c) 2020 MadNet Foundation\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@alicenet_/alicenetjs-legacy@1.0.3","dist":{"shasum":"8ed192f038df75faae1fecbe57c6dbbe3cc953d3","integrity":"sha512-fmPariy8HCvDUO/ZVU0Lvb4D8qWG0JHNX6LSd7kfGYvKtC610S+OnPREEfC8Wr5eEMk5gkaQb/Rr03RmFcU4AA==","tarball":"https://registry.npmjs.org/@alicenet_/alicenetjs-legacy/-/alicenetjs-legacy-1.0.3.tgz","fileCount":87,"unpackedSize":6786951,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDXvSwzfZ3K38BKXDUKwk8QC8yHzy6lx/SeEVep79z94wIhALN3HMwa15haOLKdupB7kzRtnj7Yy+gI7UyghpNBbRXQ"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj0X5iACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqMfg/+JN4I0H6OcdMmffOPChjzKn5+FYxkcxuIU7kIbStV6hMFbuoY\r\nu24+IQQdSr5mWwWGJ+6AoPAFCGd5Q0EbRhaGDtqb7tm8HoBZJ0bCqk2prvxn\r\n+8XWk6oyc3Z9u9XAl6e5hs/CND5L0tVoFPYb5b51DFC/jFxTRFMcIWzzyltz\r\nqVHowQt1xK6U+IaoFnIqra3G+ZEQ8ryXsoCcrifdMezqlL/BtizbqkiCpVFa\r\nJMTbkOvdaTZjx4vLTz3Yx/mMIgtBnDACDFR3kBzTbRYA9jmeEZQeoUv9GpU2\r\nOzidNxPEJrqVJCpDxzsczPhzJd+HJoVq4ySrszIZWC7ZZxlx8iZGsXM56a3p\r\n28HuLKmuuob/HZbv08EGaL6z3MNf8q1/rSRSESWrAeWw0XTgQ6NfrgljY6EL\r\nkj0LYbCgg/zTmj8YnSZteOTdzR/gVFaRfc5by7/p1G3nsIHpIVuzbVh7nXEh\r\nTZs124mH25vKaSV2n5NNxkdCvhUih2xz5sxSlnsB7YkjMfIKgwFuSkKDAamt\r\nNN/wYjJCKdahqRdcv5t3N5VUKg/fNEMRqu1Ah7GX0h+bv/bq6HYAZmgqi1yD\r\nFoGGZz7pDcyeLcL0Flu0ZtWDBzgf5JsbQP9aujTCiRXDc8BoPTsNlvywQmnH\r\n0+vXf+GbUhDPO9i+F9lJOyyoLk9q+XCrGq0=\r\n=pnkh\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"acatthatprograms","email":"npm@acatthatprograms.com"},"directories":{},"maintainers":[{"name":"alicenetbret","email":"bret@alice.net"},{"name":"acatthatprograms","email":"npm@acatthatprograms.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/alicenetjs-legacy_1.0.3_1674673762239_0.8763976763219024"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."}},"time":{"created":"2023-01-25T19:04:12.033Z","1.0.0":"2023-01-25T19:04:12.389Z","modified":"2023-02-13T15:19:25.260Z","1.0.1":"2023-01-25T19:08:22.966Z","1.0.3":"2023-01-25T19:09:22.469Z"},"maintainers":[{"name":"acatthatprograms","email":"npm@acatthatprograms.com"},{"name":"alicenetbret","email":"bret@alice.net"}],"description":"##### Requirements - `Nodejs 16+` - `NPM 6+` ##","author":{},"license":"MIT","readme":"# alicenetjs\n\n##### Requirements\n- `Nodejs 16+`\n- `NPM 6+`\n##\n\n##### Install\n`npm i @alicenet_/alicenetjs-legacy`\n##\n\n#### Usage\n> Supports SECP256k1 and BN curve types. \n> \n> SECP256k1 (curve = 1) \n> \n> BN (curve = 2)\n##### Require\n```\nconst AliceWallet = require(\"alicenetjs\");\nconst aliceWallet = new AliceWallet(${CHAIN_ID}, ${MADNET_RPC})\n```\n\n##### Add Account\n```\nawait aliceWallet.Account.addAccount(${PRIVATE_KEY}, ${CURVE})\n```\n###### Example\n```\nawait aliceWallet.Account.addAccount(privateKey, 1);\n```\n\n##### Create A ValueStore\n\n```\nawait aliceWallet.Transaction.createValueStore(0x${FROM}, ${VALUE}, 0x${TO}, ${TO_CURVE})\n```\n###### Example\n```\nawait aliceWallet.Transaction.createValueStore(0x4240A00833065c29D1EB117e200a87c95D640289, 10, 0x219D27f4DBf2831f45Dd55436dE084571Ae2cE15, 2)\n--\nawait aliceWallet.Transaction.createValueStore(aliceWallet.Account.accounts[0][\"address\"], 1, aliceWallet.Account.accounts[0][\"address\"], 1)\n```\n\n##### Create A DataStore\n```\nawait aliceWallet.Transaction.createDataStore(0x${FROM}, ${INDEX}, ${DURATION}, ${RAW_DATA}, !(optional){ISSUED_AT_EPOCH})\n```\n###### Example\n```\nawait  aliceWallet.Transaction.createDataStore(0x4240A00833065c29D1EB117e200a87c95D640289, \"0xA\", 20, \"0xC0FFEE\")\n--\nawait aliceWallet.Transaction.createDataStore(aliceWallet.Account.accounts[0][\"address\"], \"0xA\", 1, \"0xC0FFEE\", 1)\n```\n\n##### Send Transaction\n```\nawait aliceWallet.sendTransaction(!(optional){CHANGE_ADDRESS}, !(optional){CHANGE_ADDRESS_CURVE}, !(optional)[{UTXOIDs}])\n```\n###### Example\n```\nawait aliceWallet.Transaction.sendTx()\n--\nawait aliceWallet.Transaction.sendTx(0x4240A00833065c29D1EB117e200a87c95D640289, 2)\n--\nawait aliceWallet.Transaction.sendTx(0x4240A00833065c29D1EB117e200a87c95D640289, 2, [0197314d4f3e46eb7dd8cd7bcd2daf5305a4c8f9089ae6e9a1552350dfce56ac])\n```\n##\n#### Wallet Modules\n- Account \n- Transaction\n- RPC\n> Details on these modules can be found in the generated docs\n##\n\n#### Generate Docs\n- Create the docs \n\t- `npm run build-docs` \n- Open index with a browser\n\t- `firefox docs/index.html` \n##\n\n#### Tests\n> Create `.env` file in the root folder to specify account, chainId, and RPC.  \n  It is required that your `.env` has `OPTIONAL_TEST_SUITE_PRIVATE_KEY` and `OPTIONAL_TEST_SUITE_SECONDARY_PRIVATE_KEY` with a funded private key value.\n  For the Faucet utility you need to provide the api endpoint here `FAUCET_API_URL`.   \n\n- Run all tests\n\t- `npm test`\n- Run only unit tests\n\t- `npm run test-unit`\n- Run only integration tests\n\t- `npm run test-integration`\n- Run a single test\n\t- `npm run test-single path/to/file.js`\n- Run all tests with coverage\n\t- `npm run test-coverage`\n- Run only unit tests with coverage\n\t- `npm run test-unit-coverage`\n- Run only integration tests with coverage\n\t- `npm run test-integration-coverage`\n\n#### Test Coverage\n> When you run `npm run test-coverage` it generates a file under `coverage/cobertura-coverage.xml` with a general test coverage output.\n\n\n#### Webpack5 environment\n\nUse node core modules polyfill if you choose to run the library on Webpack5 environment.\n\nIf you run into this error:\n\n BREAKING CHANGE: webpack<5 used to include polyfills for node.js core modules by default.\n\n1.- Install react-app-rewired package \n\n\tnpm i react-app-rewired package\n\n2.- Install missing dependencies\n\n\tnpm install --save-dev crypto-browserify stream-browserify assert stream-http https-browserify os-browserify url buffer process\n\n3.-\tCreate config-overrides.js\n\n\tconst webpack = require('webpack'); \n\tmodule.exports = function override(config) { \n\t\tconst fallback = config.resolve.fallback || {}; \n\t\tObject.assign(fallback, { \n\t\t\t\"crypto\": require.resolve(\"crypto-browserify\"), \n\t\t\t\"stream\": require.resolve(\"stream-browserify\"), \n\t\t\t\"assert\": require.resolve(\"assert\"), \n\t\t\t\"http\": require.resolve(\"stream-http\"), \n\t\t\t\"https\": require.resolve(\"https-browserify\"), \n\t\t\t\"os\": require.resolve(\"os-browserify\"), \n\t\t\t\"url\": require.resolve(\"url\") \n\t}) \n\tconfig.resolve.fallback = fallback; \n\tconfig.plugins = (config.plugins || []).concat([ \n\t\tnew webpack.ProvidePlugin({ \n\t\t\tprocess: 'process/browser', \n\t\t\tBuffer: ['buffer', 'Buffer'] \n\t\t}) \n\t]) \n\treturn config; \n   }\n\n4.-\tOverride package.json\n\t\"scripts\": { \n\t\t\"start\": \"react-app-rewired start\", \n\t\t\"build\": \"react-app-rewired build\", \n\t\t\"test\": \"react-app-rewired test\", \n\t\t\"eject\": \"react-scripts eject\" \n\t},\n\nNow your missing NodeJS polyfills should be included in your app and the error will be gone.\n\n> https://devdojo.com/erickagulopez/how-to-polyfill-node-core-modules-in-webpack\n\n","readmeFilename":"README.md"}