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

ProjectOpenSea / opensea-js / 22974546998
89%
master: 30%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 11 Mar 2026 09:08PM UTC
Jobs 1
Files 74
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

11 Mar 2026 09:08PM UTC coverage: 88.98% (-0.3%) from 89.311%
22974546998

push

github

web-flow
feat: add postListing/postOffer API methods, deprecate legacy order endpoints (#1936)

* feat: migrate from deprecated order response to v2 listing/offer types

The os2-core POST listing/offer endpoints now return both a deprecated
`order` field and new `listing`/`offer` fields with the v2 response
format. This PR migrates the SDK to read from the new fields.

BREAKING CHANGES:
- `createListing` now returns `Listing` instead of `OrderV2`
- `createOffer` now returns `Offer` instead of `OrderV2`
- `createBulkListings` returns `BulkListingResult` instead of `BulkOrderResult`
- `createBulkOffers` returns `BulkOfferResult` instead of `BulkOrderResult`
- New `postListing`/`postOffer` API methods replace deprecated `postOrder`
- GET orders endpoints (`getOrder`/`getOrders`) marked as deprecated

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

* refactor: add new postListing/postOffer API methods (non-breaking)

Add new API methods that return native Listing/Offer types from the
upcoming os2-core response format changes. Existing methods and return
types are preserved — consumers can migrate at their own pace.

- Add postListing() and postOffer() on OpenSeaAPI and OrdersAPI
- Add ListingPostQueryResponse and OfferPostQueryResponse types
- Mark deprecated methods with @deprecated JSDoc annotations

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

---------

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

526 of 719 branches covered (73.16%)

Branch coverage included in aggregate %.

0 of 14 new or added lines in 2 files covered. (0.0%)

4763 of 5225 relevant lines covered (91.16%)

4.01 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
66.67
-0.66% src/api/api.ts
12
73.79
-17.78% src/api/orders.ts
Jobs
ID Job ID Ran Files Coverage
1 22974546998.1 11 Mar 2026 09:08PM UTC 74
88.98
GitHub Action Run
Source Files on build 22974546998
  • Tree
  • List 74
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • ac222604 on github
  • Prev Build on main (#22973664525)
  • Next Build on main (#22974666381)
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