{"_id":"@cognizone/a2-sse","_rev":"11-b20e5a0788cb1648ca305cf251b5da6d","name":"@cognizone/a2-sse","dist-tags":{"latest":"3.0.3"},"versions":{"1.0.0":{"name":"@cognizone/a2-sse","version":"1.0.0","_id":"@cognizone/a2-sse@1.0.0","maintainers":[{"name":"cognizone_admin","email":"william.chelman+admin@cogni.zone"},{"name":"williamchelmancz","email":"william.chelman@cogni.zone"},{"name":"domi.vds","email":"dominique.vandensteen@cogni.zone"}],"dist":{"shasum":"9dfef7627e4415d630c301924aa80663209ae914","tarball":"https://registry.npmjs.org/@cognizone/a2-sse/-/a2-sse-1.0.0.tgz","fileCount":5,"integrity":"sha512-YntxMkenH2eCLxHhxXxghUXhlNhH5C/5E4GZveL9aN31aJieDuPtApyN+ebjb5ikMPGZt/9v8Yzga3Iq7xOZvQ==","signatures":[{"sig":"MEQCIC11hgSZSRmEZSD7xMOL4NIIrRJvWK1SUWXLKjU25tOiAiB2ZpkZ54fLuTUoYhNhBE1n8mzx6+28hlcMsT9VCpgx4A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18099},"module":"fesm2022/cognizone-a2-sse.mjs","exports":{".":{"types":"./index.d.ts","default":"./fesm2022/cognizone-a2-sse.mjs"},"./package.json":{"default":"./package.json"}},"gitHead":"671ea30e4993bbf5e7963e771a47e5abfa90b023","private":false,"typings":"index.d.ts","_npmUser":{"name":"cognizone_admin","email":"william.chelman+admin@cogni.zone"},"repository":{"directory":"projects/cognizone/a2-sse"},"_npmVersion":"11.6.3","description":"[See MDN's official SSE documentation for further details.](https://developer.mozilla.org/en-US/docs/Web/API/EventSource)","directories":{},"sideEffects":false,"_nodeVersion":"22.21.1","dependencies":{"tslib":"^2.6.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"@angular/core":">=20.0.0","@angular/common":">=20.0.0","@cognizone/model-utils":"^7.0.0-beta.2"},"_npmOperationalInternal":{"tmp":"tmp/a2-sse_1.0.0_1763722578042_0.655538496661918","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@cognizone/a2-sse","version":"1.0.1","_id":"@cognizone/a2-sse@1.0.1","maintainers":[{"name":"cognizone_admin","email":"william.chelman+admin@cogni.zone"},{"name":"williamchelmancz","email":"william.chelman@cogni.zone"},{"name":"domi.vds","email":"dominique.vandensteen@cogni.zone"}],"dist":{"shasum":"8d8af09bd90e17e09fb322d36dadf45e0d82ab5f","tarball":"https://registry.npmjs.org/@cognizone/a2-sse/-/a2-sse-1.0.1.tgz","fileCount":5,"integrity":"sha512-LZoFH78Uah8i3VXd0l/YG6skrYJnc9dT+tpIR5tXPMTPenCJmrRE483jCsteyRgci+qxoahY410PEDUL9kHdJA==","signatures":[{"sig":"MEYCIQDQmN8O0gdpeYurv8qRBcgBvOFyu5/DvG994T/C+sGbUwIhANu2JwRrw5KQNKlMP4K5we5XIbCJNlOClhceBzotfcMF","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18093},"module":"fesm2022/cognizone-a2-sse.mjs","exports":{".":{"types":"./index.d.ts","default":"./fesm2022/cognizone-a2-sse.mjs"},"./package.json":{"default":"./package.json"}},"gitHead":"15f18d8e3369ac88e9cca014c57e1917282e0bff","private":false,"typings":"index.d.ts","_npmUser":{"name":"cognizone_admin","email":"william.chelman+admin@cogni.zone"},"repository":{"directory":"projects/cognizone/a2-sse"},"_npmVersion":"11.6.3","description":"[See MDN's official SSE documentation for further details.](https://developer.mozilla.org/en-US/docs/Web/API/EventSource)","directories":{},"sideEffects":false,"_nodeVersion":"22.21.1","dependencies":{"tslib":"^2.6.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"@angular/core":">=20.0.0","@angular/common":">=20.0.0","@cognizone/model-utils":">=7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/a2-sse_1.0.1_1763731958203_0.005278724643927868","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@cognizone/a2-sse","version":"1.0.3","_id":"@cognizone/a2-sse@1.0.3","maintainers":[{"name":"cognizone_admin","email":"william.chelman+admin@cogni.zone"},{"name":"williamchelmancz","email":"william.chelman@cogni.zone"},{"name":"domi.vds","email":"dominique.vandensteen@cogni.zone"}],"dist":{"shasum":"7ac80e62f405150c1c4f5372ee67092e3ee45596","tarball":"https://registry.npmjs.org/@cognizone/a2-sse/-/a2-sse-1.0.3.tgz","fileCount":5,"integrity":"sha512-C2bU5O0BUcyI32Nd9HJKB63nPzQ570kPSnWzCgiU9V9Q6IX9d24zXaakXjXG5ciHu3r4b3ED6e+kjB0GxKyPYw==","signatures":[{"sig":"MEQCIHWtXoEi4qaamoUGVye+qiuAlT8ngL3yFbLskAf85T4xAiBVj0s9/NgVBqzLp0ozF+BXqX76TLmTcC6DZ97TQYJMzw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18093},"module":"fesm2022/cognizone-a2-sse.mjs","exports":{".":{"types":"./index.d.ts","default":"./fesm2022/cognizone-a2-sse.mjs"},"./package.json":{"default":"./package.json"}},"gitHead":"290f46669a258c4545564eddb8ef0f29a77f82ba","private":false,"typings":"index.d.ts","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:40e1fdb2-de29-4541-b712-e095c1db8a05"}},"repository":{"directory":"projects/cognizone/a2-sse"},"_npmVersion":"11.6.3","description":"[See MDN's official SSE documentation for further details.](https://developer.mozilla.org/en-US/docs/Web/API/EventSource)","directories":{},"sideEffects":false,"_nodeVersion":"22.21.1","dependencies":{"tslib":"^2.6.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"@angular/core":">=20.0.0","@angular/common":">=20.0.0","@cognizone/model-utils":">=7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/a2-sse_1.0.3_1763732662103_0.7517818582535434","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@cognizone/a2-sse","version":"1.0.4","_id":"@cognizone/a2-sse@1.0.4","maintainers":[{"name":"cognizone_admin","email":"william.chelman+admin@cogni.zone"},{"name":"williamchelmancz","email":"william.chelman@cogni.zone"},{"name":"domi.vds","email":"dominique.vandensteen@cogni.zone"}],"dist":{"shasum":"9ecf678de9cf2b413cc02c5e9c68811ff33878f3","tarball":"https://registry.npmjs.org/@cognizone/a2-sse/-/a2-sse-1.0.4.tgz","fileCount":5,"integrity":"sha512-tCo+rUYKyeZhDTiQpAMDH1Yoza3mUC6n/FWFC4zcZ08BPNRSBehAKEnxrYAXBqbVa1rJeblwS1uJHxO2nEMc1g==","signatures":[{"sig":"MEYCIQDJvYwE3VTgZe/PuHryoXjdZ0DjfBQpjOPhevsCICXYQgIhAL/CdRsy8OOSTTv/aIL5k4P7VP6aQw0qZIgQvSqAJycY","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18093},"module":"fesm2022/cognizone-a2-sse.mjs","exports":{".":{"types":"./index.d.ts","default":"./fesm2022/cognizone-a2-sse.mjs"},"./package.json":{"default":"./package.json"}},"gitHead":"3f9ca21462592b07a80844526d2dc81588491595","private":false,"typings":"index.d.ts","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:40e1fdb2-de29-4541-b712-e095c1db8a05"}},"repository":{"directory":"projects/cognizone/a2-sse"},"_npmVersion":"11.6.3","description":"[See MDN's official SSE documentation for further details.](https://developer.mozilla.org/en-US/docs/Web/API/EventSource)","directories":{},"sideEffects":false,"_nodeVersion":"22.21.1","dependencies":{"tslib":"^2.6.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"@angular/core":">=20.0.0","@angular/common":">=20.0.0","@cognizone/model-utils":">=7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/a2-sse_1.0.4_1763740663069_0.5482484774354841","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@cognizone/a2-sse","version":"1.0.5","_id":"@cognizone/a2-sse@1.0.5","maintainers":[{"name":"cognizone_admin","email":"william.chelman+admin@cogni.zone"},{"name":"williamchelmancz","email":"william.chelman@cogni.zone"},{"name":"domi.vds","email":"dominique.vandensteen@cogni.zone"}],"dist":{"shasum":"1c36b2a79b60490496ba4d10ac0741666ddff876","tarball":"https://registry.npmjs.org/@cognizone/a2-sse/-/a2-sse-1.0.5.tgz","fileCount":5,"integrity":"sha512-mgq8dA9lvYJ/JdMbSpWpF/ygEAME6CELXNw0LtU8JjheyySJ01R/GqoMfiuP+oVK79DphTJgPQQhXpZMcOIUvw==","signatures":[{"sig":"MEUCIQDpGIxxrail5Gp34gfn703kLYEB2CZVIelczB/uzJ9fRAIgZRcx/P2jXqbPHAduBnA/fYsFHPZ0+a+vhL7AtgaMZhY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18093},"module":"fesm2022/cognizone-a2-sse.mjs","exports":{".":{"types":"./index.d.ts","default":"./fesm2022/cognizone-a2-sse.mjs"},"./package.json":{"default":"./package.json"}},"gitHead":"d547990307162238e22626933fc7d8ef39c2b69d","private":false,"typings":"index.d.ts","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:40e1fdb2-de29-4541-b712-e095c1db8a05"}},"repository":{"directory":"projects/cognizone/a2-sse"},"_npmVersion":"11.6.3","description":"[See MDN's official SSE documentation for further details.](https://developer.mozilla.org/en-US/docs/Web/API/EventSource)","directories":{},"sideEffects":false,"_nodeVersion":"22.21.1","dependencies":{"tslib":"^2.6.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"@angular/core":">=20.0.0","@angular/common":">=20.0.0","@cognizone/model-utils":">=7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/a2-sse_1.0.5_1764078490280_0.574634546911164","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@cognizone/a2-sse","version":"1.1.0","_id":"@cognizone/a2-sse@1.1.0","maintainers":[{"name":"cognizone_admin","email":"william.chelman+admin@cogni.zone"},{"name":"williamchelmancz","email":"william.chelman@cogni.zone"},{"name":"domi.vds","email":"dominique.vandensteen@cogni.zone"}],"dist":{"shasum":"583e1c9f83355e19667d9dfeb16ce760fcf0b266","tarball":"https://registry.npmjs.org/@cognizone/a2-sse/-/a2-sse-1.1.0.tgz","fileCount":5,"integrity":"sha512-Kcbfj0yOq+hLZ8JFXBvpyJo6+Djn/iGSCsLPjcZ3YQ77r+v5oCFjJe8ezHKIGAmQuBQTkt7R9bgpROCHlywQ/w==","signatures":[{"sig":"MEUCIARHhvEi4A4DrncnWNgER9wYs/MeEGSYLWH8s4woiWQKAiEAwwztnxpx0cWiIZeS+oGfxZPpRWYbLUYVyoINcjJfB8c=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18290},"module":"fesm2022/cognizone-a2-sse.mjs","exports":{".":{"types":"./index.d.ts","default":"./fesm2022/cognizone-a2-sse.mjs"},"./package.json":{"default":"./package.json"}},"gitHead":"d273a950876c47d0b305b04475817f6c8c7c2b6c","private":false,"typings":"index.d.ts","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:40e1fdb2-de29-4541-b712-e095c1db8a05"}},"repository":{"directory":"projects/cognizone/a2-sse"},"_npmVersion":"11.7.0","description":"[See MDN's official SSE documentation for further details.](https://developer.mozilla.org/en-US/docs/Web/API/EventSource)","directories":{},"sideEffects":false,"_nodeVersion":"22.21.1","dependencies":{"tslib":"^2.6.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"@angular/core":">=20.0.0","@angular/common":">=20.0.0","@cognizone/model-utils":">=7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/a2-sse_1.1.0_1765788025299_0.9032179782083092","host":"s3://npm-registry-packages-npm-production"}},"2.0.1":{"name":"@cognizone/a2-sse","version":"2.0.1","_id":"@cognizone/a2-sse@2.0.1","maintainers":[{"name":"cognizone_admin","email":"william.chelman+admin@cogni.zone"},{"name":"williamchelmancz","email":"william.chelman@cogni.zone"},{"name":"domi.vds","email":"dominique.vandensteen@cogni.zone"}],"homepage":"https://github.com/cognizone/ng-a2#readme","bugs":{"url":"https://github.com/cognizone/ng-a2/issues"},"dist":{"shasum":"add45e51fb3281cafd4ecf6e67ad6537ba4b6714","tarball":"https://registry.npmjs.org/@cognizone/a2-sse/-/a2-sse-2.0.1.tgz","fileCount":5,"integrity":"sha512-Hbl75XaO821nmt/n8iAgbXG/n8VH4B0cT3j5N9dD7m7yFTOzLj2yi9a+Pe0BjMekB9rEhGIlPEPw1ubeM+I/PA==","signatures":[{"sig":"MEUCIQDNvn8dEfaY0oe3qps+r5eD+9h9X4ewQzemLSN6zxmw2gIgHo/RO/o4yh+xR0DTJL9FVdDFhodlrjGbjscouDQD9Oo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cognizone%2fa2-sse@2.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":17655},"type":"module","module":"fesm2022/cognizone-a2-sse.mjs","exports":{".":{"types":"./types/cognizone-a2-sse.d.ts","default":"./fesm2022/cognizone-a2-sse.mjs"},"./package.json":{"default":"./package.json"}},"gitHead":"efcb4dcfb380843c85209f8075673a5eea995fd1","private":false,"typings":"types/cognizone-a2-sse.d.ts","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:40e1fdb2-de29-4541-b712-e095c1db8a05"}},"repository":{"url":"git+https://github.com/cognizone/ng-a2.git","directory":"projects/cognizone/a2-sse"},"_npmVersion":"11.13.0","description":"Angular wrapper around the browser's native `EventSource` API, exposing an observable-based interface for SSE connections. Requires: **Angular >= 20 for v1.1.0** **Angular >= 21 for v2.0.0**","directories":{},"sideEffects":false,"_nodeVersion":"22.22.2","dependencies":{"tslib":"^2.6.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"@angular/core":">=21.0.0","@angular/common":">=21.0.0","@cognizone/model-utils":"8.0.0-beta.1"},"_npmOperationalInternal":{"tmp":"tmp/a2-sse_2.0.1_1776934437061_0.06843102900540465","host":"s3://npm-registry-packages-npm-production"}},"3.0.0":{"name":"@cognizone/a2-sse","version":"3.0.0","_id":"@cognizone/a2-sse@3.0.0","maintainers":[{"name":"cognizone_admin","email":"william.chelman+admin@cogni.zone"},{"name":"williamchelmancz","email":"william.chelman@cogni.zone"},{"name":"domi.vds","email":"dominique.vandensteen@cogni.zone"}],"homepage":"https://github.com/cognizone/ng-a2#readme","bugs":{"url":"https://github.com/cognizone/ng-a2/issues"},"dist":{"shasum":"134590daa7ba687833e28e7c5defb620a218904f","tarball":"https://registry.npmjs.org/@cognizone/a2-sse/-/a2-sse-3.0.0.tgz","fileCount":5,"integrity":"sha512-wKky6RqE6a5lEPX20lSzylV+pIaiaZrx6nEsNvzQ1TeA2kD3Is9kljNfUEa07MkFjsv4BksXANBCCcq7FSD0Cw==","signatures":[{"sig":"MEQCIAQML3QL3iAx7xN8rkZGPCFSCLGHPzNeZKzwAK4xBp/mAiBKZpqsHczmI4vvvT/5BHQ1fkcuxT5C4+fsYOXE5A+XZg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cognizone%2fa2-sse@3.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":17655},"type":"module","module":"fesm2022/cognizone-a2-sse.mjs","exports":{".":{"types":"./types/cognizone-a2-sse.d.ts","default":"./fesm2022/cognizone-a2-sse.mjs"},"./package.json":{"default":"./package.json"}},"gitHead":"ae0f31eead88150707535300cbde9ae2378aba0f","private":false,"typings":"types/cognizone-a2-sse.d.ts","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:40e1fdb2-de29-4541-b712-e095c1db8a05"}},"repository":{"url":"git+https://github.com/cognizone/ng-a2.git","directory":"projects/cognizone/a2-sse"},"_npmVersion":"11.13.0","description":"Angular wrapper around the browser's native `EventSource` API, exposing an observable-based interface for SSE connections. Requires: **Angular >= 20 for v1.1.0** **Angular >= 21 for v2.0.0**","directories":{},"sideEffects":false,"_nodeVersion":"22.22.2","dependencies":{"tslib":"^2.6.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"@angular/core":">=21.0.0","@angular/common":">=21.0.0","@cognizone/model-utils":"8.0.0-beta.1"},"_npmOperationalInternal":{"tmp":"tmp/a2-sse_3.0.0_1777048130880_0.0687547522783869","host":"s3://npm-registry-packages-npm-production"}},"3.0.1":{"name":"@cognizone/a2-sse","version":"3.0.1","_id":"@cognizone/a2-sse@3.0.1","maintainers":[{"name":"cognizone_admin","email":"william.chelman+admin@cogni.zone"},{"name":"williamchelmancz","email":"william.chelman@cogni.zone"},{"name":"domi.vds","email":"dominique.vandensteen@cogni.zone"}],"homepage":"https://github.com/cognizone/ng-a2#readme","bugs":{"url":"https://github.com/cognizone/ng-a2/issues"},"dist":{"shasum":"f8d86e12c8f13934a2fd50ca1f937d438c7628fd","tarball":"https://registry.npmjs.org/@cognizone/a2-sse/-/a2-sse-3.0.1.tgz","fileCount":5,"integrity":"sha512-x9Kl8oP5J5t4Xzz/5CC2tfCjQkYNQQ4dzQrIxm6s7NJ9si8zvxr8ZCCMRt8lYOjjFduvTTGehMpFeHELg8e8bg==","signatures":[{"sig":"MEQCIDfK3h3sQuTpvykkzZ6kxCwDvbEO/EX4B4mYVnMsw95ZAiAlNLJUGJAPrG7zbfvN0Ia9x9nlwlN7dn8Ro00xLYS/yw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cognizone%2fa2-sse@3.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":17655},"type":"module","module":"fesm2022/cognizone-a2-sse.mjs","exports":{".":{"types":"./types/cognizone-a2-sse.d.ts","default":"./fesm2022/cognizone-a2-sse.mjs"},"./package.json":{"default":"./package.json"}},"gitHead":"d886785dd631eb64d0e7c264ac8b14e3b9dda63b","private":false,"typings":"types/cognizone-a2-sse.d.ts","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:40e1fdb2-de29-4541-b712-e095c1db8a05"}},"repository":{"url":"git+https://github.com/cognizone/ng-a2.git","directory":"projects/cognizone/a2-sse"},"_npmVersion":"11.13.0","description":"Angular wrapper around the browser's native `EventSource` API, exposing an observable-based interface for SSE connections. Requires: **Angular >= 20 for v1.1.0** **Angular >= 21 for v3.0.0**","directories":{},"sideEffects":false,"_nodeVersion":"22.22.2","dependencies":{"tslib":"^2.6.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"@angular/core":">=21.0.0","@angular/common":">=21.0.0","@cognizone/model-utils":"8.0.0-beta.1"},"_npmOperationalInternal":{"tmp":"tmp/a2-sse_3.0.1_1777281717116_0.15978737325601022","host":"s3://npm-registry-packages-npm-production"}},"3.0.2":{"name":"@cognizone/a2-sse","version":"3.0.2","_id":"@cognizone/a2-sse@3.0.2","maintainers":[{"name":"cognizone_admin","email":"william.chelman+admin@cogni.zone"},{"name":"williamchelmancz","email":"william.chelman@cogni.zone"},{"name":"domi.vds","email":"dominique.vandensteen@cogni.zone"}],"homepage":"https://github.com/cognizone/ng-a2#readme","bugs":{"url":"https://github.com/cognizone/ng-a2/issues"},"dist":{"shasum":"3aca85c1cc0f097b431c6254c1d5449cefb06088","tarball":"https://registry.npmjs.org/@cognizone/a2-sse/-/a2-sse-3.0.2.tgz","fileCount":5,"integrity":"sha512-zbd30ioWUQnANyhSQCgBpH1/lEgOfNkbZOXg+Uk7QIPrwzF6r+JfI/a9ITHzhlj1ibkDKAAJT6TAUISt+t5KKw==","signatures":[{"sig":"MEUCIQCkXwZFidbF7PfNROkBl4K1W9f+0k/cyTjEHARpnJyxgwIgV3BT+EW3/NUwCDQslNQBgVvkmN5Jqn4L2VWPPyphZcY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cognizone%2fa2-sse@3.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":17655},"type":"module","module":"fesm2022/cognizone-a2-sse.mjs","exports":{".":{"types":"./types/cognizone-a2-sse.d.ts","default":"./fesm2022/cognizone-a2-sse.mjs"},"./package.json":{"default":"./package.json"}},"gitHead":"bac1d3f7baef520d2a4f6b726951fd136ae984b2","private":false,"typings":"types/cognizone-a2-sse.d.ts","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:40e1fdb2-de29-4541-b712-e095c1db8a05"}},"repository":{"url":"git+https://github.com/cognizone/ng-a2.git","directory":"projects/cognizone/a2-sse"},"_npmVersion":"11.13.0","description":"Angular wrapper around the browser's native `EventSource` API, exposing an observable-based interface for SSE connections. Requires: **Angular >= 20 for v1.1.0** **Angular >= 21 for v3.0.0**","directories":{},"sideEffects":false,"_nodeVersion":"22.22.2","dependencies":{"tslib":"^2.6.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"@angular/core":">=21.0.0","@angular/common":">=21.0.0","@cognizone/model-utils":"8.0.0-beta.1"},"_npmOperationalInternal":{"tmp":"tmp/a2-sse_3.0.2_1777380975720_0.3293393227943673","host":"s3://npm-registry-packages-npm-production"}},"3.0.3":{"name":"@cognizone/a2-sse","version":"3.0.3","peerDependencies":{"@angular/common":">=21.0.0","@angular/core":">=21.0.0","@cognizone/model-utils":">=8.0.0-beta.0"},"dependencies":{"tslib":"^2.6.2"},"repository":{"directory":"projects/cognizone/a2-sse","url":"git+https://github.com/cognizone/ng-a2.git"},"private":false,"publishConfig":{"access":"public"},"module":"fesm2022/cognizone-a2-sse.mjs","typings":"types/cognizone-a2-sse.d.ts","exports":{"./package.json":{"default":"./package.json"},".":{"types":"./types/cognizone-a2-sse.d.ts","default":"./fesm2022/cognizone-a2-sse.mjs"}},"sideEffects":false,"type":"module","gitHead":"3475642769b417219aae2b2460f13fc1ba082395","_id":"@cognizone/a2-sse@3.0.3","description":"Angular wrapper around the browser's native `EventSource` API, exposing an observable-based interface for SSE connections. Requires: **Angular >= 20 for v1.1.x** **Angular >= 21 for v3.0.x**","bugs":{"url":"https://github.com/cognizone/ng-a2/issues"},"homepage":"https://github.com/cognizone/ng-a2#readme","_nodeVersion":"22.22.2","_npmVersion":"11.13.0","dist":{"integrity":"sha512-ghVRjJFLFDNy38psLgb9RkqYV+BIl13gOfF8Txsx3cyP9DXdnhT4i7tfbBZd5Hkv+0oehMX7hI+4wSYfCkhCig==","shasum":"6eefd510e5b1b33b6270183a0fb8d8e6516f8579","tarball":"https://registry.npmjs.org/@cognizone/a2-sse/-/a2-sse-3.0.3.tgz","fileCount":5,"unpackedSize":17657,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cognizone%2fa2-sse@3.0.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQD1Zdr9QZvb01Gq5MZlpz41X0ZypeOXlR67Ky407ixWdgIgPC4lw5Ptd8yae0B7uh4s+7fskm9YsYh4ngIQL+fLbok="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:40e1fdb2-de29-4541-b712-e095c1db8a05"}},"directories":{},"maintainers":[{"name":"cognizone_admin","email":"william.chelman+admin@cogni.zone"},{"name":"williamchelmancz","email":"william.chelman@cogni.zone"},{"name":"domi.vds","email":"dominique.vandensteen@cogni.zone"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/a2-sse_3.0.3_1777904358795_0.730173890593931"},"_hasShrinkwrap":false}},"time":{"created":"2025-11-21T10:56:17.944Z","modified":"2026-05-04T14:19:19.763Z","1.0.0":"2025-11-21T10:56:18.245Z","1.0.1":"2025-11-21T13:32:38.374Z","1.0.3":"2025-11-21T13:44:22.298Z","1.0.4":"2025-11-21T15:57:43.301Z","1.0.5":"2025-11-25T13:48:10.466Z","1.1.0":"2025-12-15T08:40:25.453Z","2.0.1":"2026-04-23T08:53:57.193Z","3.0.0":"2026-04-24T16:28:51.024Z","3.0.1":"2026-04-27T09:21:57.247Z","3.0.2":"2026-04-28T12:56:15.845Z","3.0.3":"2026-05-04T14:19:18.922Z"},"bugs":{"url":"https://github.com/cognizone/ng-a2/issues"},"homepage":"https://github.com/cognizone/ng-a2#readme","repository":{"directory":"projects/cognizone/a2-sse","url":"git+https://github.com/cognizone/ng-a2.git"},"description":"Angular wrapper around the browser's native `EventSource` API, exposing an observable-based interface for SSE connections. Requires: **Angular >= 20 for v1.1.x** **Angular >= 21 for v3.0.x**","maintainers":[{"name":"cognizone_admin","email":"william.chelman+admin@cogni.zone"},{"name":"williamchelmancz","email":"william.chelman@cogni.zone"},{"name":"domi.vds","email":"dominique.vandensteen@cogni.zone"}],"readme":"# @cognizone/a2-sse (Server Side Events)\n\nAngular wrapper around the browser's native `EventSource` API, exposing an observable-based interface for SSE connections.\nRequires:\n**Angular >= 20 for v1.1.x**\n**Angular >= 21 for v3.0.x**\n\n## Installation\n\n```bash\nnpm i @cognizone/a2-sse\n```\n\n// TODO Mariana - is it still valid ?\n\n## Setting up\n\n- Provide the `SseWrapperFactory` service into the module where you'll use the SSE functionality (in the `providers` array)\n- Create a handler service to communicate with the sse functionality, e.g. `log-listener.service.ts`\n\nInside that service;\n\n```\n// import the Sse wrapper classes\nimport { SseWrapper, SseWrapperFactory } from '@cognizone/a2-sse';\n```\n\n```\n// define an instance of sseWrapper\nprivate sseWrapper: SseWrapper<string>;\n\n// inject the SseWrapperFactory class\nconstructor(private readonly sseWrapperFactory: SseWrapperFactory, ...) {}\n```\n\nYou'll need to create an instance of `sseWrapper` and initialize it. Internally, it will establish the sse connection.\n\n```\ntriggerSseConnection(): void {\n  const uri = 'http:your-sse-api-endpoint';\n\n  this.sseWrapper = this.sseWrapperFactory.create<string>(uri);\n  this.sseWrapper.init();\n}\n```\n\nYou can also pass in a second parameter to the `create` method, which is an optional configuration object of the following blueprint:\n\n```\n{\n  eventSourceInit: {\n    withCredentials: boolean // (defaults to true)\n  }\n}\n```\n\n## Example usage:\n\nOnce you've initialized the sseWrapper instance, you can listen to\n\n- the reconnection state of the SSE connection (`this.sseWrapper.open$`)\n- the ready state of the connection (`this.sseWrapper.readyState$`)\n- the errors thrown from the connection (`this.sseWrapper.error$`)\n- the \"message\" typed events of the connection (`this.sseWrapper.message$`)\n\nusing the above-mentioned observable values.\n\nThe SseWrapper supports custom event types, too:\n\n```\n  listenToMessages(): Observable<MessageEvent<string>> {\n    // listen to \"message\", \"myCustomType1\" and \"myCustomType2\" type events\n    // together\n    const messages$ = merge(\n      this.sseWrapper.message$,\n      this.sseWrapper.getEventsOfTypes(['myCustomType1', 'myCustomType2']),\n    );\n\n    // or separately\n\n    const messages$ = merge(\n      this.sseWrapper.message$,\n      this.sseWrapper.getEventsOfTypes('myCustomType1'),\n      this.sseWrapper.getEventsOfTypes('myCustomType2')\n    );\n\n    return messages$\n      .pipe(\n        // do your thing\n      );\n  }\n```\n\nWhen you'd like to close your connection, you can use the `.close()` function of the SseWrapper:\n\n```\n  closeSseConnection(): void {\n    this.sseWrapper.close();\n    this.resetStoredLogs();\n  }\n```\n\n## Key Features\n\n- **SSE Wrapper Factory**: Factory service for creating EventSource wrappers\n- **Event Source Management**: Observable-based event handling for connection state, messages, and errors\n- **Custom Event Types**: Support for listening to custom event types in addition to standard message events\n","readmeFilename":"README.md"}