Sign In

@t2000/discovery

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@t2000/discovery

Probe and validate x402 seller endpoints on Sui — 402 accepts[] / WWW-Authenticate probing plus OpenAPI paid-endpoint extraction. The discovery half of the @t2000 serve stack.

latest
Source
npmnpm
Version
10.30.2
Version published
Maintainers
1
Created
Source

@t2000/discovery

Probe and validate x402 seller endpoints on Sui — the discovery half of the @t2000/serve stack.

  • probe(url) — expect a 402; reads accepts[] and WWW-Authenticate: Payment, normalizes known-USDC amounts.
  • fetchOpenApi / extractEndpoints{origin}/openapi.json → paid ops.
  • validateOpenApi — catalog contract lint.
  • discover / check — origin-level sweeps.
import { probe, extractEndpoints, validateOpenApi } from '@t2000/discovery';

Zero runtime dependencies. @t2000/serve ships a serve↔probe integration test so the two packages cannot drift in CI.

MIT © t2000

Keywords

x402

FAQs

Package last updated on 11 Aug 2026

Did you know?

Socket

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.

Install

Related posts