v0.3.13-preview.1
Pre-release
Pre-release
·
7 commits
to main
since this release
fix: verify ownership on stale marketplace listings (#285) * fix: verify ownership on stale marketplace listings SDK (getToken): - Add ownership verification to getToken() listings - Cross-check on-chain token balances before returning listings - Add expiration check (filter out expired orders) - New verifyOwnership option (default: true) Client (token detail page): - Add collectionOrdersVerifiedAtom that cross-checks ownership via collectionOwnershipAtom (same pattern as verifiedCollectionOrdersAtom but returns OrderModel[] instead of ListingWithUsd[]) - Switch useTokenDetailViewModel to use collectionOrdersVerifiedAtom so token detail page no longer shows stale listings Fixes: stale orders shown when NFT owner transfers token after listing * fix: add collectionOrdersVerifiedAtom to test mock