
Security News
PHP Foundation Says Chainguard Broke Security Embargo Ahead of Emergency Patches
The PHP Foundation says Chainguard broke a security embargo ahead of critical RCE patches, as leaks disrupted the coordinated release.
@sudobility/indexer_client
Advanced tools
Affected versions:
React and React Native compatible client library for blockchain mail indexer API with TypeScript support
TypeScript client library for the 0xMail blockchain indexer REST and GraphQL APIs. Provides an IndexerClient class, TanStack React Query hooks, GraphQL/admin/webhook helpers, and a business service layer. Works cross-platform on React and React Native via an injected NetworkClient interface.
bun add @sudobility/indexer_client
Peer dependencies: react (>=18), @tanstack/react-query (>=5), @sudobility/di, @sudobility/types, @sudobility/mail_box_types, @sudobility/configs.
import { IndexerClient } from '@sudobility/indexer_client';
// Core client (uses injected NetworkClient for cross-platform HTTP)
const client = new IndexerClient(endpointUrl, networkClient, dev);
const accounts = await client.getWalletAccounts(walletAddress, auth);
const points = await client.getPointsBalance(walletAddress, auth);
import {
useIndexerGetWalletAccounts,
useIndexerPointsInfo,
useIndexerPointsLeaderboard,
useIndexerGetDelegatedTo,
useWalletNames,
useResolveNameToAddress,
useIndexerMailTemplates,
useIndexerMailWebhooks,
useIndexerReferralCode,
} from '@sudobility/indexer_client';
// Public endpoints (no auth)
const { data } = useIndexerPointsInfo(networkClient, endpointUrl, dev);
const { data } = useResolveNameToAddress(networkClient, endpointUrl, dev, 'vitalik.eth');
// Authenticated endpoints (wallet signature required)
const { data } = useIndexerGetWalletAccounts(networkClient, endpointUrl, dev, walletAddress, auth);
import { createIndexerHelpers } from '@sudobility/indexer_client';
const { admin, graphql, webhook } = createIndexerHelpers(config, networkClient);
// Admin: campaigns, points awards, user flags
// GraphQL: mails, delegations, statistics
// Webhook: email-sent, login, referral events
| Export | Description |
|---|---|
IndexerClient | Core REST API client (~40 endpoints) |
IndexerService | Singleton with 5-min in-memory cache (public endpoints) |
useIndexer* hooks | 18 individual TanStack React Query hooks |
IndexerMockData | Static mock factories for all response types |
IndexerAdminHelper | Admin API helper (campaigns, points, flags) |
IndexerGraphQLHelper | GraphQL query helper (mails, delegations, stats) |
IndexerWebhookHelper | Webhook processing helper |
createAuthHeaders | Build signature auth headers (x-signature, x-message, x-signer) |
bun install
bun run check-all # lint + typecheck + test:run
bun run build # TypeScript compilation
bun run test # Vitest (watch mode)
bun run test:run # Single run
bun run test:coverage # Coverage (70% threshold)
bun run test:integration # Integration tests (requires live indexer)
bun run typecheck # tsc --noEmit
bun run lint # ESLint
@0xmail/indexer -- the backend this client connects to@sudobility/di -- provides NetworkClient interface@sudobility/mail_box_types -- shared API response types@sudobility/types -- core types (ChainType, Optional)@sudobility/configs -- application configurationBUSL-1.1
FAQs
React and React Native compatible client library for blockchain mail indexer API with TypeScript support
The npm package @sudobility/indexer_client receives a total of 370 weekly downloads. As such, @sudobility/indexer_client popularity was classified as not popular.
We found that @sudobility/indexer_client demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
The PHP Foundation says Chainguard broke a security embargo ahead of critical RCE patches, as leaks disrupted the coordinated release.

Security News
PHP releases emergency patches for two critical RCE vulnerabilities as agencies urge organizations to take unpatched sites offline.

Threat Research
/Security News
A supply chain attack compromised LiteLLM 1.107.0 on PyPI and Docker, spreading malware that steals cloud credentials, developer secrets, and AI provider keys.