Skip to content

fix(typescript): add documented event helper methods#1492

Merged
realfishsam merged 1 commit into
mainfrom
fix/issue-1491-ts-event-methods
Jul 3, 2026
Merged

fix(typescript): add documented event helper methods#1492
realfishsam merged 1 commit into
mainfrom
fix/issue-1491-ts-event-methods

Conversation

@realfishsam

Copy link
Copy Markdown
Contributor

Summary

  • Adds the documented TypeScript SDK Exchange methods preWarmMarket, getEventById, and getEventBySlug.
  • Routes the methods through the sidecar method namespace, matching the existing Python SDK behavior.
  • Adds focused Jest coverage for dispatch, null return handling, and event conversion.

Fixes #1491

Test Plan

  • git diff --cached --check before commit
  • npm test --workspace=pmxtjs -- event-methods.test.ts --runInBand was attempted but the checkout has no installed Node dependencies and npm install --workspaces --include-workspace-root timed out after 300s in this cron environment before producing node_modules; no test results are claimed from Jest.

@realfishsam realfishsam merged commit c8938f0 into main Jul 3, 2026
12 checks passed
@realfishsam realfishsam deleted the fix/issue-1491-ts-event-methods branch July 3, 2026 07:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant