
Security News
Another Round of TEA Protocol Spam Floods npm, But It’s Not a Worm
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.
@ao-framework/portals
Advanced tools
Portals is a library for dealing with asynchronous event-driven architecture in two ways. The first is the run-of-the-mill event bus with a different way of handling context. The second provides a way of declaring services with multiple endpoints for thos
Portals
Currently in early development. Breaking changes will occur frequently.
Portals is a library for dealing with asynchronous event-driven architecture in two ways. The first is the run-of-the-mill event bus with a different way of handling context. The second provides a way of declaring services with multiple endpoints for those that don’t like the “ping-pong” concept in all cases; endpoints are tappable, lockable, and securable.
npm install @ao-framework/portals
import Portals from "@ao-framework"
export default new Portals();
import portals from "./global.reference"
class AppState {
public constructor() {
portals.bus("app.state")
.on("something", this.doSomething, this)
.on("something.else", this.doSomething, null)
}
public doSomething() {}
public unregister() {
portals.bus("app.state")
.removeListener("something", this.doSomething)
.removeListener("something.else", this.doSomething)
}
}
class AppState {
public constructor() {
portals.service("app.state")
.route("get.users", this.getUsers, this)//can be changed and tapped
.routeTap("get.users", logger.debugSync, logger)
.routeLock("get.users", this.getUsers, null)//cannot be changed
.routeLockSec("get.users", this.getUsers, null)//cannot be tapped
}
//...
}
portals.services("app.state")
.request("get.users", ...args)
.then(users => console.log(users))
FAQs
Portals is a library for dealing with asynchronous event-driven architecture in two ways. The first is the run-of-the-mill event bus with a different way of handling context. The second provides a way of declaring services with multiple endpoints for thos
We found that @ao-framework/portals demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.