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

ProjectOpenSea / opensea-js / 16659921530 / 1
88%
master: 30%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 31 Jul 2025 09:02PM UTC
Files 24
Run time 1s
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

31 Jul 2025 09:02PM UTC coverage: 49.689% (-1.1%) from 50.815%
16659921530.1

push

github

web-flow
feat: add validateOrderOnchain method for Seaport integration (#1729)

* feat: add validateOrderOnchain method for Seaport integration

This adds a new method to validate orders onchain using Seaport's validate() method, which makes orders cheaper to fulfill since signature verification is skipped during fulfillment.

- Add validateOrderOnchain method to OpenSeaSDK
- Include comprehensive JSDoc documentation explaining benefits
- Add integration test for Polygon network using existing test infrastructure
- Bump package version to 7.2.1

The method submits orders onchain and pre-validates them using Seaport. While not strictly required (orders can be submitted to the API for free), this approach reduces gas costs during fulfillment at the expense of upfront validation gas costs.

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

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

* fix: handle domain parameter properly in validateOrderOnchain

Fixes TypeError when domain parameter is undefined by conditionally
calling the validate method with or without the domain parameter.

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

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

* feat: add validateOrderOnchain method for Seaport integration

- Add validateOrderOnchain method to SDK for onchain order validation
- Method calls seaport.validate() to submit orders onchain for pre-validation
- Add integration test for Polygon network with proper test flow
- Remove domain parameter and signature validation per requirements
- Bump package version to 7.2.1

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

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

* fix: type casting for OrderWithCounter to OrderV2 conversion

* refactor: DRY order building logic and add convenience methods

- Remove submitOrder parameter from createListing/createOffer
- Extract order building logic into reusable _buildListingOrder/_buildOfferOrder helpers
- Update validateOrderO... (continued)

108 of 377 branches covered (28.65%)

Branch coverage included in aggregate %.

611 of 1070 relevant lines covered (57.1%)

1.68 hits per line

Source Files on job 16659921530.1
  • Tree
  • List 24
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 16659921530
  • 5833bf11 on github
  • Prev Job for on main (#16529912746.1)
  • Next Job for on main (#16661371456.1)
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

© 2026 Coveralls, Inc