
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
@sodazone/ocelloids-client
Advanced tools
TypeScript client library to interact with Ocelloids Service APIs.
NPM
npm install @sodazone/ocelloids-client
Yarn
yarn add @sodazone/ocelloids-client
import { createXcmAgent } from "@sodazone/ocelloids-client";
// create an xcm agent client
const agent = createXcmAgent({
httpUrl: "http://127.0.0.1:3000",
wsUrl: "ws://127.0.0.1:3000"
});
// subscribe on-demand
const ws = agent.subscribe({
senders: "*",
events: "*",
origins: ["urn:ocn:polkadot:2004"],
destinations: [
"urn:ocn:polkadot:0",
"urn:ocn:polkadot:1000",
"urn:ocn:polkadot:2000",
"urn:ocn:polkadot:2034",
"urn:ocn:polkadot:2104"
]
}, {
onMessage: msg => {
if(xcm.isXcmReceived(msg)) {
console.log("RECV", msg.subscriptionId);
} else if(xcm.isXcmSent(msg)) {
console.log("SENT", msg.subscriptionId)
}
console.log(msg);
},
onError: error => console.log(error),
onClose: event => console.log(event.reason)
});
Explore the documentation site for further details.
Enable corepack:
corepack enable
Install dependencies and build the project:
yarn && yarn build
Run unit tests:
yarn test
Run unit tests with coverage report:
yarn test:coverage
Compatible with browser environments, Node and Bun.
FAQs
Ocelloids client library
We found that @sodazone/ocelloids-client demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 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
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.