Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@truffle/dashboard-message-bus-common
Advanced tools
Readme
:warning: This is a middleware package and should only be used when developing integrations for the truffle dashboard :warning:
This package serves as a set of common types to be shared between packages like @truffle/dashboard-message-bus
and @truffle/dashboard-message-bus-client
If you are building a package that needs to interface with the Dashboard or message bus, you can install this package from NPM.
npm install @truffle/dashboard-message-bus-common
yarn add @truffle/dashboard-message-bus-common
Right now there are very few message types. The most important one is "provider"
, which sends RPC requests for the dashboard-provider. Other message types are "invalidate"
, which can be sent to invalidate earlier messages, and "log"
, which is sent by the message bus to send log messages over the wire. The interfaces of these messages are defined inside of this package, from where they can be imported by consumers.
To add additional message types, the interface for the new message type should be defined in this package under lib/messages.ts
. To use these new messge formats, support needs to be added to any consuming packages such as @truffle/dashboard
as well.
FAQs
Message types that are used when communicating with the Truffle dashboard message bus
The npm package @truffle/dashboard-message-bus-common receives a total of 7,881 weekly downloads. As such, @truffle/dashboard-message-bus-common popularity was classified as popular.
We found that @truffle/dashboard-message-bus-common demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 9 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.