{"_id":"@bloqz/relay","_rev":"12-b251bbdf8b9722903885458ffd4fe189","name":"@bloqz/relay","dist-tags":{"latest":"2.0.4"},"versions":{"1.0.3":{"name":"@bloqz/relay","version":"1.0.3","keywords":["bloc","bloqz","state management","functional","rxjs","typescript","relay","event bus","events"],"author":{"name":"Shovel Maman"},"license":"MIT","_id":"@bloqz/relay@1.0.3","maintainers":[{"name":"shovelmn12","email":"shovelmn12@gmail.com"}],"homepage":"https://github.com/shovelmn12/bloqz#readme","bugs":{"url":"https://github.com/shovelmn12/bloqz/issues"},"dist":{"shasum":"e3d086a5c9f882564f3b4926b860727858656228","tarball":"https://registry.npmjs.org/@bloqz/relay/-/relay-1.0.3.tgz","fileCount":12,"integrity":"sha512-PVXXQAx+hUjbqkQ22K8aoazrl3j8wZVlXQ8ubhX4s8yYb7YeJRoxco4mppJ9SKFNkXX34dVhgnUsizEL/ZBB+A==","signatures":[{"sig":"MEYCIQDzDzhJoJZa1V8Ve4EvjIc/H62Ukm04Ir57X/xaO876iAIhAIh+rFSjy4cT8kwOvlKHy6BsK8UCAuVZ5dvr+FhhdQVN","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15106},"type":"module","_from":"file:bloqz-relay-1.0.3.tgz","exports":{"main":"./dist/index.js","types":"./dist/index.d.ts","import":"./dist/index.js"},"scripts":{"test":"vitest --run","build":"npm run clean && tsc","clean":"rm -rf dist"},"_npmUser":{"name":"shovelmn12","email":"shovelmn12@gmail.com"},"_resolved":"/private/var/folders/9_/mmrlltfn0v70blj02j_t9wtm0000gn/T/148717ba8be4a1c718e11455ef94e608/bloqz-relay-1.0.3.tgz","_integrity":"sha512-PVXXQAx+hUjbqkQ22K8aoazrl3j8wZVlXQ8ubhX4s8yYb7YeJRoxco4mppJ9SKFNkXX34dVhgnUsizEL/ZBB+A==","repository":{"url":"git+https://github.com/shovelmn12/bloqz.git","type":"git"},"_npmVersion":"11.6.2","description":"A package for enabling inter-bloc communication using an event relay system.","directories":{},"_nodeVersion":"22.20.0","dependencies":{"rxjs":"^7.8.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"@bloqz/core":"1.0.3"},"_npmOperationalInternal":{"tmp":"tmp/relay_1.0.3_1761207974945_0.24868971935881645","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@bloqz/relay","version":"1.0.4","keywords":["bloc","bloqz","state management","functional","rxjs","typescript","relay","event bus","events"],"author":{"name":"Shovel Maman"},"license":"MIT","_id":"@bloqz/relay@1.0.4","maintainers":[{"name":"shovelmn12","email":"shovelmn12@gmail.com"}],"homepage":"https://github.com/shovelmn12/bloqz#readme","bugs":{"url":"https://github.com/shovelmn12/bloqz/issues"},"dist":{"shasum":"d44bb6d4d72cd25a7e6180673d3f96a8cc8a08e2","tarball":"https://registry.npmjs.org/@bloqz/relay/-/relay-1.0.4.tgz","fileCount":12,"integrity":"sha512-gNgA/S4bNTjcQsC91WQC2BWCfWY0x3jTKJatM5E3VMPFLzBXUjJawKwVfpTDXxu9Vhb6RMrssPsT7sKeut9Fcw==","signatures":[{"sig":"MEUCID+fpYaPpDf18gtmrlNwoFKEd8MiZ7wPsUvsyeBqKfDFAiEAqS+D0KUyvF8GcTu2DeAb8C/SVTCEgnJjhziUSS/F7rg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15223},"type":"module","_from":"file:bloqz-relay-1.0.4.tgz","exports":{"main":"./dist/index.js","types":"./dist/index.d.ts","import":"./dist/index.js"},"scripts":{"test":"vitest --run","build":"tsc -p tsconfig.build.json","clean":"rm -rf dist","prebuild":"npm run clean"},"_npmUser":{"name":"shovelmn12","email":"shovelmn12@gmail.com"},"_resolved":"/private/var/folders/9_/mmrlltfn0v70blj02j_t9wtm0000gn/T/5055c6fcc9debde37ca3121209646cd0/bloqz-relay-1.0.4.tgz","_integrity":"sha512-gNgA/S4bNTjcQsC91WQC2BWCfWY0x3jTKJatM5E3VMPFLzBXUjJawKwVfpTDXxu9Vhb6RMrssPsT7sKeut9Fcw==","repository":{"url":"git+https://github.com/shovelmn12/bloqz.git","type":"git"},"_npmVersion":"11.6.2","description":"A package for enabling inter-bloc communication using an event relay system.","directories":{},"_nodeVersion":"22.20.0","dependencies":{"rxjs":"^7.8.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{},"peerDependencies":{"@bloqz/core":"1.0.4"},"_npmOperationalInternal":{"tmp":"tmp/relay_1.0.4_1763458326980_0.7961437663550281","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@bloqz/relay","version":"1.1.1","keywords":["bloc","bloqz","state management","functional","rxjs","typescript","relay","event bus","events"],"author":{"name":"Shovel Maman"},"license":"MIT","_id":"@bloqz/relay@1.1.1","maintainers":[{"name":"shovelmn12","email":"shovelmn12@gmail.com"}],"homepage":"https://github.com/shovelmn12/bloqz#readme","bugs":{"url":"https://github.com/shovelmn12/bloqz/issues"},"dist":{"shasum":"568cc011b758d8307301f308d727a7f1191db737","tarball":"https://registry.npmjs.org/@bloqz/relay/-/relay-1.1.1.tgz","fileCount":12,"integrity":"sha512-4+i0UseAHrUH7l0xbXD4Vug77vrELJtEhQwBuh1qec4X7hlNIwR9crMWjz2469wp3n88L7qLKDtUAM96zvhqRQ==","signatures":[{"sig":"MEUCIG0c4lLklq+56oKpeUMMEnuq02XQHaPgLxq2wlc/BOZ0AiEAzIiGYus+F4oKRFv8EqUrC4Cemj1nBaRpUwq9DaDCsow=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15223},"type":"module","_from":"file:bloqz-relay-1.1.1.tgz","exports":{"main":"./dist/index.js","types":"./dist/index.d.ts","import":"./dist/index.js"},"scripts":{"test":"vitest --run","build":"tsc -p tsconfig.build.json","clean":"rm -rf dist","prebuild":"npm run clean"},"_npmUser":{"name":"shovelmn12","email":"shovelmn12@gmail.com"},"_resolved":"/private/var/folders/9_/mmrlltfn0v70blj02j_t9wtm0000gn/T/cb59ae8297e791fc3431b5262d3075f2/bloqz-relay-1.1.1.tgz","_integrity":"sha512-4+i0UseAHrUH7l0xbXD4Vug77vrELJtEhQwBuh1qec4X7hlNIwR9crMWjz2469wp3n88L7qLKDtUAM96zvhqRQ==","repository":{"url":"git+https://github.com/shovelmn12/bloqz.git","type":"git"},"_npmVersion":"11.6.4","description":"A package for enabling inter-bloc communication using an event relay system.","directories":{},"_nodeVersion":"22.20.0","dependencies":{"rxjs":"^7.8.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{},"peerDependencies":{"@bloqz/core":"1.1.1"},"_npmOperationalInternal":{"tmp":"tmp/relay_1.1.1_1764765518002_0.6439931518947626","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"@bloqz/relay","version":"1.1.2","keywords":["bloc","bloqz","state management","functional","rxjs","typescript","relay","event bus","events"],"author":{"name":"Shovel Maman"},"license":"MIT","_id":"@bloqz/relay@1.1.2","maintainers":[{"name":"shovelmn12","email":"shovelmn12@gmail.com"}],"homepage":"https://github.com/shovelmn12/bloqz#readme","bugs":{"url":"https://github.com/shovelmn12/bloqz/issues"},"dist":{"shasum":"e2b387841c30383da5003826d75c4fb4ac080694","tarball":"https://registry.npmjs.org/@bloqz/relay/-/relay-1.1.2.tgz","fileCount":12,"integrity":"sha512-smif+lNXS3QwEDIQEMsLuveOaka6IFN897Id8Bgwd6d/rDJCGrubUQc3rZOIfXHFJl2iXTgOulJ1wSSiiEcWow==","signatures":[{"sig":"MEUCIDvSG8d//f6ThXcjc/PRT+2QCHtfuuCSXMszxshinQI6AiEA95pqbqiLzX0nhj2ECxDYrg8Ej+McAtc8VJCed/htJEQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15223},"type":"module","_from":"file:bloqz-relay-1.1.2.tgz","exports":{"main":"./dist/index.js","types":"./dist/index.d.ts","import":"./dist/index.js"},"scripts":{"test":"vitest --run","build":"tsc -p tsconfig.build.json","clean":"rm -rf dist","prebuild":"npm run clean"},"_npmUser":{"name":"shovelmn12","email":"shovelmn12@gmail.com"},"_resolved":"/private/var/folders/9_/mmrlltfn0v70blj02j_t9wtm0000gn/T/0930fcab3286b8bb2092fe5f2b23da72/bloqz-relay-1.1.2.tgz","_integrity":"sha512-smif+lNXS3QwEDIQEMsLuveOaka6IFN897Id8Bgwd6d/rDJCGrubUQc3rZOIfXHFJl2iXTgOulJ1wSSiiEcWow==","repository":{"url":"git+https://github.com/shovelmn12/bloqz.git","type":"git"},"_npmVersion":"11.6.4","description":"A package for enabling inter-bloc communication using an event relay system.","directories":{},"_nodeVersion":"22.20.0","dependencies":{"rxjs":"^7.8.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{},"peerDependencies":{"@bloqz/core":"1.1.2"},"_npmOperationalInternal":{"tmp":"tmp/relay_1.1.2_1764767016427_0.7297242663838874","host":"s3://npm-registry-packages-npm-production"}},"1.1.3":{"name":"@bloqz/relay","version":"1.1.3","keywords":["bloc","bloqz","state management","functional","rxjs","typescript","relay","event bus","events"],"author":{"name":"Shovel Maman"},"license":"MIT","_id":"@bloqz/relay@1.1.3","maintainers":[{"name":"shovelmn12","email":"shovelmn12@gmail.com"}],"homepage":"https://github.com/shovelmn12/bloqz#readme","bugs":{"url":"https://github.com/shovelmn12/bloqz/issues"},"dist":{"shasum":"b6f39fa2aa629fa97b8edae06e25e45c8fffda2c","tarball":"https://registry.npmjs.org/@bloqz/relay/-/relay-1.1.3.tgz","fileCount":12,"integrity":"sha512-xnSWzEdOSY2J+blj2wDWb9HJqDNXJnzst2ysqonDJLssDI9DI1w713IrVFPGKxgcO7RZVZpfS3A6rq3lcKpIGg==","signatures":[{"sig":"MEYCIQDeIW1q+vEt1v8IKGqNLNGgAApGeH8ppyyo+XO9gv19IAIhAJ6nuuUr+Yta1p1t//DUC7PSih7Q63dlg/kLVaGngI4c","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15223},"type":"module","_from":"file:bloqz-relay-1.1.3.tgz","exports":{"main":"./dist/index.js","types":"./dist/index.d.ts","import":"./dist/index.js"},"scripts":{"test":"vitest --run","build":"tsc -p tsconfig.build.json","clean":"rm -rf dist","prebuild":"npm run clean"},"_npmUser":{"name":"shovelmn12","email":"shovelmn12@gmail.com"},"_resolved":"/private/var/folders/9_/mmrlltfn0v70blj02j_t9wtm0000gn/T/a65031338ce757450e7eea99f58cd37e/bloqz-relay-1.1.3.tgz","_integrity":"sha512-xnSWzEdOSY2J+blj2wDWb9HJqDNXJnzst2ysqonDJLssDI9DI1w713IrVFPGKxgcO7RZVZpfS3A6rq3lcKpIGg==","repository":{"url":"git+https://github.com/shovelmn12/bloqz.git","type":"git"},"_npmVersion":"11.6.4","description":"A package for enabling inter-bloc communication using an event relay system.","directories":{},"_nodeVersion":"22.20.0","dependencies":{"rxjs":"^7.8.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{},"peerDependencies":{"@bloqz/core":"1.1.3"},"_npmOperationalInternal":{"tmp":"tmp/relay_1.1.3_1764769107896_0.6874722942901861","host":"s3://npm-registry-packages-npm-production"}},"1.1.5":{"name":"@bloqz/relay","version":"1.1.5","keywords":["bloc","bloqz","state management","functional","rxjs","typescript","relay","event bus","events"],"author":{"name":"Shovel Maman"},"license":"MIT","_id":"@bloqz/relay@1.1.5","maintainers":[{"name":"shovelmn12","email":"shovelmn12@gmail.com"}],"homepage":"https://github.com/shovelmn12/bloqz#readme","bugs":{"url":"https://github.com/shovelmn12/bloqz/issues"},"dist":{"shasum":"4e7b26107dc84fbb60d2096d9c933e7ae9b0d08d","tarball":"https://registry.npmjs.org/@bloqz/relay/-/relay-1.1.5.tgz","fileCount":12,"integrity":"sha512-D1lCEqiY7FJJAD7E1+Q9tfnxv+3ivCf6o6i7a98BXtw1zPFBY0ICBK7VtXu0KQTSCdVNXv+jpbrtkeyq5vqGaQ==","signatures":[{"sig":"MEQCICG9fKpUeFgGDAu/iOnP+X9wWmaFaHMvX8APPqDakCATAiBlIlZSVx9kVnIsxH+kJ1Mta4xqkskxicMkGbnu/UILIA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15256},"type":"module","_from":"file:bloqz-relay-1.1.5.tgz","exports":{"main":"./dist/index.js","types":"./dist/index.d.ts","import":"./dist/index.js"},"scripts":{"test":"vitest --run","build":"tsc -p tsconfig.build.json","clean":"rm -rf dist","prebuild":"npm run clean"},"_npmUser":{"name":"shovelmn12","email":"shovelmn12@gmail.com"},"_resolved":"/private/var/folders/9_/mmrlltfn0v70blj02j_t9wtm0000gn/T/490d08b432d546b889603c73547548f2/bloqz-relay-1.1.5.tgz","_integrity":"sha512-D1lCEqiY7FJJAD7E1+Q9tfnxv+3ivCf6o6i7a98BXtw1zPFBY0ICBK7VtXu0KQTSCdVNXv+jpbrtkeyq5vqGaQ==","repository":{"url":"git+https://github.com/shovelmn12/bloqz.git","type":"git"},"_npmVersion":"11.6.4","description":"A package for enabling inter-bloc communication using an event relay system.","directories":{},"_nodeVersion":"22.20.0","dependencies":{"rxjs":"^7.8.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{},"peerDependencies":{"@bloqz/core":"1.1.3"},"_npmOperationalInternal":{"tmp":"tmp/relay_1.1.5_1764769557122_0.49797202838618326","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@bloqz/relay","version":"1.2.0","keywords":["bloc","bloqz","state management","functional","rxjs","typescript","relay","event bus","events"],"author":{"name":"Shovel Maman"},"license":"MIT","_id":"@bloqz/relay@1.2.0","maintainers":[{"name":"shovelmn12","email":"shovelmn12@gmail.com"}],"homepage":"https://github.com/shovelmn12/bloqz#readme","bugs":{"url":"https://github.com/shovelmn12/bloqz/issues"},"dist":{"shasum":"e27cd8d4d8a8b95cc5fe2cdbf4db5469d9e0d3f6","tarball":"https://registry.npmjs.org/@bloqz/relay/-/relay-1.2.0.tgz","fileCount":12,"integrity":"sha512-qjXzpa8wbe/MnR01g1DDaTmn/ij9qFivWPXppnr9DKfC5uEl+Zzes4MahDSyfW3gUqdiwfDjzGox1rQxg92KfA==","signatures":[{"sig":"MEUCIQDvYYjS0wFs89nm3gqvp4XosqPBZw+CWDDIv4tcVmznXAIgDLIpN9QjtRXCwbquIfHGo/IAyh+yfTrxuIqgDTQFNxU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15257},"type":"module","_from":"file:bloqz-relay-1.2.0.tgz","exports":{"main":"./dist/index.js","types":"./dist/index.d.ts","import":"./dist/index.js"},"scripts":{"test":"vitest --run","build":"tsc -p tsconfig.build.json","clean":"rm -rf dist","prebuild":"npm run clean"},"_npmUser":{"name":"shovelmn12","email":"shovelmn12@gmail.com"},"_resolved":"/private/var/folders/9_/mmrlltfn0v70blj02j_t9wtm0000gn/T/c34240f5e6830cb962c0ca1a78420c6a/bloqz-relay-1.2.0.tgz","_integrity":"sha512-qjXzpa8wbe/MnR01g1DDaTmn/ij9qFivWPXppnr9DKfC5uEl+Zzes4MahDSyfW3gUqdiwfDjzGox1rQxg92KfA==","repository":{"url":"git+https://github.com/shovelmn12/bloqz.git","type":"git"},"_npmVersion":"11.6.4","description":"A package for enabling inter-bloc communication using an event relay system.","directories":{},"_nodeVersion":"22.20.0","dependencies":{"rxjs":"^7.8.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{},"peerDependencies":{"@bloqz/core":"^1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/relay_1.2.0_1764825226613_0.9804863328308404","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@bloqz/relay","version":"2.0.0","keywords":["bloc","bloqz","state management","functional","rxjs","typescript","relay","event bus","events"],"author":{"name":"Shovel Maman"},"license":"MIT","_id":"@bloqz/relay@2.0.0","maintainers":[{"name":"shovelmn12","email":"shovelmn12@gmail.com"}],"homepage":"https://github.com/shovelmn12/bloqz#readme","bugs":{"url":"https://github.com/shovelmn12/bloqz/issues"},"dist":{"shasum":"15eced096e3d59d6ee3bd53b634eb95d0507557f","tarball":"https://registry.npmjs.org/@bloqz/relay/-/relay-2.0.0.tgz","fileCount":12,"integrity":"sha512-6jaJzlpwtIkwZ/1OQgTRuar8M6YOvQDLBrGQLLbrG7Viya9Mhbr9TJg3JzadbTFVSjDPqHLi+7QlM30UupZvUQ==","signatures":[{"sig":"MEUCIGW4UzMtNZvTuMiBTSDosJkD4GfuDj3prGzV/FzVHaE2AiEAhZs/9N9mfSLoorcQmbaIFgUx2hvZb6p/6IPXXd1/mCQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":11672},"type":"module","_from":"file:bloqz-relay-2.0.0.tgz","exports":{"main":"./dist/index.js","types":"./dist/index.d.ts","import":"./dist/index.js"},"scripts":{"test":"vitest --run","build":"tsc -p tsconfig.build.json","clean":"rm -rf dist","prebuild":"npm run clean"},"_npmUser":{"name":"shovelmn12","email":"shovelmn12@gmail.com"},"_resolved":"/private/var/folders/9_/mmrlltfn0v70blj02j_t9wtm0000gn/T/6e5694793b52c7d1b99ec8f119ec1cde/bloqz-relay-2.0.0.tgz","_integrity":"sha512-6jaJzlpwtIkwZ/1OQgTRuar8M6YOvQDLBrGQLLbrG7Viya9Mhbr9TJg3JzadbTFVSjDPqHLi+7QlM30UupZvUQ==","repository":{"url":"git+https://github.com/shovelmn12/bloqz.git","type":"git"},"_npmVersion":"11.8.0","description":"A package for enabling inter-bloc communication using an event relay system.","directories":{},"_nodeVersion":"22.20.0","dependencies":{"rxjs":"^7.8.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{},"peerDependencies":{"@bloqz/core":"^1.2.1"},"_npmOperationalInternal":{"tmp":"tmp/relay_2.0.0_1770994004034_0.5563241940241779","host":"s3://npm-registry-packages-npm-production"}},"2.0.1":{"name":"@bloqz/relay","version":"2.0.1","keywords":["bloc","bloqz","state management","functional","rxjs","typescript","relay","event bus","events"],"author":{"name":"Shovel Maman"},"license":"MIT","_id":"@bloqz/relay@2.0.1","maintainers":[{"name":"shovelmn12","email":"shovelmn12@gmail.com"}],"homepage":"https://github.com/shovelmn12/bloqz#readme","bugs":{"url":"https://github.com/shovelmn12/bloqz/issues"},"dist":{"shasum":"75bde0b1c12a65fdf780110a4c2b4396e10d7741","tarball":"https://registry.npmjs.org/@bloqz/relay/-/relay-2.0.1.tgz","fileCount":12,"integrity":"sha512-U9eTRjZAWgAmfjt8a44PS1vTx+d1J3wyZx0tkxdSEaZS0oF/MNxdA3CZHtYmUj1XGYKI8uJFq+wG17sRndN10g==","signatures":[{"sig":"MEUCIHQ/k69d9og4UZEyHVobQcvdVaNUrxoXDGZVhGcR0rL8AiEA6FuaRFmIvMDKp6+cRj+o0ywNhazsLkegAN0JuVNgJWY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":11674},"type":"module","_from":"file:bloqz-relay-2.0.1.tgz","exports":{"main":"./dist/index.js","types":"./dist/index.d.ts","import":"./dist/index.js"},"scripts":{"test":"vitest --run","build":"tsc -p tsconfig.build.json","clean":"rm -rf dist","prebuild":"npm run clean"},"_npmUser":{"name":"shovelmn12","email":"shovelmn12@gmail.com"},"_resolved":"/private/var/folders/9_/mmrlltfn0v70blj02j_t9wtm0000gn/T/b27171e06c95f96d4c21263741ceab82/bloqz-relay-2.0.1.tgz","_integrity":"sha512-U9eTRjZAWgAmfjt8a44PS1vTx+d1J3wyZx0tkxdSEaZS0oF/MNxdA3CZHtYmUj1XGYKI8uJFq+wG17sRndN10g==","repository":{"url":"git+https://github.com/shovelmn12/bloqz.git","type":"git"},"_npmVersion":"11.8.0","description":"A package for enabling inter-bloc communication using an event relay system.","directories":{},"_nodeVersion":"22.20.0","dependencies":{"rxjs":"^7.8.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{},"peerDependencies":{"@bloqz/core":"^1.2.1"},"_npmOperationalInternal":{"tmp":"tmp/relay_2.0.1_1770994395720_0.9995881820376489","host":"s3://npm-registry-packages-npm-production"}},"2.0.2":{"name":"@bloqz/relay","version":"2.0.2","keywords":["bloc","bloqz","state management","functional","rxjs","typescript","relay","event bus","events"],"author":{"name":"Shovel Maman"},"license":"MIT","_id":"@bloqz/relay@2.0.2","maintainers":[{"name":"shovelmn12","email":"shovelmn12@gmail.com"}],"homepage":"https://github.com/shovelmn12/bloqz#readme","bugs":{"url":"https://github.com/shovelmn12/bloqz/issues"},"dist":{"shasum":"3021136880d051237cbed2d30e75638e76e285a9","tarball":"https://registry.npmjs.org/@bloqz/relay/-/relay-2.0.2.tgz","fileCount":12,"integrity":"sha512-ToxM+dU4u3qT+HGTEf2/HoOoNRP/bKLgvF0X8K6hD63LZe+goCJPT7VTaFipsbnlFvNybA0kVGtTXWPQzQi8Eg==","signatures":[{"sig":"MEYCIQDzy+wTVR4jl11S0UUYI0ChEubf479qTU80lNsZWcW0zAIhAJcl59V4ssek1d7/clggt063n+8fU5TMW+EiwH282Du2","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":11046},"type":"module","_from":"file:bloqz-relay-2.0.2.tgz","exports":{"main":"./dist/index.js","types":"./dist/index.d.ts","import":"./dist/index.js"},"scripts":{"test":"vitest --run","build":"tsc -p tsconfig.build.json","clean":"rm -rf dist","prebuild":"npm run clean"},"_npmUser":{"name":"shovelmn12","email":"shovelmn12@gmail.com"},"_resolved":"/private/var/folders/9_/mmrlltfn0v70blj02j_t9wtm0000gn/T/db0d4d0e0ed054cd2aa9291c686ec72a/bloqz-relay-2.0.2.tgz","_integrity":"sha512-ToxM+dU4u3qT+HGTEf2/HoOoNRP/bKLgvF0X8K6hD63LZe+goCJPT7VTaFipsbnlFvNybA0kVGtTXWPQzQi8Eg==","repository":{"url":"git+https://github.com/shovelmn12/bloqz.git","type":"git"},"_npmVersion":"11.8.0","description":"A package for enabling inter-bloc communication using an event relay system.","directories":{},"_nodeVersion":"22.20.0","dependencies":{"rxjs":"^7.8.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{},"peerDependencies":{"@bloqz/core":"^1.2.1"},"_npmOperationalInternal":{"tmp":"tmp/relay_2.0.2_1771140764537_0.5735565004714165","host":"s3://npm-registry-packages-npm-production"}},"2.0.3":{"name":"@bloqz/relay","version":"2.0.3","keywords":["bloc","bloqz","state management","functional","rxjs","typescript","relay","event bus","events"],"author":{"name":"Shovel Maman"},"license":"MIT","_id":"@bloqz/relay@2.0.3","maintainers":[{"name":"shovelmn12","email":"shovelmn12@gmail.com"}],"homepage":"https://github.com/shovelmn12/bloqz#readme","bugs":{"url":"https://github.com/shovelmn12/bloqz/issues"},"dist":{"shasum":"87cff142bb9e750acdf99187d896575eb16c2f67","tarball":"https://registry.npmjs.org/@bloqz/relay/-/relay-2.0.3.tgz","fileCount":12,"integrity":"sha512-qpFTJG1Bq1rdlgi89B7RHVLmv0bkeZl/zEKJ3cO7AgB/2Fq6I1w3aLYBiZKd3m//y7l5XFADZBhi04E+C2JUnw==","signatures":[{"sig":"MEQCIEnjCXK//lijpLu3xO5YNb3CV9ejOCQ7Smd05hciE+mZAiAFLLvwU45TMlly+51UbSKf+AA7dOODrQstfXFKp8CxsA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":11046},"type":"module","_from":"file:bloqz-relay-2.0.3.tgz","exports":{"main":"./dist/index.js","types":"./dist/index.d.ts","import":"./dist/index.js"},"scripts":{"test":"vitest --run","build":"tsc -p tsconfig.build.json","clean":"rm -rf dist","prebuild":"npm run clean"},"_npmUser":{"name":"shovelmn12","email":"shovelmn12@gmail.com"},"_resolved":"/private/var/folders/9_/mmrlltfn0v70blj02j_t9wtm0000gn/T/c72ddf2d697c5d6bf8144e74ee465a59/bloqz-relay-2.0.3.tgz","_integrity":"sha512-qpFTJG1Bq1rdlgi89B7RHVLmv0bkeZl/zEKJ3cO7AgB/2Fq6I1w3aLYBiZKd3m//y7l5XFADZBhi04E+C2JUnw==","repository":{"url":"git+https://github.com/shovelmn12/bloqz.git","type":"git"},"_npmVersion":"11.8.0","description":"A package for enabling inter-bloc communication using an event relay system.","directories":{},"_nodeVersion":"22.20.0","dependencies":{"rxjs":"^7.8.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{},"peerDependencies":{"@bloqz/core":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/relay_2.0.3_1786621919110_0.06646554657411219","host":"s3://npm-registry-packages-npm-production"}},"2.0.4":{"name":"@bloqz/relay","version":"2.0.4","description":"A package for enabling inter-bloc communication using an event relay system.","keywords":["bloc","bloqz","state management","functional","rxjs","typescript","relay","event bus","events"],"homepage":"https://github.com/shovelmn12/bloqz#readme","bugs":{"url":"https://github.com/shovelmn12/bloqz/issues"},"repository":{"type":"git","url":"git+https://github.com/shovelmn12/bloqz.git"},"license":"MIT","author":"Shovel Maman","type":"module","exports":{"main":"./dist/index.js","import":"./dist/index.js","types":"./dist/index.d.ts"},"publishConfig":{"access":"public"},"dependencies":{"rxjs":"^7.8.2"},"peerDependencies":{"@bloqz/core":"^2.0.1"},"devDependencies":{},"scripts":{"clean":"rm -rf dist","prebuild":"npm run clean","build":"tsc -p tsconfig.build.json","test":"vitest --run"},"_nodeVersion":"22.20.0","_id":"@bloqz/relay@2.0.4","dist":{"integrity":"sha512-VJwb9+VoRmASJ9fuozVL2MYlOkdnYX4oCRlkMxwrP97J/vmWeIACuP1/NOdB81O4TsFGE5se2ckjSvTkdu+SQg==","shasum":"3f248578a2a3dc769bd4c1b5c8cc40be5d41af2d","tarball":"https://registry.npmjs.org/@bloqz/relay/-/relay-2.0.4.tgz","fileCount":12,"unpackedSize":16276,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIF0z33d7JDBtZPi8C3y7VckLYEtn5ezXtgWT1Kmw2y6IAiEA2942YbILhQPM6CiULAQqL2s/nnAeJdl5+uXv1hUv/hg="}]},"_npmUser":{"name":"shovelmn12","email":"shovelmn12@gmail.com"},"directories":{},"maintainers":[{"name":"shovelmn12","email":"shovelmn12@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/relay_2.0.4_1788503021884_0.1920306183178686"},"_hasShrinkwrap":false}},"time":{"created":"2025-10-23T08:26:14.809Z","modified":"2026-09-04T06:23:42.269Z","1.0.3":"2025-10-23T08:26:15.131Z","1.0.4":"2025-11-18T09:32:07.219Z","1.1.1":"2025-12-03T12:38:38.180Z","1.1.2":"2025-12-03T13:03:36.603Z","1.1.3":"2025-12-03T13:38:28.088Z","1.1.5":"2025-12-03T13:45:57.303Z","1.2.0":"2025-12-04T05:13:46.790Z","2.0.0":"2026-02-13T14:46:44.172Z","2.0.1":"2026-02-13T14:53:15.863Z","2.0.2":"2026-02-15T07:32:44.695Z","2.0.3":"2026-08-13T11:51:59.262Z","2.0.4":"2026-09-04T06:23:42.097Z"},"bugs":{"url":"https://github.com/shovelmn12/bloqz/issues"},"author":"Shovel Maman","license":"MIT","homepage":"https://github.com/shovelmn12/bloqz#readme","keywords":["bloc","bloqz","state management","functional","rxjs","typescript","relay","event bus","events"],"repository":{"type":"git","url":"git+https://github.com/shovelmn12/bloqz.git"},"description":"A package for enabling inter-bloc communication using an event relay system.","maintainers":[{"name":"shovelmn12","email":"shovelmn12@gmail.com"}],"readme":"# @bloqz/relay\n\nThe `@bloqz/relay` package provides a lightweight, RxJS-powered event bus for enabling communication between different parts of an application. It uses a flexible subscription model and supports TypeScript generics for full type safety.\n\n## Core Concepts\n\n- **Relay**: An event bus that allows for emitting and listening to events.\n- **Topics**: Named channels for events (e.g., 'user', 'cart'), allowing for targeted communication.\n- **Events**: The data payload associated with a topic. All events must be objects and are recommended to have a `type` property.\n\n## Installation\n\nThis package is part of the Bloqz monorepo. To use it, add it as a dependency in your `package.json`:\n\n```json\n\"dependencies\": {\n  \"@bloqz/relay\": \"2.0.2\"\n}\n```\n\n## Usage\n\n### Creating a Relay\n\nThe primary export of this package is the `createRelay` function.\n\n```typescript\nimport { createRelay } from '@bloqz/relay';\n\n// Create a new relay instance\nconst appRelay = createRelay();\n```\n\n### Type Safety\n\nYou can define the events available in your relay to get full TypeScript support.\n\n```typescript\nimport { createRelay, RelayEventsMap } from '@bloqz/relay';\n\ninterface AppEvents extends RelayEventsMap {\n  user: { type: 'login'; userId: string } | { type: 'logout' };\n  cart: { type: 'add'; productId: string };\n}\n\nconst appRelay = createRelay<AppEvents>();\n\n// Types are checked here!\nappRelay.emit('user', { type: 'login', userId: '123' });\n```\n\n### Emitting Events\n\nYou can emit an event to a specific topic using the `emit` method.\n\n```typescript\nappRelay.emit('user', { type: 'login', userId: '123' });\nappRelay.emit('notifications', { type: 'new', message: 'Welcome!' });\n```\n\n### Listening for Events\n\nYou can listen for events on a specific topic or use the wildcard `*` to listen to all events. The `on` method returns an `unsubscribe` function.\n\n#### Specific Topic\n\nWhen listening to a specific topic, the handler receives the event object.\n\n```typescript\nconst unsubscribe = appRelay.on('user', (event) => {\n  console.log(`User event received: ${event.type}`);\n});\n\n// To stop listening\nunsubscribe();\n```\n\n#### Wildcard\n\nWhen listening with `*`, the handler receives both the topic name and the event object.\n\n```typescript\nconst unsubscribe = appRelay.on('*', (topic, event) => {\n  console.log(`Event '${event.type}' received on topic '${topic}'`);\n});\n```\n\n### Disposing the Relay\n\nWhen a relay is no longer needed, you can dispose of it to complete the underlying event stream and unsubscribe all listeners.\n\n```typescript\nappRelay.dispose();\n```\n","readmeFilename":""}