OpenZeppelin / ethernaut

Web3/Solidity based wargame
MIT License
1.96k stars 658 forks source link

Update dependency alchemy-sdk to v3 #716

Open renovate[bot] opened 5 months ago

renovate[bot] commented 5 months ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
alchemy-sdk ^2.2.3 -> ^3.0.0 age adoption passing confidence

Release Notes

alchemyplatform/alchemy-sdk-js (alchemy-sdk) ### [`v3.4.1`](https://togithub.com/alchemyplatform/alchemy-sdk-js/blob/HEAD/CHANGELOG.md#341) ##### Minor Changes - Fixed a bug where the `openSeaMetadata?.safelistRequestStatus` was undefined in the `Nft` object that resulted in a `Cannot read properties of undefined` error ([#​416](https://togithub.com/alchemyplatform/alchemy-sdk-js/issues/416)) ### [`v3.4.0`](https://togithub.com/alchemyplatform/alchemy-sdk-js/blob/HEAD/CHANGELOG.md#340) ##### Major Changes - Added networks for `SHAPE`, `LINEA`, `FANTOM`, `ZETACHAIN`, `ARBNOVA`, `BLAST`, `MANTLE`, `SCROLL`, `GNOSIS`, `BNB`, `AVAX`, `CELO`, `METIS`, `OPBNB`. Note that these are primarily for `CoreNamespace` methods. Not all namespaces will work these networks. - App IDs are now a required property when calling `NotifyNamespace.createWebhook()` with `WebhookType.GRAPHQL`. This is not a Typescript breaking change, but rather a run-time breaking change. Calling the endpoint without an App ID will now throw an error instead of returning a 503. ##### Minor Changes - Fixed a bug with `NotifyNamespace.createWebhook()` when using `WebhookType.GRAPHQL`. Also added the option use `skipEmptyMessages` when creating graphQL webhooks to skip empty blocks. - Updated axios version to remove security warning ([#​443](https://togithub.com/alchemyplatform/alchemy-sdk-js/issues/443)). ### [`v3.3.1`](https://togithub.com/alchemyplatform/alchemy-sdk-js/blob/HEAD/CHANGELOG.md#331) [Compare Source](https://togithub.com/alchemyplatform/alchemy-sdk-js/compare/v3.3.0...v3.3.1) ##### Minor Changes - Fixed a bug where the `openSeaMetadata?.safelistRequestStatus` was undefined in the `Nft` object that resulted in a `Cannot read properties of undefined` error ([#​416](https://togithub.com/alchemyplatform/alchemy-sdk-js/issues/416)) - Added support `connectionInfoOverrides` field in the `Alchemy` constructor. This allows you to override the ethers.js `ConnectionInfo` object and specify custom connection information for the underlying `JsonRpcProvider`. ### [`v3.3.0`](https://togithub.com/alchemyplatform/alchemy-sdk-js/blob/HEAD/CHANGELOG.md#330) [Compare Source](https://togithub.com/alchemyplatform/alchemy-sdk-js/compare/v3.2.1...v3.3.0) ##### Major Changes - Added support for Zksync Mainnet and Sepolia via the `Network.ZKSYNC_MAINNET` and `Network.ZKSYNC_SEPOLIA` enums. ##### Minor Changes ### [`v3.2.1`](https://togithub.com/alchemyplatform/alchemy-sdk-js/blob/HEAD/CHANGELOG.md#321) [Compare Source](https://togithub.com/alchemyplatform/alchemy-sdk-js/compare/v3.2.0...v3.2.1) ##### Major Changes - Added support for Arbitrum and Optimism Sepolia webhook creation. ##### Minor Changes - API error messages return the actual error instead of \[Object object] ### [`v3.2.0`](https://togithub.com/alchemyplatform/alchemy-sdk-js/blob/HEAD/CHANGELOG.md#320) [Compare Source](https://togithub.com/alchemyplatform/alchemy-sdk-js/compare/v3.1.2...v3.2.0) ##### Major Changes - Added support for Polygon Amoy network via the `Network.MATIC_AMOY` enum. ##### Minor Changes ### [`v3.1.2`](https://togithub.com/alchemyplatform/alchemy-sdk-js/blob/HEAD/CHANGELOG.md#312) ##### Major Changes ##### Minor Changes - Upgraded the `axios` dependency to `v1.6.5`, fixing a vulnerable version [#​397](https://togithub.com/alchemyplatform/alchemy-sdk-js/issues/397). Thanks [@​mpsq](https://togithub.com/mpsq) for the contribution! ### [`v3.1.1`](https://togithub.com/alchemyplatform/alchemy-sdk-js/blob/HEAD/CHANGELOG.md#311) ##### Major Changes ##### Minor Changes - Added endpoints for `isAirdropNft()` and `reportSpam()` in `NftNamespace`. - Added a missing `marketplaceAddress` field to the `NftSale` in `NftNamespace.getNftSales()`. - Fixed an incorrect field name for `bannerImageUrl` in `OpenSeaCollectionMetadata`. Deprecated the old field name `imageBannerUrl`. - Added support for Base networks in `NotifyNamespace`. ### [`v3.1.0`](https://togithub.com/alchemyplatform/alchemy-sdk-js/blob/HEAD/CHANGELOG.md#310) [Compare Source](https://togithub.com/alchemyplatform/alchemy-sdk-js/compare/v3.0.0...v3.1.0) ##### Major Changes - Added support for Optimism Sepolia and Base Sepolia via the `Network.OPT_SEPOLIA` and `Network.BASE_SEPOLIA` enums. ##### Minor Changes ### [`v3.0.0`](https://togithub.com/alchemyplatform/alchemy-sdk-js/blob/HEAD/CHANGELOG.md#300) ##### Major Changes - For a full list of changes to V3 from V2, please visit: https://docs.alchemy.com/reference/alchemy-sdk-v2-to-v3-migration-guide. There, you can also find the API reference for v2 endpoints as well. V3 primarily involves changes to use the V3 NFT API.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR was generated by Mend Renovate. View the repository job log.