Sign In

@t2000/discovery

Package Overview
Dependencies
Maintainers
1
Versions
42
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.

Source
npmnpm
Version
10.20.2
Version published
Weekly downloads
1.8K
6.18%
Maintainers
1
Weekly downloads
 
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 03 Aug 2026

Related posts