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

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

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 28 Nov 2025 08:31PM UTC
Jobs 1
Files 68
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

28 Nov 2025 08:30PM UTC coverage: 87.553% (+0.2%) from 87.316%
19773318375

push

github

web-flow
Fix: Support zero-payment private listings (#1834)

Fixes SDK crash when fulfilling zero-payment private listings (e.g., rewards claims).

Problem:
- constructPrivateListingCounterOrder crashes when paymentItems is empty
- fulfillPrivateOrder crashes accessing counterOrder.parameters.offer[0]

Solution (mirrors backend behavior in os2-core Seaport.kt):
- Allow empty payment items in constructPrivateListingCounterOrder
- Return counter order with offer: [] for zero-payment listings
- Add computePrivateListingValue() to calculate ETH value from original order
- Use computed value instead of counter order's offer[0].startAmount

This enables fulfillment of zero-payment private listings used for rewards
claims via REWARDS_PRIVATE_LISTING_CLAIM_WALLET.

Closes #1832

474 of 684 branches covered (69.3%)

Branch coverage included in aggregate %.

65 of 65 new or added lines in 3 files covered. (100.0%)

4105 of 4546 relevant lines covered (90.3%)

4.14 hits per line

Jobs
ID Job ID Ran Files Coverage
1 19773318375.1 28 Nov 2025 08:31PM UTC 68
87.55
GitHub Action Run
Source Files on build 19773318375
  • Tree
  • List 68
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 125b065e on github
  • Prev Build on main (#19772579625)
  • Next Build on main (#19939517206)
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