v10.0.0
@opensea/sdk v10.0.0
Viem Support
- New @opensea/sdk/viem subpath export with native PublicClient/WalletClient support
- Provider abstraction types: OpenSeaSigner, OpenSeaProvider, ContractCaller, OpenSeaWallet
Breaking Changes
- OrderSide.LISTING value changed from "ask" to "listing"
- OrderSide.OFFER value changed from "bid" to "offer"
- BigNumberish type replaced with Amount (string | number | bigint)
- Overrides type replaced with Record<string, unknown>
- provider public property removed from OpenSeaSDK class
- estimateGas utility function removed
- TypeChain dependency removed
- ethers.FetchRequest replaced with native fetch()
New Utilities
- ZERO_ADDRESS and MAX_UINT256 exported from constants
- checksumAddress, parseUnits, parseEther utilities
Full Changelog: v9.0.0...v10.0.0