{"_id":"@cap-js/event-broker","_rev":"8-35b5f4692a0d0c0b140d70694f4b95ac","name":"@cap-js/event-broker","dist-tags":{"latest":"0.3.1"},"versions":{"0.0.1":{"name":"@cap-js/event-broker","version":"0.0.1","author":{"url":"https://www.sap.com","name":"SAP SE"},"license":"SEE LICENSE IN LICENSE","_id":"@cap-js/event-broker@0.0.1","maintainers":[{"name":"cap-npm","email":"cap@sap.com"},{"name":"sap_extncrepos","email":"mob.extrepo.stores@sap.com"}],"homepage":"https://cap.cloud.sap/","bugs":{"url":"https://github.com/cap-js/event-broker/issues"},"cds":{"requires":{"kinds":{"event-broker":{"impl":"@cap-js/event-broker","vcap":{"label":"event-broker"},"format":"cloudevents","webhookPath":"/-/cds/event-broker/webhook"},"event-broker-internal":{"kind":"event-broker","vcap":{"label":"eventmesh-sap2sap-internal"}}}}},"dist":{"shasum":"c2657d7c8a0860fd2fa24d77a9dc13a03b0d6229","tarball":"https://registry.npmjs.org/@cap-js/event-broker/-/event-broker-0.0.1.tgz","fileCount":5,"integrity":"sha512-iNqPL4tOvrb4ILoHQjC9UmnLCPr1KtDaqDOGTotWweow7U0h+KjXsfz1Fchvz0AZnyM290m/SqhiEdzEb5yrGQ==","signatures":[{"sig":"MEYCIQDP+pPZQO6wEt4ADH8Y9rOCveXryA/RzkpdYZk1t2q93AIhAMxyaRYQpjFLKonejK9pVafX1vI8dmmosiIhR9lqEk3K","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27942},"main":"cds-plugin.js","gitHead":"169968eab2d225bd3a7bf80af3d2e505968dcbbc","scripts":{"lint":"npx eslint .","test":"npx jest --silent"},"_npmUser":{"name":"cap-npm","email":"cap@sap.com"},"repository":{"url":"git+https://github.com/cap-js/event-broker.git","type":"git"},"_npmVersion":"10.8.2","description":"CDS plugin providing integration to SAP Event Broker","directories":{},"_nodeVersion":"20.17.0","_hasShrinkwrap":false,"devDependencies":{"@sap/xssec":"^4.2.4","@sap-cloud-sdk/resilience":"^3.21.0"},"peerDependencies":{"@sap/cds":">=7"},"_npmOperationalInternal":{"tmp":"tmp/event-broker_0.0.1_1727169297145_0.578719889676764","host":"s3://npm-registry-packages"}},"0.1.0":{"name":"@cap-js/event-broker","version":"0.1.0","author":{"url":"https://www.sap.com","name":"SAP SE"},"license":"SEE LICENSE IN LICENSE","_id":"@cap-js/event-broker@0.1.0","maintainers":[{"name":"cap-npm","email":"cap@sap.com"},{"name":"sap_extncrepos","email":"mob.extrepo.stores@sap.com"}],"homepage":"https://cap.cloud.sap/","bugs":{"url":"https://github.com/cap-js/event-broker/issues"},"cds":{"requires":{"kinds":{"event-broker":{"impl":"@cap-js/event-broker","vcap":{"label":"event-broker"},"format":"cloudevents","outbox":true,"webhookPath":"/-/cds/event-broker/webhook"},"event-broker-internal":{"kind":"event-broker","vcap":{"label":"eventmesh-sap2sap-internal"}}}}},"dist":{"shasum":"4115068135573bb035ea0b2ae2276facf30e2edb","tarball":"https://registry.npmjs.org/@cap-js/event-broker/-/event-broker-0.1.0.tgz","fileCount":5,"integrity":"sha512-xQW0+HdKBfM1439UFi96TRuwwm6mPHP4aCNKmm9DhvSm16s2bLRZz2pkreCJpj4plH3D5C23l0mPucW6DRIEMQ==","signatures":[{"sig":"MEUCIQCzw/Al333/BsJ6m4odfWpk5QRkq9UxXXmWV9NZRWYsFQIgYhNIt40B5F2PiJcasUv+ApTtoQWXDn+PTPFBu+s+t0g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":28034},"main":"cds-plugin.js","gitHead":"05150d1e7baff8799660876a138a5c0776241c1c","scripts":{"lint":"npx eslint .","test":"npx jest --silent"},"_npmUser":{"name":"cap-npm","email":"cap@sap.com"},"repository":{"url":"git+https://github.com/cap-js/event-broker.git","type":"git"},"_npmVersion":"10.8.2","description":"CDS plugin providing integration to SAP Event Broker","directories":{},"_nodeVersion":"20.17.0","_hasShrinkwrap":false,"devDependencies":{"@sap/xssec":"^4.2.4","@sap-cloud-sdk/resilience":"^3.21.0"},"peerDependencies":{"@sap/cds":">=7"},"_npmOperationalInternal":{"tmp":"tmp/event-broker_0.1.0_1727440958011_0.704567554883271","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"@cap-js/event-broker","version":"0.1.1","author":{"url":"https://www.sap.com","name":"SAP SE"},"license":"SEE LICENSE IN LICENSE","_id":"@cap-js/event-broker@0.1.1","maintainers":[{"name":"cap-npm","email":"cap@sap.com"},{"name":"sap_extncrepos","email":"mob.extrepo.stores@sap.com"}],"homepage":"https://cap.cloud.sap/","bugs":{"url":"https://github.com/cap-js/event-broker/issues"},"cds":{"requires":{"kinds":{"event-broker":{"impl":"@cap-js/event-broker","vcap":{"label":"event-broker"},"format":"cloudevents","outbox":true,"webhookPath":"/-/cds/event-broker/webhook"},"event-broker-internal":{"kind":"event-broker","vcap":{"label":"eventmesh-sap2sap-internal"}}}}},"dist":{"shasum":"e186ae433df83c307f6a2e3a4a922424df394cef","tarball":"https://registry.npmjs.org/@cap-js/event-broker/-/event-broker-0.1.1.tgz","fileCount":5,"integrity":"sha512-DcZU2FpHhE7RUDXq6KRRFXFT3+dWMfRDOHVBblMoynRQf4C/0wQoYnhsWYFiUxySGahaMrasaRqAN99gQAsrgg==","signatures":[{"sig":"MEUCIFONbaD1TE9uxt4jcJkTBsMpnVuuDSp0jmhObvbNTnEdAiEA775s8QiiO5VM1JWbEeziCmOqIBslgQi9NP8bj03IzHg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":28416},"main":"cds-plugin.js","gitHead":"3491c471ca5264f49a35233472f8982c0add66b4","scripts":{"lint":"npx eslint .","test":"npx jest --silent"},"_npmUser":{"name":"cap-npm","email":"cap@sap.com"},"repository":{"url":"git+https://github.com/cap-js/event-broker.git","type":"git"},"_npmVersion":"10.8.2","description":"CDS plugin providing integration to SAP Event Broker","directories":{},"_nodeVersion":"20.18.0","_hasShrinkwrap":false,"devDependencies":{"@sap/xssec":"^4.2.4","@cap-js/event-broker":"file:.","@sap-cloud-sdk/resilience":"^3.21.0"},"peerDependencies":{"@sap/cds":">=7"},"_npmOperationalInternal":{"tmp":"tmp/event-broker_0.1.1_1731420638015_0.495610118547428","host":"s3://npm-registry-packages"}},"0.1.2":{"name":"@cap-js/event-broker","version":"0.1.2","author":{"url":"https://www.sap.com","name":"SAP SE"},"license":"SEE LICENSE IN LICENSE","_id":"@cap-js/event-broker@0.1.2","maintainers":[{"name":"sap_extncrepos","email":"mob.extrepo.stores@sap.com"},{"name":"cap-npm","email":"cap@sap.com"}],"homepage":"https://cap.cloud.sap/","bugs":{"url":"https://github.com/cap-js/event-broker/issues"},"cds":{"requires":{"kinds":{"event-broker":{"impl":"@cap-js/event-broker","vcap":{"label":"event-broker"},"format":"cloudevents","outbox":true,"webhookPath":"/-/cds/event-broker/webhook"},"event-broker-internal":{"kind":"event-broker","vcap":{"label":"eventmesh-sap2sap-internal"}}}}},"dist":{"shasum":"bc42d80b6c2c4f2427beef7f8accbc9e9cc9dd7a","tarball":"https://registry.npmjs.org/@cap-js/event-broker/-/event-broker-0.1.2.tgz","fileCount":5,"integrity":"sha512-FCmGLV2+YEwSf8NwGljfs16oHxRWmWwtuXt2ykDGgSeSM04VGzSkdeq40OSRbcLPWaRveAAkAWzRfcDgrkyFpw==","signatures":[{"sig":"MEQCICMSxddVWlP4bDLOj/dffmSwS+gAaiUf3f8CJNwXpOoXAiBS8QNb4D7g8ETctJ/+nY2RV+PHMx/8ChWqB1AKgtWrxA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":28673},"main":"cds-plugin.js","gitHead":"0d5e7561a197cb4932c01b2f3025de82add7a9f8","scripts":{"lint":"npx eslint .","test":"npx jest --silent"},"_npmUser":{"name":"cap-npm","email":"cap@sap.com"},"repository":{"url":"git+https://github.com/cap-js/event-broker.git","type":"git"},"_npmVersion":"10.8.2","description":"CDS plugin providing integration to SAP Event Broker","directories":{},"_nodeVersion":"20.18.1","_hasShrinkwrap":false,"devDependencies":{"@sap/xssec":"^4.2.4","@cap-js/event-broker":"file:.","@sap-cloud-sdk/resilience":"^3.21.0"},"peerDependencies":{"@sap/cds":">=7"},"_npmOperationalInternal":{"tmp":"tmp/event-broker_0.1.2_1734014656404_0.9250980872953165","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@cap-js/event-broker","version":"0.2.0","author":{"url":"https://www.sap.com","name":"SAP SE"},"license":"Apache-2.0","_id":"@cap-js/event-broker@0.2.0","maintainers":[{"name":"sap_extncrepos","email":"mob.extrepo.stores@sap.com"},{"name":"cap-npm","email":"cap@sap.com"}],"homepage":"https://cap.cloud.sap/","bugs":{"url":"https://github.com/cap-js/event-broker/issues"},"cds":{"requires":{"kinds":{"event-broker":{"impl":"@cap-js/event-broker","vcap":{"label":"event-broker"},"format":"cloudevents","outbox":true,"webhookPath":"/-/cds/event-broker/webhook"},"event-broker-internal":{"kind":"event-broker","vcap":{"label":"eventmesh-sap2sap-internal"}}}}},"dist":{"shasum":"7485fe1454537abb532f5697163121a8e7bb5dcc","tarball":"https://registry.npmjs.org/@cap-js/event-broker/-/event-broker-0.2.0.tgz","fileCount":5,"integrity":"sha512-UMxudVXFHEm9FezJ8TeGfaQcXiDzsV/WwWfmiPHGhC+cs2ShW5+l3cGrtbbGPpp/I4t+qawaMQjLQWSW9YjD6Q==","signatures":[{"sig":"MEUCIG5SuM48Mh6aNpi2IteCkB7Auh5LUPB2GRFnZIywFerWAiEAk83wSVM9gLZ8evuU3N1KXxCWdDt2cIwtobCsrCd8ArQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":29740},"main":"cds-plugin.js","gitHead":"1a842f549ca1056ee36ac31de40971ea3782202b","scripts":{"lint":"npx eslint .","test":"npx jest --silent"},"_npmUser":{"name":"cap-npm","email":"cap@sap.com"},"repository":{"url":"git+https://github.com/cap-js/event-broker.git","type":"git"},"_npmVersion":"10.8.2","description":"CDS plugin providing integration with SAP Cloud Application Event Hub","directories":{},"_nodeVersion":"20.19.1","_hasShrinkwrap":false,"devDependencies":{"@sap/xssec":"^4.2.4","@cap-js/sqlite":">=1","@cap-js/cds-test":">=0","@cap-js/event-broker":"file:.","@sap-cloud-sdk/resilience":"^4.0.0"},"peerDependencies":{"@sap/cds":">=8"},"_npmOperationalInternal":{"tmp":"tmp/event-broker_0.2.0_1749123106629_0.9762373688810411","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@cap-js/event-broker","version":"0.3.0","author":{"url":"https://www.sap.com","name":"SAP SE"},"license":"Apache-2.0","_id":"@cap-js/event-broker@0.3.0","maintainers":[{"name":"sap_extncrepos","email":"mob.extrepo.stores@sap.com"},{"name":"cap-npm","email":"cap@sap.com"}],"homepage":"https://cap.cloud.sap/","bugs":{"url":"https://github.com/cap-js/event-broker/issues"},"cds":{"requires":{"kinds":{"event-broker":{"impl":"@cap-js/event-broker","vcap":{"label":"event-broker"},"format":"cloudevents","outbox":true,"webhookPath":"/-/cds/event-broker/webhook"},"event-broker-internal":{"kind":"event-broker","vcap":{"label":"eventmesh-sap2sap-internal"}}}}},"dist":{"shasum":"c6bdf4ff5f1745c6ba36e7fa42f9014a2f2260c9","tarball":"https://registry.npmjs.org/@cap-js/event-broker/-/event-broker-0.3.0.tgz","fileCount":5,"integrity":"sha512-JPFofW5YT7E+pu6eeFP9s+fHy3nnqV4a0+LVmSN4xlrUXJ9bsAs4QRYxEq8dNvxuPZNdcTxvVUhqSJTcu+10+Q==","signatures":[{"sig":"MEYCIQDNGTxwk1BKxQYEZJBpLVl0xEQ0mKKLAW8vIja/gM56oAIhAKdfUqp9iDrZvkaRnp6Z7JXHYDpxGVQEY5yh6HUmG4vL","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":30046},"main":"cds-plugin.js","gitHead":"d35a343b9a513a5b5e718b3a2d5b5ce496360a6d","scripts":{"lint":"npx eslint .","test":"npx jest --silent"},"_npmUser":{"name":"cap-npm","email":"cap@sap.com"},"repository":{"url":"git+https://github.com/cap-js/event-broker.git","type":"git"},"_npmVersion":"10.8.2","description":"CDS plugin providing integration with SAP Cloud Application Event Hub","directories":{},"_nodeVersion":"20.19.5","_hasShrinkwrap":false,"devDependencies":{"@sap/xssec":"^4.2.4","@cap-js/sqlite":">=1","@cap-js/cds-test":">=0","@cap-js/event-broker":"file:.","@sap-cloud-sdk/resilience":"^4.0.0"},"peerDependencies":{"@sap/cds":">=8"},"_npmOperationalInternal":{"tmp":"tmp/event-broker_0.3.0_1761597173712_0.5554545367108124","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@cap-js/event-broker","version":"0.3.1","author":{"url":"https://www.sap.com","name":"SAP SE"},"license":"Apache-2.0","_id":"@cap-js/event-broker@0.3.1","maintainers":[{"name":"sap_extncrepos","email":"mob.extrepo.stores@sap.com"},{"name":"cap-npm","email":"cap@sap.com"}],"homepage":"https://cap.cloud.sap/","bugs":{"url":"https://github.com/cap-js/event-broker/issues"},"cds":{"requires":{"kinds":{"event-broker":{"impl":"@cap-js/event-broker","vcap":{"label":"event-broker"},"format":"cloudevents","outbox":true,"webhookPath":"/-/cds/event-broker/webhook","webhookSizeLimit":"1mb"},"event-broker-internal":{"kind":"event-broker","vcap":{"label":"eventmesh-sap2sap-internal"}}}}},"dist":{"shasum":"98716018aec7ca632e5036839f3786d5aba32c8a","tarball":"https://registry.npmjs.org/@cap-js/event-broker/-/event-broker-0.3.1.tgz","fileCount":5,"integrity":"sha512-KOiQM5flO1Veby3rLGFinXww5xjQuav2eq36IK5BClSr964e+oUrbcoLpBDDXRn3nCCXnZbtJUhYfKneWUb2gA==","signatures":[{"sig":"MEUCIHDVAAgbenj2E573IIRQvZerGoz1mBcx2ejPit3MHLo8AiEAi32w37KBDjKofxvj/iZ1dnwOHrWvGh+nS3gRrggUCjY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":30862},"main":"cds-plugin.js","gitHead":"d45d5bd54e6db8e70be116ebebfb7443dee10c30","scripts":{"lint":"npx eslint .","test":"npx jest --silent"},"_npmUser":{"name":"cap-npm","email":"cap@sap.com"},"repository":{"url":"git+https://github.com/cap-js/event-broker.git","type":"git"},"_npmVersion":"10.8.2","description":"CDS plugin providing integration with SAP Cloud Application Event Hub","directories":{},"_nodeVersion":"20.19.5","_hasShrinkwrap":false,"devDependencies":{"@sap/xssec":"^4.2.4","@cap-js/sqlite":">=1","@cap-js/cds-test":">=0","@cap-js/event-broker":"file:.","@sap-cloud-sdk/resilience":"^4.0.0"},"peerDependencies":{"@sap/cds":">=8"},"_npmOperationalInternal":{"tmp":"tmp/event-broker_0.3.1_1762777784231_0.9790951713104445","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2024-09-24T09:14:57.042Z","modified":"2026-05-12T20:56:07.626Z","0.0.1":"2024-09-24T09:14:57.339Z","0.1.0":"2024-09-27T12:42:38.310Z","0.1.1":"2024-11-12T14:10:38.255Z","0.1.2":"2024-12-12T14:44:16.588Z","0.2.0":"2025-06-05T11:31:46.806Z","0.3.0":"2025-10-27T20:32:53.900Z","0.3.1":"2025-11-10T12:29:44.443Z"},"bugs":{"url":"https://github.com/cap-js/event-broker/issues"},"author":{"url":"https://www.sap.com","name":"SAP SE"},"license":"Apache-2.0","homepage":"https://cap.cloud.sap/","repository":{"url":"git+https://github.com/cap-js/event-broker.git","type":"git"},"description":"CDS plugin providing integration with SAP Cloud Application Event Hub","maintainers":[{"email":"mob.extrepo.stores@sap.com","name":"sap_extncrepos"},{"email":"cap@sap.com","name":"cap-npm"},{"email":"ospo@sap.com","name":"sap-ospo-admin"}],"readme":"# Welcome to @cap-js/event-broker\n\n[![REUSE status](https://api.reuse.software/badge/github.com/cap-js/event-broker)](https://api.reuse.software/info/github.com/cap-js/event-broker)\n\n## About this project\n\nCDS plugin providing integration with SAP Cloud Application Event Hub (technical name: `event-broker`).\n\n## Table of Contents\n\n- [About this project](#about-this-project)\n- [Requirements](#requirements)\n- [Setup](#setup)\n- [Support, Feedback, Contributing](#support-feedback-contributing)\n- [Code of Conduct](#code-of-conduct)\n- [Licensing](#licensing)\n\n## Requirements\n\nSee [Getting Started](https://cap.cloud.sap/docs/get-started/in-a-nutshell) on how to jumpstart your development and grow as you go with SAP Cloud Application Programming Model (CAP).\nTo learn about messaging in CAP, please consult the guide on [Events & Messaging](https://cap.cloud.sap/docs/guides/messaging/).\n\n## Setup\n\nInstall the plugin via:\n\n```bash\nnpm add @cap-js/event-broker\n```\n\nThen, set the `kind` of your messaging service to `event-broker`:\n\n```jsonc\n\"cds\": {\n  \"requires\": {\n    \"messaging\": {\n      \"kind\": \"event-broker\"\n    }\n  }\n}\n```\n\nThe [CloudEvents](https://cloudevents.io/) format is enforced since it is required by SAP Cloud Application Event Hub.\n\nAuthentication in the SAP Cloud Application Event Hub integration is based on the [Identity Authentication service (IAS)](https://help.sap.com/docs/cloud-identity-services/cloud-identity-services/getting-started-with-identity-service-of-sap-btp) of [SAP Cloud Identity Services](https://help.sap.com/docs/cloud-identity-services).\nIf you are not using [IAS-based Authentication](https://cap.cloud.sap/docs/node.js/authentication#ias), you will need to trigger the loading of the IAS credentials into your app's `cds.env` via an additional `requires` entry:\n\n```jsonc\n\"cds\": {\n  \"requires\": {\n    \"ias\": { // any name\n      \"vcap\": {\n        \"label\": \"identity\"\n      }\n    }\n  }\n}\n```\n\nFor more information, please see [SAP Cloud Application Event Hub](https://help.sap.com/docs/sap-cloud-application-event-hub) in SAP Help Portal.\n\n## Parameters\n\n### webhookSizeLimit\n\nTo set a size limit for events accepted by the webhook, set the ``webhookSizeLimit``parameter in the ``package.json`` file in the root folder of your app, e.g.\n\n```jsonc\n\"cds\": {\n  \"requires\": {\n    \"messaging\": {\n      \"kind\": \"event-broker\",\n      \"webhookSizeLimit\": \"1mb\"\n    }\n  }\n}\n```\n\nIf the parameter is not set, the [global request body size limit](https://pages.github.tools.sap/cap/docs/node.js/cds-server#maximum-request-body-size) ``cds.env.server.body_parser.limit`` is taken into account. If this parameter is not set either, the default value of ``1mb``is used.\n\n## Support, Feedback, Contributing\n\nThis project is open to feature requests/suggestions, bug reports etc. via [GitHub issues](https://github.com/cap-js/event-broker/issues). Contribution and feedback are encouraged and always welcome. For more information about how to contribute, the project structure, as well as additional contribution information, see our [Contribution Guidelines](CONTRIBUTING.md).\n\n## Security / Disclosure\n\nIf you find any bug that may be a security problem, please follow our instructions at [in our security policy](https://github.com/cap-js/event-broker/security/policy) on how to report it. Please do not create GitHub issues for security-related doubts or problems.\n\n## Code of Conduct\n\nWe as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone. By participating in this project, you agree to abide by its [Code of Conduct](https://github.com/cap-js/.github/blob/main/CODE_OF_CONDUCT.md) at all times.\n\n## Licensing\n\nCopyright 2024 SAP SE or an SAP affiliate company and event-broker contributors. Please see our [LICENSE](LICENSE) for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available [via the REUSE tool](https://api.reuse.software/info/github.com/cap-js/event-broker).\n","readmeFilename":"README.md"}