Skip to content

[enhancement]: TypeScript types for the verification report #5

Closed

Description

@samjay8

Context

verify and inspect in crates/externalize-wasm return plain JavaScript objects, so the generated .d.ts types them as any. TypeScript users get no help with report.ledger.signers or claim kinds.

Scope

  • Describe VerifyReport, Rejection, Claim and InspectReport with #[wasm_bindgen(typescript_custom_section)], matching externalize_core::report.
  • Type verify and inspect's return values with them (unchecked_return_type).

Out of scope: Changing the report's shape.

Done when

  • The generated externalize_wasm.d.ts exports the new types.
  • crates/externalize-wasm/tests/node.cjs still passes.

Comment to be assigned before starting. Read CONTRIBUTING.md for the checks this repository runs.

Activity

  1. added
    enhancement
    good first issue
    complexity:trivial
    Stellar Wave
    on Oct 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stellar Wavearea/wasmcomplexity:trivialenhancementgood first issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions