fix(typescript): export ExchangeOptions from package root#1493
Conversation
PR Review: PASS (NOT VERIFIED)What This DoesExports the TypeScript SDK Blast RadiusTypeScript package root export surface only: Consumer VerificationBefore (base branch): // sdks/typescript/index.ts on base
export type { SuiBetsOptions } from "./pmxt/client.js";A package-root consumer import of After (PR branch): // sdks/typescript/index.ts:30 on PR head f18496e3
export type { ExchangeOptions, SuiBetsOptions } from "./pmxt/client.js";I also verified the source type exists at Test Results
FindingsNo blocking findings. PMXT Pipeline Check
Semver Impactpatch -- restores/extends a missing public type export without changing runtime behavior. RiskThe actual packaged consumer import remains not fully verified in this environment because generated TypeScript SDK artifacts are absent and regeneration requires Java. Static source inspection shows the intended root type export is present and points at an existing exported interface. |
Summary
ExchangeOptionsfrom the TypeScript package root alongside the existing client option types.Fixes #1463
Test Plan
git diff --checknode -e "const fs=require('fs'); const s=fs.readFileSync('sdks/typescript/index.ts','utf8'); if(!s.includes('export type { ExchangeOptions, SuiBetsOptions }')) process.exit(1); console.log('ExchangeOptions root export present')"Note: this is a package-root type export only; no runtime code is changed.