ProjectOpenSea / opensea-js

TypeScript SDK for the OpenSea marketplace
https://docs.opensea.io/reference
MIT License
2.28k stars 962 forks source link

support for collection with 0% Opensea fee #1532

Closed 1220moritz closed 3 months ago

1220moritz commented 3 months ago

Motivation

Fix the issue where collections with zero fees are not handled correctly, causing unnecessary errors.

Solution

Filter out zero-value fees and add a conditional check to process fees only when they are greater than zero.

Related issue: #1531