{"_id":"@bunito/broker","_rev":"17-7b19f7d239ceb624de23a476f6cd6eb1","name":"@bunito/broker","dist-tags":{"latest":"0.0.27"},"versions":{"0.0.11":{"name":"@bunito/broker","version":"0.0.11","keywords":["bunito","broker","messages","microservices","nats"],"author":"Stanisław Głogowski <hello@bunito.dev>","license":"MIT","_id":"@bunito/broker@0.0.11","maintainers":[{"name":"staszek","email":"npm@newobject.dev"}],"homepage":"https://bunito.dev","bugs":{"url":"https://github.com/bunito-dev/bunito/issues"},"dist":{"shasum":"aa5465d971fed27b15953f12fc5949a0191ed3cb","tarball":"https://registry.npmjs.org/@bunito/broker/-/broker-0.0.11.tgz","fileCount":35,"integrity":"sha512-TWoQVl8qA+f8Gzr/79j96241Jruh3m0vBnT7QpohaIN/9M9fjOWzETCfBZYek2Br8u849lIWZ3W8GVUMb3Qg2Q==","signatures":[{"sig":"MEQCIArz3N943vBU5nuwtnmuub15c/rNunls8YmGcP3Rp5wrAiAwwfdr8bpNJkrO5lk8iZiyOt9WZWm78C8Rm4PNY0Armg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":25849},"type":"module","shasum":"aa5465d971fed27b15953f12fc5949a0191ed3cb","engines":{"bun":">=1.3.10"},"exports":{".":"./src/index.ts","./internals":"./src/internals.ts"},"_npmUser":{"name":"staszek","email":"npm@newobject.dev"},"_integrity":"sha512-TWoQVl8qA+f8Gzr/79j96241Jruh3m0vBnT7QpohaIN/9M9fjOWzETCfBZYek2Br8u849lIWZ3W8GVUMb3Qg2Q==","repository":{"url":"https://github.com/bunito-dev/bunito.git","type":"git","directory":"packages/broker"},"_npmVersion":"10.8.3","description":"Message broker module, adapters, and decorators for Bunito","directories":{},"sideEffects":false,"_nodeVersion":"24.3.0","dependencies":{"@bunito/app":"0.0.11","@bunito/common":"0.0.11","@bunito/config":"0.0.11","@bunito/logger":"0.0.11","@bunito/container":"0.0.11"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@nats-io/transport-node":"3.4.0"},"optionalDependencies":{"@nats-io/transport-node":"^3.4.0"},"_npmOperationalInternal":{"tmp":"tmp/broker_0.0.11_1778674042588_0.3612759759979225","host":"s3://npm-registry-packages-npm-production"}},"0.0.12":{"name":"@bunito/broker","version":"0.0.12","keywords":["bunito","broker","messages","microservices","nats"],"author":"Stanisław Głogowski <hello@bunito.dev>","license":"MIT","_id":"@bunito/broker@0.0.12","maintainers":[{"name":"staszek","email":"npm@newobject.dev"}],"homepage":"https://bunito.dev","bugs":{"url":"https://github.com/bunito-dev/bunito/issues"},"dist":{"shasum":"81a2691c8251c694e6d270db56241248965bae79","tarball":"https://registry.npmjs.org/@bunito/broker/-/broker-0.0.12.tgz","fileCount":35,"integrity":"sha512-WyapMTJ5ozO4AXrZdOya0Qi7Qd5bwd6OU8P1MuKGNYoLqDeA1hPWaa8FRBqUblxufY72z5CbEftNbcRAc7yFpg==","signatures":[{"sig":"MEUCIQDSNMPVOd5Ao83cMb/Qo1wjyEr53eI/OK6s/zt5UBBifgIgEXottseG/MsDdITFcbgJRboZhAwRu2FnluPbfwMLYWA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":25916},"type":"module","shasum":"81a2691c8251c694e6d270db56241248965bae79","engines":{"bun":">=1.3.10"},"exports":{".":"./src/index.ts","./internals":"./src/internals.ts"},"_npmUser":{"name":"staszek","email":"npm@newobject.dev"},"_integrity":"sha512-WyapMTJ5ozO4AXrZdOya0Qi7Qd5bwd6OU8P1MuKGNYoLqDeA1hPWaa8FRBqUblxufY72z5CbEftNbcRAc7yFpg==","repository":{"url":"https://github.com/bunito-dev/bunito.git","type":"git","directory":"packages/broker"},"_npmVersion":"10.8.3","description":"Message broker module, adapters, and decorators for Bunito","directories":{},"sideEffects":false,"_nodeVersion":"24.3.0","dependencies":{"@bunito/app":"0.0.12","@bunito/common":"0.0.12","@bunito/config":"0.0.12","@bunito/logger":"0.0.12","@bunito/container":"0.0.12"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@nats-io/transport-node":"3.4.0"},"optionalDependencies":{"@nats-io/transport-node":"^3.4.0"},"_npmOperationalInternal":{"tmp":"tmp/broker_0.0.12_1778678285703_0.49504388456378945","host":"s3://npm-registry-packages-npm-production"}},"0.0.13":{"name":"@bunito/broker","version":"0.0.13","keywords":["bunito","broker","messages","microservices","nats"],"author":"Stanisław Głogowski <hello@bunito.dev>","license":"MIT","_id":"@bunito/broker@0.0.13","maintainers":[{"name":"staszek","email":"npm@newobject.dev"}],"homepage":"https://bunito.dev","bugs":{"url":"https://github.com/bunito-dev/bunito/issues"},"dist":{"shasum":"1c3e8ad52665d969fa01cec78b326cb7f490c104","tarball":"https://registry.npmjs.org/@bunito/broker/-/broker-0.0.13.tgz","fileCount":35,"integrity":"sha512-FC3iKwpfhLcE/dkdjw9bPvqzv9e8yGXH5pRceHcP+JHevXhy2/0NdE6yynXlKQZM6knKkcU6LL6+Uaip65cFBA==","signatures":[{"sig":"MEUCIDmEJed9P4iSpONAeicCv7BPdxbg4CirzdPlcUo29D+KAiEArXKvH6qfzZw3NrEvy69v4fIUFX/R2QInBhYj8NHKj2I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":26047},"type":"module","shasum":"1c3e8ad52665d969fa01cec78b326cb7f490c104","engines":{"bun":">=1.3.10"},"exports":{".":"./src/index.ts","./internals":"./src/internals.ts"},"_npmUser":{"name":"staszek","email":"npm@newobject.dev"},"_integrity":"sha512-FC3iKwpfhLcE/dkdjw9bPvqzv9e8yGXH5pRceHcP+JHevXhy2/0NdE6yynXlKQZM6knKkcU6LL6+Uaip65cFBA==","repository":{"url":"https://github.com/bunito-dev/bunito.git","type":"git","directory":"packages/broker"},"_npmVersion":"10.8.3","description":"Message broker module, adapters, and decorators for Bunito","directories":{},"sideEffects":false,"_nodeVersion":"24.3.0","dependencies":{"@bunito/app":"0.0.13","@bunito/common":"0.0.13","@bunito/config":"0.0.13","@bunito/logger":"0.0.13","@bunito/container":"0.0.13"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@nats-io/transport-node":"3.4.0"},"optionalDependencies":{"@nats-io/transport-node":"^3.4.0"},"_npmOperationalInternal":{"tmp":"tmp/broker_0.0.13_1778760285553_0.09155755214628924","host":"s3://npm-registry-packages-npm-production"}},"0.0.14":{"name":"@bunito/broker","version":"0.0.14","keywords":["bunito","broker","messages","microservices","nats"],"author":"Stanisław Głogowski <hello@bunito.dev>","license":"MIT","_id":"@bunito/broker@0.0.14","maintainers":[{"name":"staszek","email":"npm@newobject.dev"}],"homepage":"https://bunito.dev","bugs":{"url":"https://github.com/bunito-dev/bunito/issues"},"dist":{"shasum":"3a4d1bd0cfbacedb008f4cc57d63179664bddb91","tarball":"https://registry.npmjs.org/@bunito/broker/-/broker-0.0.14.tgz","fileCount":36,"integrity":"sha512-2/iXu8yvvqX5BtV2t3Jb9v8osVeOhJG8tBGK1dODg59BedIWwnUp4nA3QjALV/MxLp+AU2sVoZZaP+eS7Iuryw==","signatures":[{"sig":"MEYCIQDk6OSFsnCtSIwVzLHpkA9T9Ngn6r6aqEr1Hd9msuPIbgIhAPZqXZVtDA3uKvduN9B3J+lutPwkWNUOIm4dLgT9GeHO","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":28018},"type":"module","shasum":"3a4d1bd0cfbacedb008f4cc57d63179664bddb91","engines":{"bun":">=1.3.10"},"exports":{".":"./src/index.ts","./internals":"./src/internals.ts"},"_npmUser":{"name":"staszek","email":"npm@newobject.dev"},"_integrity":"sha512-2/iXu8yvvqX5BtV2t3Jb9v8osVeOhJG8tBGK1dODg59BedIWwnUp4nA3QjALV/MxLp+AU2sVoZZaP+eS7Iuryw==","repository":{"url":"https://github.com/bunito-dev/bunito.git","type":"git","directory":"packages/broker"},"_npmVersion":"10.8.3","description":"Message broker module, adapters, and decorators for Bunito","directories":{},"sideEffects":false,"_nodeVersion":"24.3.0","dependencies":{"@bunito/app":"0.0.14","@bunito/common":"0.0.14","@bunito/config":"0.0.14","@bunito/logger":"0.0.14","@msgpack/msgpack":"3.1.3","@bunito/container":"0.0.14"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@nats-io/transport-node":"3.4.0"},"optionalDependencies":{"@nats-io/transport-node":"^3.4.0"},"_npmOperationalInternal":{"tmp":"tmp/broker_0.0.14_1778852519246_0.8468112699789616","host":"s3://npm-registry-packages-npm-production"}},"0.0.15":{"name":"@bunito/broker","version":"0.0.15","keywords":["bunito","broker","messaging","microservices","request-reply","nats"],"author":"Stanisław Głogowski <hello@bunito.dev>","license":"MIT","_id":"@bunito/broker@0.0.15","maintainers":[{"name":"staszek","email":"npm@newobject.dev"}],"homepage":"https://bunito.dev","bugs":{"url":"https://github.com/bunito-dev/bunito/issues"},"dist":{"shasum":"df776577d81aedf1997bcecabb163e4a1c57a8ad","tarball":"https://registry.npmjs.org/@bunito/broker/-/broker-0.0.15.tgz","fileCount":36,"integrity":"sha512-qJWJZbq9RtkLomIBjxg0AXfiUOU04x2fBOWDr5u1fEVnFN2WqyfHqAv4PTsTpfgDMXrAzcL+c85P2uZXgzw+dg==","signatures":[{"sig":"MEQCIBw1FKDNBVzNCFZhbMHBYX490EWhb/Rh0bhxQ4HhJSMYAiBxS740EmGRw2BimekyYW4khx0ul1jRiVGtEQ3QtEA/2w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":28122},"type":"module","shasum":"df776577d81aedf1997bcecabb163e4a1c57a8ad","engines":{"bun":">=1.3.10"},"exports":{".":"./src/index.ts","./internals":"./src/internals.ts"},"_npmUser":{"name":"staszek","email":"npm@newobject.dev"},"_integrity":"sha512-qJWJZbq9RtkLomIBjxg0AXfiUOU04x2fBOWDr5u1fEVnFN2WqyfHqAv4PTsTpfgDMXrAzcL+c85P2uZXgzw+dg==","repository":{"url":"https://github.com/bunito-dev/bunito.git","type":"git","directory":"packages/broker"},"_npmVersion":"10.8.3","description":"Broker module, message decorators, request/reply APIs, and local or NATS adapters for bunito.","directories":{},"sideEffects":false,"_nodeVersion":"24.3.0","dependencies":{"@bunito/app":"0.0.15","@bunito/common":"0.0.15","@bunito/config":"0.0.15","@bunito/logger":"0.0.15","@msgpack/msgpack":"3.1.3","@bunito/container":"0.0.15"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@nats-io/transport-node":"3.4.0"},"optionalDependencies":{"@nats-io/transport-node":"^3.4.0"},"_npmOperationalInternal":{"tmp":"tmp/broker_0.0.15_1779344448457_0.3031449294911355","host":"s3://npm-registry-packages-npm-production"}},"0.0.16":{"name":"@bunito/broker","version":"0.0.16","keywords":["bunito","broker","messaging","microservices","request-reply","nats"],"author":"Stanisław Głogowski <hello@bunito.dev>","license":"MIT","_id":"@bunito/broker@0.0.16","maintainers":[{"name":"staszek","email":"npm@newobject.dev"}],"homepage":"https://bunito.dev","bugs":{"url":"https://github.com/bunito-dev/bunito/issues"},"dist":{"shasum":"6e819d8d37ad41af8c0e96fcd8c5c7b85e1add24","tarball":"https://registry.npmjs.org/@bunito/broker/-/broker-0.0.16.tgz","fileCount":36,"integrity":"sha512-nT8MiVSIV3w5AoO5Pf+4SFEomAAjoHAtOeMW/zUYgvjt1R8YkUmRQTdawc6YxDihsG9zfspsj3tMuopewnuMMw==","signatures":[{"sig":"MEQCIEi0HjoPujQsI57NAieU7L0wbLdzPi/LSeeXpQWAEMesAiB0blh5MbMG5JQrzP40Qn86T45oYuoCSmoRr8S63kbpAA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":28135},"type":"module","shasum":"6e819d8d37ad41af8c0e96fcd8c5c7b85e1add24","engines":{"bun":">=1.3.10"},"exports":{".":"./src/index.ts","./internals":"./src/internals.ts"},"_npmUser":{"name":"staszek","email":"npm@newobject.dev"},"_integrity":"sha512-nT8MiVSIV3w5AoO5Pf+4SFEomAAjoHAtOeMW/zUYgvjt1R8YkUmRQTdawc6YxDihsG9zfspsj3tMuopewnuMMw==","repository":{"url":"https://github.com/bunito-dev/bunito.git","type":"git","directory":"packages/broker"},"_npmVersion":"10.8.3","description":"Broker module, message decorators, request/reply APIs, and local or NATS adapters for bunito.","directories":{},"sideEffects":false,"_nodeVersion":"24.3.0","dependencies":{"@bunito/app":"0.0.16","@bunito/common":"0.0.16","@bunito/config":"0.0.16","@bunito/logger":"0.0.16","@msgpack/msgpack":"3.1.3","@bunito/container":"0.0.16"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@nats-io/transport-node":"3.4.0"},"optionalDependencies":{"@nats-io/transport-node":"^3.4.0"},"_npmOperationalInternal":{"tmp":"tmp/broker_0.0.16_1780241268291_0.02210534553819632","host":"s3://npm-registry-packages-npm-production"}},"0.0.17":{"name":"@bunito/broker","version":"0.0.17","keywords":["bunito","broker","messaging","microservices","request-reply","nats","testing"],"author":"Stanisław Głogowski <hello@bunito.dev>","license":"MIT","_id":"@bunito/broker@0.0.17","maintainers":[{"name":"staszek","email":"npm@newobject.dev"}],"homepage":"https://bunito.dev","bugs":{"url":"https://github.com/bunito-dev/bunito/issues"},"dist":{"shasum":"7d79adc06493a54d4de365f973416aee509ad0c3","tarball":"https://registry.npmjs.org/@bunito/broker/-/broker-0.0.17.tgz","fileCount":41,"integrity":"sha512-J5n6Ryl6xLg7MlmfYJoCATO4f/yeNcKgtlSDNkZ8NORD3WwWhraTw2Iucx4+3J0YLctj24gqXWC9R+WK+z5lsA==","signatures":[{"sig":"MEUCIQCPeoZTpGBu14Op1BZzuua+Kypnp0U533cOht6f74m2rAIgYjsW2SOT41OMRKsLVOV9eJFgQmBb7B1VTjXZBGwhjvw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":34686},"type":"module","shasum":"7d79adc06493a54d4de365f973416aee509ad0c3","engines":{"bun":">=1.3.10"},"exports":{".":"./src/index.ts","./internals":"./src/internals.ts"},"_npmUser":{"name":"staszek","email":"npm@newobject.dev"},"_integrity":"sha512-J5n6Ryl6xLg7MlmfYJoCATO4f/yeNcKgtlSDNkZ8NORD3WwWhraTw2Iucx4+3J0YLctj24gqXWC9R+WK+z5lsA==","repository":{"url":"https://github.com/bunito-dev/bunito.git","type":"git","directory":"packages/broker"},"_npmVersion":"10.8.3","description":"Broker module, message decorators, request/reply APIs, adapters, and test broker utilities for bunito.","directories":{},"sideEffects":false,"_nodeVersion":"24.3.0","dependencies":{"@bunito/app":"0.0.17","@bunito/common":"0.0.17","@bunito/config":"0.0.17","@bunito/logger":"0.0.17","@bunito/testing":"0.0.17","@msgpack/msgpack":"3.1.3","@bunito/container":"0.0.17"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@nats-io/transport-node":"3.4.0"},"optionalDependencies":{"@nats-io/transport-node":"^3.4.0"},"_npmOperationalInternal":{"tmp":"tmp/broker_0.0.17_1780314217012_0.6901096861657727","host":"s3://npm-registry-packages-npm-production"}},"0.0.18":{"name":"@bunito/broker","version":"0.0.18","keywords":["bunito","broker","messaging","microservices","request-reply","nats","testing"],"author":"Stanisław Głogowski <hello@bunito.dev>","license":"MIT","_id":"@bunito/broker@0.0.18","maintainers":[{"name":"staszek","email":"npm@newobject.dev"}],"homepage":"https://bunito.dev","bugs":{"url":"https://github.com/bunito-dev/bunito/issues"},"dist":{"shasum":"6c676d11eb06570479eac607379a18a42dc0bc9e","tarball":"https://registry.npmjs.org/@bunito/broker/-/broker-0.0.18.tgz","fileCount":41,"integrity":"sha512-q75u84cRn2htr4UXd6WvrdVa2GWj14GALhKAizSy6+IYROTuHDKOJf/JKpPLp3+bnjNtoeHE/ADgdldLbOFMJg==","signatures":[{"sig":"MEYCIQCTyP5xqcCp/JAzAX4AAsFHaIj/f1CES/98VBBUWKrmIAIhAJeUtdoZY3MwdBB6bOU/BoH1W+HQPxJCzP7dmeBUk3p+","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":34686},"type":"module","shasum":"6c676d11eb06570479eac607379a18a42dc0bc9e","engines":{"bun":">=1.3.10"},"exports":{".":"./src/index.ts","./internals":"./src/internals.ts"},"_npmUser":{"name":"staszek","email":"npm@newobject.dev"},"_integrity":"sha512-q75u84cRn2htr4UXd6WvrdVa2GWj14GALhKAizSy6+IYROTuHDKOJf/JKpPLp3+bnjNtoeHE/ADgdldLbOFMJg==","repository":{"url":"https://github.com/bunito-dev/bunito.git","type":"git","directory":"packages/broker"},"_npmVersion":"10.8.3","description":"Broker module, message decorators, request/reply APIs, adapters, and test broker utilities for bunito.","directories":{},"sideEffects":false,"_nodeVersion":"24.3.0","dependencies":{"@bunito/app":"0.0.18","@bunito/common":"0.0.18","@bunito/config":"0.0.18","@bunito/logger":"0.0.18","@bunito/testing":"0.0.18","@msgpack/msgpack":"3.1.3","@bunito/container":"0.0.18"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@nats-io/transport-node":"3.4.0"},"optionalDependencies":{"@nats-io/transport-node":"^3.4.0"},"_npmOperationalInternal":{"tmp":"tmp/broker_0.0.18_1780316072256_0.3947046711112776","host":"s3://npm-registry-packages-npm-production"}},"0.0.19":{"name":"@bunito/broker","version":"0.0.19","keywords":["bunito","broker","messaging","microservices","request-reply","nats","testing"],"author":"Stanisław Głogowski <hello@bunito.dev>","license":"MIT","_id":"@bunito/broker@0.0.19","maintainers":[{"name":"staszek","email":"npm@newobject.dev"}],"homepage":"https://bunito.dev","bugs":{"url":"https://github.com/bunito-dev/bunito/issues"},"dist":{"shasum":"f811ab018354d580cfe68047c62437e04ef396a8","tarball":"https://registry.npmjs.org/@bunito/broker/-/broker-0.0.19.tgz","fileCount":41,"integrity":"sha512-4kFTCnCpcMF1O8wBgEhJD+ilSwfU7hH+MMSrcQCyh7+PI7I0Jhv1PGSLF61/VRoj7UsE6KlIs7iRd4qSvqQKvQ==","signatures":[{"sig":"MEQCID5mkiCV+JshUFQLPBkY/fct5+J6bxrSMYEhYvPvmRE/AiAajVUM1rtpShSRj3WPs4uzeonHhH5pOr5Pjl7Ehuco3Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":34686},"type":"module","shasum":"f811ab018354d580cfe68047c62437e04ef396a8","engines":{"bun":">=1.3.10"},"exports":{".":"./src/index.ts","./internals":"./src/internals.ts"},"_npmUser":{"name":"staszek","email":"npm@newobject.dev"},"_integrity":"sha512-4kFTCnCpcMF1O8wBgEhJD+ilSwfU7hH+MMSrcQCyh7+PI7I0Jhv1PGSLF61/VRoj7UsE6KlIs7iRd4qSvqQKvQ==","repository":{"url":"https://github.com/bunito-dev/bunito.git","type":"git","directory":"packages/broker"},"_npmVersion":"10.8.3","description":"Broker module, message decorators, request/reply APIs, adapters, and test broker utilities for bunito.","directories":{},"sideEffects":false,"_nodeVersion":"24.3.0","dependencies":{"@bunito/app":"0.0.19","@bunito/common":"0.0.19","@bunito/config":"0.0.19","@bunito/logger":"0.0.19","@bunito/testing":"0.0.19","@msgpack/msgpack":"3.1.3","@bunito/container":"0.0.19"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@nats-io/transport-node":"3.4.0"},"optionalDependencies":{"@nats-io/transport-node":"^3.4.0"},"_npmOperationalInternal":{"tmp":"tmp/broker_0.0.19_1780316597555_0.2718669960301119","host":"s3://npm-registry-packages-npm-production"}},"0.0.20":{"name":"@bunito/broker","version":"0.0.20","keywords":["bunito","broker","messaging","microservices","request-reply","nats","testing"],"author":"Stanisław Głogowski <hello@bunito.dev>","license":"MIT","_id":"@bunito/broker@0.0.20","maintainers":[{"name":"staszek","email":"npm@newobject.dev"}],"homepage":"https://bunito.dev","bugs":{"url":"https://github.com/bunito-dev/bunito/issues"},"dist":{"shasum":"f484179122dd112a1b89e1aeec63da5e272d064c","tarball":"https://registry.npmjs.org/@bunito/broker/-/broker-0.0.20.tgz","fileCount":41,"integrity":"sha512-upp1Wqda8cyCZxlkFbQOmiFs8ETkTn5YXA09IxgKBS0iitCRrPJsak7i6bzrJ3LioAtr1+Ck5GmQECNgnWwz2w==","signatures":[{"sig":"MEYCIQCA63ZvrvtzM4MkpbPSG2mPmUDU8HW4tF8ZJw+iZULflQIhALzaqJoXxt3mAYdsjottAMIwlykfLHUjH+X74zebXSEY","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":34686},"type":"module","shasum":"f484179122dd112a1b89e1aeec63da5e272d064c","engines":{"bun":">=1.3.10"},"exports":{".":"./src/index.ts","./internals":"./src/internals.ts"},"_npmUser":{"name":"staszek","email":"npm@newobject.dev"},"_integrity":"sha512-upp1Wqda8cyCZxlkFbQOmiFs8ETkTn5YXA09IxgKBS0iitCRrPJsak7i6bzrJ3LioAtr1+Ck5GmQECNgnWwz2w==","repository":{"url":"https://github.com/bunito-dev/bunito.git","type":"git","directory":"packages/broker"},"_npmVersion":"10.8.3","description":"Broker module, message decorators, request/reply APIs, adapters, and test broker utilities for bunito.","directories":{},"sideEffects":false,"_nodeVersion":"24.3.0","dependencies":{"@bunito/app":"0.0.20","@bunito/common":"0.0.20","@bunito/config":"0.0.20","@bunito/logger":"0.0.20","@bunito/testing":"0.0.20","@msgpack/msgpack":"3.1.3","@bunito/container":"0.0.20"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@nats-io/transport-node":"3.4.0"},"optionalDependencies":{"@nats-io/transport-node":"^3.4.0"},"_npmOperationalInternal":{"tmp":"tmp/broker_0.0.20_1780317295028_0.9145522443150185","host":"s3://npm-registry-packages-npm-production"}},"0.0.21":{"name":"@bunito/broker","version":"0.0.21","keywords":["bunito","broker","messaging","microservices","request-reply","nats","testing"],"author":"Stanisław Głogowski <hello@bunito.dev>","license":"MIT","_id":"@bunito/broker@0.0.21","maintainers":[{"name":"staszek","email":"npm@newobject.dev"}],"homepage":"https://bunito.dev","bugs":{"url":"https://github.com/bunito-dev/bunito/issues"},"dist":{"shasum":"84d63b37bf1919bb60f845427928e0c47290b455","tarball":"https://registry.npmjs.org/@bunito/broker/-/broker-0.0.21.tgz","fileCount":41,"integrity":"sha512-RzqYfj7GZrAcH7XIQKA0uG7tUZ2dH4e7u8PWfSX54B+DVn0WlVKrZPysK0c3aHdi7kbYbhxXBQnS7suuL2Lgdw==","signatures":[{"sig":"MEUCIQCRT0x7+4fTGHVYEwrutKzVPES26AFt96yxtZQ92KwC3wIgJozUVGoIEFFlHxD5CYqquaDlSQgxywE6W6UmQ8g0F3M=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":35685},"type":"module","shasum":"84d63b37bf1919bb60f845427928e0c47290b455","engines":{"bun":">=1.3.10"},"exports":{".":"./src/index.ts","./internals":"./src/internals.ts"},"_npmUser":{"name":"staszek","email":"npm@newobject.dev"},"_integrity":"sha512-RzqYfj7GZrAcH7XIQKA0uG7tUZ2dH4e7u8PWfSX54B+DVn0WlVKrZPysK0c3aHdi7kbYbhxXBQnS7suuL2Lgdw==","repository":{"url":"https://github.com/bunito-dev/bunito.git","type":"git","directory":"packages/broker"},"_npmVersion":"10.8.3","description":"Broker module, message decorators, request/reply APIs, adapters, and test broker utilities for bunito.","directories":{},"sideEffects":false,"_nodeVersion":"24.3.0","dependencies":{"@bunito/app":"0.0.21","@bunito/common":"0.0.21","@bunito/config":"0.0.21","@bunito/logger":"0.0.21","@bunito/testing":"0.0.21","@msgpack/msgpack":"3.1.3","@bunito/container":"0.0.21"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@nats-io/transport-node":"3.4.0"},"optionalDependencies":{"@nats-io/transport-node":"^3.4.0"},"_npmOperationalInternal":{"tmp":"tmp/broker_0.0.21_1780398354542_0.8698074318181124","host":"s3://npm-registry-packages-npm-production"}},"0.0.22":{"name":"@bunito/broker","version":"0.0.22","keywords":["bunito","broker","messaging","microservices","request-reply","nats","testing"],"author":"Stanisław Głogowski <hello@bunito.dev>","license":"MIT","_id":"@bunito/broker@0.0.22","maintainers":[{"name":"staszek","email":"npm@newobject.dev"}],"homepage":"https://bunito.dev","bugs":{"url":"https://github.com/bunito-dev/bunito/issues"},"dist":{"shasum":"38c8ef399a49b38871d40f8e5946c03a9297d11d","tarball":"https://registry.npmjs.org/@bunito/broker/-/broker-0.0.22.tgz","fileCount":41,"integrity":"sha512-xYSEmHo+T8OfHyBAoVtK2xfBszKGUH4Q1wmdJQqtW5QL+5Xu3l1YHvXiXviwRieFDDlDP0Ig7SBf8NiJCtCg1Q==","signatures":[{"sig":"MEQCICLnYsoB037LWH8uInGIpqvv5uYuVs5BmS3bSKAJz43pAiAm9fSigB2kirF4qgqfvxQbBFgo+iMSc7DHgwsRmCa80Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":35685},"type":"module","shasum":"38c8ef399a49b38871d40f8e5946c03a9297d11d","engines":{"bun":">=1.3.10"},"exports":{".":"./src/index.ts","./internals":"./src/internals.ts"},"_npmUser":{"name":"staszek","email":"npm@newobject.dev"},"_integrity":"sha512-xYSEmHo+T8OfHyBAoVtK2xfBszKGUH4Q1wmdJQqtW5QL+5Xu3l1YHvXiXviwRieFDDlDP0Ig7SBf8NiJCtCg1Q==","repository":{"url":"https://github.com/bunito-dev/bunito.git","type":"git","directory":"packages/broker"},"_npmVersion":"10.8.3","description":"Broker module, message decorators, request/reply APIs, adapters, and test broker utilities for bunito.","directories":{},"sideEffects":false,"_nodeVersion":"24.3.0","dependencies":{"@bunito/app":"0.0.22","@bunito/common":"0.0.22","@bunito/config":"0.0.22","@bunito/logger":"0.0.22","@bunito/testing":"0.0.22","@msgpack/msgpack":"3.1.3","@bunito/container":"0.0.22"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@nats-io/transport-node":"3.4.0"},"optionalDependencies":{"@nats-io/transport-node":"^3.4.0"},"_npmOperationalInternal":{"tmp":"tmp/broker_0.0.22_1780398707854_0.28881882263914327","host":"s3://npm-registry-packages-npm-production"}},"0.0.23":{"name":"@bunito/broker","version":"0.0.23","keywords":["bunito","broker","messaging","microservices","request-reply","nats","testing"],"author":"Stanisław Głogowski <hello@bunito.dev>","license":"MIT","_id":"@bunito/broker@0.0.23","maintainers":[{"name":"staszek","email":"npm@newobject.dev"}],"homepage":"https://bunito.dev","bugs":{"url":"https://github.com/bunito-dev/bunito/issues"},"dist":{"shasum":"a7a57f194efae3aa26722acc3964239b36bf4f63","tarball":"https://registry.npmjs.org/@bunito/broker/-/broker-0.0.23.tgz","fileCount":41,"integrity":"sha512-OmyNPazETG32dtx0IgEgaeeUn6EPXHX1zZfRTGNBcEzctUDl92EgpFrL+uOQWQfVVPL9Zu/LdABrLCXOfqbtAg==","signatures":[{"sig":"MEUCIQCszdaP5yCpo3n92T8JPQWGyINdOeKi2yvc2/MfZpryTgIgQCwlAGV6aVPkmpS7yvr0N+TVbKUw5gz//wh3OMBwLyo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":35685},"type":"module","shasum":"a7a57f194efae3aa26722acc3964239b36bf4f63","engines":{"bun":">=1.3.10"},"exports":{".":"./src/index.ts","./internals":"./src/internals.ts"},"_npmUser":{"name":"staszek","email":"npm@newobject.dev"},"_integrity":"sha512-OmyNPazETG32dtx0IgEgaeeUn6EPXHX1zZfRTGNBcEzctUDl92EgpFrL+uOQWQfVVPL9Zu/LdABrLCXOfqbtAg==","repository":{"url":"https://github.com/bunito-dev/bunito.git","type":"git","directory":"packages/broker"},"_npmVersion":"10.8.3","description":"Broker module, message decorators, request/reply APIs, adapters, and test broker utilities for bunito.","directories":{},"sideEffects":false,"_nodeVersion":"24.3.0","dependencies":{"@bunito/app":"0.0.23","@bunito/common":"0.0.23","@bunito/config":"0.0.23","@bunito/logger":"0.0.23","@bunito/testing":"0.0.23","@msgpack/msgpack":"3.1.3","@bunito/container":"0.0.23"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@nats-io/transport-node":"3.4.0"},"optionalDependencies":{"@nats-io/transport-node":"^3.4.0"},"_npmOperationalInternal":{"tmp":"tmp/broker_0.0.23_1780399249868_0.014267190148628428","host":"s3://npm-registry-packages-npm-production"}},"0.0.24":{"name":"@bunito/broker","version":"0.0.24","keywords":["bunito","broker","messaging","microservices","request-reply","nats","testing"],"author":"Stanisław Głogowski <hello@bunito.dev>","license":"MIT","_id":"@bunito/broker@0.0.24","maintainers":[{"name":"staszek","email":"npm@newobject.dev"}],"homepage":"https://bunito.dev","bugs":{"url":"https://github.com/bunito-dev/bunito/issues"},"dist":{"shasum":"b9de1fc7f572dcaf3473281a389f21fc35c99e8a","tarball":"https://registry.npmjs.org/@bunito/broker/-/broker-0.0.24.tgz","fileCount":41,"integrity":"sha512-FDu9TNpw6fjnbaXWOLo6ltg5hI7Zk9lbBWUm+ny3vwrhtR40bZ4lKyC8fXDB0KVWP1LDO4W6LIeMJIr132Xwsg==","signatures":[{"sig":"MEQCIEbOPYqfVIquaoberL7suQxj+ky9vrcRUogFfOHDy3usAiBwTRXi77NAnRE4cKa810TTiat5/qAKHvUrZ1upEcXXLg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":35753},"type":"module","shasum":"b9de1fc7f572dcaf3473281a389f21fc35c99e8a","engines":{"bun":">=1.3.10"},"exports":{".":"./src/index.ts","./internals":"./src/internals.ts"},"_npmUser":{"name":"staszek","email":"npm@newobject.dev"},"_integrity":"sha512-FDu9TNpw6fjnbaXWOLo6ltg5hI7Zk9lbBWUm+ny3vwrhtR40bZ4lKyC8fXDB0KVWP1LDO4W6LIeMJIr132Xwsg==","repository":{"url":"https://github.com/bunito-dev/bunito.git","type":"git","directory":"packages/broker"},"_npmVersion":"10.8.3","description":"Broker module, message decorators, request/reply APIs, adapters, and test broker utilities for bunito.","directories":{},"sideEffects":false,"_nodeVersion":"24.3.0","dependencies":{"@bunito/app":"0.0.24","@bunito/common":"0.0.24","@bunito/config":"0.0.24","@bunito/logger":"0.0.24","@bunito/testing":"0.0.24","@msgpack/msgpack":"3.1.3","@bunito/container":"0.0.24"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@nats-io/transport-node":"3.4.0"},"optionalDependencies":{"@nats-io/transport-node":"^3.4.0"},"_npmOperationalInternal":{"tmp":"tmp/broker_0.0.24_1780407061194_0.7003544803543333","host":"s3://npm-registry-packages-npm-production"}},"0.0.25":{"name":"@bunito/broker","version":"0.0.25","keywords":["bunito","broker","messaging","microservices","request-reply","nats","testing"],"author":"Stanisław Głogowski <hello@bunito.dev>","license":"MIT","_id":"@bunito/broker@0.0.25","maintainers":[{"name":"staszek","email":"npm@newobject.dev"}],"homepage":"https://bunito.dev","bugs":{"url":"https://github.com/bunito-dev/bunito/issues"},"dist":{"shasum":"f5fe8136209808bcd0fc2de181552451418ca1d1","tarball":"https://registry.npmjs.org/@bunito/broker/-/broker-0.0.25.tgz","fileCount":42,"integrity":"sha512-bikTeOcqOVCohhKFCw3x0TM5qoFDAtyogYejrlFCbzSaGH3GSVClN9XlOwNcQkIc9UaFFeETj5GzAM4lx5x7/g==","signatures":[{"sig":"MEYCIQCFCePEKJ3iRMlewW0djSsDUlXruMom/Pa4D2xuXvTMWgIhAPsP+9tZS0QFQ3mqclrGGfj0YcR443NbuVprvPSJGuhf","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":36645},"type":"module","shasum":"f5fe8136209808bcd0fc2de181552451418ca1d1","engines":{"bun":">=1.3.10"},"exports":{".":"./src/index.ts","./internals":"./src/internals.ts"},"_npmUser":{"name":"staszek","email":"npm@newobject.dev"},"_integrity":"sha512-bikTeOcqOVCohhKFCw3x0TM5qoFDAtyogYejrlFCbzSaGH3GSVClN9XlOwNcQkIc9UaFFeETj5GzAM4lx5x7/g==","repository":{"url":"https://github.com/bunito-dev/bunito.git","type":"git","directory":"packages/broker"},"_npmVersion":"10.8.3","description":"Broker module, message decorators, request/reply APIs, adapters, and test broker utilities for bunito.","directories":{},"sideEffects":false,"_nodeVersion":"24.3.0","dependencies":{"@bunito/app":"0.0.25","@bunito/common":"0.0.25","@bunito/config":"0.0.25","@bunito/logger":"0.0.25","@bunito/testing":"0.0.25","@msgpack/msgpack":"3.1.3","@bunito/container":"0.0.25"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@nats-io/transport-node":"3.4.0"},"optionalDependencies":{"@nats-io/transport-node":"^3.4.0"},"_npmOperationalInternal":{"tmp":"tmp/broker_0.0.25_1780733584269_0.9051677404335348","host":"s3://npm-registry-packages-npm-production"}},"0.0.26":{"name":"@bunito/broker","version":"0.0.26","keywords":["bunito","broker","messaging","microservices","request-reply","nats","testing"],"author":"Stanisław Głogowski <hello@bunito.dev>","license":"MIT","_id":"@bunito/broker@0.0.26","maintainers":[{"name":"staszek","email":"npm@newobject.dev"}],"homepage":"https://bunito.dev","bugs":{"url":"https://github.com/bunito-dev/bunito/issues"},"dist":{"shasum":"f061597a6f18709a82680bc7eac9fda2cf4f5d93","tarball":"https://registry.npmjs.org/@bunito/broker/-/broker-0.0.26.tgz","fileCount":42,"integrity":"sha512-8zj1bRcnfnsgC/vy7mUCHxx2svAzjnBohpSDxPNH5Kd38uS0YM5limsX8p9hLQEHwvUYQBNmCn6z5bsnjyp6rQ==","signatures":[{"sig":"MEYCIQCgSs7K7bq2EfMDMDul1gUjeVFnf6oOMfV0nyMzVpXqeQIhAOH+AHSKocqALzNobbsWi7VwSQnSi/NdGelYR2LzVjbZ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":36747},"type":"module","shasum":"f061597a6f18709a82680bc7eac9fda2cf4f5d93","engines":{"bun":">=1.3.10"},"exports":{".":"./src/index.ts","./internals":"./src/internals.ts"},"_npmUser":{"name":"staszek","email":"npm@newobject.dev"},"_integrity":"sha512-8zj1bRcnfnsgC/vy7mUCHxx2svAzjnBohpSDxPNH5Kd38uS0YM5limsX8p9hLQEHwvUYQBNmCn6z5bsnjyp6rQ==","repository":{"url":"https://github.com/bunito-dev/bunito.git","type":"git","directory":"packages/broker"},"_npmVersion":"10.8.3","description":"Broker module, message decorators, request/reply APIs, adapters, and test broker utilities for bunito.","directories":{},"sideEffects":false,"_nodeVersion":"24.3.0","dependencies":{"@bunito/app":"0.0.26","@bunito/common":"0.0.26","@bunito/config":"0.0.26","@bunito/logger":"0.0.26","@bunito/testing":"0.0.26","@msgpack/msgpack":"3.1.3","@bunito/container":"0.0.26"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@nats-io/transport-node":"3.4.0"},"optionalDependencies":{"@nats-io/transport-node":"^3.4.0"},"_npmOperationalInternal":{"tmp":"tmp/broker_0.0.26_1780735728917_0.43780566161062384","host":"s3://npm-registry-packages-npm-production"}},"0.0.27":{"name":"@bunito/broker","version":"0.0.27","description":"Broker module, message decorators, request/reply APIs, adapters, and test broker utilities for bunito.","keywords":["bunito","broker","messaging","microservices","request-reply","nats","testing"],"author":"Stanisław Głogowski <hello@bunito.dev>","license":"MIT","homepage":"https://bunito.dev","repository":{"type":"git","url":"https://github.com/bunito-dev/bunito.git","directory":"packages/broker"},"bugs":{"url":"https://github.com/bunito-dev/bunito/issues"},"publishConfig":{"access":"public"},"type":"module","sideEffects":false,"exports":{".":"./src/index.ts","./internals":"./src/internals.ts"},"dependencies":{"@bunito/app":"0.0.27","@bunito/common":"0.0.27","@bunito/config":"0.0.27","@bunito/container":"0.0.27","@bunito/logger":"0.0.27","@bunito/testing":"0.0.27","@msgpack/msgpack":"3.1.3"},"devDependencies":{"@nats-io/transport-node":"3.4.0"},"optionalDependencies":{"@nats-io/transport-node":"^3.4.0"},"engines":{"bun":">=1.3.10"},"_id":"@bunito/broker@0.0.27","_integrity":"sha512-RyKgQch5xZbhS34UNU1GZggoydC9n1MzB4O0+zGbVmkWyLdSdc2PjR6LdxMjt12jHhaTDgz/lKGONMJCcQCM+w==","_nodeVersion":"24.3.0","_npmVersion":"10.8.3","shasum":"285ed96366182c1aa0ae1a6fad28e1b28d39ba4e","dist":{"integrity":"sha512-RyKgQch5xZbhS34UNU1GZggoydC9n1MzB4O0+zGbVmkWyLdSdc2PjR6LdxMjt12jHhaTDgz/lKGONMJCcQCM+w==","shasum":"285ed96366182c1aa0ae1a6fad28e1b28d39ba4e","tarball":"https://registry.npmjs.org/@bunito/broker/-/broker-0.0.27.tgz","fileCount":42,"unpackedSize":36773,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIAEJjldRYpkIjT5f69WA2m8dBnQV5PzD774ZOxigAbMtAiAKCOEBxETSvS3O9Hra+Dzc8cahE5EZnDnzovSNI5YNQQ=="}]},"_npmUser":{"name":"staszek","email":"npm@newobject.dev"},"directories":{},"maintainers":[{"name":"staszek","email":"npm@newobject.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/broker_0.0.27_1780748372856_0.5325441961421378"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-13T12:07:22.498Z","modified":"2026-06-06T12:19:33.106Z","0.0.11":"2026-05-13T12:07:22.737Z","0.0.12":"2026-05-13T13:18:05.849Z","0.0.13":"2026-05-14T12:04:45.702Z","0.0.14":"2026-05-15T13:41:59.400Z","0.0.15":"2026-05-21T06:20:48.609Z","0.0.16":"2026-05-31T15:27:48.442Z","0.0.17":"2026-06-01T11:43:37.151Z","0.0.18":"2026-06-01T12:14:32.480Z","0.0.19":"2026-06-01T12:23:17.716Z","0.0.20":"2026-06-01T12:34:55.183Z","0.0.21":"2026-06-02T11:05:54.682Z","0.0.22":"2026-06-02T11:11:48.032Z","0.0.23":"2026-06-02T11:20:50.008Z","0.0.24":"2026-06-02T13:31:01.321Z","0.0.25":"2026-06-06T08:13:04.409Z","0.0.26":"2026-06-06T08:48:49.069Z","0.0.27":"2026-06-06T12:19:32.984Z"},"bugs":{"url":"https://github.com/bunito-dev/bunito/issues"},"author":"Stanisław Głogowski <hello@bunito.dev>","license":"MIT","homepage":"https://bunito.dev","keywords":["bunito","broker","messaging","microservices","request-reply","nats","testing"],"repository":{"type":"git","url":"https://github.com/bunito-dev/bunito.git","directory":"packages/broker"},"description":"Broker module, message decorators, request/reply APIs, adapters, and test broker utilities for bunito.","maintainers":[{"name":"staszek","email":"npm@newobject.dev"}],"readme":"# `@bunito/broker`\n\n[![NPM Version][npm-img]][npm-url]\n[![License MIT][license-img]][license-url]\n\nMessaging support for bunito applications. The package provides `BrokerModule`,\nmessage-handler decorators, request/reply and event publishing through\n`BrokerService`, plus local and NATS-backed adapters.\n\n## Installation 📦\n\n```bash\nbun add @bunito/broker\n```\n\n## Usage ✨\n\n```ts\nimport { BrokerModule, LocalBrokerModule } from '@bunito/broker';\nimport { LoggerModule, Module } from '@bunito/bunito';\n\n@Module({\n  imports: [LoggerModule, BrokerModule, LocalBrokerModule],\n})\nexport class AppModule {}\n```\n\nHandlers are regular controllers:\n\n```ts\nimport { Data, OnMessage } from '@bunito/broker';\nimport { Controller } from '@bunito/bunito';\n\n@Controller('orders')\nexport class OrdersController {\n  @OnMessage('created', {\n    injects: [Data],\n  })\n  handleOrder(data: Data<{ id: string }>): string {\n    return `processed:${data.id}`;\n  }\n}\n```\n\nUse `BrokerService.sendRequest()` when a reply is expected and\n`BrokerService.sendEvent()` for fire-and-forget messages. Public payloads are\nencoded before they reach adapters; handlers usually inject decoded `Data()`.\n\n## Testing 🧪\n\nImporting `@bunito/broker` registers broker test factories on the shared\n`@bunito/testing` `Test` context:\n\n- `Test.BrokerModule`: a `BrokerModule` replacement configured with the\n  in-memory `TestBroker` adapter.\n- `Test.broker`: the `TestBroker` instance. Its adapter methods are Bun mocks,\n  so calls such as `sendRequest`, `sendEvent`, `sendResponse`, `connect`,\n  `disconnect`, and `subscribe` can be asserted directly.\n\n```ts\nimport { BrokerService, Payload } from '@bunito/broker';\nimport { App } from '@bunito/bunito';\nimport { Test } from '@bunito/testing';\n\nconst app = await App.start({\n  imports: [Test.ConfigModule, Test.LoggerModule, Test.BrokerModule, AppModule],\n});\n\nconst broker = await app.resolve(BrokerService);\nconst payload = await broker.sendRequest('orders.created', { id: 'ord_1' });\n\nexpect(payload?.decode()).toEqual({ ok: true });\nexpect(Test.broker.sendRequest).toBeCalledWith(\n  'orders.created',\n  expect.any(Payload),\n);\n```\n\n`Test.broker` supports the same topic matching as the local broker, including\nsingle-token and trailing multi-token wildcards. Use `Test.broker.setTimeout()`\nwhen a request/reply test needs a shorter timeout.\n\n## Adapters 🔌\n\n- `LocalBrokerModule`: local development adapter, with in-memory and filesystem\n  modes.\n- `NatsBrokerModule`: NATS adapter. It uses `@nats-io/transport-node` as an\n  optional dependency.\n\n## License\n\nMIT\n\n[npm-img]: https://img.shields.io/npm/v/%40bunito%2Fbroker\n[npm-url]: https://www.npmjs.com/package/@bunito/broker\n[license-img]: https://img.shields.io/badge/license-MIT-green.svg\n[license-url]: https://github.com/bunito-dev/bunito?tab=License-1-ov-file#readme\n","readmeFilename":"README.md"}