Skip to content

v10.0.0

Choose a tag to compare

@ryanio ryanio released this 10 Apr 23:59
· 51 commits to main since this release

@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