{"_id":"@cowri/cowri-core","_rev":"8-f4ea1614e287b9fb7239065ded338dbf","name":"@cowri/cowri-core","dist-tags":{"latest":"0.1.1"},"versions":{"1.0.0":{"name":"@cowri/cowri-core","version":"1.0.0","description":"Cowri Core","engines":{"node":">= 10.13 <11"},"devDependencies":{"@types/jest":"^23.3.14","@types/node":"^10.14.4","babel-jest":"^24.7.1","jest":"~23.6.0","prettier":"1.15.3","rimraf":"^2.6.3","ts-jest":"~23.10.5","tslint":"^5.12.1","tslint-config-prettier":"1.17.0","tslint-microsoft-contrib":"~6.0.0","tsutils":"~3.7.0","typedoc":"^0.14.2","typedoc-plugin-markdown":"^1.2.0","typescript":"^3.4.2"},"scripts":{"clean":"rimraf coverage build tmp","build":"tsc -p tsconfig.release.json","build:watch":"tsc -w -p tsconfig.release.json","lint":"tslint -t stylish --project \"tsconfig.json\"","test":"jest --coverage --runInBand --config jest.config.js","test:watch":"jest --watch --runInBand --verbose false","prepare":"npm run build","publish":"npm run test && npm run lint","preversion":"npm run lint","version":"npm run format && git add -A src","postversion":"git push && git push --tags","docs":"typedoc --theme markdown --mdEngine gitbook --out ../gitbook/developer-guide/ "},"author":{"name":"Jason Bruderer","email":"lastrellik@gmail.com"},"license":"Apache-2.0","dependencies":{"0x.js":"^6.0.9","bignumber.js":"^8.1.1","npx":"^10.2.0","tslib":"~1.9.3"},"main":"build/ShellManager.js","types":"build/index.d.ts","repository":{"type":"git","url":"git+https://github.com/cowri/cowri-sdk.git"},"bugs":{"url":"https://github.com/cowri/cowri-sdk/issues"},"homepage":"https://github.com/cowri/cowri-sdk","_id":"@cowri/cowri-core@1.0.0","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-4Fq0NVBqWrOKHnsXByaiyeV4+8mYKSuXIvIiGK3bb3zCJkiULbPp5hl24pCLcUDs3lNBcHxa7SQ/XlmNWDJNDw==","shasum":"1d986e65331c84ca176fba758064eae5f53ba62b","tarball":"https://registry.npmjs.org/@cowri/cowri-core/-/cowri-core-1.0.0.tgz","fileCount":57,"unpackedSize":351177,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdE8AmCRA9TVsSAnZWagAARfAP/ApddeAbB5uXp0R4f3N2\nxS5qbU5NRUQF4Aq03GK3jKdPtTgkjcwlRPZz6on4cQjhWjUs+sFugxq8q3cK\nKFyqhAVIa7hLaq1OenW2m95d6s14WAANHocSbtMRG+hG/Cl8q3crQAKbjdU0\nLAZIVC34OnYL2rG7TEvvhx7u1j6CnoT7Vv7AZaOis9g5Mji895EFxPD85ANQ\nPLwezhG09YgyE13BppH1se5ldfjgpxmemHEeeX0egIUVCUEMzNvbucwqB7Rv\nOfJ84OO+GjHRbJkp/pM1pSHzi+a3RighCUCAT8hMK8XoVdDuwJgPoJynF7cp\nL88U5uzItxY3FZj8RkQbFtdgj8yJ1VMgJp1rbpMpjV9MGrb6jJytvLvi7/u4\nH5oRWj4wsefs1ZMWmGq24Gowjg2EDTXNio4cORYBia14dmzweR0W4CyoqmW5\niXJmEuQ8Xpr9GP7XTaQdyEDCMA/UwFrdxiE2JgUicP+0N7yhoGV4IEVUldlY\nkbnKDxHbvH6e7+MQDYAvuh7p1XAr2StciwzKEQF78Q8QbCWKshW37cCWXU79\n1ZNmVnszjvXzlF86TLrakIfYC3WWgwrBsGzRlqaLYD9tduMPXxzAouOGiTCA\n/GehRb7MQHX14W1hGiRgYkIrUVoVo12LV4O05qy5oWQGH0kvvyeU13mlC1aH\nb0qy\r\n=0KWn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEt9Z4ukwcByb8nBMkM02oukB8qkeMsojMllvP1Y7Kl0AiAspS3RuhSoAIu7Shp9HMMc4AV4lMx9JJFl/J0m3Z+Z4A=="}]},"maintainers":[{"name":"lastrellik","email":"lastrellik@gmail.com"},{"name":"realisation","email":"realisation@protonmail.com"},{"name":"kenny-white","email":"kenny@cowri.io"},{"name":"john_whitton","email":"john@wasdex.com"}],"_npmUser":{"name":"lastrellik","email":"lastrellik@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cowri-core_1.0.0_1561575462090_0.011504797306892689"},"_hasShrinkwrap":false},"0.1.0":{"name":"@cowri/cowri-core","version":"0.1.0","description":"Cowri Core","engines":{"node":">= 10.13 <11"},"devDependencies":{"@types/jest":"^23.3.14","@types/node":"^10.14.4","babel-jest":"^24.7.1","jest":"~23.6.0","prettier":"1.15.3","rimraf":"^2.6.3","ts-jest":"~23.10.5","tslint":"^5.12.1","tslint-config-prettier":"1.17.0","tslint-microsoft-contrib":"~6.0.0","tsutils":"~3.7.0","typedoc":"^0.14.2","typedoc-plugin-markdown":"^1.2.0","typescript":"^3.4.2"},"scripts":{"clean":"rimraf coverage build tmp","build":"tsc -p tsconfig.release.json","build:watch":"tsc -w -p tsconfig.release.json","lint":"tslint -t stylish --project \"tsconfig.json\"","test":"jest --coverage --runInBand --config jest.config.js","test:watch":"jest --watch --runInBand --verbose false","prepare":"npm run build","publish":"npm run test && npm run lint","preversion":"npm run lint","version":"npm run format && git add -A src","postversion":"git push && git push --tags","docs":"typedoc --theme markdown --mdEngine gitbook --out ../gitbook/developer-guide/ "},"author":{"name":"Jason Bruderer","email":"lastrellik@gmail.com"},"license":"Apache-2.0","dependencies":{"0x.js":"^6.0.9","bignumber.js":"^8.1.1","npx":"^10.2.0","tslib":"~1.9.3"},"main":"build/index.js","types":"build/index.d.ts","repository":{"type":"git","url":"git+https://github.com/cowri/cowri-sdk.git"},"bugs":{"url":"https://github.com/cowri/cowri-sdk/issues"},"homepage":"https://github.com/cowri/cowri-sdk","_id":"@cowri/cowri-core@0.1.0","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-vqTC20P20M4Z//XtfwjAz9+5i8Dnwz9OQ0tEUAAsLgPBydQjgpycn8VGWqvKve+An2DDz34htOQ98M2j3FvyCg==","shasum":"5332c53bbfc9ae0a94f6dee6626feccd94971a24","tarball":"https://registry.npmjs.org/@cowri/cowri-core/-/cowri-core-0.1.0.tgz","fileCount":59,"unpackedSize":351666,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdE+gpCRA9TVsSAnZWagAAq2YP/jsYwMKyFu48ao8Ow/gs\nHeT7NYvOumTNCrNl+A9fTDjJJ8mwGVKLfM7EjUQZQypoWxdX/Qd5E6OAfen2\nQSeI2K5ctjFloolXucQylHF7qUS8mrehiF45BIRhgvlU3IppmCxyghOzBWpJ\n+GqqbrLmqpNp5v4a0CnZSEAF/vi0LrkahL3/yUALm1E3k30p0VQqapSRdiS8\nu5hOMFqBQl10Qg/zvviPSBNr8dscyeqqw6DlMunwvsqTKYOdI5D2ECU6wybL\nGtlH35S/ADUFn5e0xENYQNqPoF+W6WLbTtucmLx40QrWeZZLFGRiA6LCETA9\nrC14xQjZda0WWSWAUtEdxpdqfiTeN527UD816HxGPW47yCI12sQroT2oUsox\nqXeQTJcdbKBWhBSiXzHWsG0SAlWWmmLNq/QJs9aOxNGyjapxg7u79KWo23G3\nGnBt9RZnXj4CvD4qWrBelYC4JOgVYLrEwhCqfCiQPxfByKaOf//VpzC3V1aL\nIE877hiBepwfSkcGwsiAjnENtnUnk6zZ3Nrb7O1vywJRA4JePQHXB4Av4nzW\n6ugzH6bRfSa9qpeiPBzQ/MrsOs4cFZ/x3e2bNzNpoMYtQsBhTbCnxn1eRj4f\nwc6lJNHc0qyZWQBOasVLUfbL0MZO1VL9xa50MYfTUHWtten0UfsQnzC/IRL5\ncpv6\r\n=WiCM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD00le+Y38BuuHzW62j7RRBbOegmrP6xNTAI7UMZyLvegIhAIQG8BbFWMxhMYh0STvUYt3Wc64Yz+sZLmhqS4GRK7U2"}]},"maintainers":[{"name":"john_whitton","email":"john@wasdex.com"},{"name":"kenny-white","email":"kenny@cowri.io"},{"name":"lastrellik","email":"lastrellik@gmail.com"},{"name":"realisation","email":"realisation@protonmail.com"}],"_npmUser":{"name":"lastrellik","email":"lastrellik@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cowri-core_0.1.0_1561585704734_0.6123920837316292"},"_hasShrinkwrap":false},"0.1.1":{"name":"@cowri/cowri-core","version":"0.1.1","description":"Cowri Core","engines":{"node":">= 10.13 <11"},"devDependencies":{"@types/jest":"^23.3.14","@types/node":"^10.14.4","babel-jest":"^24.7.1","jest":"~23.6.0","prettier":"1.15.3","rimraf":"^2.6.3","ts-jest":"~23.10.5","tslint":"^5.12.1","tslint-config-prettier":"1.17.0","tslint-microsoft-contrib":"~6.0.0","tsutils":"~3.7.0","typedoc":"^0.14.2","typedoc-plugin-markdown":"^1.2.0","typescript":"^3.4.2"},"scripts":{"clean":"rimraf coverage build tmp","build":"tsc -p tsconfig.release.json","build:watch":"tsc -w -p tsconfig.release.json","lint":"tslint -t stylish --project \"tsconfig.json\"","test":"jest --coverage --runInBand --config jest.config.js","test:watch":"jest --watch --runInBand --verbose false","prepare":"npm run build","publish":"npm run test && npm run lint","preversion":"npm run lint","version":"npm run format && git add -A src","postversion":"git push && git push --tags","docs":"typedoc --theme markdown --mdEngine gitbook --out ../gitbook/developer-guide/ "},"author":{"name":"Jason Bruderer","email":"lastrellik@gmail.com"},"license":"Apache-2.0","dependencies":{"0x.js":"^6.0.9","bignumber.js":"^8.1.1","npx":"^10.2.0","tslib":"~1.9.3"},"main":"build/index.js","types":"build/index.d.ts","repository":{"type":"git","url":"git+https://github.com/cowri/cowri-sdk.git"},"bugs":{"url":"https://github.com/cowri/cowri-sdk/issues"},"homepage":"https://github.com/cowri/cowri-sdk","_id":"@cowri/cowri-core@0.1.1","_nodeVersion":"11.12.0","_npmVersion":"6.10.2","dist":{"integrity":"sha512-M7A/k2PfQQvOy+mdfzno75oAjwdDW4JvGb+1n9kTraJXTtSAOYutLAYV0mzhk5cW29R4Ba2J0M1bDdhXUZ9eUA==","shasum":"aed6c31c127848a4cbe0fbe21e0dfce9eebf8d6a","tarball":"https://registry.npmjs.org/@cowri/cowri-core/-/cowri-core-0.1.1.tgz","fileCount":33,"unpackedSize":73211,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdOgEXCRA9TVsSAnZWagAAMZIP/3DNju4emjBw7TIzTYAr\ng7QyRUdy/DCE3yM2zqY9yOG1c9cvInfhIna5XkbaZUx7W2sRc5r5PF6oqfRY\nlRGkOXy0X4O+fcKU9OaneHCe2L6isXzA8i4vVfy0cwn6q/PGszHz6lWKWzej\n3tmrOvGWsqRW4zHOPTUHDesMYNMmwvanyDy+clC3VA78jzzRDAoUR6mLGiKi\nN3DL52qUMzeP6YuMlrVwLOJuVLJtuNRWA8WiZV7tYQS5zsN6v3MK5TmTQpnx\nHDRefHbBuTbqvluich48qcxW0FAWsPCV1Tr4kaNp5tOq3XsyOQCeBvoqjS4Z\ng63iqTnBLkXsLrhm1g3u3RzQRqqqbhjGmxSVf8Sf7E01znnN7IZleWAZDWKH\nyix4iW5oZsLBM0yAwrcrVw8ObG6mPonaUg/UGEiHKKydyIFI/RUcsXKNzrPE\ni5n4L6XL+BR6TLmFHPppan0jqyjb7+8622P+JDb6z6i60kwwQpOD3pLQ17tm\nCGas5Uptr98mxr3ujzLXhEFFDvSyC9R4TZzGFawem/AKQESIgRGUFJZ0bSgo\n3i/yAkSVMtTSHgfMGGnxnjfGp9Y8vlSD3kfqv/bu3gxSjmAhxhxuNrASnVGG\nD8/z9CSKW5amkcbd4911MdjoUB1biwLUptmTvX3BtMALMcmosgaDCxlypjhZ\nCDll\r\n=jo4r\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQChngnV0qyDKrkkPzbPaHJgfSFWkWCi56OOe+EXSl/lywIhAKPnYEqE+I8lccX+su+BvNcfcmldXFSElLOE2MJ8wVrn"}]},"maintainers":[{"email":"john@wasdex.com","name":"john_whitton"},{"email":"juliusbuckley@gmail.com","name":"juliusbuckley"},{"email":"kenny@cowri.io","name":"kenny-white"},{"email":"lastrellik@gmail.com","name":"lastrellik"},{"email":"realisation@protonmail.com","name":"realisation"}],"_npmUser":{"name":"john_whitton","email":"john@wasdex.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cowri-core_0.1.1_1564082454824_0.9355834967942385"},"_hasShrinkwrap":false}},"time":{"created":"2019-06-26T18:57:42.088Z","1.0.0":"2019-06-26T18:57:42.229Z","modified":"2022-04-05T01:31:09.498Z","1.0.1":"2019-06-26T19:18:56.947Z","0.1.0":"2019-06-26T21:48:24.925Z","0.1.1":"2019-07-25T19:20:55.002Z"},"maintainers":[{"email":"john@wasdex.com","name":"john_whitton"},{"email":"juliusbuckley@gmail.com","name":"juliusbuckley"},{"email":"kenny@cowri.io","name":"kenny-white"},{"email":"lastrellik@gmail.com","name":"lastrellik"},{"email":"realisation@protonmail.com","name":"realisation"}],"description":"Cowri Core","homepage":"https://github.com/cowri/cowri-sdk","repository":{"type":"git","url":"git+https://github.com/cowri/cowri-sdk.git"},"author":{"name":"Jason Bruderer","email":"lastrellik@gmail.com"},"bugs":{"url":"https://github.com/cowri/cowri-sdk/issues"},"license":"Apache-2.0","readme":"# shell-manager\nShell Manager \n\n## Developer setup \n\n``` \ngit clone https://github.com/cowri/shell-manager.git\nnpm install\nnpm install -g extract-zip\nnpm run clean\nnpm run build\nnpm run test\n```\n\n## Testing\n\n * Unit tests of the shell-manager run with Jest and depend on a local instance of Ganache-cli running as the Denise user. More information about Ganache-cli and our implementation can be found in [Installation.MD](https://github.com/cowri/shell-manager/blob/master/Installation.MD). \n * Ensure [extract-zip](https://www.npmjs.com/package/extract-zip) is installed with `npm install -g extract-zip`\n * To run the unit tests, ensure that Ganache-cli is running as denise with `npm run ganache:denise`, then in a separate terminal run `npm run test:watch`. This will open up an interactive test terminal and will automatically run tests whenever any file is saved. \n * You can reset the ganache instance at any time by exiting out of the running instance with `ctrl-c` and restarting the instance with `npm run ganache:denise`\n * Please keep in mind that Ganache-cli is essentially a persistent mock of the blockchain, so any updates to token balances or user shells will persist between tests. This won't be a problem as long as the unit tests either revert changes they make to users or their shells or if they never depend on hardcoded token balances.\n * If you run into a situation where you need to manually reset your ganache instance, you can do so with `npm run reset-snapshot`.\n \n## Pushing to NPM \n\n```\nnpm publish\n\nFor the time being these two following commands are removed.\nWhen the tests are completing healthily, they will be put back\nin to the scripts portion of package.json, which will test \nthe repository before publication of new versions.\n\n  \"prepare\": \"npm run build\",\n  \"prepublishOnly\": \"npm run test && npm run lint\",\n\n\n```\n\n\n## Generating Documentation\nCurrently documentation generation is set up to go the [gitbook repsoitory](https://github.com/cowri)\nPublishing process\n1. Clone [gitbook repsoitory](https://github.com/cowri) into the same parent directory as shell-manager\n2. generate the documentation e.g. `npm run docs ./src/provider/CowriWeb3Provider.ts`\n3. **Note**\n  * when using `npm run docs` you must specify the directory of file you want to create documentation for (as above)\n  * If you would like to use a different destination directory for documentation you can use the following command\n`.node_modules/.bin/typedoc --theme markdown --mdEngine gitbook --out ../gitbook/typedoc/  ./src/provider/CowriWeb3Provider.ts`\n","readmeFilename":"README.md"}