
Product
Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
@bosonprotocol/chat-sdk
Advanced tools
Extension of @xmtp/xmtp-js with support for chat threads and further message types.
🛠️ Tools for building on top of the Boson Protocol.
JS lib which extends @xmtp/xmtp-js, adding support for chat threads and further message types.
npm i @bosonprotocol/chat-sdk
import { BosonXmtpClient } from "@bosonprotocol/chat-sdk"; const client = await BosonXmtpClient.initialise(signer, "test");
const counterparties = ["0xabc123", "0xdef456", ...]; const threads = await client.getThreads(counterparties);
const messageObj = { threadId: { exchangeId: "1", buyerId: "2", sellerId: "3" }, contentType: MessageType.String, version: "0.0.1", content: { value: "Example message" } }; const recipient = "0xabc123..."; await client.encodeAndSendMessage(messageObj, recipient);
for await (const message of await client.monitorThread(threadId, counterparty)) { console.log(message); }
npm run build
npm run test:all npm run test:unit npm run test:integration
npm run lint npm run lint:fix
npm run prettier
FAQs
Extension of @xmtp/xmtp-js with support for chat threads and further message types.
The npm package @bosonprotocol/chat-sdk receives a total of 1,102 weekly downloads. As such, @bosonprotocol/chat-sdk popularity was classified as popular.
We found that @bosonprotocol/chat-sdk 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.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.