Skip to content

Conversation

@nktkas
Copy link
Owner

@nktkas nktkas commented Jan 1, 2026

No description provided.

Copilot AI review requested due to automatic review settings January 1, 2026 01:20
@nktkas nktkas linked an issue Jan 1, 2026 that may be closed by this pull request
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR makes the startTime parameter optional in the userFunding API endpoint by changing it from a required UnsignedInteger to v.nullish(UnsignedInteger). This allows users to call the endpoint without specifying a start time.

  • Updated the schema definition to make startTime optional using v.nullish
  • Removed startTime from test cases to demonstrate the optional usage
  • Updated documentation example to show simplified usage without startTime

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/api/info/_methods/userFunding.ts Changed startTime parameter from required to optional using v.nullish(), updated documentation example
tests/api/info/userFunding.test.ts Removed startTime parameter from both code and CLI test cases to test the optional behavior

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@nktkas nktkas merged commit 7acae8c into main Jan 1, 2026
7 checks passed
@nktkas nktkas deleted the 102-update-infoclientuserfunding-input-argument-types branch January 1, 2026 01:30
@nktkas nktkas changed the title fix(userFunding): update input argument types to make startTime optional fix(info/userFunding): update input argument types to make startTime optional Jan 1, 2026
@nktkas nktkas mentioned this pull request Jan 1, 2026
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update InfoClient.userFunding input argument types

2 participants