Skip to content

Releases: ProjectOpenSea/opensea-js

v7.0.4

19 Dec 21:25
6a86aa5
Compare
Choose a tag to compare

What's Changed

  • Base Goerli (deprecated) replaced with Base Sepolia by @ryanio in #1329

Full Changelog: v7.0.3...v7.0.4

v7.0.3

18 Dec 20:59
b798413
Compare
Choose a tag to compare

What's Changed

Full Changelog: v7.0.2...v7.0.3

v7.0.2

15 Dec 16:16
6e18171
Compare
Choose a tag to compare

What's Changed

  • Throw with error messages or SERVER_ERROR if network response is not ok by @ryanio in #1322

Full Changelog: v7.0.1...v7.0.2

v7.0.1

14 Dec 20:11
858cb2b
Compare
Choose a tag to compare

What's Changed

  • cache payment token decimals to reduce network requests and increase speed by @ryanio in #1313
  • allow fulfillOrder to take an Order object from api/v2 response by @ryanio in #1320

Dependency updates

  • chore(deps): update dependency prettier to v3.1.1 by @renovate in #1314
  • chore(deps): update dependency ts-node to v10.9.2 by @renovate in #1315
  • chore(deps): update jamesives/github-pages-deploy-action action to v4.5.0 by @renovate in #1316
  • chore(deps): update actions/stale action to v9 by @renovate in #1317

Full Changelog: v7.0.0...v7.0.1

v7.0.0

08 Dec 15:59
d7286b4
Compare
Choose a tag to compare

Breaking Changes

  • Deprecated v1 APIs have been removed. This affects:
    • getAsset/getAssets
    • getBundle/getBundles (bundles were removed from OpenSea in Sept 2023)
    • getCollection response updated
  • ethers updated from v5 to v6. This replaces BigNumber usage with bigint, and updates the tsconfig target to es2020
  • The wallet constructor parameter in OpenSeaSDK was removed. Add your provider to your wallet and pass as the first param signerOrProvider
  • The chain parameter in getNFTsByContract/getNFT/refreshNFTMetadata was moved to the end of the parameter list and now defaults to the chain the sdk was initialized on.
  • Legacy exports OpenSeaPort and OpenSeaAPI were removed.
  • Removed parameter retries to simplify code
  • Deprecated createBuyOrder/createSellOrder aliases were removed. Please use createOffer/createListing instead.
  • getPaymentTokens() updated to getPaymentToken() and updated to work across chains

New features

  • getBestListings() endpoint added for getting the best listings for a collection
  • getCollectionStats() endpoint added for getting collection stats
  • getAccount() endpoint added for getting account information from an address
  • offerProtectionEnabled boolean added to buildOffer()
  • All types now provided at top-level export for easier use

Misc.

  • package-lock.json cleared and reinitialized for the latest dependency and sub-dependency updates

PR: #1310

v6.1.15

27 Nov 17:45
03c7c43
Compare
Choose a tag to compare

This patch release fixes passing the next cursor to getAllListings and getAllOffers.

What's Changed

  • fix passing next cursor for getAllListings/getAllOffers by @ryanio in #1302

Full Changelog: v6.1.14...v6.1.15

v6.1.4

23 Nov 17:21
d893417
Compare
Choose a tag to compare

This release adds methods to get all listings/offers and get best listing/offer (recently introduced). 🦃

What's Changed

  • Add get all listings/offers, get best listing/offer by @ryanio in #1292

Full Changelog: v6.1.13...v6.1.14

v6.1.13

20 Nov 22:55
77f47a4
Compare
Choose a tag to compare

This release removes Arbitrum Goerli (deprecated November 18, 2022) and adds Arbitrum Sepolia to the chain enum.

What's Changed

Full Changelog: v6.1.12...v6.1.13

v6.1.12

13 Oct 21:53
7b7e994
Compare
Choose a tag to compare

What's Changed

  • Add tx overrides by @ryanio in #1229
  • Rename createSellOrder to createListing and createBuyOrder to createOffer, keep aliases for backward compat by @ryanio in #1228

Full Changelog: v6.1.11...v6.1.12

v6.1.11

11 Oct 16:40
5676158
Compare
Choose a tag to compare

What's Changed

  • Fix english auction zone on testnets by @ryanio in #1222
  • fix maker and taker param docs by @ryanio in #1223
  • Fix provider to use any provider that includes "listAccounts" (e.g. Web3Provider) by @ryanio in #1224
  • Bump version to v6.1.11 by @ryanio in #1225
  • Add "informational" label exemption to stale workflow by @ryanio in #1208

Dependency Updates

  • chore(deps): update typescript-eslint monorepo to v6.7.3 by @renovate in #1207
  • chore(deps): update dependency chai to v4.3.10 by @renovate in #1211
  • chore(deps): update dependency @types/mocha to v10.0.2 by @renovate in #1210
  • chore(deps): update dependency @types/node to v18.18.1 by @renovate in #1212
  • chore(deps): update dependency @types/node to v18.18.4 by @renovate in #1213
  • chore(deps): update dependency typedoc to v0.25.2 by @renovate in #1214
  • chore(deps): update typescript-eslint monorepo to v6.7.4 by @renovate in #1215
  • chore(deps): update dependency eslint to v8.51.0 by @renovate in #1216
  • chore(deps): update styfle/cancel-workflow-action action to v0.12.0 by @renovate in #1217

Full Changelog: v6.1.10...v6.1.11