v4.0.0
4.0.0 (2026-07-27)
⚠ BREAKING CHANGES
- connector: @toon-protocol/connector no longer ships the embedded
ConnectorNode. The package is now an HTTP client for the Rust connector's client
edge: src/lib.ts exports ConnectorHttpClient plus three shared types, where it
previously exported roughly fifty symbols including ConnectorNode,
ConnectorAdminClient, createLogger, the discovery/bootstrap surface, the
payment-proxy envelope codec and the x402 helpers. There is no drop-in
replacement — a consumer that ran a node in-process must now run the Rust
connector as a separate process and talk to it over HTTP. Known caret consumer:
toon-protocol/swap declares "@toon-protocol/connector": "^3.30.0" and imports
ConnectorNode and createLogger in packages/swap/src/swap-node.ts, so this must
publish as 4.0.0 or that caret will resolve straight onto the gutted package.
The published container image changes with it: ghcr.io/toon-protocol/connector
is now built from the Rust connector (one static binary, a TOML config file
passed as argv, no Node runtime) rather than the TypeScript node (YAML config
via CONFIG_FILE). The floating :latest tag is left on the last TypeScript image
- connector:
@toon-protocol/connectorno longer ships an embedded
ConnectorNode, and theghcr.io/toon-protocol/connectorimage is no longer
published. Consumers become HTTP clients; deployments should pin 3.44.0, the last
image built from the TypeScript node.