Releases: ProjectOpenSea/opensea-js
Releases · ProjectOpenSea/opensea-js
v7.0.4
v7.0.3
v7.0.2
v7.0.1
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
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 fromv5
tov6
. This replacesBigNumber
usage withbigint
, and updates the tsconfig target toes2020
- The
wallet
constructor parameter inOpenSeaSDK
was removed. Add your provider to your wallet and pass as the first paramsignerOrProvider
- The
chain
parameter ingetNFTsByContract
/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
andOpenSeaAPI
were removed. - Removed parameter
retries
to simplify code - Deprecated
createBuyOrder
/createSellOrder
aliases were removed. Please usecreateOffer
/createListing
instead. getPaymentTokens()
updated togetPaymentToken()
and updated to work across chains
New features
getBestListings()
endpoint added for getting the best listings for a collectiongetCollectionStats()
endpoint added for getting collection statsgetAccount()
endpoint added for getting account information from an addressofferProtectionEnabled
boolean added tobuildOffer()
- 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
v6.1.4
This release adds methods to get all listings/offers and get best listing/offer (recently introduced). 🦃
What's Changed
Full Changelog: v6.1.13...v6.1.14
v6.1.13
This release removes Arbitrum Goerli (deprecated November 18, 2022) and adds Arbitrum Sepolia to the chain enum.
What's Changed
- Replace arbitrum goerli support with arbitrum sepolia support by @stuckinaboot in #1289
Full Changelog: v6.1.12...v6.1.13
v6.1.12
v6.1.11
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