OpenZeppelin / ethernaut

Web3/Solidity based wargame
MIT License
2k stars 684 forks source link

Update dependency alchemy-sdk to v3 #716

Open renovate[bot] opened 8 months ago

renovate[bot] commented 8 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.7`](https://redirect.github.com/alchemyplatform/alchemy-sdk-js/blob/HEAD/CHANGELOG.md#347) ##### Minor Changes - Added networks for `ROOTSTOCK`. ### [`v3.4.6`](https://redirect.github.com/alchemyplatform/alchemy-sdk-js/blob/HEAD/CHANGELOG.md#346) ##### Minor Changes - Fixed webhook network parsing in `getAllWebhooks` method for all supported networks. ### [`v3.4.5`](https://redirect.github.com/alchemyplatform/alchemy-sdk-js/blob/HEAD/CHANGELOG.md#345) ##### Minor Changes - Fixed createWebhook's `skip_empty_messages` param. ### [`v3.4.4`](https://redirect.github.com/alchemyplatform/alchemy-sdk-js/blob/HEAD/CHANGELOG.md#344) ##### Minor Changes - Added networks for `WORLDCHAIN`. ### [`v3.4.3`](https://redirect.github.com/alchemyplatform/alchemy-sdk-js/blob/HEAD/CHANGELOG.md#343) ##### Minor Changes - Added networks for `SONEIUM` and `BERACHAIN`. Note that these are primarily for `CoreNamespace` methods. Not all namespaces will work with these networks. ### [`v3.4.2`](https://redirect.github.com/alchemyplatform/alchemy-sdk-js/blob/HEAD/CHANGELOG.md#342) [Compare Source](https://redirect.github.com/alchemyplatform/alchemy-sdk-js/compare/v3.4.1...v3.4.2) ##### Minor Changes - Addressed security vulnerabilities by adding overrides for `elliptic` and `ws` dependencies. Specifically: - Updated `elliptic` to version `6.5.7` (latest) to fix vulnerabilities related to EDDSA signature length checks and ECDSA BER-encoded signatures. - Updated `ws` to version `7.5.10` to mitigate a potential DoS vulnerability. The latest major version of `ws` is `8.x`, however, `7.5.10` is the most up-to-date version compatible with `ethers v5`, which depends on `7.x` versions of `ws`. ### [`v3.4.1`](https://redirect.github.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://redirect.github.com/alchemyplatform/alchemy-sdk-js/issues/416)) ### [`v3.4.0`](https://redirect.github.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://redirect.github.com/alchemyplatform/alchemy-sdk-js/issues/443)). ### [`v3.3.1`](https://redirect.github.com/alchemyplatform/alchemy-sdk-js/blob/HEAD/CHANGELOG.md#331) [Compare Source](https://redirect.github.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://redirect.github.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://redirect.github.com/alchemyplatform/alchemy-sdk-js/blob/HEAD/CHANGELOG.md#330) [Compare Source](https://redirect.github.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://redirect.github.com/alchemyplatform/alchemy-sdk-js/blob/HEAD/CHANGELOG.md#321) [Compare Source](https://redirect.github.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://redirect.github.com/alchemyplatform/alchemy-sdk-js/blob/HEAD/CHANGELOG.md#320) [Compare Source](https://redirect.github.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://redirect.github.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://redirect.github.com/alchemyplatform/alchemy-sdk-js/issues/397). Thanks [@​mpsq](https://redirect.github.com/mpsq) for the contribution! ### [`v3.1.1`](https://redirect.github.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://redirect.github.com/alchemyplatform/alchemy-sdk-js/blob/HEAD/CHANGELOG.md#310) [Compare Source](https://redirect.github.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://redirect.github.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.