{"_id":"@authentik8/es-aggregate","_rev":"7-9b87a1263a54390de59476a0b4b84495","name":"@authentik8/es-aggregate","dist-tags":{"latest":"0.2.8"},"versions":{"0.1.0":{"name":"@authentik8/es-aggregate","version":"0.1.0","description":"Libary for building event-sourced aggregates","main":"build/main/index.js","typings":"build/main/index.d.ts","module":"build/module/index.js","repository":{"type":"git","url":"git+https://github.com/authentik8/functional-es-aggregate.git"},"license":"MIT","keywords":[],"scripts":{"describe":"npm-scripts-info","build":"run-s clean && run-p build:*","build:main":"tsc -p tsconfig.json","build:module":"tsc -p tsconfig.module.json","fix":"run-s fix:*","fix:prettier":"prettier \"src/**/*.ts\" --write","fix:tslint":"tslint --fix --project .","test":"run-s build test:*","test:lint":"tslint --project . && prettier \"src/**/*.ts\" --list-different","test:unit":"nyc --silent ava --verbose","watch":"run-s clean build:main && run-p \"build:main -- -w\" \"test:unit -- --watch\"","cov":"run-s build test:unit cov:html && opn coverage/index.html","cov:html":"nyc report --reporter=html","cov:send":"nyc report --reporter=lcov > coverage.lcov && codecov","cov:check":"nyc report && nyc check-coverage --lines 100 --functions 100 --branches 100","doc":"run-s doc:html && opn build/docs/index.html","doc:html":"typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --out build/docs","doc:json":"typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --json build/docs/typedoc.json","doc:publish":"gh-pages -m \"[ci skip] Updates\" -d build/docs","version":"standard-version","reset":"git clean -dfx && git reset --hard && npm i","clean":"trash build test","all":"run-s reset test cov:check doc:html","prepare-release":"run-s all version doc:publish"},"scripts-info":{"info":"Display information about the package scripts","build":"Clean and rebuild the project","fix":"Try to automatically fix any linting problems","test":"Lint and unit test the project","watch":"Watch and rebuild the project on save, then rerun relevant tests","cov":"Rebuild, run tests, then create and open the coverage report","doc":"Generate HTML API documentation and open it in a browser","doc:json":"Generate API documentation in typedoc JSON format","version":"Bump package.json version, update CHANGELOG.md, tag release","reset":"Delete all untracked files and reset the repo to the last commit","prepare-release":"One-step: clean, build, test, publish docs, and prep a release"},"engines":{"node":">=8.9"},"dependencies":{"lodash.merge":"^4.6.1","uuid":"^3.3.2"},"devDependencies":{"@types/uuid":"^3.4.4","ava":"1.0.0-beta.7","codecov":"^3.1.0","cz-conventional-changelog":"^2.1.0","gh-pages":"^2.0.1","npm-run-all":"^4.1.5","nyc":"^13.1.0","opn-cli":"^4.0.0","prettier":"^1.15.2","standard-version":"^4.4.0","trash-cli":"^1.4.0","tslint":"^5.11.0","tslint-config-prettier":"^1.17.0","tslint-immutable":"^5.0.0","typedoc":"^0.13.0","typescript":"^3.1.6"},"ava":{"failFast":true,"files":["build/main/**/*.spec.js"],"sources":["build/main/**/*.js"]},"config":{"commitizen":{"path":"cz-conventional-changelog"}},"prettier":{"singleQuote":true},"nyc":{"exclude":["**/*.spec.js"]},"gitHead":"e0ee4b51ea8763f44723c99e5f47ab4275558726","bugs":{"url":"https://github.com/authentik8/functional-es-aggregate/issues"},"homepage":"https://github.com/authentik8/functional-es-aggregate#readme","_id":"@authentik8/es-aggregate@0.1.0","_npmVersion":"6.4.1","_nodeVersion":"10.12.0","_npmUser":{"name":"authentik8","email":"degringolate@gmail.com"},"dist":{"integrity":"sha512-/p0ocN0E2JYXedI5bUdcNBy+2VgBzUOafICImujRr4FKXFGdSNVO1DpPT2Vxg4GqiTkU4o35u9+qAVmoJnqSwQ==","shasum":"9311512af6784acafb21a30d44597daf5b736f5c","tarball":"https://registry.npmjs.org/@authentik8/es-aggregate/-/es-aggregate-0.1.0.tgz","fileCount":22,"unpackedSize":20359,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcgTrJCRA9TVsSAnZWagAAKUcP/jblrBJM3tFa7Pkzb4zb\nuPNmbSbGuWYOvASQhVGh228VEqLnYMrYKoa0jyyRtUcjwL2gRXQCfYf9HMSK\nsRs2AuxsJ/mGm7OH0+ql+NBAomrVVKh4KJJ4A8Mu0ZWg/OPJnvaVLug9/szd\nWeJRHDtEYPku4SJWY3DvR05fCujynokuU16YMaY6P2D7NDk+ZGs0pq27BOe6\n4MTAmtvBjgVH/br+SpymMPbM2EntICdBkEKkrjbtPYp1vKdVvSvmXvLzOOnk\nwbmPsRH5zO7frf1TOMqmXvGFx07kAmFoVOuqc7LTjIvqYDDAFmHbYhw6ZasZ\nouwAY+qWRshv3TYZvZyUy3DEn6sxEihqfOZe+UvGfN+d0U+lfQnerRzRLBYW\nZlO+tu3CPsLXeZjiRDtM3SiiW2PYiPswD4Yi60LIHwqTynTb5BDhJtt7I6+U\nxgyzFSM3bLs87EfyhzMgyCYbxmVOdrL31Xfciu7JcVxSDBkbR9Gq8VdmiNZI\nh7RKtiRuxiO4F+p259mCNE22jTQSfzT+rSsfaSZT2drzkaPg0AexzKu+9cTz\nu/wkBRCGcu0R5NkDktg8Txn1P9b0JonEqekBPmSeQs+oXNmNAG2PTeiJlHBi\nxXE0bKPjRrhDodK1Sn6ZpyOxNmzRv91FNeJjHit/hRHkTrnldWrvaKyYjaR9\n9r+M\r\n=84Y1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDZLFpEl9s7xr3+fs5tKYUG2b1eK3c5H6ZW47Fee9kAfQIgPD0BZmkx7StEnI5F65c/E0oxgIyTteQ7F4UTMv31vmw="}]},"maintainers":[{"name":"authentik8","email":"degringolate@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/es-aggregate_0.1.0_1551973064685_0.282041045976954"},"_hasShrinkwrap":false},"0.2.2":{"name":"@authentik8/es-aggregate","version":"0.2.2","description":"Libary for building event-sourced aggregates","main":"build/main/index.js","typings":"build/main/index.d.ts","module":"build/module/index.js","repository":{"type":"git","url":"git+https://github.com/authentik8/functional-es-aggregate.git"},"license":"MIT","keywords":[],"scripts":{"describe":"npm-scripts-info","build":"run-s clean && run-p build:*","build:main":"tsc -p tsconfig.json","build:module":"tsc -p tsconfig.module.json","fix":"run-s fix:*","fix:prettier":"prettier \"src/**/*.ts\" --write","fix:tslint":"tslint --fix --project .","test":"run-s build test:*","test:lint":"tslint --project . && prettier \"src/**/*.ts\" --list-different","test:unit":"nyc --silent ava --verbose","watch":"run-s clean build:main && run-p \"build:main -- -w\" \"test:unit -- --watch\"","cov":"run-s build test:unit cov:html && opn coverage/index.html","cov:html":"nyc report --reporter=html","cov:send":"nyc report --reporter=lcov > coverage.lcov && codecov","cov:check":"nyc report && nyc check-coverage --lines 100 --functions 100 --branches 100","doc":"run-s doc:html && opn build/docs/index.html","doc:html":"typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --out build/docs","doc:json":"typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --json build/docs/typedoc.json","doc:publish":"gh-pages -m \"[ci skip] Updates\" -d build/docs","version":"standard-version","reset":"git clean -dfx && git reset --hard && npm i","clean":"trash build test","all":"run-s reset test cov:check doc:html","prepare-release":"run-s all version doc:publish"},"scripts-info":{"info":"Display information about the package scripts","build":"Clean and rebuild the project","fix":"Try to automatically fix any linting problems","test":"Lint and unit test the project","watch":"Watch and rebuild the project on save, then rerun relevant tests","cov":"Rebuild, run tests, then create and open the coverage report","doc":"Generate HTML API documentation and open it in a browser","doc:json":"Generate API documentation in typedoc JSON format","version":"Bump package.json version, update CHANGELOG.md, tag release","reset":"Delete all untracked files and reset the repo to the last commit","prepare-release":"One-step: clean, build, test, publish docs, and prep a release"},"engines":{"node":">=8.9"},"dependencies":{"lodash.merge":"^4.6.1","uuid":"^3.3.2"},"devDependencies":{"@types/uuid":"^3.4.4","ava":"1.0.0-beta.7","codecov":"^3.1.0","cz-conventional-changelog":"^2.1.0","gh-pages":"^2.0.1","npm-run-all":"^4.1.5","nyc":"^13.1.0","opn-cli":"^4.0.0","prettier":"^1.15.2","standard-version":"^4.4.0","trash-cli":"^1.4.0","tslint":"^5.11.0","tslint-config-prettier":"^1.17.0","tslint-immutable":"^5.0.0","typedoc":"^0.13.0","typescript":"^3.1.6"},"ava":{"failFast":true,"files":["build/main/**/*.spec.js"],"sources":["build/main/**/*.js"]},"config":{"commitizen":{"path":"cz-conventional-changelog"}},"prettier":{"singleQuote":true},"nyc":{"exclude":["**/*.spec.js"]},"gitHead":"93f58fed77b12d34522b36791c5f7c5c58c36169","bugs":{"url":"https://github.com/authentik8/functional-es-aggregate/issues"},"homepage":"https://github.com/authentik8/functional-es-aggregate#readme","_id":"@authentik8/es-aggregate@0.2.2","_npmVersion":"6.4.1","_nodeVersion":"10.12.0","_npmUser":{"name":"authentik8","email":"degringolate@gmail.com"},"dist":{"integrity":"sha512-DvGmVrcdbwiA3jLyRgUmzzhfycXBJmmUQmhsIudN74b+nNn5WW0STBLWppmoC/zP01jcC/q+cBtBLfk0rfE87A==","shasum":"5c02bc24bde5d55a57ad2d2bfbf6772eee484d22","tarball":"https://registry.npmjs.org/@authentik8/es-aggregate/-/es-aggregate-0.2.2.tgz","fileCount":22,"unpackedSize":20486,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcgTzgCRA9TVsSAnZWagAAqy4P/jsMDL8H9GvIBjCCpsQO\no/460Tk5+77YV0X5rGSNbp9CyW7ECTNS5XDD1sz3P4hYqZffkyHBCUn4l5Nb\nA4mjNSxxqtsb8gt/JO5Y2BiMhHuxsv1LWI8m+BLYteCKZTsN8XSEwM8hFTZI\n/RN1uoKOxXZEXT7Jq7ttlsN4j2d33hY57P1tFthW4Sf50IAFLvUjDOI8NNIL\nN6KG3b0XYeCa2ccSaHMOP4rMBa/EA6ilqnoW74pkBDsgjZ2pp2YhB8oziovA\nAuTruVt8GOLe0LOOtwnnsxLLSOgu8d0L3LOhmSUJBeBKHxoVXVvnWRclxw3l\nELmsgcbBhUNRPQWYZq68AZDcW/b1qvTZnEdMBv5uZxsRDJ3+hL+fjt3SglOP\nZaysgybrK2rnz2r0MmLqRjhvJ/ng+IQbyPGnMyQy+5gq++c0EsZbDccW+1WW\n+UdZmU4cg4rn8Omp0opLVUZvLGV/3WLMah5BAMB/k9IE1wf3u25/iR1u0VI3\nrKf2cD0XaAIIODAA7etQkI0zqvvxMli4wU9/KSlAg04L4KyAeDX91BFnYJK/\neTTsN1RSasnz+LZ7odmhWCuPNaZWrIBk535vyNiR3vDKKIsY5E8kdCuQHDh2\nk7DiFqYhITpSihS0N28eh2QW7wQHSj2ykSCExJTof+tgoZwp+48GkU/Y6+EQ\n1d7g\r\n=JaoP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCmud+/TwOh4XBWR9fl7oxwq52t10XjOm9ulzaOlEyfTAIhAJRh8RDtrNRH7CY8+LJumz8l/yUhMxkDWrYOM/aru1Jd"}]},"maintainers":[{"name":"authentik8","email":"degringolate@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/es-aggregate_0.2.2_1551973600385_0.2679905146254593"},"_hasShrinkwrap":false},"0.2.4":{"name":"@authentik8/es-aggregate","version":"0.2.4","description":"Libary for building event-sourced aggregates","main":"build/main/index.js","typings":"build/main/index.d.ts","module":"build/module/index.js","repository":{"type":"git","url":"git+https://github.com/authentik8/functional-es-aggregate.git"},"license":"MIT","keywords":[],"scripts":{"describe":"npm-scripts-info","build":"run-s clean && run-p build:*","build:main":"tsc -p tsconfig.json","build:module":"tsc -p tsconfig.module.json","fix":"run-s fix:*","fix:prettier":"prettier \"src/**/*.ts\" --write","fix:tslint":"tslint --fix --project .","test":"run-s build test:*","test:lint":"tslint --project . && prettier \"src/**/*.ts\" --list-different","test:unit":"nyc --silent ava --verbose","watch":"run-s clean build:main && run-p \"build:main -- -w\" \"test:unit -- --watch\"","cov":"run-s build test:unit cov:html && opn coverage/index.html","cov:html":"nyc report --reporter=html","cov:send":"nyc report --reporter=lcov > coverage.lcov && codecov","cov:check":"nyc report && nyc check-coverage --lines 100 --functions 100 --branches 100","doc":"run-s doc:html && opn build/docs/index.html","doc:html":"typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --out build/docs","doc:json":"typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --json build/docs/typedoc.json","doc:publish":"gh-pages -m \"[ci skip] Updates\" -d build/docs","version":"standard-version","reset":"git clean -dfx && git reset --hard && npm i","clean":"trash build test","all":"run-s reset test cov:check doc:html","prepare-release":"run-s all version doc:publish"},"scripts-info":{"info":"Display information about the package scripts","build":"Clean and rebuild the project","fix":"Try to automatically fix any linting problems","test":"Lint and unit test the project","watch":"Watch and rebuild the project on save, then rerun relevant tests","cov":"Rebuild, run tests, then create and open the coverage report","doc":"Generate HTML API documentation and open it in a browser","doc:json":"Generate API documentation in typedoc JSON format","version":"Bump package.json version, update CHANGELOG.md, tag release","reset":"Delete all untracked files and reset the repo to the last commit","prepare-release":"One-step: clean, build, test, publish docs, and prep a release"},"engines":{"node":">=8.9"},"dependencies":{"lodash.merge":"^4.6.1","uuid":"^3.3.2"},"devDependencies":{"@types/uuid":"^3.4.4","ava":"1.0.0-beta.7","codecov":"^3.1.0","cz-conventional-changelog":"^2.1.0","gh-pages":"^2.0.1","npm-run-all":"^4.1.5","nyc":"^13.1.0","opn-cli":"^4.0.0","prettier":"^1.15.2","standard-version":"^4.4.0","trash-cli":"^1.4.0","tslint":"^5.11.0","tslint-config-prettier":"^1.17.0","tslint-immutable":"^5.0.0","typedoc":"^0.13.0","typescript":"^3.1.6"},"ava":{"failFast":true,"files":["build/main/**/*.spec.js"],"sources":["build/main/**/*.js"]},"config":{"commitizen":{"path":"cz-conventional-changelog"}},"prettier":{"singleQuote":true},"nyc":{"exclude":["**/*.spec.js"]},"gitHead":"e5f4d057042f1ad86e9154547019f41f71b0a841","bugs":{"url":"https://github.com/authentik8/functional-es-aggregate/issues"},"homepage":"https://github.com/authentik8/functional-es-aggregate#readme","_id":"@authentik8/es-aggregate@0.2.4","_npmVersion":"6.4.1","_nodeVersion":"10.12.0","_npmUser":{"name":"authentik8","email":"degringolate@gmail.com"},"dist":{"integrity":"sha512-GlLSlC/qnJoKdjharC/J24Yj70uK+cJFEeA//mdrJXlU2ek6yotBpjQVUk2MUeeR1+IAK1U+TQLHqiADccgs5Q==","shasum":"7eb583a274342487daee4681bb97533f90a9abf1","tarball":"https://registry.npmjs.org/@authentik8/es-aggregate/-/es-aggregate-0.2.4.tgz","fileCount":22,"unpackedSize":20177,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcgT32CRA9TVsSAnZWagAA+xUP/1EQwBs6Lw6Sc+WrLjE8\n5ZDR21CLXS9XlP0LVFS+OiPFE4hAdWZwqvuyHuDsJWtRgDv1o5LmwGm1htMW\nGXmAEaH5Ujowvhnoa9WVRAYI+Kcp0ntehoIe/o0wZKMMWb4fQekT3RlofkYc\nX15DCR9UYE9X5lOCeY5J0rikSArth4IS/vllrYuDcJ75jqXoch9czItgusNz\ntRDrSTn3XFUVhAK7s7b0r3K5c7Uuf5gcOaptC4WazKV/PXeFU2lgcMvOY969\ncid4YqTmCbj5v4lqzggmVRoQkVBa7+zQS2m+EoiDpYuMzU1zWtCIYPgrS5n2\naDudP8hSS6pLXVDC68OnzRXeePNmYob0AJqHm+AA3uChuyMA51ZGhGKwuX3T\n6AWN65MnHe684h3Q2EyrKKptmcpjLVUdkO97ZVGeHJml+OgLsYSNggJ5j/W9\nf0zVEozcdLcntG1oy5i00RhE1FwJbnZuZpwQ83o0Zg2mJiG9fiWqNxssaQ1l\ntNYziP5xBn7HT86dyHGgAjp3HWn4rgFhKqANgasQ/CihRY7nbafAb/DCktRj\nDXglQz0fpfJujUL2+retm6/A3NlFSQUsb07rNbsedZCtfUdLriDY/S+QpDt7\nuJizmTh2K/M6ALBgNojTOWaXB/EIGF0k6cX6aM4Nphghf9I3dsAs5qH/2ReO\nu4wJ\r\n=WTOS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGB1xTgo2RSOKyR2Oba2VyOcNVH6NStAQm0ApWy2lKyFAiEA5QzZQCUEHMJ4uM384O5wy4Bg3v+r4bYGoi2pUYfXb8s="}]},"maintainers":[{"name":"authentik8","email":"degringolate@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/es-aggregate_0.2.4_1551973878111_0.2639781545576554"},"_hasShrinkwrap":false},"0.2.5":{"name":"@authentik8/es-aggregate","version":"0.2.5","description":"Libary for building event-sourced aggregates","main":"build/main/index.js","typings":"build/main/index.d.ts","module":"build/module/index.js","repository":{"type":"git","url":"git+https://github.com/authentik8/functional-es-aggregate.git"},"license":"MIT","keywords":[],"scripts":{"describe":"npm-scripts-info","build":"run-s clean && run-p build:*","build:main":"tsc -p tsconfig.json","build:module":"tsc -p tsconfig.module.json","fix":"run-s fix:*","fix:prettier":"prettier \"src/**/*.ts\" --write","fix:tslint":"tslint --fix --project .","test":"run-s build test:*","test:lint":"tslint --project . && prettier \"src/**/*.ts\" --list-different","test:unit":"nyc --silent ava --verbose","watch":"run-s clean build:main && run-p \"build:main -- -w\" \"test:unit -- --watch\"","cov":"run-s build test:unit cov:html && opn coverage/index.html","cov:html":"nyc report --reporter=html","cov:send":"nyc report --reporter=lcov > coverage.lcov && codecov","cov:check":"nyc report && nyc check-coverage --lines 100 --functions 100 --branches 100","doc":"run-s doc:html && opn build/docs/index.html","doc:html":"typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --out build/docs","doc:json":"typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --json build/docs/typedoc.json","doc:publish":"gh-pages -m \"[ci skip] Updates\" -d build/docs","version":"standard-version","reset":"git clean -dfx && git reset --hard && npm i","clean":"trash build test","all":"run-s reset test cov:check doc:html","prepare-release":"run-s all version doc:publish"},"scripts-info":{"info":"Display information about the package scripts","build":"Clean and rebuild the project","fix":"Try to automatically fix any linting problems","test":"Lint and unit test the project","watch":"Watch and rebuild the project on save, then rerun relevant tests","cov":"Rebuild, run tests, then create and open the coverage report","doc":"Generate HTML API documentation and open it in a browser","doc:json":"Generate API documentation in typedoc JSON format","version":"Bump package.json version, update CHANGELOG.md, tag release","reset":"Delete all untracked files and reset the repo to the last commit","prepare-release":"One-step: clean, build, test, publish docs, and prep a release"},"engines":{"node":">=8.9"},"dependencies":{"lodash.merge":"^4.6.1","uuid":"^3.3.2"},"devDependencies":{"@types/uuid":"^3.4.4","ava":"1.0.0-beta.7","codecov":"^3.1.0","cz-conventional-changelog":"^2.1.0","gh-pages":"^2.0.1","npm-run-all":"^4.1.5","nyc":"^13.1.0","opn-cli":"^4.0.0","prettier":"^1.15.2","standard-version":"^4.4.0","trash-cli":"^1.4.0","tslint":"^5.11.0","tslint-config-prettier":"^1.17.0","tslint-immutable":"^5.0.0","typedoc":"^0.13.0","typescript":"^3.1.6"},"ava":{"failFast":true,"files":["build/main/**/*.spec.js"],"sources":["build/main/**/*.js"]},"config":{"commitizen":{"path":"cz-conventional-changelog"}},"prettier":{"singleQuote":true},"nyc":{"exclude":["**/*.spec.js"]},"gitHead":"0ae73c374f81f12fc40a24a43038b14b85eb6e86","bugs":{"url":"https://github.com/authentik8/functional-es-aggregate/issues"},"homepage":"https://github.com/authentik8/functional-es-aggregate#readme","_id":"@authentik8/es-aggregate@0.2.5","_npmVersion":"6.4.1","_nodeVersion":"10.12.0","_npmUser":{"name":"authentik8","email":"degringolate@gmail.com"},"dist":{"integrity":"sha512-fDtmH6FXVFzOitgD9Oo+EJ3cT64ffmlo0roKz8p5HFwMqPRBN7qrYNGdUU+h0ozvpGCarKYzv6gat0sl4EAv1Q==","shasum":"0f4b3ee36f8ccc975999edc8037a667ccdb0a8fc","tarball":"https://registry.npmjs.org/@authentik8/es-aggregate/-/es-aggregate-0.2.5.tgz","fileCount":22,"unpackedSize":20304,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcgUAUCRA9TVsSAnZWagAAZIIP/268KNYUvBHuP+bPk995\nAHiwDflfYYzo14GbKSV+6lm5MzL10rt2ylsI5PRy0347uns3mutn+JMC1d0r\nDkF/NlVxYpPSCkoNZiM6aI7M8c52dQCcL3voux4TWkDGu5blgni07BIk7fTf\nRieMuVdGqrKFHTD5boXokMF7hDs/F8D+RI44kpuT3n9UJGhxT6MsyCov3r0B\nSf/dinare1LZDZJ0/oyKO+toYwiA1Q2qI4Tt5Wbh7zJU+5CN9fc5VTE6YSWf\nrM85ygFDIAMG5kTppgmlzQxTog9YI2Cl+ab2DZU3eU5nY8q39k+4lwhPzmkK\nqdaxaUwhfg8oO9CfgGWtRxEW1nFDqxAyN/T/4s+oHSAWgeh6P94RfrB6uUTM\nMusks6aRmeDrtHhD7zqnLtpbTvQAJVKGcV2WsNuvBIlTDYkQq58gsRAqvxKb\nprfrNxd1pwIScmiy1m+4nNmXiwuvCA5Mk+22/U7O14YNJZKO9Lu+zhhhHWuX\n61EYt40im7sFQolsFUWl41Bu3c8oACFSfXr0UlytPR0jfV9pYQv/WZM4tFm/\nDM4l0juRQCdbZt/CRaeFa7GACb5InD9GU0wnk0RwluFHGieKwp5Nz5fR4rv6\nx3LRgecnaxYasBn2A5L9LTY5M3ifPOwMTJQN0jqDBY5r/tlevzsqIHYuoyIH\nqy2v\r\n=ZGkN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC2oyjowCTBmcKw3MBrFSL0R2wpyImAloCkyW0FBCW2fAiEA32k3+9nSUzGGa/wadYCfmRci4m7ysb1k0TsGXMpH/aU="}]},"maintainers":[{"name":"authentik8","email":"degringolate@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/es-aggregate_0.2.5_1551974419652_0.8550058363805397"},"_hasShrinkwrap":false},"0.2.6":{"name":"@authentik8/es-aggregate","version":"0.2.6","description":"Libary for building event-sourced aggregates","main":"build/main/index.js","typings":"build/main/index.d.ts","module":"build/module/index.js","repository":{"type":"git","url":"git+https://github.com/authentik8/functional-es-aggregate.git"},"license":"MIT","keywords":[],"scripts":{"describe":"npm-scripts-info","build":"run-s clean && run-p build:*","build:main":"tsc -p tsconfig.json","build:module":"tsc -p tsconfig.module.json","fix":"run-s fix:*","fix:prettier":"prettier \"src/**/*.ts\" --write","fix:tslint":"tslint --fix --project .","test":"run-s build test:*","test:lint":"tslint --project . && prettier \"src/**/*.ts\" --list-different","test:unit":"nyc --silent ava --verbose","watch":"run-s clean build:main && run-p \"build:main -- -w\" \"test:unit -- --watch\"","cov":"run-s build test:unit cov:html && opn coverage/index.html","cov:html":"nyc report --reporter=html","cov:send":"nyc report --reporter=lcov > coverage.lcov && codecov","cov:check":"nyc report && nyc check-coverage --lines 100 --functions 100 --branches 100","doc":"run-s doc:html && opn build/docs/index.html","doc:html":"typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --out build/docs","doc:json":"typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --json build/docs/typedoc.json","doc:publish":"gh-pages -m \"[ci skip] Updates\" -d build/docs","version":"standard-version","reset":"git clean -dfx && git reset --hard && npm i","clean":"trash build test","all":"run-s reset test cov:check doc:html","prepare-release":"run-s all version doc:publish"},"scripts-info":{"info":"Display information about the package scripts","build":"Clean and rebuild the project","fix":"Try to automatically fix any linting problems","test":"Lint and unit test the project","watch":"Watch and rebuild the project on save, then rerun relevant tests","cov":"Rebuild, run tests, then create and open the coverage report","doc":"Generate HTML API documentation and open it in a browser","doc:json":"Generate API documentation in typedoc JSON format","version":"Bump package.json version, update CHANGELOG.md, tag release","reset":"Delete all untracked files and reset the repo to the last commit","prepare-release":"One-step: clean, build, test, publish docs, and prep a release"},"engines":{"node":">=8.9"},"dependencies":{"lodash.merge":"^4.6.1","uuid":"^3.3.2"},"devDependencies":{"@types/uuid":"^3.4.4","ava":"1.0.0-beta.7","codecov":"^3.1.0","cz-conventional-changelog":"^2.1.0","gh-pages":"^2.0.1","npm-run-all":"^4.1.5","nyc":"^13.1.0","opn-cli":"^4.0.0","prettier":"^1.15.2","standard-version":"^4.4.0","trash-cli":"^1.4.0","tslint":"^5.11.0","tslint-config-prettier":"^1.17.0","tslint-immutable":"^5.0.0","typedoc":"^0.13.0","typescript":"^3.1.6"},"ava":{"failFast":true,"files":["build/main/**/*.spec.js"],"sources":["build/main/**/*.js"]},"config":{"commitizen":{"path":"cz-conventional-changelog"}},"prettier":{"singleQuote":true},"nyc":{"exclude":["**/*.spec.js"]},"gitHead":"7a22115e076c3e2a44f80e4bd9b1740b9e6cea8b","bugs":{"url":"https://github.com/authentik8/functional-es-aggregate/issues"},"homepage":"https://github.com/authentik8/functional-es-aggregate#readme","_id":"@authentik8/es-aggregate@0.2.6","_npmVersion":"6.4.1","_nodeVersion":"11.1.0","_npmUser":{"name":"authentik8","email":"degringolate@gmail.com"},"dist":{"integrity":"sha512-qjs/PATimhXC25k2DQbxBcXCjaT7/StmqFStXrfVsNEwTOLGEbyj9ZZ9RY5juxChKl21rP30GVFIS/Y4e2C9Ig==","shasum":"d99852c6d183386336d6ee894c2726bdc9327e1d","tarball":"https://registry.npmjs.org/@authentik8/es-aggregate/-/es-aggregate-0.2.6.tgz","fileCount":26,"unpackedSize":24562,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcgavTCRA9TVsSAnZWagAA/dcP+wXT6ljVOOCyZbFAQqFI\nlJXdEM3XQtGC45zKgyDt/vZdCqICc0u9FK6lcJQX+rUYM5UZ7TKVAz5kVSkB\nTqeMOf+hgujPonSr9+3DT6vhUFdequNtms3gdnB5YlMHlH4X/fchVqcnjjeK\n9XsB8RKrrZflD7qsoYPMtrB8qzgoN0TLct/TRC4lYZhp6D16I4fkSWkUQl2f\n2GxyicMDA7DJIyihwYUPuoqHO5//h6HbQxevNzA/5mLX155PmnkZ9+NydpyS\nq51hJGc+uaoZ1TpfVIRgDf7f8wc+p8h5ETFrsTPCpDK80RqvRq4dgUdLjWZ9\n/809/BZigWYVzFlQ6m6i+fN874QFQKcjeiDKQ7fm0QyTeJndccxDUsHI/e/Y\njXBR4/l48Vy4KDumkqkP2b1a1NtZO87Y3lXoA+VxCF7o99wqfhZJ9AgQ6buP\nyhDSynzabayvqDIKDvnvmHEFxZhNQeBO9OOV0I9Izn+7nYLiO9wanSui3n67\nfgVR/fbg4M08s1x7JOAieAyD4qJTWGvm6ixzGCQDD4MSPhPT7YgSdjvgtDtU\nAvquaaKkissGYQBg3S09BIoBwy3Q4JCwu4OZFfIb+ZQLH/PfBEj3XbjC7Lhr\nARpBm9lwm1vN2Wh4paia3kUgxX84dbRqrO3AhPwJQOVJAcxNVgcurZ84I+PB\nrgWH\r\n=4giy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQClFqGXNIlVDmdvWfgvnyuDUU/wD6B7FKX4kpub8UddhwIgUjl+ArUqCaei6FrJvS0kAQjKZirGCQUJfZX6mcCJJ5s="}]},"maintainers":[{"name":"authentik8","email":"degringolate@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/es-aggregate_0.2.6_1552002002777_0.38808140642469824"},"_hasShrinkwrap":false},"0.2.7":{"name":"@authentik8/es-aggregate","version":"0.2.7","description":"Libary for building event-sourced aggregates","main":"build/main/index.js","typings":"build/main/index.d.ts","module":"build/module/index.js","repository":{"type":"git","url":"git+https://github.com/authentik8/es-aggregate.git"},"license":"MIT","keywords":[],"scripts":{"describe":"npm-scripts-info","build":"run-s clean && run-p build:*","build:main":"tsc -p tsconfig.json","build:module":"tsc -p tsconfig.module.json","fix":"run-s fix:*","fix:prettier":"prettier \"src/**/*.ts\" --write","fix:tslint":"tslint --fix --project .","test":"run-s build test:*","test:lint":"tslint --project . && prettier \"src/**/*.ts\" --list-different","test:unit":"nyc --silent ava --verbose","watch":"run-s clean build:main && run-p \"build:main -- -w\" \"test:unit -- --watch\"","cov":"run-s build test:unit cov:html && opn coverage/index.html","cov:html":"nyc report --reporter=html","cov:send":"nyc report --reporter=lcov > coverage.lcov && codecov","cov:check":"nyc report && nyc check-coverage --lines 100 --functions 100 --branches 100","doc":"run-s doc:html && opn build/docs/index.html","doc:html":"typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --out build/docs","doc:json":"typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --json build/docs/typedoc.json","doc:publish":"gh-pages -m \"[ci skip] Updates\" -d build/docs","version":"standard-version","reset":"git clean -dfx && git reset --hard && npm i","clean":"trash build test","all":"run-s reset test cov:check doc:html","prepare-release":"run-s all version doc:publish"},"scripts-info":{"info":"Display information about the package scripts","build":"Clean and rebuild the project","fix":"Try to automatically fix any linting problems","test":"Lint and unit test the project","watch":"Watch and rebuild the project on save, then rerun relevant tests","cov":"Rebuild, run tests, then create and open the coverage report","doc":"Generate HTML API documentation and open it in a browser","doc:json":"Generate API documentation in typedoc JSON format","version":"Bump package.json version, update CHANGELOG.md, tag release","reset":"Delete all untracked files and reset the repo to the last commit","prepare-release":"One-step: clean, build, test, publish docs, and prep a release"},"engines":{"node":">=8.9"},"dependencies":{"lodash.merge":"^4.6.1","uuid":"^3.3.2"},"devDependencies":{"@types/uuid":"^3.4.4","ava":"1.0.0-beta.7","codecov":"^3.1.0","cz-conventional-changelog":"^2.1.0","gh-pages":"^2.0.1","npm-run-all":"^4.1.5","nyc":"^13.1.0","opn-cli":"^4.0.0","prettier":"^1.15.2","standard-version":"^4.4.0","trash-cli":"^1.4.0","tslint":"^5.11.0","tslint-config-prettier":"^1.17.0","tslint-immutable":"^5.0.0","typedoc":"^0.13.0","typescript":"^3.1.6"},"ava":{"failFast":true,"files":["build/main/**/*.spec.js"],"sources":["build/main/**/*.js"]},"config":{"commitizen":{"path":"cz-conventional-changelog"}},"prettier":{"singleQuote":true},"nyc":{"exclude":["**/*.spec.js"]},"gitHead":"2dce31214dfd97b4a2874424065777e4f7783819","bugs":{"url":"https://github.com/authentik8/es-aggregate/issues"},"homepage":"https://github.com/authentik8/es-aggregate#readme","_id":"@authentik8/es-aggregate@0.2.7","_npmVersion":"6.4.1","_nodeVersion":"11.1.0","_npmUser":{"name":"authentik8","email":"degringolate@gmail.com"},"dist":{"integrity":"sha512-reiNTMIQKfLpLg//7Di8LJ/LrDGtmK7yVP4DVNj1m5uT7q1Bd5xxo23oaVUGHLxayI+Ivy2v1BDaJssTyqktMQ==","shasum":"60b09c3db1dee69cc8775b92f57e74b817e51dd4","tarball":"https://registry.npmjs.org/@authentik8/es-aggregate/-/es-aggregate-0.2.7.tgz","fileCount":26,"unpackedSize":24667,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcga3ECRA9TVsSAnZWagAA5fEQAJOuAEQpYzBVROtDGrr6\nSP6k1LYzupA5xsPKnygWode+dKRygFMu0JI22dGyQIu003tK4bCCPh7bTIa7\n7SC1EIzFBGrf81D3/XRN/c5v/dVywbG67FESmKS7hNWmJo90vEgkx1HvxF+E\nmpGIdKFBrer1BsuR1wabewUrSQWVutKtAgvmIlkKMmU+jQIB7Ywfq65NCtkH\nkYjD97nsPUHVa3MLEPhA7GFM4FiHYv5UVjzFjwkoMuJ8qfPbhqxUtXFBruhO\nBUDrpNyniHLhxRmwfe6dH3iXbYJ2bjeixd+IhBoPzajIY3wEkFg/ssQknTBM\nJj+wUUIQo5Dr3Uy0DipMDcVfU1NSC8kc8aLXY6K3rB9W+3upaqoIbfJKcQMw\nrXrjyooEUq3GOAELZJo37uRt1dGAE73gWwHGURZlsjsoCHRZEyzlMiKimMQJ\nuzIAMgqi4f2+Z7NKOHrj/T6RaIq2yxjxqGGoeFAGJrDsukxI/N0MU7GuG2RL\ngeIVB2/yhkYdLzIcaqCUodqICeQG+pjV6oQaZYU2AiFOKUqgR50MTpINEftp\nuYswekW4qzRu9TGo3l12XWS0KKEq5E7/QUEgcHcmjsIPeYXhnClSL25XMwk+\nsLWu2K5AgM27p08nk9QV5rdNKIy2PVYDWuf8IDQe0OCDTBAjtLVCSwTAxwOs\nG8q+\r\n=NYyQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDmxOjnfss9X3cAhHu8dtr2gyOwS36rCR+w4vK+ZjKnJgIgIpEmuGBWQNYp+3Kttow6w60duZBwOpWmcsiRLApObJk="}]},"maintainers":[{"name":"authentik8","email":"degringolate@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/es-aggregate_0.2.7_1552002500342_0.31042143613521156"},"_hasShrinkwrap":false},"0.2.8":{"name":"@authentik8/es-aggregate","version":"0.2.8","description":"Libary for building event-sourced aggregates","main":"build/main/index.js","typings":"build/main/index.d.ts","module":"build/module/index.js","repository":{"type":"git","url":"git+https://github.com/authentik8/es-aggregate.git"},"license":"MIT","keywords":[],"scripts":{"describe":"npm-scripts-info","build":"run-s clean && run-p build:*","build:main":"tsc -p tsconfig.json","build:module":"tsc -p tsconfig.module.json","fix":"run-s fix:*","fix:prettier":"prettier \"src/**/*.ts\" --write","fix:tslint":"tslint --fix --project .","test":"run-s build test:*","test:lint":"tslint --project . && prettier \"src/**/*.ts\" --list-different","test:unit":"nyc --silent ava --verbose","watch":"run-s clean build:main && run-p \"build:main -- -w\" \"test:unit -- --watch\"","cov":"run-s build test:unit cov:html && opn coverage/index.html","cov:html":"nyc report --reporter=html","cov:send":"nyc report --reporter=lcov > coverage.lcov && codecov","cov:check":"nyc report && nyc check-coverage --lines 100 --functions 100 --branches 100","doc":"run-s doc:html && opn build/docs/index.html","doc:html":"typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --out build/docs","doc:json":"typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --json build/docs/typedoc.json","doc:publish":"gh-pages -m \"[ci skip] Updates\" -d build/docs","version":"standard-version","reset":"git clean -dfx && git reset --hard && npm i","clean":"trash build test","all":"run-s reset test cov:check doc:html","prepare-release":"run-s all version doc:publish"},"scripts-info":{"info":"Display information about the package scripts","build":"Clean and rebuild the project","fix":"Try to automatically fix any linting problems","test":"Lint and unit test the project","watch":"Watch and rebuild the project on save, then rerun relevant tests","cov":"Rebuild, run tests, then create and open the coverage report","doc":"Generate HTML API documentation and open it in a browser","doc:json":"Generate API documentation in typedoc JSON format","version":"Bump package.json version, update CHANGELOG.md, tag release","reset":"Delete all untracked files and reset the repo to the last commit","prepare-release":"One-step: clean, build, test, publish docs, and prep a release"},"engines":{"node":">=8.9"},"dependencies":{"lodash.merge":"^4.6.1","uuid":"^3.3.2"},"devDependencies":{"@types/uuid":"^3.4.4","ava":"1.0.0-beta.7","codecov":"^3.1.0","cz-conventional-changelog":"^2.1.0","gh-pages":"^2.0.1","npm-run-all":"^4.1.5","nyc":"^13.1.0","opn-cli":"^4.0.0","prettier":"^1.15.2","standard-version":"^4.4.0","trash-cli":"^1.4.0","tslint":"^5.11.0","tslint-config-prettier":"^1.17.0","tslint-immutable":"^5.0.0","typedoc":"^0.13.0","typescript":"^3.1.6"},"ava":{"failFast":true,"files":["build/main/**/*.spec.js"],"sources":["build/main/**/*.js"]},"config":{"commitizen":{"path":"cz-conventional-changelog"}},"prettier":{"singleQuote":true},"nyc":{"exclude":["**/*.spec.js"]},"gitHead":"06e157dc092f7c5f89dcc9b8c41cd91de9644aef","bugs":{"url":"https://github.com/authentik8/es-aggregate/issues"},"homepage":"https://github.com/authentik8/es-aggregate#readme","_id":"@authentik8/es-aggregate@0.2.8","_npmVersion":"6.4.1","_nodeVersion":"10.12.0","_npmUser":{"name":"authentik8","email":"degringolate@gmail.com"},"dist":{"integrity":"sha512-F3D3zIJqkjBzqLXQNc66u9/e7dsHCsCk/hmE7QWeX2HebEaFo27D/ehubFw+IC4+lau8XYawnkVDs4PrNE2DVg==","shasum":"2bd23a61ffdce181659c24e692f333a480c056ca","tarball":"https://registry.npmjs.org/@authentik8/es-aggregate/-/es-aggregate-0.2.8.tgz","fileCount":22,"unpackedSize":21527,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcgibdCRA9TVsSAnZWagAAuIsP/3KgUbwnhky6HQoOWqXi\nOvSbrucJKaCO4POhXCp7E7aeMLkukyrVYSU2b25ll9lf/nrqV6GEIUHtD7/Y\n5S1ob33ElJAcrqukq5YkfQYsHxHwnJisDK/JR5RoSLhmsBU/znjwQqXw/8Ih\nv8Fp11gxh7ufe4J6Iv2KcYG/IHxQcCPkggnJOdAKD5OzS88v3GfWLGMjCV9r\nXlLGFQwT6Ov3GEahFOOTrg007JFhBGvQu5Rkz4Mx+1TWYNnXUJxvUdHtuEuh\n4UG5c5yOEH5sh18UV1354oB03uHDAeuWjuu8H8AmGJgJBGY7SRypLo+21OGb\nrqEp8wyHsM5XIEL0XFTOIYoe4wmxosLMqcFlnIhjd6KHN0pKCdaVSSVFZALR\nO4fZip+BfTVXvszv/BHk0WGj15gBBYS7pynwxqFKsvZqplHV+G65AVhh14K2\nIZvTz0V1eDDH3fyWd5k5DApNZ7AynjTlltXR6+jp6oYpRtbsrrcwlcqndIWM\nD1pAOPVx6gRdH1S3PuRX8X44az42z2i0BKrtCHqnnh2N6R6hx/iGB9EUK5VC\nDljKyaRlesX1cPDO+jJYc1OijH1vbwhXAu+zyMVzYpgvphhPlZlqLcBVNQgF\nPUCfDA4f2GdVK2QQT1mq41IfWCahbS5dXQqE4yJ0EBcNwVnL4UhQxHOQYQc6\nRNrv\r\n=avHD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAd4l06H2OI50i6BPZV4kICoY8wRJ0IFOXhDmlahElV4AiEAv3C1cWIDavt0xzEG0Kwm8DoVCbeF3Ytf2Ym7axvXly0="}]},"maintainers":[{"name":"authentik8","email":"degringolate@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/es-aggregate_0.2.8_1552033500477_0.37040081195960584"},"_hasShrinkwrap":false}},"time":{"created":"2019-03-07T15:37:44.501Z","0.1.0":"2019-03-07T15:37:44.826Z","modified":"2022-04-04T16:31:35.397Z","0.2.2":"2019-03-07T15:46:40.546Z","0.2.4":"2019-03-07T15:51:18.325Z","0.2.5":"2019-03-07T16:00:19.845Z","0.2.6":"2019-03-07T23:40:02.882Z","0.2.7":"2019-03-07T23:48:20.453Z","0.2.8":"2019-03-08T08:25:00.601Z"},"maintainers":[{"name":"authentik8","email":"degringolate@gmail.com"}],"description":"Libary for building event-sourced aggregates","homepage":"https://github.com/authentik8/es-aggregate#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/authentik8/es-aggregate.git"},"bugs":{"url":"https://github.com/authentik8/es-aggregate/issues"},"license":"MIT","readme":"# ES-Aggregate\r\n\r\nThis package provides my take on an event-sourced aggregate,\r\nallowing a user to configure an aggregate based on it's name,\r\ninitial state, command handling & event processing.\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install @authentik8/es-aggregate\r\n```\r\n\r\n## Usage\r\n\r\n```javascript\r\nimport { createAggregate } from '@authentik8/es-aggregate';\r\n\r\nconst name = 'Counter'\r\n\r\nconst initialState = { count: 0 };\r\n\r\nconst commands = {\r\n  increment: (entity, command) => {\r\n    const { by } = command;\r\n    entity.publish('incremented', { incrementSize: by })\r\n  }\r\n}\r\n\r\nconst eventHandlers = {\r\n  incremented: (state, event) => ({\r\n    ...state,\r\n    count: state.count + event.incrementSize\r\n  })\r\n}\r\n\r\nconst aggregate = createAggregate({ \r\n  name, \r\n  initialState, \r\n  commands, \r\n  eventHandlers \r\n})\r\n```\r\n\r\n","readmeFilename":"README.md"}