Skip to content

chore(sdk): migrate TypeScript 5 -> 6 #104

@RBKunnela

Description

@RBKunnela

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

  • typescript on 6.x; npm run typecheck and build green.
  • No new any/@ts-ignore introduced to silence migration errors (fix or document each).
  • Emitted .d.ts declarations validated against a downstream consumer.
  • Must include tests — existing suite green post-migration; add coverage for any behavior touched by an API/typing change.
  • No secrets/env values printed.

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions