Skip to content

TypeScript client#19

Open
anshitraj wants to merge 3 commits intoomnuron:mainfrom
anshitraj:npm-sdk-parity
Open

TypeScript client#19
anshitraj wants to merge 3 commits intoomnuron:mainfrom
anshitraj:npm-sdk-parity

Conversation

@anshitraj
Copy link
Copy Markdown

Summary

Adds a publishable Node.js / TypeScript client under npm/omniclaw for OmniClaw-style payment workflows on top of Circle APIs: simulation before spend, wallet balance, payment intents, optional x402 / nanopayments via Circle Gateway, guardrails, trust hooks, in-memory ledger, webhook signature verification, and seller helpers with facilitator stubs.

What’s included

  • OmniClaw client — payments, routing (payWithRouting), intents, nanopayment key management, encrypted keystore option
  • Safety / ops — budget, rate limit, recipient, single-tx, and confirm guards; optional trust gate; strict settlement behavior in prod-like envs
  • Seller surfacecreateSeller, CircleGatewayFacilitator, createFacilitator for common facilitator IDs
  • Compat exports — snake_case helpers and shared error names where teams expect them from other bindings
  • npm run smoke:validate — offline integration smoke test with mocked HTTP (no live Circle calls)

How to verify

cd npm/omniclaw
npm install
npm run release:check
npm run smoke:validate

anshitraj and others added 3 commits March 29, 2026 14:22
Adds npm/omniclaw: OmniClaw client (payments, payWithRouting, intents), nanopayments/x402, guards, trust hooks, ledger, webhooks, seller + facilitators, compat helpers, and smoke:validate (mocked HTTP).

ROADMAP: list TypeScript / Node.js SDK under developer surface.

Includes small Python packaging/CLI tweaks bundled with this branch.

Made-with: Cursor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant