
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@amazon-devices/headless-task-manager
Advanced tools
@amazon-devices/headless-task-managerpackage.json
"dependencies": {
"@amazon-devices/headless-task-manager": "^1.0.0",
...
import { HeadlessEntryPointRegistry } from "@amazon-devices/headless-task-manager"
// define entry point function
function entryPointFunction(): Promise<void> {
// TODO: Add task logic
// if returns Promise.reject(), the task will be failed.
// if returns Promise.resolve(), the task will be succeeded.
return Promise.resolve();
}
// register task
HeadlessEntryPointRegistry.registerHeadlessEntryPoint("entryPointKey", () => entryPointFunction);
// define entry point function
function entryPointFunction(param : IComponentInstance): Promise<void> {
// TODO: Add task logic
// if returns Promise.reject(), the task will be failed.
// if returns Promise.resolve(), the task will be succeeded.
return Promise.resolve();
}
// definition of ComponentType enum
enum ComponentType {
INTERACTIVE,
SERVICE,
TASK,
}
// definition of IComponentInstance interface
interface IComponentInstance {
name : string,
type : ComponentType,
id : string //This property is currently being initialized with a "NULL" string literal. This will be updated in the future.
}
// register task
HeadlessEntryPointRegistry.registerHeadlessEntryPoint2("entryPointKey", () => entryPointFunction);
NOTE: If a user attempts to register the same task name multiple times through any API, only the first registration will be successful. Any subsequent attempts to register the same task name will fail.
NOTE: To use the 0.67 version of the react-native-kepler dependency, you must use version 1.0.2 of this package in your package.json file.
FAQs
Unknown package
We found that @amazon-devices/headless-task-manager demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.