Summary
Migrate paybot-sdk to TypeScript 6. Covers compiler upgrade, resolving new errors/deprecations, and confirming the build + downstream consumers still type-check.
Scope
- Bump
typescript to 6.x; update tsconfig for any changed defaults.
- Resolve all new type errors and deprecation warnings.
- Verify published type declarations remain consumable by downstream (paybot-mcp, Python parity build unaffected).
Acceptance criteria
Reference
Coupled with the paybot-mcp TS 5→6 migration (do them together or sequence sdk→mcp).
DRAFT — not labeled night-shift. Toolchain migration; arm for the loop only when the operator approves (likely after B1 wire contract lands).
Summary
Migrate
paybot-sdkto TypeScript 6. Covers compiler upgrade, resolving new errors/deprecations, and confirming the build + downstream consumers still type-check.Scope
typescriptto 6.x; updatetsconfigfor any changed defaults.Acceptance criteria
typescripton 6.x;npm run typecheckand build green.any/@ts-ignoreintroduced to silence migration errors (fix or document each)..d.tsdeclarations validated against a downstream consumer.Reference
Coupled with the paybot-mcp TS 5→6 migration (do them together or sequence sdk→mcp).
DRAFT — not labeled
night-shift. Toolchain migration; arm for the loop only when the operator approves (likely after B1 wire contract lands).