• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ProjectOpenSea / opensea-js / 18507247130
88%
master: 30%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 14 Oct 2025 07:06PM UTC
Jobs 1
Files 26
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

14 Oct 2025 07:05PM UTC coverage: 49.575% (+0.7%) from 48.864%
18507247130

push

github

web-flow
fix: add consideration parameters for criteria offers in generateFulfillmentData (#1769)

* fix: add consideration parameters for criteria offers in generateFulfillmentData

Fixes #1750

This change adds support for passing asset_contract_address and token_id
when generating fulfillment data for criteria offers (e.g., collection offers).

Previously, there was no way to pass these required fields, which caused
the API to return "Consideration is required for criteria offers" error.

Changes:
- Updated generateFulfillmentData to accept optional assetContractAddress and tokenId parameters
- Updated getFulfillOfferPayload and getFulfillListingPayload to include consideration fields
- Updated SDK fulfillOrder method to accept and pass these parameters

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Add test for collection offer fulfillment with consideration parameters

- Add test verifying generateFulfillmentData works with consideration parameters for collection offers
- Make test resilient to expired/fulfilled orders from live API

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>

120 of 404 branches covered (29.7%)

Branch coverage included in aggregate %.

16 of 22 new or added lines in 2 files covered. (72.73%)

639 of 1127 relevant lines covered (56.7%)

2.08 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
60.78
4.37% src/orders/utils.ts
5
73.81
-5.14% test/api/fulfillment.spec.ts
Jobs
ID Job ID Ran Files Coverage
1 18507247130.1 14 Oct 2025 07:06PM UTC 26
49.58
GitHub Action Run
Source Files on build 18507247130
  • Tree
  • List 26
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 09caee11 on github
  • Prev Build on main (#18507239892)
  • Next Build on main (#18507282926)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc