Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@blockprotocol/action
Advanced tools
Implementation of the Block Protocol Action module specification for blocks and embedding applications
This package implements the Block Protocol Action module for blocks and embedding applications.
To get started:
yarn add @blockprotocol/action
or npm install @blockprotocol/action
To create a ActionBlockHandler
, pass the constructor:
element
in the blockcallbacks
to respond to messages from the embedder
updateAction
message, which allows embedding application to set new `labels for block actions.To tell the embedding application what elements will dispatch actions, call the availableActions
function.
Send this message again if the available actions change.
To send an action message, you call the action
function.
To create a ActionEmbedderHandler
, pass the constructor:
element
wrapping the blockcallbacks
to respond to messages from the block
availableActions
to do something with the actions the block advises are possibleaction
to process individual action reportsTo update the label
in an action, call updateAction
. The block should respond with the updated availableActions
.
FAQs
Implementation of the Block Protocol Action module specification for blocks and embedding applications
We found that @blockprotocol/action demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.