{"_id":"@bloc-state/bloc","_rev":"12-2e67de44efdd8d71773849a13caafa92","name":"@bloc-state/bloc","dist-tags":{"latest":"2.1.0","beta":"2.0.0-beta.7"},"versions":{"1.0.0":{"name":"@bloc-state/bloc","version":"1.0.0","description":"The core library for bloc-state.","publishConfig":{"access":"public"},"main":"./dist/index.js","module":"./dist/index.mjs","exports":{"require":"./dist/index.js","import":"./dist/index.mjs"},"types":"./dist/index.d.ts","scripts":{"build-fast":"tsup src/index.ts --format cjs,esm","build":"pnpm run build-fast","test":"jest --verbose --runInBand --coverage","prepublishOnly":"pnpm run build","prepare":"husky install"},"license":"MIT","devDependencies":{"@bloc-state/state":"^1.0.3","@commitlint/cli":"^17.2.0","@commitlint/config-conventional":"^17.2.0","@egoist/prettier-config":"1.0.0","@semantic-release/changelog":"^6.0.1","@semantic-release/git":"^10.0.1","@types/jest":"^29.2.3","husky":"^8.0.2","jest":"^29.3.1","jest-environment-jsdom":"^29.3.1","lint-staged":"12.3.5","prettier":"2.7.1","rxjs":"^7.5.7","semantic-release":"^19.0.5","ts-jest":"^29.0.3","tsup":"6.5.0","typescript":"^4.8.2"},"peerDependencies":{"@bloc-state/state":"^1.0.3","rxjs":"^7.5.7"},"lint-staged":{"*.{js,ts,css,md}":"prettier --write"},"gitHead":"a75dc9d62836f89fc529317981d57f5152501cfa","_id":"@bloc-state/bloc@1.0.0","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-s6w9goQPAw1oEGtEmos7vOcqBz9nbSPQE7Hqxw+XZlOgxWje5A+wKwBm9JlYyUdcEbbCR/sEQWrYTwwnWcp4sA==","shasum":"172970e60fbacc6f2c65cfecc14e12486e747429","tarball":"https://registry.npmjs.org/@bloc-state/bloc/-/bloc-1.0.0.tgz","fileCount":8,"unpackedSize":64706,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBFn5abb4FwkI3oLR7/nvEMHj4oAH3QpqRIIskMvsUvJAiEAn/1e8IcxXAKUAaML3w+utj86tiBfuM5JXfdWVbNfcwU="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjc+tIACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpNUhAApKjcdVjsR1GjNokA9CL70ag6EjVlEZUwnL7G9I3pc8njZUXs\r\nFHC1iDLGqvVqkP1c3HiRpNwi8dq0csBOuLVSSBdmz4iHsHDGCS800ZHbvP5i\r\nD8DtKu7/rBXxUgctXaL8aD8NZ0jrx7mjB5chgUlLybduoNpAUgAr/rLTt5rl\r\nSCCV5n6r9iMloKWea95AEieTW8fzluw+z3UNzx2Dmr6I5+sPhkXBM/9lilJD\r\nrRYGpmxkE83uHJRswVI6aiSeZ0cxtTvw/nUftZlWrHLTU7dDkEJdSqYWF2fK\r\nUBL1ILLaj+G6zouHiq/JiVtcM6UWMbGYWszx1YRYFtP/TWFDIjk8g37kDdOI\r\nmQJv6qbAAvTkCyjZuiF/tWhkb/m2nUMeSj80st70MMcz+iiLkzp765bVMD/5\r\nM57l5ktve4vUdl9rJs0yGD+HhOeRkd//Z7ILF3oMvJT1hBYDrD7PTrr3GUJn\r\ne5wyz4Na7U+e5jTdEmwcmkPb0p2LtxDCo0VtwhZTO+dYAc+8bewPgK+SBWg5\r\nfYZ3kmjLbZLy3RG6I9R6tMIMIPJ65tXHr9YJ6rBxvFoGawzJm8y4jKBcHPer\r\nzWMBr5jOWmtUhMn1bvWRY6pHrFyGNkBasNA0JTvFCtEenHAj4xWBrHcl0e76\r\nXa1Ie5yYQV7J8yXNNXWw3ozvnQju36DSSBY=\r\n=ZB1p\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"jacobtipp","email":"jacobtipp@gmail.com"},"directories":{},"maintainers":[{"name":"jacobtipp","email":"jacobtipp@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bloc_1.0.0_1668541255829_0.1895794300557221"},"_hasShrinkwrap":false},"1.1.0-beta.1":{"name":"@bloc-state/bloc","version":"1.1.0-beta.1","description":"The core library for bloc-state.","publishConfig":{"access":"public"},"main":"./dist/index.js","module":"./dist/index.mjs","exports":{"require":"./dist/index.js","import":"./dist/index.mjs"},"types":"./dist/index.d.ts","scripts":{"build-fast":"tsup src/index.ts --format cjs,esm","build":"pnpm run build-fast","test":"jest --verbose --runInBand --coverage","prepublishOnly":"pnpm run build","prepare":"husky install"},"license":"MIT","devDependencies":{"@bloc-state/state":"2.0.0-beta.2","@commitlint/cli":"^17.2.0","@commitlint/config-conventional":"^17.2.0","@egoist/prettier-config":"1.0.0","@semantic-release/changelog":"^6.0.1","@semantic-release/git":"^10.0.1","@types/jest":"^29.2.3","husky":"^8.0.2","jest":"^29.3.1","jest-environment-jsdom":"^29.3.1","lint-staged":"12.3.5","prettier":"2.7.1","rxjs":"^7.5.7","semantic-release":"^19.0.5","ts-jest":"^29.0.3","tsup":"6.5.0","typescript":"^4.8.2"},"peerDependencies":{"@bloc-state/state":"2.0.0-beta.2","rxjs":"^7.5.7"},"lint-staged":{"*.{js,ts,css,md}":"prettier --write"},"readme":"**💛 You can help the author become a full-time open-source maintainer by [sponsoring him on GitHub](https://github.com/sponsors/egoist).**\n\n---\n\n# my-ts-lib\n\n[![npm version](https://badgen.net/npm/v/my-ts-lib)](https://npm.im/my-ts-lib) [![npm downloads](https://badgen.net/npm/dm/my-ts-lib)](https://npm.im/my-ts-lib)\n\n## Using this template\n\n- Search `my-ts-lib` and replace it with your custom package name.\n- Search `egoist` and replace it with your name.\n\nFeatures:\n\n- Package manager [pnpm](https://pnpm.js.org/), safe and fast\n- Release with [semantic-release](https://npm.im/semantic-release)\n- Bundle with [tsup](https://github.com/egoist/tsup)\n- Test with [jest](https://jestjs.io/)\n\nTo skip CI (GitHub action), add `skip-ci` to commit message. To skip release, add `skip-release` to commit message.\n\n## Install\n\n```bash\nnpm i my-ts-lib\n```\n\n## Sponsors\n\n[![sponsors](https://sponsors-images.egoist.sh/sponsors.svg)](https://github.com/sponsors/egoist)\n\n## License\n\nMIT &copy; [EGOIST](https://github.com/sponsors/egoist)\n","readmeFilename":"README.md","gitHead":"07af1761c6349af0a2de215c3bd5d8dd9ea44962","_id":"@bloc-state/bloc@1.1.0-beta.1","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-ta6eqy7AADZUOLlKWbODtVP4hN3o9bSPtNF5F+wXxCzFgSEkIMYY+o7PjAol4DemQDEu9T9Fo5Bo3hWcqbk0iA==","shasum":"8714b3fa494cd0cdc06f7bb91049a85efcb2f70d","tarball":"https://registry.npmjs.org/@bloc-state/bloc/-/bloc-1.1.0-beta.1.tgz","fileCount":8,"unpackedSize":46921,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD8fvZnzoXjdVoN6IPvSe9bgWnX2KaQZvDv7YTrzc9/5wIgfwJOyMFoCzwugPW6IjalBn4cQksyUE/7SDBz8WCo9Lc="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjdfIsACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq8wBAAj6SXfoSCUkrKdzfiHSlB9PRrVLLDWF0jZ+gjnE+RILiUMfKe\r\nPEkoWELoutmWAHvKPvsLtQe5TX8xhn1DdLNER5OrW6kGNIZ0QCHZo00n6EeV\r\nUijFx5FSwPunMYk5F4WUKoTwZ6EI8Ik/lB/eZusVjivItimfkXMshFyolpTQ\r\nn2SCLxoUWkLcgai4N+cMBaZ82jFSzEQqYgrjs+QZAD4iNayWyfs5AWdY7aT/\r\n2QSCLO4W7QscVOMA3b4wO6AP+1gJTZ+9NqLQgjv0VowHhqkpxLzondyQOf0P\r\nD0RAI1a7sXUZD4ztWGslJvEu6/Htdz3v58uMwkIWVyNpdJFsYz7jV/W1TvS+\r\nLP8apKV5s3hKa6cJNl3f7BofsdrmNPnIPF0rbSX/cD0BV9sT2daNmhOF8Kxe\r\nZ60hGgxk7W8/xSLk7DhUswy9E+7FzmCuUqu33qi+EQwHqUAvfvG2JpHw86kN\r\nzmRGPb1IhI70PE9t85k9iPfPsvuPrGI+WaWY4NhJthJlV3SoPJLhk5YePbPf\r\nOVBAXcUAJn8iolv642i30O5GrW3M+j4+ELlI5LmWYL70i1tFbKPHq+lAzrT3\r\ntaBJYP9RsqcO09Ryek2XxLWAyr9/PtLFg3ZYm6VGkDLhdwQrX0+VoUpNUhoR\r\nGnWbxC3+3ACpN11aHVtfNV6KCRLcMaguPL0=\r\n=XjHn\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"jacobtipp","email":"jacobtipp@gmail.com"},"directories":{},"maintainers":[{"name":"jacobtipp","email":"jacobtipp@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bloc_1.1.0-beta.1_1668674092359_0.40675695496976894"},"_hasShrinkwrap":false},"2.0.0-beta.1":{"name":"@bloc-state/bloc","version":"2.0.0-beta.1","description":"The core library for bloc-state.","publishConfig":{"access":"public"},"main":"./dist/index.js","module":"./dist/index.mjs","exports":{"require":"./dist/index.js","import":"./dist/index.mjs"},"types":"./dist/index.d.ts","scripts":{"build-fast":"tsup src/index.ts --format cjs,esm","build":"pnpm run build-fast","test":"jest --verbose --runInBand --coverage","prepublishOnly":"pnpm run build","prepare":"husky install"},"license":"MIT","devDependencies":{"@bloc-state/state":"2.0.0-beta.2","@commitlint/cli":"^17.2.0","@commitlint/config-conventional":"^17.2.0","@egoist/prettier-config":"1.0.0","@semantic-release/changelog":"^6.0.1","@semantic-release/git":"^10.0.1","@types/jest":"^29.2.3","husky":"^8.0.2","jest":"^29.3.1","jest-environment-jsdom":"^29.3.1","lint-staged":"12.3.5","prettier":"2.7.1","rxjs":"^7.5.7","semantic-release":"^19.0.5","ts-jest":"^29.0.3","tsup":"6.5.0","typescript":"^4.8.2"},"peerDependencies":{"@bloc-state/state":"2.0.0-beta.2","rxjs":"^7.5.7"},"lint-staged":{"*.{js,ts,css,md}":"prettier --write"},"readme":"**💛 You can help the author become a full-time open-source maintainer by [sponsoring him on GitHub](https://github.com/sponsors/egoist).**\n\n---\n\n# my-ts-lib\n\n[![npm version](https://badgen.net/npm/v/my-ts-lib)](https://npm.im/my-ts-lib) [![npm downloads](https://badgen.net/npm/dm/my-ts-lib)](https://npm.im/my-ts-lib)\n\n## Using this template\n\n- Search `my-ts-lib` and replace it with your custom package name.\n- Search `egoist` and replace it with your name.\n\nFeatures:\n\n- Package manager [pnpm](https://pnpm.js.org/), safe and fast\n- Release with [semantic-release](https://npm.im/semantic-release)\n- Bundle with [tsup](https://github.com/egoist/tsup)\n- Test with [jest](https://jestjs.io/)\n\nTo skip CI (GitHub action), add `skip-ci` to commit message. To skip release, add `skip-release` to commit message.\n\n## Install\n\n```bash\nnpm i my-ts-lib\n```\n\n## Sponsors\n\n[![sponsors](https://sponsors-images.egoist.sh/sponsors.svg)](https://github.com/sponsors/egoist)\n\n## License\n\nMIT &copy; [EGOIST](https://github.com/sponsors/egoist)\n","readmeFilename":"README.md","gitHead":"70634ee5f375136995ba36f6af9e3706fe286371","_id":"@bloc-state/bloc@2.0.0-beta.1","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-IpZOKaCE2fP2/y4PeD1DiizJK992iHeNdZjbx6brngDCSoGU1z/GeT7WLasZ/MYoS4OhWT5jY5Jwkn/PCXmJ/g==","shasum":"2189d6e7c3551631e075b9c072a496ba4a4698b1","tarball":"https://registry.npmjs.org/@bloc-state/bloc/-/bloc-2.0.0-beta.1.tgz","fileCount":8,"unpackedSize":46921,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF81E7aM0Nd7mNjYYjwEsOezF8cjesic8I3l1OgxEfpiAiBaPCgf6bbB9yWnIfeop8T8Wkl94x6OgfUPLsFf9+KrKw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjdfSIACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq99A/7BTE0eO6Pu0tjXPTVf4KVH9zhbJU8x3SJxWY+6gIV4OAzJFVp\r\nimcqRFwgKKpDLSkNin2MoUQ7SCFfcBYy7eLy3LsYSD/uHrQNMyxRPQtYkEkN\r\nZVRJBDo/zfFm0dNfklCnfueiklIeQwvmjRenm3RrQEAKFlUKHxzwfau3YviM\r\nL7Vmltm1sKVndK9Ci8QcG3d+HmXLcUDjL5eFV3MoFdVDxQYaZJ/MCbwKE4dr\r\ns6RnqS+S4Da4iUkXo8XadEF9qmx07g5i5wLJG3JWccZYP/r0lO5RDO1uQUOR\r\npvQ37AuBB183ET/p1ktAsFGrJdf0zmzl0arRzNfKfZV7FhrcCgKt3nYWj++7\r\nAZTSRygGA0FZ9elEMZwYkbgX2YZHJNIt+/w0o+uGoXBgvrCGQuwIDfq+S6tS\r\ngEdTAr1hzZosbId8EWuepIWLcvdENCDcrNelNEEAgGFlkBj508//eLHjJVAC\r\nX0JjlnICtq6Z65Qo3FdoHPMqHqdX0fKkGUBRoU29VyU6NMEtx7QFAIPsiW70\r\nh2uC7y9V7+tszz7/4w7ZAfIC3te2SEzU+oz4QlCfzQn9XRga1R4UBrRMZwDy\r\nGRCmIWbubT3cQLVWWyZwpiQ3YEKSOQl/y/4YEiJg77tcn82LnNlf6mzlgfqa\r\n1DWfWwhdEuC/gRXK1b8/f6sPQboYaQWtlFg=\r\n=u2Q2\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"jacobtipp","email":"jacobtipp@gmail.com"},"directories":{},"maintainers":[{"name":"jacobtipp","email":"jacobtipp@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bloc_2.0.0-beta.1_1668674696750_0.1864343536138915"},"_hasShrinkwrap":false},"2.0.0-beta.2":{"name":"@bloc-state/bloc","version":"2.0.0-beta.2","description":"The core library for bloc-state.","publishConfig":{"access":"public"},"main":"./dist/index.js","module":"./dist/index.mjs","exports":{"require":"./dist/index.js","import":"./dist/index.mjs"},"types":"./dist/index.d.ts","scripts":{"build-fast":"tsup src/index.ts --format cjs,esm","build":"pnpm run build-fast","test":"jest --verbose --runInBand --coverage","prepublishOnly":"pnpm run build","prepare":"husky install"},"license":"MIT","devDependencies":{"@bloc-state/state":"2.0.0-beta.3","@commitlint/cli":"^17.2.0","@commitlint/config-conventional":"^17.2.0","@egoist/prettier-config":"1.0.0","@semantic-release/changelog":"^6.0.1","@semantic-release/git":"^10.0.1","@types/jest":"^29.2.3","husky":"^8.0.2","jest":"^29.3.1","jest-environment-jsdom":"^29.3.1","lint-staged":"12.3.5","prettier":"2.7.1","rxjs":"^7.5.7","semantic-release":"^19.0.5","ts-jest":"^29.0.3","tsup":"6.5.0","typescript":"^4.8.2"},"peerDependencies":{"@bloc-state/state":"2.0.0-beta.3","rxjs":"^7.5.7"},"lint-staged":{"*.{js,ts,css,md}":"prettier --write"},"readme":"**💛 You can help the author become a full-time open-source maintainer by [sponsoring him on GitHub](https://github.com/sponsors/egoist).**\n\n---\n\n# my-ts-lib\n\n[![npm version](https://badgen.net/npm/v/my-ts-lib)](https://npm.im/my-ts-lib) [![npm downloads](https://badgen.net/npm/dm/my-ts-lib)](https://npm.im/my-ts-lib)\n\n## Using this template\n\n- Search `my-ts-lib` and replace it with your custom package name.\n- Search `egoist` and replace it with your name.\n\nFeatures:\n\n- Package manager [pnpm](https://pnpm.js.org/), safe and fast\n- Release with [semantic-release](https://npm.im/semantic-release)\n- Bundle with [tsup](https://github.com/egoist/tsup)\n- Test with [jest](https://jestjs.io/)\n\nTo skip CI (GitHub action), add `skip-ci` to commit message. To skip release, add `skip-release` to commit message.\n\n## Install\n\n```bash\nnpm i my-ts-lib\n```\n\n## Sponsors\n\n[![sponsors](https://sponsors-images.egoist.sh/sponsors.svg)](https://github.com/sponsors/egoist)\n\n## License\n\nMIT &copy; [EGOIST](https://github.com/sponsors/egoist)\n","readmeFilename":"README.md","gitHead":"075b84683b379e7d241f87b04c12dcbb9ca5495e","_id":"@bloc-state/bloc@2.0.0-beta.2","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-Tw+XAUq8tPofG1ozKyZKYnOF96TiNkg4em8JL205cAlU0zMXCHNzTnyczxv+xmpvLKs+X3j2uKBvd04vU9qhbA==","shasum":"b3025c31810ca35a992312c710dc1ec66294ceb8","tarball":"https://registry.npmjs.org/@bloc-state/bloc/-/bloc-2.0.0-beta.2.tgz","fileCount":8,"unpackedSize":47078,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC7xdiJeDSBIDYPzja1/g0Bis5ORdprkBaF/7r0W1gAPAiAXpGiUJQIfC1+dqRdAblGA0df7XJSZzIiS2qO1uiSN7Q=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjdxR+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqN/w/+P061ABsb2DpnMVsvAubrGXw2PAYZcqJ9vR+mCjokYJBcSaDw\r\nqtEr/cqcTevEIlJsRxFERWZkj1BnfB8hl7346ndBXpsO6JNh1dMEkDA82f2K\r\n/eYLvDU09T2hFN8R/YTtGsRwfsHaNA3wWNRH9UIxMJkztYchh1SdxSKXE+3l\r\nOFq4MzC1kz3O7aDf+ag5W+BSxihCkHTCySaipldhsQ0YN+5Hg7SParrMY252\r\nVpTTPXsiiZ57HUeXkMUO/t6POUzxF4+prd6DSeZJ+nUScRLR5Yur3SavcLxB\r\nLphYpJswtvqFHF72hSASQMlSDWN7k+1IiGbC6kjC6Q0NU92eUrvl+ioKNT+k\r\nQ9CQBeyUZ+pQLackW4JC1+R7MMaKn71j/G/ug4jOOZz9A3H+wJ1qN4V2dBIl\r\nXPwWAPP5TYeSB0jmfj98aVM0BXeZf0/EJRoy5dRW1TN8+qwFp7QVHcEZvUnY\r\nRkujrjJVRWBmMQaYMVRfKrvQlSGpPO4AnTrPmbT1wCzT8tYLZvb3jD4J/euu\r\nzDXTBYhz7Wc5YKj5ktxEIP5nx/KfArBMowphsfFLOYGRITs3XQJzxvXyLkhI\r\nqa0OnN00u6iEfmxMDfVrLywEebrFCAPESEpAsnnWVhWPT3XeaJN+YMPGvVV8\r\nuIjlCNhepJHdOdz6g1L/hYvfWqlrHWI6qpk=\r\n=krBK\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"jacobtipp","email":"jacobtipp@gmail.com"},"directories":{},"maintainers":[{"name":"jacobtipp","email":"jacobtipp@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bloc_2.0.0-beta.2_1668748414564_0.9878385857484866"},"_hasShrinkwrap":false},"2.0.0-beta.3":{"name":"@bloc-state/bloc","version":"2.0.0-beta.3","description":"The core library for bloc-state.","publishConfig":{"access":"public"},"main":"./dist/index.js","module":"./dist/index.mjs","exports":{"require":"./dist/index.js","import":"./dist/index.mjs"},"types":"./dist/index.d.ts","scripts":{"build-fast":"tsup src/index.ts --format cjs,esm","build":"pnpm run build-fast","test":"jest --verbose --runInBand --coverage","prepublishOnly":"pnpm run build","prepare":"husky install"},"license":"MIT","devDependencies":{"@bloc-state/state":"2.0.0-beta.3","@commitlint/cli":"^17.2.0","@commitlint/config-conventional":"^17.2.0","@egoist/prettier-config":"1.0.0","@semantic-release/changelog":"^6.0.1","@semantic-release/git":"^10.0.1","@types/jest":"^29.2.3","husky":"^8.0.2","jest":"^29.3.1","jest-environment-jsdom":"^29.3.1","lint-staged":"12.3.5","prettier":"2.7.1","rxjs":"^7.5.7","semantic-release":"^19.0.5","ts-jest":"^29.0.3","tsup":"6.5.0","typescript":"^4.8.2"},"peerDependencies":{"@bloc-state/state":"2.0.0-beta.3","rxjs":"^7.5.7"},"lint-staged":{"*.{js,ts,css,md}":"prettier --write"},"readme":"**💛 You can help the author become a full-time open-source maintainer by [sponsoring him on GitHub](https://github.com/sponsors/egoist).**\n\n---\n\n# my-ts-lib\n\n[![npm version](https://badgen.net/npm/v/my-ts-lib)](https://npm.im/my-ts-lib) [![npm downloads](https://badgen.net/npm/dm/my-ts-lib)](https://npm.im/my-ts-lib)\n\n## Using this template\n\n- Search `my-ts-lib` and replace it with your custom package name.\n- Search `egoist` and replace it with your name.\n\nFeatures:\n\n- Package manager [pnpm](https://pnpm.js.org/), safe and fast\n- Release with [semantic-release](https://npm.im/semantic-release)\n- Bundle with [tsup](https://github.com/egoist/tsup)\n- Test with [jest](https://jestjs.io/)\n\nTo skip CI (GitHub action), add `skip-ci` to commit message. To skip release, add `skip-release` to commit message.\n\n## Install\n\n```bash\nnpm i my-ts-lib\n```\n\n## Sponsors\n\n[![sponsors](https://sponsors-images.egoist.sh/sponsors.svg)](https://github.com/sponsors/egoist)\n\n## License\n\nMIT &copy; [EGOIST](https://github.com/sponsors/egoist)\n","readmeFilename":"README.md","gitHead":"2a9f83328de63538aac1027669b389f1795b2209","_id":"@bloc-state/bloc@2.0.0-beta.3","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-nfnzI3gFTd1DIKrpxkxZMfiW0HogcyVBA2eELQq70CNkAwpzYHoCCyHIkQ0nWGZslX8BR9dgcG0NZhZriOWbVg==","shasum":"186fd55c5ed18324658f1624366c93bc27e99ad4","tarball":"https://registry.npmjs.org/@bloc-state/bloc/-/bloc-2.0.0-beta.3.tgz","fileCount":8,"unpackedSize":49018,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDekphLASR477p/q5Ho1nb05tm+pf28IcKAtilWj0uQigIgRuvskhveUqt7qpybTzf0ggmnoJ86MY/5cecCcdu0V2o="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjdyzdACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqaLw/+LwYgwE0rXm39OIJeBnSRL/YTNHClVS3ha+8Ho4QW5CB1HPRl\r\nFqMaFQKJ31VwyPrpoXpyUMihLQwrVFRuVb+c6Sune3LbHugGYZ2dDJ6hi4BZ\r\nJgaWn44iVq6HxfSaQD4sXPo3+BA/LUr4ZWbnSsKpsXpP5gQBqE0frzHYGcVI\r\n5BM6fzr9mSYf245owS5J2l7joU3gNrj/cVdFBZce76RBMA66Q7gMSXE6uYVg\r\nYH1VTjfZ6BF/lbt3K2a2GqIgzMiG/INCrP2HIJz77FZmklFF7wPuYo+v0T3I\r\nKwhBK8WEmTs/WWCjfRhX/NRxV4pn/CD3vSEYOCcy9Dq4pXu+3rwRQ/X5UGjh\r\n7+EGE09uE8I/cW145QYPJ7quWbM1yAgEO+CBVZOIu6onnRW6K1VO97ZEZMAB\r\nkHk2fFtr+HEdLhLNkRVV9NkGt5jJ2YQPHx+aYM7BI3qdY1+Gjdz+UXTyL6gN\r\nKaoTzf+RLeBidBi9cHTVb0/7v3LaSj3UY3Rp1KTc87k1XxwzegAf6dkRvkDF\r\nAefXGgbxevUzNMQm3PaZyDsXz+mBwXPTK0pAZErCNDCICRdts37V782S2blw\r\n0NMhEmq+2mo39emWOx+RVRioI3pve2l81RDTSCvj4R4UjBj4Wi2/0WjIKjXO\r\nzktem0mYFcXkVz4EGHO0gEq5sFjgkbUQJpM=\r\n=M+RH\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"jacobtipp","email":"jacobtipp@gmail.com"},"directories":{},"maintainers":[{"name":"jacobtipp","email":"jacobtipp@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bloc_2.0.0-beta.3_1668754653569_0.9014502998966074"},"_hasShrinkwrap":false},"2.0.0-beta.4":{"name":"@bloc-state/bloc","version":"2.0.0-beta.4","description":"The core library for bloc-state.","publishConfig":{"access":"public"},"main":"./dist/index.js","module":"./dist/index.mjs","exports":{"require":"./dist/index.js","import":"./dist/index.mjs"},"types":"./dist/index.d.ts","scripts":{"build-fast":"tsup src/index.ts --format cjs,esm","build":"pnpm run build-fast","test":"jest --verbose --runInBand --coverage","prepublishOnly":"pnpm run build","prepare":"husky install"},"license":"MIT","devDependencies":{"@bloc-state/state":"2.0.0-beta.5","@commitlint/cli":"^17.2.0","@commitlint/config-conventional":"^17.2.0","@egoist/prettier-config":"1.0.0","@semantic-release/changelog":"^6.0.1","@semantic-release/git":"^10.0.1","@types/jest":"^29.2.3","husky":"^8.0.2","jest":"^29.3.1","jest-environment-jsdom":"^29.3.1","lint-staged":"12.3.5","prettier":"2.7.1","rxjs":"^7.5.7","semantic-release":"^19.0.5","ts-jest":"^29.0.3","tsup":"6.5.0","typescript":"^4.8.2"},"peerDependencies":{"rxjs":"^7.5.7"},"lint-staged":{"*.{js,ts,css,md}":"prettier --write"},"readme":"**💛 You can help the author become a full-time open-source maintainer by [sponsoring him on GitHub](https://github.com/sponsors/egoist).**\n\n---\n\n# my-ts-lib\n\n[![npm version](https://badgen.net/npm/v/my-ts-lib)](https://npm.im/my-ts-lib) [![npm downloads](https://badgen.net/npm/dm/my-ts-lib)](https://npm.im/my-ts-lib)\n\n## Using this template\n\n- Search `my-ts-lib` and replace it with your custom package name.\n- Search `egoist` and replace it with your name.\n\nFeatures:\n\n- Package manager [pnpm](https://pnpm.js.org/), safe and fast\n- Release with [semantic-release](https://npm.im/semantic-release)\n- Bundle with [tsup](https://github.com/egoist/tsup)\n- Test with [jest](https://jestjs.io/)\n\nTo skip CI (GitHub action), add `skip-ci` to commit message. To skip release, add `skip-release` to commit message.\n\n## Install\n\n```bash\nnpm i my-ts-lib\n```\n\n## Sponsors\n\n[![sponsors](https://sponsors-images.egoist.sh/sponsors.svg)](https://github.com/sponsors/egoist)\n\n## License\n\nMIT &copy; [EGOIST](https://github.com/sponsors/egoist)\n","readmeFilename":"README.md","gitHead":"1fc644802173257d31168051170962ba7056d7ea","_id":"@bloc-state/bloc@2.0.0-beta.4","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-tKDUF7COfY7s96kYg8Qegn/DqbfnTsvTD9Lz+yFJEkFUH5Am2K1DS/zWWomWiO4E25to+9lMagfIHKedhPTW+A==","shasum":"5d01f4a86daa64ebaaccb8472104f40b309434c1","tarball":"https://registry.npmjs.org/@bloc-state/bloc/-/bloc-2.0.0-beta.4.tgz","fileCount":8,"unpackedSize":49463,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICaiRwqNABFurbFxRZsgpYXpGKpRYAmgMBPjpcMuBWaqAiEAkDBZMoIYDHNvYhyE9mjeVCY3ToBwg8jzB4yZYnAsRAQ="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjebmtACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoXsg/9Eiplyy600IR8WH9XAiwS3EYDRkYuTVQw6vsAQB0AZ15QqBeS\r\ny48XBH++0gd2rtFmv+irtTkTwFfR3N1Hg/pCMIS0EpNVbev9bdJTqUwVvdKf\r\n/FUVPFkKTAxVjO7NheyO9N6j9fI654irOC08SRUlEhQyyxRBtden+3CjyusO\r\n6ooUv4a+kqKdFFJgNn7EfXV35AMeFIluZQu51gA/HYzfNZ0WxkUv6YhdY89i\r\nlYoE/YukwH+20S+nYPiai7vCBoZQULFS0z5E7IvqvU7xgteitbIg0gSsBKVt\r\nz6u/jAqdzkQkc82UTN3bPeEFvyaC/HjZomvASZvxGHyEN5Zi775OJORMWH26\r\n5LZppahCUZ1Qhxvfmp7wvM+mrf+OMSO1rdKJ+H8fmSp8IqHxA7qPGRDLIDTt\r\n0+Sm/1zNe9viUKh9Otv1sjb4j+oW0Hn76A2IrTArJY+/hgsrJuSdDCq3xDme\r\n6k+cDFFeAPcSLc2cv2Gd+Mp6SIX2Fx843+bZ9p6ueRZUg2iKmWZRsIKHqhAg\r\nr+KF1LxDhefLNtH5zZx/vRRyLAPy+e0vrC4hCcCpr0soF31C5UauT8dTSvUF\r\nFqXr931dxU9iWecJwlwEjF78UkhXk2++Wm15XUzxzBSChItPc3G5bLrqJQBT\r\nnrrh24Kzuf6z6h2eRbbEtpaW9LQUr7mLsY8=\r\n=rCm5\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"jacobtipp","email":"jacobtipp@gmail.com"},"directories":{},"maintainers":[{"name":"jacobtipp","email":"jacobtipp@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bloc_2.0.0-beta.4_1668921773170_0.6973716029954207"},"_hasShrinkwrap":false},"2.0.0-beta.5":{"name":"@bloc-state/bloc","version":"2.0.0-beta.5","description":"The core library for bloc-state.","publishConfig":{"access":"public"},"main":"./dist/index.js","module":"./dist/index.mjs","exports":{"require":"./dist/index.js","import":"./dist/index.mjs"},"types":"./dist/index.d.ts","scripts":{"build-fast":"tsup src/index.ts --format cjs,esm","build":"pnpm run build-fast","test":"jest --verbose --runInBand --coverage","prepublishOnly":"pnpm run build","prepare":"husky install"},"license":"MIT","devDependencies":{"@bloc-state/state":"^2.0.1","@commitlint/cli":"^17.2.0","@commitlint/config-conventional":"^17.2.0","@egoist/prettier-config":"1.0.0","@semantic-release/changelog":"^6.0.1","@semantic-release/git":"^10.0.1","@types/jest":"^29.2.3","husky":"^8.0.2","immer":"^9.0.16","jest":"^29.3.1","jest-environment-jsdom":"^29.3.1","lint-staged":"12.3.5","prettier":"2.7.1","rxjs":"^7.5.7","semantic-release":"^19.0.5","ts-jest":"^29.0.3","tsup":"6.5.0","typescript":"^4.8.2"},"peerDependencies":{"rxjs":"^7.5.7"},"lint-staged":{"*.{js,ts,css,md}":"prettier --write"},"readme":"**💛 You can help the author become a full-time open-source maintainer by [sponsoring him on GitHub](https://github.com/sponsors/egoist).**\n\n---\n\n# my-ts-lib\n\n[![npm version](https://badgen.net/npm/v/my-ts-lib)](https://npm.im/my-ts-lib) [![npm downloads](https://badgen.net/npm/dm/my-ts-lib)](https://npm.im/my-ts-lib)\n\n## Using this template\n\n- Search `my-ts-lib` and replace it with your custom package name.\n- Search `egoist` and replace it with your name.\n\nFeatures:\n\n- Package manager [pnpm](https://pnpm.js.org/), safe and fast\n- Release with [semantic-release](https://npm.im/semantic-release)\n- Bundle with [tsup](https://github.com/egoist/tsup)\n- Test with [jest](https://jestjs.io/)\n\nTo skip CI (GitHub action), add `skip-ci` to commit message. To skip release, add `skip-release` to commit message.\n\n## Install\n\n```bash\nnpm i my-ts-lib\n```\n\n## Sponsors\n\n[![sponsors](https://sponsors-images.egoist.sh/sponsors.svg)](https://github.com/sponsors/egoist)\n\n## License\n\nMIT &copy; [EGOIST](https://github.com/sponsors/egoist)\n","readmeFilename":"README.md","gitHead":"347eba4e492dc15f13302a488a6a8e333c3b787a","_id":"@bloc-state/bloc@2.0.0-beta.5","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-RRst/rL4AYVn5O+K49MRHIDqqND1fa/FsHqTzN1eJaZGwKIKJo3buNEhDupp3isvjK375BhLIuMfzKzRg1Q7/w==","shasum":"ad5ab59a247e0b596e81f1de76cad2cf3b73152a","tarball":"https://registry.npmjs.org/@bloc-state/bloc/-/bloc-2.0.0-beta.5.tgz","fileCount":8,"unpackedSize":46667,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBetEecT29LWHaZk1ZMp4+c7gey9ggY4QfqvkSjpc3FRAiEA5fMVLtBbddHkrU/QJMGMRhKpCBGUPCiFfK4rYGaTf0E="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjfpaCACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpAOg//RzixxNvyahMCNXYHgIxYvWCGeBeBPaOHc+f9KnodhQ5eXERA\r\nYaiiOgBb2JO8MVnWD16iYWmbSVgnB1Cjjy5Jp4MzDQaz4LyQdkk1AJ1rZQSr\r\nRHWc90HWN/WF+vRtDfKdJHaB8AU9WdnmueOAApeu5e+e47UPMfXgYz9n5UHt\r\nmhws2ao1UVk7uNMEIRZwrVkkZz7PQkCMl6XhVgU6xIlBwEGAuNh5tFVBVGFT\r\nLRKWlE9eNNzaefW5RiqokcWSIpksOLL7lt66TECtVoeSSql+WHNyz2c+9EZZ\r\neSA5DCyuMvNsRCnouF9v9bf4ArEULJ0Qsd0kwCBhj/ONGgnWpeelnzfG6lXT\r\nkW5DbYcnmzkocrA1nWwQVby6VTUc0+qWs/Hl3XsTUqG80sL1Uq5XWujviOHI\r\n/khYItx4PDI0uecFXjfUk6h3C3PxSYAeMwPRH3hSNIVJnRPC8/tZvbl1KQ5k\r\nr9CbNBxJ9I18hqyLhmaUFotlWAnmXy8Sis3giCOxGNW0LU66phOf8ARxqugq\r\nHYq/Nk1haeE49x2nxESv+l1VuYbUd4b/0LmAg1s2L28XXtnzBClHTMTJWKhC\r\nN62fFDIcTSkYk5s3zk1Lwedw6GOPV29qWfxJmUDlSsJKJrK1GDDil37UvT9r\r\n1E6w5+nrSjfx7hkPfP7zVmyRPRK2Nxr9Mq4=\r\n=qpCk\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"jacobtipp","email":"jacobtipp@gmail.com"},"directories":{},"maintainers":[{"name":"jacobtipp","email":"jacobtipp@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bloc_2.0.0-beta.5_1669240450280_0.15947631400847895"},"_hasShrinkwrap":false},"2.0.0-beta.6":{"name":"@bloc-state/bloc","version":"2.0.0-beta.6","description":"The core library for bloc-state.","publishConfig":{"access":"public"},"main":"./dist/index.js","module":"./dist/index.mjs","exports":{"require":"./dist/index.js","import":"./dist/index.mjs"},"types":"./dist/index.d.ts","scripts":{"build-fast":"tsup src/index.ts --format cjs,esm","build":"pnpm run build-fast","test":"jest --verbose --runInBand --coverage","prepublishOnly":"pnpm run build","prepare":"husky install"},"license":"MIT","devDependencies":{"@bloc-state/state":"^2.0.1","@commitlint/cli":"^17.2.0","@commitlint/config-conventional":"^17.2.0","@egoist/prettier-config":"1.0.0","@semantic-release/changelog":"^6.0.1","@semantic-release/git":"^10.0.1","@types/jest":"^29.2.3","husky":"^8.0.2","immer":"^9.0.16","jest":"^29.3.1","jest-environment-jsdom":"^29.3.1","lint-staged":"12.3.5","prettier":"2.7.1","rxjs":"^7.5.7","semantic-release":"^19.0.5","ts-jest":"^29.0.3","tsup":"6.5.0","typescript":"^4.8.2"},"peerDependencies":{"rxjs":"^7.5.7"},"lint-staged":{"*.{js,ts,css,md}":"prettier --write"},"readme":"**💛 You can help the author become a full-time open-source maintainer by [sponsoring him on GitHub](https://github.com/sponsors/egoist).**\n\n---\n\n# my-ts-lib\n\n[![npm version](https://badgen.net/npm/v/my-ts-lib)](https://npm.im/my-ts-lib) [![npm downloads](https://badgen.net/npm/dm/my-ts-lib)](https://npm.im/my-ts-lib)\n\n## Using this template\n\n- Search `my-ts-lib` and replace it with your custom package name.\n- Search `egoist` and replace it with your name.\n\nFeatures:\n\n- Package manager [pnpm](https://pnpm.js.org/), safe and fast\n- Release with [semantic-release](https://npm.im/semantic-release)\n- Bundle with [tsup](https://github.com/egoist/tsup)\n- Test with [jest](https://jestjs.io/)\n\nTo skip CI (GitHub action), add `skip-ci` to commit message. To skip release, add `skip-release` to commit message.\n\n## Install\n\n```bash\nnpm i my-ts-lib\n```\n\n## Sponsors\n\n[![sponsors](https://sponsors-images.egoist.sh/sponsors.svg)](https://github.com/sponsors/egoist)\n\n## License\n\nMIT &copy; [EGOIST](https://github.com/sponsors/egoist)\n","readmeFilename":"README.md","gitHead":"f498e7d1b64cb74d82cde9d6aac52e2f3721a588","_id":"@bloc-state/bloc@2.0.0-beta.6","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-9y44HlJQYYFaD3VpMmGpO+xxFffPW1pUGPcZs5gDukCeVgIcc/y5ixYUpitEjPBxPETgHTfZukL03IbSewuREA==","shasum":"d6c383a92e28fbe24ac9eb6288f59532fb7af472","tarball":"https://registry.npmjs.org/@bloc-state/bloc/-/bloc-2.0.0-beta.6.tgz","fileCount":8,"unpackedSize":47318,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDUQqLXlYitOUovo2QPKz65X5oMo4hQEtHUNA5SGmfNmAiEAh4/NZFmUA6jW7+Jw7Ki511m4OdlMjCgMR00Jr8StSHU="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjfru3ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmotCxAAk64riSQajzklcqwm0QGt6U6Nw6+Uip4Mi1B+dmWL3mAp3rEM\r\nuj4mqj/86LsbTbhsa7wwXgjqLLNlkxokxDdVzj6B+2wMCmtczDbur8dahpDj\r\nYr1ToXQmX14hvYBQFeCxWGTLZ5JtsxNCly1w7JcsEwuAutQdbB39IkQwPINy\r\nibyuLZWF3Bd09GTDMPYaUTRcuppkpGCPiQa5/zG/f/6o/nYlioC5Hzge177e\r\nILRttiB7krnihTmPh5AaZJziNONNWGm86zgGf7+hDptrJXt/tAOYrztDEgEh\r\nvM5xpVoMdAk+16xOYdxfIt9fHsFrodLFZyEpDKmgPRElhukN4XqzIvOL7owt\r\nuDHkhqVJHx06GZizf8I2giOqqvK0JHT8cVyD/LZ+PLg0wl1IvY4FpqnK+8/c\r\n4GnNCup+0Yc54PB03LVMRiOeyKEfv0lSvALsob9lOuHs0ECW4QWa4aofGbQP\r\nMo1xWbnxvqTUo4i2fUh9/dKPUrPqUWzovZTc/C1WLLisPu6e4c93SbKSmMZP\r\nsX8T1mn6R0JqYvzlHhlQN3GxpwmB1aFtWszkKXPeQ5T3KjOPRQMIknqR/AV1\r\nw3eUpqq4qscZCTYM618GyToNxmVelGr63kKgbecAtqLq+07n443SqRMWzx8w\r\n1vaBcmM66d2Z7hb4+CxCjnFf5kQWK2566Ao=\r\n=edFL\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"jacobtipp","email":"jacobtipp@gmail.com"},"directories":{},"maintainers":[{"name":"jacobtipp","email":"jacobtipp@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bloc_2.0.0-beta.6_1669249975320_0.8037982657418281"},"_hasShrinkwrap":false},"2.0.0-beta.7":{"name":"@bloc-state/bloc","version":"2.0.0-beta.7","description":"The core library for bloc-state.","publishConfig":{"access":"public"},"main":"./dist/index.js","module":"./dist/index.mjs","exports":{"require":"./dist/index.js","import":"./dist/index.mjs"},"types":"./dist/index.d.ts","scripts":{"build-fast":"tsup src/index.ts --format cjs,esm","build":"pnpm run build-fast","test":"jest --verbose --runInBand --coverage","prepublishOnly":"pnpm run build","prepare":"husky install"},"license":"MIT","devDependencies":{"@bloc-state/state":"^2.0.1","@commitlint/cli":"^17.2.0","@commitlint/config-conventional":"^17.2.0","@egoist/prettier-config":"1.0.0","@semantic-release/changelog":"^6.0.1","@semantic-release/git":"^10.0.1","@types/jest":"^29.2.3","husky":"^8.0.2","immer":"^9.0.16","jest":"^29.3.1","jest-environment-jsdom":"^29.3.1","lint-staged":"12.3.5","prettier":"2.7.1","rxjs":"^7.5.7","semantic-release":"^19.0.5","ts-jest":"^29.0.3","tsup":"6.5.0","typescript":"^4.8.2"},"peerDependencies":{"rxjs":"^7.5.7"},"lint-staged":{"*.{js,ts,css,md}":"prettier --write"},"readme":"# @bloc-state/bloc\n\n![Codecov](https://badgen.net/npm/v/@bloc-state/bloc?color=black)\n![Codecov](https://badgen.net/bundlephobia/minzip/@bloc-state/bloc?color=black)\n![Codecov](https://badgen.net/codecov/c/github/bloc-state/bloc?color=black)\n![Codecov](https://badgen.net/npm/license/@bloc-state/bloc?color=black)\n\n## Introduction\n\n`@bloc-state/bloc` is a state management library implementing the BLoC pattern that was first introduced\nby google at [DartConf](https://www.youtube.com/watch?v=PLHln7wHgPE) in 2018. This library conforms to the\nmodern [Dart Bloc library](https://github.com/felangel/bloc/) `v8.x` api.\n\n## Installation\n\n### `rxjs` is a `peerDependency`\n\n</br>\n\n```\nnpm install @bloc-state/bloc rxjs\n```\n\n## Creating a Cubit\n\n```ts\nexport class CounterCubit extends Cubit<number> {\n  constructor() {\n    super(0) // pass initial state to super constructor\n  }\n\n  increment() {\n    this.emit((state) => state + 1)\n  }\n\n  increment() {\n    this.emit((state) => state - 1)\n  }\n}\n```\n\n## Using a Cubit\n\n```ts\nconst counterCubit = new CounterCubit()\n\nconsole.log(counterCubit.state) // 0\n\ncounterCubit.increment()\n\nconsole.log(counterCubit.state) // 1\n\n// cubit is closed and disposed, it will no longer emit new state and all observers will be unsubscribed\ncubit.close()\n```\n\n## Observing a Cubit\n\n```ts\nexport class AppBlocObserver extends BlocObserver {\n  override onCreate(bloc: BlocBase<any>): void {\n    console.log(`onCreate: ${bloc.constructor.name}`)\n  }\n\n  override onError(bloc: BlocBase<any>, error: any): void {\n    console.log(`onError: ${bloc.constructor.name}`, error)\n  }\n\n  override onChange(bloc: BlocBase<any>, change: Change<any>): void {\n    console.log(`onChange: ${bloc.constructor.name}`, change)\n  }\n\n  override onClose(bloc: BlocBase<any>): void {\n    console.log(`onClose: ${bloc.constructor.name}`)\n  }\n}\n```\n\n```ts\n// main.tsx\n\n// composition root of your application\nBloc.observer = AppBlocObserver()\n```\n\n## Creating a Bloc\n\n```ts\n/// The events which `CounterBloc` will react to.\nabstract class CounterEvent extends BlocEvent {}\n\nclass CounterIncrementEvent extends CounterEvent {}\nclass CounterDecrementEvent extends CounterEvent {}\n\nexport class CounterBloc extends Bloc<CounterEvent, number> {\n  constructor() {\n    super(new CounterState(0))\n\n    this.on(CounterIncrementEvent, (event, emit) => emit((state) => state + 1))\n\n    this.on(CounterDecrementEvent, (event, emit) => emit((state) => state - 1))\n  }\n}\n```\n\n## Using a Bloc\n\n```ts\nasync function main() {\n  const delay = (n) => new Promise((resolve) => setTimeout(resolve, n))\n\n  const counterBloc = new CounterBloc()\n\n  console.log(counterBloc.state) // 0\n\n  counterBloc.add(new CounterIncrementEvent())\n\n  // wait for next tick in event loop\n  await delay(0)\n\n  console.log(counterBloc.state) // 1\n\n  counterBloc.close() // close the bloc when no longer needed\n}\n```\n","readmeFilename":"README.md","gitHead":"d3585e6eff87cc34542556f5e9539649bd0cf43c","_id":"@bloc-state/bloc@2.0.0-beta.7","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-2A5GxphxoMlhb+PA4BPzdRRSJWaXGDMdLzG84UiNnS5ehlSCdmzFA4+2szQNENqj9RHay4iKfRRb3oxT5H+YzA==","shasum":"6e9a33581cccea24c1d05cb0d5eec00bb862ee05","tarball":"https://registry.npmjs.org/@bloc-state/bloc/-/bloc-2.0.0-beta.7.tgz","fileCount":8,"unpackedSize":47295,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC3Ie9aAMt5q22FNgRTK3VCH6TkxKyn3PgpRJfqGV5ClwIgKyKPWWXmItmiy+DMT3LYtZA7PRX92JLM+mwP3h5bcO4="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjfvhYACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo7FA//TpILJVgm1elA5/RdqqXEx7hDWAuj9dvGq91IfOIWLhb2x1Q0\r\ntAOLcjD2dzMGAtOiopWvUDPbGASNbUPZO8psrkoGcINmzoo5CMJPBLOfvCKs\r\nVFp1cI5b4yyV0SyAV6n7/DuzcXWONstUjDGj5EQff28FyXnAmDX/j4EFSWb0\r\nsqBlaJ2E5PDWFfqmc6gLr2clnqFJ/5Hye64nPVseSv7kvaoXYB/O+2yl6eb9\r\nI5GDmu9HNANUXnrTSm+8MFlgTkqs6zxQe50VjuMO0nuSMLouOc/ZpcD/Z4OW\r\nrl6DD3q/w8JLdLh/AwR8GXahT7xMRWJOJ4fvRuc8dqcC89fPLeGQvLm0/f3J\r\nGn9Vq3OLsS6yvUjsWGfKS3Y0zBksiQMHwtFCMpl8PEHf/S6aTQYDGvdYUkno\r\nXTErpYDzzojl72KKnd+5DawPgycTceWPVb9DszW/N7kW5vMl/Z2k+M1PBK4Q\r\nR9ukADimDAJFzlkYJyCbjx4vLHcEg9IDfNZbijiDpoAPgknqnjl4u6ITjgKm\r\nxy+eDOgngoNT2mpBG1hy8eTqdHbaXagGvvxcxfKku1G8pmCrdMDCVokf077h\r\n1W1fiuddpVpPihv+8xPj0QF7tI/8L49/vZ/zIofbJj0PkOVNC8qQEVB6/DbR\r\nNBfHWPu3MOsUhbyitHvISWt0HyGFGRsaIRs=\r\n=qXjV\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"jacobtipp","email":"jacobtipp@gmail.com"},"directories":{},"maintainers":[{"name":"jacobtipp","email":"jacobtipp@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bloc_2.0.0-beta.7_1669265496443_0.16749072300733814"},"_hasShrinkwrap":false},"2.0.0":{"name":"@bloc-state/bloc","version":"2.0.0","description":"The core library for bloc-state.","publishConfig":{"access":"public"},"main":"./dist/index.js","module":"./dist/index.mjs","exports":{"require":"./dist/index.js","import":"./dist/index.mjs"},"types":"./dist/index.d.ts","scripts":{"build-fast":"tsup src/index.ts --format cjs,esm","build":"pnpm run build-fast","test":"jest --verbose --runInBand --coverage","prepublishOnly":"pnpm run build","prepare":"husky install"},"license":"MIT","devDependencies":{"@bloc-state/state":"^2.0.1","@commitlint/cli":"^17.2.0","@commitlint/config-conventional":"^17.2.0","@egoist/prettier-config":"1.0.0","@semantic-release/changelog":"^6.0.1","@semantic-release/git":"^10.0.1","@types/jest":"^29.2.3","husky":"^8.0.2","immer":"^9.0.16","jest":"^29.3.1","jest-environment-jsdom":"^29.3.1","lint-staged":"12.3.5","prettier":"2.7.1","rxjs":"^7.5.7","semantic-release":"^19.0.5","ts-jest":"^29.0.3","tsup":"6.5.0","typescript":"^4.8.2"},"peerDependencies":{"rxjs":"^7.5.7"},"lint-staged":{"*.{js,ts,css,md}":"prettier --write"},"gitHead":"ba97623f8a993fc59544801caac63a5df6ab79e9","_id":"@bloc-state/bloc@2.0.0","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-xgnetaQGkX4MNvgeIOqvwNqvC2ZuwJEV1wy5xOhfgvkljQM8c6SG+DCFL5qYYI40aeqJXlCxtStellNrPz3tvA==","shasum":"aae0a82925e7225f33867da9b5a07cb37c368e06","tarball":"https://registry.npmjs.org/@bloc-state/bloc/-/bloc-2.0.0.tgz","fileCount":8,"unpackedSize":47288,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD4rh3oL+09U7RJsGM0G36kV4obm+i0jXZAtBP44hdu+AIhANabS63cYrZfLGw89DBbFarSnU2QhiG52RekL4UBSoFE"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjfyo4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoPLxAAlkkS9ccuuwFia1tJ0JSJNGB3E623ELNi9muYu+93uewhYUc5\r\ny9/5XbHqBHLYVGf2rF1BFiZ1g5e1k4CIJjiSeiokZhJd0m10g8e70NcnnVo9\r\nmOBR1nvdmjj2ypcTAlYN9+2dzl+vge2PUDy+8+CuZdU/H/Ldzkp2oPAQqA1R\r\nmLIQdtv2Pt2n38TwXEhN/+j1cJoYV4wa6pk+pXeg8g0zyDZ63BeSIunnSezT\r\nwteF1LhnNHqBNurId1szEhH1FSokSssXh5OTf3T/NSdhNUq91aHN5ymuTRh6\r\nw0B6WeeL8+73OlHeGl2pQ+Z6By0+OgPn0lPQ9ppaEbedfEZuPiAydj9NpPKB\r\nzf+C3UOf3FC9VcoVNymHhxPtKEe73xHJjG0fGkc8s/5tm5IQM0EmO1je+NZS\r\nbfBL+6u56EHEqe5voH4SLAlIIH5XNCOl77tp+O1C6wXUnRSAgoz+foiMbZRX\r\n2oKRNmZsirmD50fckhDd40isAyFqzcZLoJPID9dkeItyQb0ZOKu6GEZWVmK1\r\nwidB9a0GqoVaKpYqicIMkN/oIVcntPjQXiu8CuJSia3xOPWlXYz//S17jx2O\r\niaKCgyYMl/iTpzEch/pMPJ6xTFDVhLIKFlSZ5crvoCxCBugViEkJmOTlEJcn\r\n76tPhBSJO4oBXJuDnAJtUtyV2eAWHW8DyQo=\r\n=XAoV\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"jacobtipp","email":"jacobtipp@gmail.com"},"directories":{},"maintainers":[{"name":"jacobtipp","email":"jacobtipp@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bloc_2.0.0_1669278264323_0.5587328532913409"},"_hasShrinkwrap":false},"2.0.1":{"name":"@bloc-state/bloc","version":"2.0.1","description":"The core library for bloc-state.","publishConfig":{"access":"public"},"main":"./dist/index.js","module":"./dist/index.mjs","exports":{"require":"./dist/index.js","import":"./dist/index.mjs"},"types":"./dist/index.d.ts","scripts":{"build-fast":"tsup src/index.ts --format cjs,esm","build":"pnpm run build-fast","test":"jest --verbose --runInBand --coverage","prepublishOnly":"pnpm run build","prepare":"husky install"},"license":"MIT","devDependencies":{"@bloc-state/state":"^2.0.1","@commitlint/cli":"^17.2.0","@commitlint/config-conventional":"^17.2.0","@egoist/prettier-config":"1.0.0","@semantic-release/changelog":"^6.0.1","@semantic-release/git":"^10.0.1","@types/jest":"^29.2.3","husky":"^8.0.2","immer":"^9.0.16","jest":"^29.3.1","jest-environment-jsdom":"^29.3.1","lint-staged":"12.3.5","prettier":"2.7.1","rxjs":"^7.5.7","semantic-release":"^19.0.5","ts-jest":"^29.0.3","tsup":"6.5.0","typescript":"^4.8.2"},"peerDependencies":{"rxjs":"^7.5.7"},"lint-staged":{"*.{js,ts,css,md}":"prettier --write"},"gitHead":"122e78ab582e8b04644c5764829c3f72c2aa2bc6","_id":"@bloc-state/bloc@2.0.1","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-SvSA+Du3tLZnmawwmyFJcQp7yiYTzFJQDkS747E+PHrT+bUThvjfMdL7M7DLnrT/vWfD4er2P6g0s8RHiZBONw==","shasum":"e2fb5fa2a2559b25f36b2af5f2f10d49afd8ca25","tarball":"https://registry.npmjs.org/@bloc-state/bloc/-/bloc-2.0.1.tgz","fileCount":8,"unpackedSize":48364,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB1rol6KlrRXsBweukfa0DMaSKdPPPatqisE6Au7xTemAiEA8ZxP5BaRA34ap73+XCAfhLa0am8HfeaO5rBZ2jMmRew="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjkqsQACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrNOg//TNK1XUIvBH1to9gL5xObKPJlqOv97jBAqR80xV37IoY48Srj\r\nIwzmC8TCE1rLx02LMkXHkIRd7f774JHHisZjjXAxFk6SUArxu5IRLakMjDgc\r\niK1HqFeuyzgGYfhiFsyXW5RzT767KYeXFIdLQaqCTifgZjCtGTxlTW0n7ftF\r\ncpX7/1BXsZiFHRVCYxWf7+UhVtI/yqxgJwFzLxSW6kLUBsyrrqkTsVUzX3vu\r\nDo9AymhDtf/VGiECEwd1Fc+qMLq9iOgTveTQaGPHfMgfklROvbIDvqUmprb2\r\nd/2iYi9r+Cnpua5fpESkoBj+TEQO7Iyo752CngXYyDMDCHGtldxUgU8Ub7io\r\nNGcNWFqnw11gDlFoB0IXNjdu1gtV5flWhKpHrXh8afVJKDJq7n4PwatJll7O\r\nvQbE0r92Zj5zoRaKZSBhWxHnYi7reRSxAJdJe9hucsKB16+GyXb8se8GQ4Da\r\njPe1JlO/DbBpYZz1Ie9Sa/4W5NX94lULMA2mVwipMMAyQ24Z0mXDiMtMx62F\r\nS7NQKdwx477B89fovIhv2+1vBtcNWdAd2O3CMqQaFu1ZF9aL2vy/17nv4qiI\r\nXwmx009CcLYTU3WYRfP2OsFyDzFHClWfNST3ByowmOFCasng9IjbUmq2/KHk\r\nzgtDLZH+vS5Y/FU7EtBW0i0v4YlCLN/ZFwU=\r\n=2k9H\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"jacobtipp","email":"jacobtipp@gmail.com"},"directories":{},"maintainers":[{"name":"jacobtipp","email":"jacobtipp@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bloc_2.0.1_1670556432351_0.09886299833246381"},"_hasShrinkwrap":false},"2.0.2":{"name":"@bloc-state/bloc","version":"2.0.2","description":"The core library for bloc-state.","publishConfig":{"access":"public"},"main":"./dist/index.js","module":"./dist/index.mjs","exports":{"require":"./dist/index.js","import":"./dist/index.mjs"},"types":"./dist/index.d.ts","scripts":{"build-fast":"tsup src/index.ts --format cjs,esm","build":"pnpm run build-fast","test":"jest --verbose --runInBand --coverage","prepublishOnly":"pnpm run build","prepare":"husky install"},"license":"MIT","devDependencies":{"@bloc-state/state":"^2.1.4","@commitlint/cli":"^17.2.0","@commitlint/config-conventional":"^17.2.0","@egoist/prettier-config":"1.0.0","@semantic-release/changelog":"^6.0.1","@semantic-release/git":"^10.0.1","@types/jest":"^29.2.3","husky":"^8.0.2","immer":"^9.0.16","jest":"^29.3.1","jest-environment-jsdom":"^29.3.1","lint-staged":"12.3.5","prettier":"2.7.1","rxjs":"^7.5.7","semantic-release":"^19.0.5","ts-jest":"^29.0.3","tsup":"6.5.0","typescript":"^4.8.2"},"peerDependencies":{"rxjs":"^7.5.7"},"lint-staged":{"*.{js,ts,css,md}":"prettier --write"},"gitHead":"a067e8f78609c5408d4dcad089fe80d4a87a2afe","_id":"@bloc-state/bloc@2.0.2","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-y6K4D4ZdMkqpXsHSDy3VUcA7v+N4PfxgE6Vvqukd8NUN5ubgKgsOqcxWi+D47a2yuKOLOk+kwRmtt6lhAvMrPg==","shasum":"c29599c3642614e4a8d5106e05497501238948f6","tarball":"https://registry.npmjs.org/@bloc-state/bloc/-/bloc-2.0.2.tgz","fileCount":8,"unpackedSize":48398,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDT6QFw5pLEA1AP4eBqqOkXnij6Jyo4wfI9D2levQQXbAIhAN9rqeV4TyyW+WvBSteC1H0lkbJRySAXWl49c4e9gby+"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjmierACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmohVA//YIDZVmxZAHzclkA8QhOaYWqjsG7xXXKLZa99nkIs9I1vYqvE\r\nPN07HdizJV4Y1ccGsHq27HG4szp5hGyRTx3ptmUpXkHDaUZOTEAKFsDS+xpG\r\nudjFISkXA2OgQWwh6djQdVb0ljMIiwuXRhQzOUxCajRS2K0EOjHHdaMJfhUR\r\n52L7rOSQhYtuDG1/tivMCnRbS4OPEOOV7ZzfNlGEzfa8K/SQ5W8TumDmM0Ur\r\nEp0nwIe9SlI8nUjUA/4OKsVdasE0w5KZrY7Hc1cheEqVAGlrW11ekTfMPADI\r\nlBzYRgpDrCDm2SVn61T75gIvoOQoK1NyTcIVaoqL5Wv81sbMu2HcLTEJpxvt\r\nfj/f69wrWiPCcUKcwMNM5BNlp8Hw4n8YGKSxAcstP92V9/rwE/vzvhoxYuJ9\r\ngdVs6xdpa00LquNx7SLnK8hG8fWPoVh2A80XbQB4O7g2XI8fd1H6wPHfeufB\r\nkB9iwqwtSIhUsq0w1jII3dUdaAkKH2uHl12fS0jDRXHTm4gu0+DEDRZiPXu6\r\nC6HG7xIKfGswTYeFGViTOJInVt+U7V+ElsNwT4BNTzWwM7C3N2olf66kiDKz\r\nZ8oJur3td9YuN9zqub1ooUUabNfhOAVgdEJEBCOb4l6NhDBxaxSCxiVkQ3Nz\r\nt3e3TL4EZaqpoxsyF9FiDG9tb+3T/w/bh4c=\r\n=JJUh\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"jacobtipp","email":"jacobtipp@gmail.com"},"directories":{},"maintainers":[{"name":"jacobtipp","email":"jacobtipp@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bloc_2.0.2_1671047082489_0.05993163531640544"},"_hasShrinkwrap":false},"2.1.0":{"name":"@bloc-state/bloc","version":"2.1.0","description":"The core library for bloc-state.","publishConfig":{"access":"public"},"main":"./dist/index.js","module":"./dist/index.mjs","exports":{"require":"./dist/index.js","import":"./dist/index.mjs"},"types":"./dist/index.d.ts","scripts":{"build-fast":"tsup src/index.ts --format cjs,esm","build":"pnpm run build-fast","test":"jest --verbose --runInBand --coverage","prepublishOnly":"pnpm run build","prepare":"husky install"},"license":"MIT","devDependencies":{"@bloc-state/state":"^2.2.1","@commitlint/cli":"^17.2.0","@commitlint/config-conventional":"^17.2.0","@egoist/prettier-config":"1.0.0","@semantic-release/changelog":"^6.0.1","@semantic-release/git":"^10.0.1","@types/jest":"^29.2.3","husky":"^8.0.2","immer":"^9.0.16","jest":"^29.3.1","jest-environment-jsdom":"^29.3.1","lint-staged":"12.3.5","prettier":"2.7.1","rxjs":"^7.5.7","semantic-release":"^19.0.5","ts-jest":"^29.0.3","tsup":"6.5.0","typescript":"^4.8.2"},"peerDependencies":{"rxjs":"^7.5.7"},"lint-staged":{"*.{js,ts,css,md}":"prettier --write"},"gitHead":"338d54fa94fd6f59e64bae9f96ec56a6af8c755e","_id":"@bloc-state/bloc@2.1.0","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-za/es5bBYUEnaEWhi+PrfzzUmc0bIhCg0KXjNiHQCvFI/wngPKj55gXNM/c8ZjZj41qGkFicS7DyTaeIhPgQDw==","shasum":"9e1276117fffe19aa826b5d44b0fae7a04ff67d4","tarball":"https://registry.npmjs.org/@bloc-state/bloc/-/bloc-2.1.0.tgz","fileCount":8,"unpackedSize":48910,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAd9TdXdJXys6QhRwUDQDKsoIK1l0Edh79ZW9OEL5sDJAiBhhr2b2vhDnHQRC/mJnva+WsRFsywAacfwnmkyMJ0bvA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjpCHkACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoPjQ/+KlP8C4JVA9vlpFUdRLCEytPJCHrnEybVTjx7HtzmodE5ZWTX\r\nBNJfLCsEKl6qs7GFoMJyQyhemHy1sDZdrojS+T2bPjuIIaBcXR+58PEKHpcB\r\nm5g5wWDWfRV51wv0xVqfLo/slJLhj1uzEyN0VH6Vf1P9dckQkwJGuEa1FJ7J\r\n9GEn4v5j6VXLI+F5TRLwYDCrqTi/ta07nVxsp32pyBervw77KBnIHBAJx4Dm\r\nVIXV2d9tbmXtefR4sUQQjShHUAA9WC+7lzX6jkFG6erdo/b4b5dzO5q09Cgk\r\nv8LRsrSFW8PKDDQU4hY/vBBYVuIEHsgR3J/qOEYOWfst6htxZ6WbeGgqYvfV\r\n+11hHa7OQBs1EeL6aSFzV+cLLlWF0O7njyjtFYtHwa6ikqogMlopC3Fth569\r\nsucyQY+uGlUMCANFYBOlM5s1m8/sTX0noM/Sy5j+zHr+gZwp42LrHO2A8ZAG\r\niRqB+4ES65BRUWLnF1e5eD2ujNXx9xkPrZkAjmmHdTiN9LayV1v92f+dTbQe\r\n4oPZHxNjgVPqPIPd08Jt7f5wiRybYO9LhqepwY4cKWYs6q2X3jOMqQ5I8Kaz\r\nlZQCP8GOzMRm9Tj+UXi819ZgHYG+/i4P8jeOaJunCxNzP3pR+pCVGXJsh+wX\r\njn0P0Wa+T/0RXF+C5SE0ZnJpqntwxSIRxT8=\r\n=0Qmp\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"jacobtipp","email":"jacobtipp@gmail.com"},"directories":{},"maintainers":[{"name":"jacobtipp","email":"jacobtipp@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bloc_2.1.0_1671700964646_0.10195533440005766"},"_hasShrinkwrap":false}},"time":{"created":"2022-11-15T19:40:55.778Z","1.0.0":"2022-11-15T19:40:55.989Z","modified":"2022-12-22T09:22:44.848Z","1.1.0-beta.1":"2022-11-17T08:34:52.508Z","2.0.0-beta.1":"2022-11-17T08:44:56.864Z","2.0.0-beta.2":"2022-11-18T05:13:34.741Z","2.0.0-beta.3":"2022-11-18T06:57:33.698Z","2.0.0-beta.4":"2022-11-20T05:22:53.394Z","2.0.0-beta.5":"2022-11-23T21:54:10.471Z","2.0.0-beta.6":"2022-11-24T00:32:55.516Z","2.0.0-beta.7":"2022-11-24T04:51:36.617Z","2.0.0":"2022-11-24T08:24:24.481Z","2.0.1":"2022-12-09T03:27:12.585Z","2.0.2":"2022-12-14T19:44:43.257Z","2.1.0":"2022-12-22T09:22:44.755Z"},"maintainers":[{"name":"jacobtipp","email":"jacobtipp@gmail.com"}],"description":"The core library for bloc-state.","license":"MIT","readme":"# @bloc-state/bloc\n\n[![npm version](https://badgen.net/npm/v/@bloc-state/bloc?color=black)](https://npm.im/@bloc-state/bloc)\n[![Codecov](https://badgen.net/codecov/c/github/bloc-state/bloc?color=black)](https://app.codecov.io/gh/bloc-state/bloc)\n[![Codecov](https://badgen.net/npm/license/@bloc-state/bloc?color=black)](https://raw.githubusercontent.com/bloc-state/bloc/main/LICENSE)\n\n## Introduction\n\n`@bloc-state/bloc` is a state management library implementing the BLoC pattern that was first introduced\nby google at [DartConf](https://www.youtube.com/watch?v=PLHln7wHgPE) in 2018. This library conforms to the\nmodern [Dart Bloc library](https://github.com/felangel/bloc/) `v8.x` api.\n\n## Installation\n\n</br>\n\n```\nnpm install @bloc-state/bloc rxjs\n```\n\n## Creating a Cubit\n\n```ts\nexport class CounterCubit extends Cubit<number> {\n  constructor() {\n    super(0) // pass initial state to super constructor\n  }\n\n  increment() {\n    this.emit((state) => state + 1)\n  }\n\n  increment() {\n    this.emit((state) => state - 1)\n  }\n}\n```\n\n## Using a Cubit\n\n```ts\nconst counterCubit = new CounterCubit()\n\nconsole.log(counterCubit.state) // 0\n\ncounterCubit.increment()\n\nconsole.log(counterCubit.state) // 1\n\n// cubit is closed and disposed, it will no longer emit new state and all observers will be unsubscribed\ncubit.close()\n```\n\n## Observing a Cubit\n\n```ts\nexport class AppBlocObserver extends BlocObserver {\n  override onCreate(bloc: BlocBase<any>): void {\n    console.log(`onCreate: ${bloc.constructor.name}`)\n  }\n\n  override onError(bloc: BlocBase<any>, error: any): void {\n    console.log(`onError: ${bloc.constructor.name}`, error)\n  }\n\n  override onChange(bloc: BlocBase<any>, change: Change<any>): void {\n    console.log(`onChange: ${bloc.constructor.name}`, change)\n  }\n\n  override onClose(bloc: BlocBase<any>): void {\n    console.log(`onClose: ${bloc.constructor.name}`)\n  }\n}\n```\n\n```ts\n// main.tsx\n\n// composition root of your application\nBloc.observer = AppBlocObserver()\n```\n\n## Creating a Bloc\n\n```ts\n/// The events which `CounterBloc` will react to.\nabstract class CounterEvent extends BlocEvent {}\n\nclass CounterIncrementEvent extends CounterEvent {}\nclass CounterDecrementEvent extends CounterEvent {}\n\nexport class CounterBloc extends Bloc<CounterEvent, number> {\n  constructor() {\n    super(new CounterState(0))\n\n    this.on(CounterIncrementEvent, (event, emit) => emit((state) => state + 1))\n\n    this.on(CounterDecrementEvent, (event, emit) => emit((state) => state - 1))\n  }\n}\n```\n\n## Using a Bloc\n\n```ts\nasync function main() {\n  const delay = (n) => new Promise((resolve) => setTimeout(resolve, n))\n\n  const counterBloc = new CounterBloc()\n\n  console.log(counterBloc.state) // 0\n\n  counterBloc.add(new CounterIncrementEvent())\n\n  // wait for next tick in event loop\n  await delay(0)\n\n  console.log(counterBloc.state) // 1\n\n  counterBloc.close() // close the bloc when no longer needed\n}\n```\n","readmeFilename":"README.md"}