Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: rename package to safe-react-hooks #18

Merged
merged 3 commits into from
Oct 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 4 additions & 13 deletions .github/ISSUE_TEMPLATE/bug_report.md
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we update the environment variables list here as well? (line 19-30)

Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
name: Bug report
about: Bug report about the Safe Core SDK React Hooks
about: Bug report about the Safe React Hooks
---

## Prerequisites

- First, many thanks for taking part in the community and helping us improve. We appreciate that a lot.
- **For support questions please follow our support guidelines:** https://github.com/safe-global/safe-core-sdk-react-hooks/tree/main/SUPPORT.md
- **For support questions please follow our support guidelines:** https://github.com/safe-global/safe-react-hooks/tree/main/SUPPORT.md
- Please ensure the issue isn't already reported.

*Please delete the above section and the instructions in the sections below before submitting*
Expand All @@ -16,18 +16,9 @@ about: Bug report about the Safe Core SDK React Hooks
Please describe concisely the bug you have found.

## Environment
- Safe Core SDK versions:
<!-- Please leave empty or delete those that you don't use. -->
- api-kit:
- auth-kit:
- onramp-kit
- protocol-kit:
- relay-kit:
- safe-core-sdk-types:
- Safe React Hooks version:
- Safe contract version:
- Environment:
- browser
- non-browser
- React version:

## Steps to reproduce

Expand Down
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
name: Feature request
about: Suggest an idea or feature request for the Safe Core SDK React Hooks
about: Suggest an idea or feature request for the Safe React Hooks
---

## Prerequisites

- First, many thanks for taking part in the community and helping us improve. We appreciate that a lot.
- **For support questions please follow our support guidelines:** https://github.com/safe-global/safe-core-sdk-react-hooks/tree/main/SUPPORT.md
- **For support questions please follow our support guidelines:** https://github.com/safe-global/safe-react-hooks/tree/main/SUPPORT.md
- Please ensure the issue isn't already reported.

*Please delete the above section and the instructions in the sections below before submitting*
Expand Down
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I noticed that this file still refers to the Safe{Core} SDK instead of Safe React Hooks (line 35)

Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ First off, **thank you** for considering contributing to this project!

## I Have a Question

