
Security News
PEP 810 Proposes Explicit Lazy Imports for Python 3.15
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
@xmtp/broadcast-sdk
Advanced tools
User the Broadcast SDK to broadcast to thousands of your subscribers The Broadcast SDK attempts to take away the need to handle Rate Limiting logic while also allowing integrators information about the broadcast and current statuses
Recommended to use with GRPC client and client caching like the Redis Client
yarn add @xmtp/broadcast-sdk
import { Client } from "@xmtp/xmtp-js"
import { BroadcastClient } from "@xmtp/broadcast-sdk"
// It is highly recommended to use the GRPC client and base a base persistence
import { GrpcApiClient } from "@xmtp/grpc-api-client";
import { RedisPersistence } from "@xmtp/redis-persistence";
const client = await Client.create(wallet, {
apiClientFactory: GrpcApiClient.fromOptions,
basePersistence: new RedisPersistence(redis, "xmtp:"),
})
const broadcastClient = new BroadcastClient({
client,
addresses: ["0x1234", "0x5678"],
cachedCanMessageAddresses: ["0x1234"],
})
broadcastClient.broadcast(['Hello!'])
FAQs
Helper package for broadcasting XMTP messages to subscribers
We found that @xmtp/broadcast-sdk demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 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
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.