/v2/funding is now in the published OpenAPI spec (tag Funding; operationIds createFundingSession, SetPaymentMethod, getFundingSession, CreatePayLink, ListChains), but packages/internal/openapi-clients is stale (no FundingApi), so sdk/src/api/funding.ts hand-rolls the calls.
Steps
cd packages/internal/openapi-clients && make generate-backend-openapi (needs Docker) → produces a FundingApi.
- Refactor
sdk/src/api/funding.ts to delegate to BackendApiClients.fundingApi, keeping the clientSecret memory + sessions.* / fund / payLink / chains ergonomics.
Doc comment already updated in #315. Couldn't run the regen in my env (no Docker/Java); happy to do step 2 once the client is regenerated.
/v2/fundingis now in the published OpenAPI spec (tagFunding; operationIdscreateFundingSession,SetPaymentMethod,getFundingSession,CreatePayLink,ListChains), butpackages/internal/openapi-clientsis stale (noFundingApi), sosdk/src/api/funding.tshand-rolls the calls.Steps
cd packages/internal/openapi-clients && make generate-backend-openapi(needs Docker) → produces aFundingApi.sdk/src/api/funding.tsto delegate toBackendApiClients.fundingApi, keeping the clientSecret memory +sessions.*/fund/payLink/chainsergonomics.Doc comment already updated in #315. Couldn't run the regen in my env (no Docker/Java); happy to do step 2 once the client is regenerated.