See our [support guidelines](https://github.com/safe-global/safe-core-sdk-react-hooks/tree/main/SUPPORT.md). **Do not** use GitHub issues for general support or questions.
See our [support guidelines](https://github.com/safe-global/safe-react-hooks/tree/main/SUPPORT.md). **Do not** use GitHub issues for general support or questions.

## I Want to Contribute
### Legal Notice
Expand All @@ -28,11 +28,11 @@ By following the steps bellow you will understand the development process and wo

The first step would be to [fork the repository](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo#forking-a-repository). This will allow you to get a current copy of the repository state. Follow the steps to also clone your forked repository locally.

For active development we use the `development` branch. Our `main` branch contains only the currently published code. All new branches should be created from `development`.
All new branches should be created from `main`. PRs would be requested to `main` branch. An approval from a team member is required before merging.

#### Installing Node and Yarn

The Safe{Core} SDK uses [Node](https://nodejs.org) as development environment and Yarn to manage the dependencies. You will need to make sure you are using the [latest Node LTS version](https://nodejs.org/en/about/previous-releases) and that you have available Yarn v1.
The Safe React Hooks uses [Node](https://nodejs.org) as development environment and Yarn to manage the dependencies. You will need to make sure you are using the [latest Node LTS version](https://nodejs.org/en/about/previous-releases) and that you have available Yarn v1.

You can check which versions you are using with:

Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Safe Core SDK React Hooks
# Safe React Hooks

A collection of React hooks to simplify the usage of the Safe Core SDK for React developers, written in TypeScript.

Expand All @@ -15,13 +15,13 @@ A collection of React hooks to simplify the usage of the Safe Core SDK for React
To install the package, run:

```bash
npm install @safe-global/safe-core-sdk-react-sdk
npm install @safe-global/safe-react-hooks
```

or

```bash
yarn add @safe-global/safe-core-sdk-react-sdk
yarn add @safe-global/safe-react-hooks
```

## Usage
Expand All @@ -30,8 +30,8 @@ yarn add @safe-global/safe-core-sdk-react-sdk

## Contributing

If you are interested in contributing, please read the [Contributing Guidelines](https://github.com/safe-global/safe-core-sdk-react-hooks/tree/main/CONTRIBUTING.md) **before opening an issue or submitting a pull request**.
If you are interested in contributing, please read the [Contributing Guidelines](https://github.com/safe-global/safe-react-hooks/tree/main/CONTRIBUTING.md) **before opening an issue or submitting a pull request**.

## License

This library is released under [MIT](https://github.com/safe-global/safe-core-sdk-react-hooks/tree/main/LICENSE.md).
This library is released under [MIT](https://github.com/safe-global/safe-react-hooks/tree/main/LICENSE.md).
5 changes: 0 additions & 5 deletions jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@ const config: JestConfigWithTsJest = {
// An array of regexp pattern strings that are matched against all source file paths, matched files will skip transformation
transformIgnorePatterns: ['<rootDir>/node_modules/(?!(wagmi|@wagmi)/)'],

// TODO: Remove this when the `sdk-starter-kit` is published to npm
// An array of regexp pattern strings that are matched against all test paths before executing the test.
// If the test path matches any of the patterns, it will be skipped
testPathIgnorePatterns: ['<rootDir>/safe-core-sdk/'],

// A map from regular expressions to module names or to arrays of module names that allow to stub out resources with a single module
moduleNameMapper: {
'^@/(.*)\\.js$': '<rootDir>/src/$1',
Expand Down
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@safe-global/safe-core-sdk-react-hooks",
"name": "@safe-global/safe-react-hooks",
"version": "0.0.0",
"description": "SDK that facilitates the interaction with Safe Smart Accounts",
"description": "A collection of React Hooks that facilitates the interaction of React apps with Safe Smart Accounts",
"keywords": [
"Ethereum",
"Wallet",
Expand All @@ -21,12 +21,12 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/safe-global/safe-core-sdk-react-hooks.git"
"url": "git+https://github.com/safe-global/safe-react-hooks.git"
},
"author": "Safe (https://safe.global)",
"license": "MIT",
"bugs": {
"url": "https://github.com/safe-global/safe-core-sdk-react-hooks/issues"
"url": "https://github.com/safe-global/safe-react-hooks/issues"
},
"files": [
"dist"
Expand All @@ -42,19 +42,19 @@
"typescript": ">=5.0.4"
},
"devDependencies": {
"@safe-global/safe-core-sdk-types": "^5.0.3",
"@safe-global/types-kit": "^1.0.0",
"@tanstack/react-query": ">=5.45.1",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.4.8",
"@testing-library/react": "^16.0.0",
"@types/jest": "^29.5.12",
"@types/react": ">=18.3.1",
"@types/react-dom": ">=18.3.0",
"@types/jest": "^29.5.13",
"@types/react": ">=18.3.11",
"@types/react-dom": ">=18.3.1",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"react": ">=18.3.1",
"react-dom": ">=18.3.1",
"ts-jest": "^29.2.4",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"tsc-alias": "^1.8.10",
"typescript": "^5.3.3"
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/useSafeTransaction.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { useCallback, useMemo } from 'react'
import { Hash } from 'viem'
import { useQuery, type UseQueryResult } from '@tanstack/react-query'
import { SafeMultisigTransactionResponse } from '@safe-global/safe-core-sdk-types'
import { SafeMultisigTransactionResponse } from '@safe-global/types-kit'
import { usePublicClient } from '@/hooks/usePublicClient.js'
import type { ConfigParam, SafeConfig } from '@/types/index.js'

Expand Down
2 changes: 1 addition & 1 deletion src/hooks/useSendTransaction.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { UseMutateAsyncFunction, UseMutateFunction, UseMutationResult } from '@tanstack/react-query'
import { SafeTransaction, TransactionBase } from '@safe-global/safe-core-sdk-types'
import { SafeTransaction, TransactionBase } from '@safe-global/types-kit'
import { SafeClientResult } from '@safe-global/sdk-starter-kit'
import { ConfigParam, isSafeTransaction, SafeConfigWithSigner } from '@/types/index.js'
import { useSignerClientMutation } from '@/hooks/useSignerClientMutation.js'
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/useTransaction.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { useTransaction } from '@/hooks/useTransaction.js'
import * as useSafeTransaction from '@/hooks/useSafeTransaction.js'
import { ethereumTxHash, safeMultisigTransaction, safeTxHash } from '@test/fixtures/index.js'
import { renderHookInQueryClientProvider } from '@test/utils.js'
import { SafeMultisigTransactionResponse } from '@safe-global/safe-core-sdk-types'
import { SafeMultisigTransactionResponse } from '@safe-global/types-kit'
import { configPredictedSafe } from '@test/config.js'

describe('useTransaction', () => {
Expand Down
2 changes: 1 addition & 1 deletion src/types/guards.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
SafeModuleTransaction,
SafeMultisigTransaction
} from '@/types/index.js'
import { SafeTransaction } from '@safe-global/safe-core-sdk-types'
import { SafeTransaction } from '@safe-global/types-kit'

export function isString(x: any): x is string {
return typeof x === 'string'
Expand Down
2 changes: 1 addition & 1 deletion src/types/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { SafeMultisigTransactionResponse } from '@safe-global/safe-core-sdk-types'
import { SafeMultisigTransactionResponse } from '@safe-global/types-kit'
import type { SdkStarterKitConfig } from '@safe-global/sdk-starter-kit'
import type { Address, CustomTransport, HttpTransport } from 'viem'
import type { Chain as ChainType } from 'viem/chains'
Expand Down
96 changes: 31 additions & 65 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -249,14 +249,7 @@
dependencies:
"@babel/helper-plugin-utils" "^7.24.7"

"@babel/runtime@^7.12.5":
version "7.24.8"
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.24.8.tgz#5d958c3827b13cc6d05e038c07fb2e5e3420d82e"
integrity sha512-5F7SDGs1T72ZczbRwbGO9lQi0NLjQxzl6i4lJxLxfW9U5UluCSyEJeniWvnhl3/euNiqQVbo8zruhsDfid0esA==
dependencies:
regenerator-runtime "^0.14.0"

"@babel/runtime@^7.19.4", "@babel/runtime@^7.21.0", "@babel/runtime@^7.23.2", "@babel/runtime@^7.9.2":
"@babel/runtime@^7.12.5", "@babel/runtime@^7.19.4", "@babel/runtime@^7.21.0", "@babel/runtime@^7.23.2", "@babel/runtime@^7.9.2":
version "7.25.0"
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.25.0.tgz#3af9a91c1b739c569d5d80cc917280919c544ecb"
integrity sha512-7dRy4DwXwtzBrPbZflqxnvfxLF8kdZXPkhymtDeFoFqE6ldzjQFgYTtYIFARcLEYDrqfBfYcZt1WqFxRoyC9Rw==
Expand Down Expand Up @@ -888,12 +881,12 @@
resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.1.2.tgz#e9e035b9b166ca0af657a7848eb2718f0f22f183"
integrity sha512-KYRCASVTv6aeUi1tsF8/vpyR7zpfs3FUzy2Jqm+MU+LmUKhQ0y2FpfwqkCcxSg2ua4GALJd8k2R76WxwZGbQpA==

"@noble/[email protected]", "@noble/hashes@^1.3.1", "@noble/hashes@^1.4.0", "@noble/hashes@~1.4.0":
"@noble/[email protected]", "@noble/hashes@~1.4.0":
version "1.4.0"
resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.4.0.tgz#45814aa329f30e4fe0ba49426f49dfccdd066426"
integrity sha512-V1JJ1WTRUqHHrOSh597hURcMqVKVGL/ea3kv0gSnEdsEZ0/+VyPghM1lMNGc00z7CIQorSvbKpuJkxvuHbvdbg==

"@noble/hashes@^1.3.3", "@noble/hashes@~1.5.0":
"@noble/hashes@^1.3.1", "@noble/hashes@^1.3.3", "@noble/hashes@^1.4.0", "@noble/hashes@~1.5.0":
version "1.5.0"
resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.5.0.tgz#abadc5ca20332db2b1b2aa3e496e9af1213570b0"
integrity sha512-1j6kQFb7QRru7eKN3ZDvRcP13rugwdxZqCjbiAVZfIJwgj2A65UmT4TgARXGlXgnRkORLTDTrO19ZErt7+QXgA==
Expand Down Expand Up @@ -1066,13 +1059,6 @@
"@safe-global/safe-gateway-typescript-sdk" "^3.5.3"
viem "^2.1.1"

"@safe-global/safe-core-sdk-types@^5.0.3":
version "5.0.3"
resolved "https://registry.yarnpkg.com/@safe-global/safe-core-sdk-types/-/safe-core-sdk-types-5.0.3.tgz#0093898a0585efcae01b4da9cdd5998bc1f4a251"
integrity sha512-SNoIq/bYeUvxtB9bn+9FVMcCW3SCOJaK6crRN7DXY+N2xaLtTMAaGeUCPuOGsHxfAJVkO+CdiwWNFoqt9GN0Zg==
dependencies:
abitype "^1.0.2"

"@safe-global/safe-deployments@^1.37.9":
version "1.37.10"
resolved "https://registry.yarnpkg.com/@safe-global/safe-deployments/-/safe-deployments-1.37.10.tgz#2f61a25bd479332821ba2e91a575237d77406ec3"
Expand Down Expand Up @@ -1108,12 +1094,7 @@
dependencies:
abitype "^1.0.2"

"@scure/base@^1.1.3", "@scure/base@~1.1.6":
version "1.1.7"
resolved "https://registry.yarnpkg.com/@scure/base/-/base-1.1.7.tgz#fe973311a5c6267846aa131bc72e96c5d40d2b30"
integrity sha512-PPNYBslrLNNUQ/Yad37MHYsNQtK67EhWb6WtSvNLLPo7SdVZgkUjD6Dg+5On7zNwmskf8OX7I7Nx5oN+MIWE0g==

"@scure/base@~1.1.8":
"@scure/base@^1.1.3", "@scure/base@~1.1.6", "@scure/base@~1.1.8":
version "1.1.9"
resolved "https://registry.yarnpkg.com/@scure/base/-/base-1.1.9.tgz#e5e142fbbfe251091f9c5f1dd4c834ac04c3dbd1"
integrity sha512-8YKhl8GHiNI/pU2VMaofa2Tor7PJRAjwQLBBuilkJ9L5+13yVbC7JO/wS7piioAvPSwR3JKM1IJ/u4xQzbcXKg==
Expand Down Expand Up @@ -1449,10 +1430,10 @@
dependencies:
"@types/istanbul-lib-report" "*"

"@types/jest@^29.5.12":
version "29.5.12"
resolved "https://registry.yarnpkg.com/@types/jest/-/jest-29.5.12.tgz#7f7dc6eb4cf246d2474ed78744b05d06ce025544"
integrity sha512-eDC8bTvT/QhYdxJAulQikueigY5AsdBRH2yDKW3yveW7svY3+DzN84/2NUgkw10RTiJbWqZrTtoGVdYlvFJdLw==
"@types/jest@^29.5.13":
version "29.5.13"
resolved "https://registry.yarnpkg.com/@types/jest/-/jest-29.5.13.tgz#8bc571659f401e6a719a7bf0dbcb8b78c71a8adc"
integrity sha512-wd+MVEZCHt23V0/L642O5APvspWply/rGY5BcW4SUETo2UzPU3Z26qr8jC2qxpimI2jjx9h7+2cj2FwIr01bXg==
dependencies:
expect "^29.0.0"
pretty-format "^29.0.0"
Expand Down Expand Up @@ -1488,17 +1469,17 @@
resolved "https://registry.yarnpkg.com/@types/prop-types/-/prop-types-15.7.12.tgz#12bb1e2be27293c1406acb6af1c3f3a1481d98c6"
integrity sha512-5zvhXYtRNRluoE/jAp4GVsSduVUzNWKkOZrCDBWYtE7biZywwdC2AcEzg+cSMLFRfVgeAFqpfNabiPjxFddV1Q==

"@types/react-dom@>=18.3.0":
version "18.3.0"
resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-18.3.0.tgz#0cbc818755d87066ab6ca74fbedb2547d74a82b0"
integrity sha512-EhwApuTmMBmXuFOikhQLIBUn6uFg81SwLMOAUgodJF14SOBOCMdU04gDoYi0WOJJHD144TL32z4yDqCW3dnkQg==
"@types/react-dom@>=18.3.1":
version "18.3.1"
resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-18.3.1.tgz#1e4654c08a9cdcfb6594c780ac59b55aad42fe07"
integrity sha512-qW1Mfv8taImTthu4KoXgDfLuk4bydU6Q/TkADnDWWHwi4NX4BR+LWfTp2sVmTqRrsHvyDDTelgelxJ+SsejKKQ==
dependencies:
"@types/react" "*"

"@types/react@*", "@types/react@>=18.3.1":
version "18.3.3"
resolved "https://registry.yarnpkg.com/@types/react/-/react-18.3.3.tgz#9679020895318b0915d7a3ab004d92d33375c45f"
integrity sha512-hti/R0pS0q1/xx+TsI73XIqk26eBsISZ2R0wUijXIngRK9R/e7Xw/cXVxQK7R5JjW+SV4zGcn5hXjudkN/pLIw==
"@types/react@*", "@types/react@>=18.3.11":
version "18.3.11"
resolved "https://registry.yarnpkg.com/@types/react/-/react-18.3.11.tgz#9d530601ff843ee0d7030d4227ea4360236bd537"
integrity sha512-r6QZ069rFTjrEYgFdOck1gK7FLVsgJE7tTz0pQBczlBNUhBNk0MQH4UbnFSwjpQLMkLzgqvBBa+qGpLje16eTQ==
dependencies:
"@types/prop-types" "*"
csstype "^3.0.2"
Expand Down Expand Up @@ -2096,7 +2077,7 @@ browserslist@^4.23.1:
node-releases "^2.0.14"
update-browserslist-db "^1.1.0"

bs-logger@0.x:
bs-logger@^0.2.6:
version "0.2.6"
resolved "https://registry.yarnpkg.com/bs-logger/-/bs-logger-0.2.6.tgz#eb7d365307a72cf974cc6cda76b68354ad336bd8"
integrity sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog==
Expand Down Expand Up @@ -4002,7 +3983,7 @@ [email protected]:
resolved "https://registry.yarnpkg.com/lodash.isequal/-/lodash.isequal-4.5.0.tgz#415c4478f2bcc30120c22ce10ed3226f7d3e18e0"
integrity sha512-pDo3lu8Jhfjqls6GkMgpahsF9kCyayhgykjyLMNFTKWrpVdAQtYyB4muAMWozBB4ig/dtWAmsMxLEI8wuz+DYQ==

lodash.memoize@4.x:
lodash.memoize@^4.1.2:
version "4.1.2"
resolved "https://registry.yarnpkg.com/lodash.memoize/-/lodash.memoize-4.1.2.tgz#bcc6c49a42a2840ed997f323eada5ecd182e0bfe"
integrity sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag==
Expand Down Expand Up @@ -4043,7 +4024,7 @@ make-dir@^4.0.0:
dependencies:
semver "^7.5.3"

make-error@1.x, make-error@^1.1.1:
make-error@^1.1.1, make-error@^1.3.6:
version "1.3.6"
resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.3.6.tgz#2eb2e37ea9b67c4891f684a1394799af484cf7a2"
integrity sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==
Expand Down Expand Up @@ -5132,20 +5113,20 @@ tr46@~0.0.3:
resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a"
integrity sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==

ts-jest@^29.2.4:
version "29.2.4"
resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-29.2.4.tgz#38ccf487407d7a63054a72689f6f99b075e296e5"
integrity sha512-3d6tgDyhCI29HlpwIq87sNuI+3Q6GLTTCeYRHCs7vDz+/3GCMwEtV9jezLyl4ZtnBgx00I7hm8PCP8cTksMGrw==
ts-jest@^29.2.5:
version "29.2.5"
resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-29.2.5.tgz#591a3c108e1f5ebd013d3152142cb5472b399d63"
integrity sha512-KD8zB2aAZrcKIdGk4OwpJggeLcH1FgrICqDSROWqlnJXGCXK4Mn6FcdK2B6670Xr73lHMG1kHw8R87A0ecZ+vA==
dependencies:
bs-logger "0.x"
bs-logger "^0.2.6"
ejs "^3.1.10"
fast-json-stable-stringify "2.x"
fast-json-stable-stringify "^2.1.0"
jest-util "^29.0.0"
json5 "^2.2.3"
lodash.memoize "4.x"
make-error "1.x"
semver "^7.5.3"
yargs-parser "^21.0.1"
lodash.memoize "^4.1.2"
make-error "^1.3.6"
semver "^7.6.3"
yargs-parser "^21.1.1"

ts-node@^10.9.2:
version "10.9.2"
Expand Down Expand Up @@ -5364,22 +5345,7 @@ [email protected]:
proxy-compare "2.5.1"
use-sync-external-store "1.2.0"

viem@^2.1.1, viem@^2.18.6:
version "2.18.7"
resolved "https://registry.yarnpkg.com/viem/-/viem-2.18.7.tgz#a7020b67ee14fd27f8c038efb4a4cf6cf5e55a4a"
integrity sha512-0Xy5ypk+n4lYthsvC96jsZE97quKoq1t53RrbhKElmq84Dt705uUjQDgH0/LqAV02Oe6341M3jPTU9JLbs2K2Q==
dependencies:
"@adraffy/ens-normalize" "1.10.0"
"@noble/curves" "1.4.0"
"@noble/hashes" "1.4.0"
"@scure/bip32" "1.4.0"
"@scure/bip39" "1.3.0"
abitype "1.0.5"
isows "1.0.4"
webauthn-p256 "0.0.5"
ws "8.17.1"

viem@^2.21.8:
viem@^2.1.1, viem@^2.18.6, viem@^2.21.8:
version "2.21.15"
resolved "https://registry.yarnpkg.com/viem/-/viem-2.21.15.tgz#068c010946151e7f256bb7da601ab9b8287c583b"
integrity sha512-Ae05NQzMsqPWRwuAHf1OfmL0SjI+1GBgiFB0JA9BAbK/61nJXsTPsQxfV5CbLe4c3ct8IEZTX89rdeW4dqf97g==
Expand Down Expand Up @@ -5590,7 +5556,7 @@ yargs-parser@^18.1.2:
camelcase "^5.0.0"
decamelize "^1.2.0"

yargs-parser@^21.0.1, yargs-parser@^21.1.1:
yargs-parser@^21.1.1:
version "21.1.1"
resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-21.1.1.tgz#9096bceebf990d21bb31fa9516e0ede294a77d35"
integrity sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==
Expand Down