Skip to content

feat(orderbook): Add createTraitBid, getTraitBid and listTraitBid functions for orderbook#2854

Merged
JCSanPedro merged 1 commit into
mainfrom
BLO-14-sdk-trait-bids
Apr 16, 2026
Merged

feat(orderbook): Add createTraitBid, getTraitBid and listTraitBid functions for orderbook#2854
JCSanPedro merged 1 commit into
mainfrom
BLO-14-sdk-trait-bids

Conversation

@JCSanPedro
Copy link
Copy Markdown
Contributor

@JCSanPedro JCSanPedro commented Apr 15, 2026

Hi👋, please ensure the PR title follows the below standards:

  • PR is titled with conventional commit style naming: type(scope): message. For example: feat(passport): my new feature
  • If you have introduced modification that necessitates immediate adjustments by this SDK's users to their applications, clients, or integrations to avert disruptions to existing features or functionalities, add a ! after the type(scope), for example feat(passport)!: my new breaking feature

Summary

Regenerates the orderbook api client, and adds createTraitBid, getTraitBid and listTraitBids utility functions for working with trait bids for the orderbook sdk.

Detail and impact of the change

Added

Changed

Deprecated

Removed

Fixed

Security

Anything else worth calling out?

@JCSanPedro JCSanPedro requested a review from a team as a code owner April 15, 2026 04:15
@nx-cloud
Copy link
Copy Markdown

nx-cloud Bot commented Apr 15, 2026

View your CI Pipeline Execution ↗ for commit dba6215

Command Status Duration Result
nx affected -t build,lint,test ✅ Succeeded 2m 48s View ↗
nx run-many -p @imtbl/sdk,@imtbl/checkout-widge... ✅ Succeeded 1m 19s View ↗

☁️ Nx Cloud last updated this comment at 2026-04-15 04:31:09 UTC

@JCSanPedro JCSanPedro changed the title BLO-14(orderbook): Add utility functions for creating trait bids feat(orderbook): Add createTraitBid, getTraitBid and listTraitBid functions for orderbook Apr 15, 2026
sell,
buy,
true,
orderStart || new Date(),
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

In what scenario will the startDate be undefined? 🤔 Do we need to default it? Same with orderExpiry - Are they not mandatory fields?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yes they are mandatory fields for the API. If the caller of this SDK function doesn't define start and expiry values, then we opt to use sensible defaults here.

@JCSanPedro JCSanPedro added this pull request to the merge queue Apr 16, 2026
Merged via the queue into main with commit 6c1a12e Apr 16, 2026
9 of 10 checks passed
@JCSanPedro JCSanPedro deleted the BLO-14-sdk-trait-bids branch April 16, 2026 01:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants