
Product
Introducing Scala and Kotlin Support in Socket
Socket now supports Scala and Kotlin, bringing AI-powered threat detection to JVM projects with easy manifest generation and fast, accurate scans.
@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
The npm package @blockprotocol/action receives a total of 0 weekly downloads. As such, @blockprotocol/action popularity was classified as not popular.
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.
Product
Socket now supports Scala and Kotlin, bringing AI-powered threat detection to JVM projects with easy manifest generation and fast, accurate scans.
Application Security
/Security News
Socket CEO Feross Aboukhadijeh and a16z partner Joel de la Garza discuss vibe coding, AI-driven software development, and how the rise of LLMs, despite their risks, still points toward a more secure and innovative future.
Research
/Security News
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.