diff --git a/package.json b/package.json index c4b69cc3701..ee23ed91d51 100644 --- a/package.json +++ b/package.json @@ -58,7 +58,7 @@ "@rabby-wallet/eth-trezor-keyring": "2.6.1", "@rabby-wallet/eth-walletconnect-keyring": "2.1.5", "@rabby-wallet/eth-watch-keyring": "1.0.0", - "@rabby-wallet/gnosis-sdk": "1.3.9", + "@rabby-wallet/gnosis-sdk": "1.3.10", "@rabby-wallet/page-provider": "0.4.2", "@rabby-wallet/rabby-action": "0.1.8", "@rabby-wallet/rabby-api": "0.9.2", @@ -67,9 +67,8 @@ "@rabby-wallet/widgets": "1.0.9", "@rematch/core": "2.2.0", "@rematch/select": "3.1.2", - "@safe-global/api-kit": "2.5.3", "@safe-global/protocol-kit": "5.0.3", - "@safe-global/types-kit": "1.0.0", + "@safe-global/sdk-starter-kit": "1.1.1", "@scure/bip39": "1.2.1", "@sentry/browser": "6.7.2", "@sentry/react": "6.7.2", diff --git a/src/background/controller/wallet.ts b/src/background/controller/wallet.ts index 08cde90e165..eeace713531 100644 --- a/src/background/controller/wallet.ts +++ b/src/background/controller/wallet.ts @@ -94,6 +94,7 @@ import Safe from '@rabby-wallet/gnosis-sdk'; import { Chain } from '@debank/common'; import { isAddress } from 'web3-utils'; import { + ensureChainListValid, findChain, findChainByEnum, findChainByServerID, @@ -130,10 +131,8 @@ import { getRecommendGas, getRecommendNonce } from './walletUtils/sign'; import { waitSignComponentAmounted } from '@/utils/signEvent'; import pRetry from 'p-retry'; import Browser from 'webextension-polyfill'; -import SafeApiKit from '@safe-global/api-kit'; import { hashSafeMessage } from '@safe-global/protocol-kit'; import { userGuideService } from '../service/userGuide'; -import { sleep } from '@/ui/views/HDManager/utils'; const stashKeyrings: Record = {}; @@ -2019,7 +2018,7 @@ export class WalletController extends BaseController { return Promise.reject(new Error(t('background.error.invalidAddress'))); } return Promise.all( - GNOSIS_SUPPORT_CHAINS.map(async (chainEnum) => { + ensureChainListValid(GNOSIS_SUPPORT_CHAINS).map(async (chainEnum) => { const chain = findChain({ enum: chainEnum }); try { const safe = await createSafeService({ @@ -2515,9 +2514,7 @@ export class WalletController extends BaseController { chainId: number; messageHash: string; }) => { - const apiKit = new SafeApiKit({ - chainId: BigInt(chainId), - }); + const apiKit = Safe.createSafeApiKit(String(chainId)); return apiKit.getMessage(messageHash); }; diff --git a/src/background/service/keyring/eth-gnosis-keyring.ts b/src/background/service/keyring/eth-gnosis-keyring.ts index 7cc47342d5b..fef2b102283 100644 --- a/src/background/service/keyring/eth-gnosis-keyring.ts +++ b/src/background/service/keyring/eth-gnosis-keyring.ts @@ -9,10 +9,6 @@ import { import semverSatisfies from 'semver/functions/satisfies'; import EthSignSignature from '@gnosis.pm/safe-core-sdk/dist/src/utils/signatures/SafeSignature'; import SafeMessage from '@safe-global/protocol-kit/dist/src/utils/messages/SafeMessage'; -import { EIP712TypedData } from '@safe-global/types-kit'; -import SafeApiKit, { - EIP712TypedData as EIP712TypedDataNew, -} from '@safe-global/api-kit'; import { adjustVInSignature, buildSignatureBytes, @@ -602,7 +598,7 @@ class GnosisKeyring extends EventEmitter { provider: any; version: string; networkId: string; - message: string | EIP712TypedData; + message: ConstructorParameters[0]; }) { if ( !this.accounts.find( @@ -689,9 +685,7 @@ class GnosisKeyring extends EventEmitter { ) { throw new Error('No message in Gnosis keyring'); } - const apiKit = new SafeApiKit({ - chainId: BigInt(this.safeInstance.network), - }); + const apiKit = Safe.createSafeApiKit(this.safeInstance.network); signature = await adjustVInSignature( SigningMethod.ETH_SIGN_TYPED_DATA, signature diff --git a/src/constant/index.ts b/src/constant/index.ts index 5678c865ea4..a1f1fc31534 100644 --- a/src/constant/index.ts +++ b/src/constant/index.ts @@ -1377,7 +1377,7 @@ export const BRAND_ALIAN_TYPE_TEXT = { [KEYRING_CLASS.HARDWARE.IMKEY]: 'imKey', }; -export const GNOSIS_SUPPORT_CHAINS = ensureChainListValid([ +export const GNOSIS_SUPPORT_CHAINS = [ CHAINS_ENUM.ETH, CHAINS_ENUM.BSC, CHAINS_ENUM.POLYGON, @@ -1393,7 +1393,11 @@ export const GNOSIS_SUPPORT_CHAINS = ensureChainListValid([ CHAINS_ENUM.SCRL, CHAINS_ENUM.LINEA, 'XLAYER', -]); + CHAINS_ENUM.MANTLE, + 'WORLD', + CHAINS_ENUM.BLAST, + 'SONIC', +]; export const COBO_ARGUS_SUPPORT_CHAINS = ensureChainListValid([ CHAINS_ENUM.ETH, diff --git a/src/ui/hooks/useGnosisPendingCount.ts b/src/ui/hooks/useGnosisPendingCount.ts index 08ba2380cd2..c63a9adcd8a 100644 --- a/src/ui/hooks/useGnosisPendingCount.ts +++ b/src/ui/hooks/useGnosisPendingCount.ts @@ -1,8 +1,7 @@ -import { SafeMessage } from '@safe-global/api-kit'; import { useRequest } from 'ahooks'; import type { Options } from 'ahooks/lib/useRequest/src/types'; -import { useWallet } from '../utils'; import { sum } from 'lodash'; +import { useWallet } from '../utils'; export const useGnosisPendingCount = ( params: { address?: string }, diff --git a/src/ui/hooks/useGnosisPendingMessages.ts b/src/ui/hooks/useGnosisPendingMessages.ts index c23a7696a5e..abe919fe7c1 100644 --- a/src/ui/hooks/useGnosisPendingMessages.ts +++ b/src/ui/hooks/useGnosisPendingMessages.ts @@ -1,4 +1,3 @@ -import { SafeMessage } from '@safe-global/api-kit'; import { useRequest } from 'ahooks'; import type { Options } from 'ahooks/lib/useRequest/src/types'; import { useWallet } from '../utils'; @@ -6,15 +5,9 @@ import { useWallet } from '../utils'; export const useGnosisPendingMessages = ( params: { address?: string }, options?: Options< - | { - total: number; - results: { - networkId: string; - messages: SafeMessage[]; - }[]; - } - | undefined - | null, + Awaited< + ReturnType['getGnosisAllPendingMessages']> + >, any[] > ) => { @@ -25,6 +18,7 @@ export const useGnosisPendingMessages = ( if (address) { return wallet.getGnosisAllPendingMessages(address); } + return null; }, { refreshDeps: [address], diff --git a/src/ui/views/AddressDetail/GnosisSafeInfo.tsx b/src/ui/views/AddressDetail/GnosisSafeInfo.tsx index b1c0b7c2e57..4c4a9d24b00 100644 --- a/src/ui/views/AddressDetail/GnosisSafeInfo.tsx +++ b/src/ui/views/AddressDetail/GnosisSafeInfo.tsx @@ -130,7 +130,7 @@ export const GnonisSafeInfo = ({ <>
-
+
{t('page.addressDetail.admins')}
diff --git a/src/ui/views/AddressDetail/style.less b/src/ui/views/AddressDetail/style.less index 7400e9810ca..bfc8205577b 100644 --- a/src/ui/views/AddressDetail/style.less +++ b/src/ui/views/AddressDetail/style.less @@ -6,7 +6,7 @@ .tabs { display: flex; - gap: 16px 10px; + gap: 8px 10px; flex-wrap: wrap; padding-bottom: 8px; @@ -127,7 +127,7 @@ font-weight: 400; font-size: 14px; line-height: 20px; - color: var(--r-neutral-body, #D3D8E0); + color: var(--r-neutral-body, #d3d8e0); margin-bottom: 20px; } diff --git a/src/ui/views/Approval/components/TxComponents/GnosisDrawer.tsx b/src/ui/views/Approval/components/TxComponents/GnosisDrawer.tsx index 97cc2cf476f..4eb137f1d29 100644 --- a/src/ui/views/Approval/components/TxComponents/GnosisDrawer.tsx +++ b/src/ui/views/Approval/components/TxComponents/GnosisDrawer.tsx @@ -1,5 +1,4 @@ -import { BasicSafeInfo } from '@rabby-wallet/gnosis-sdk'; -import { SafeMessage } from '@safe-global/api-kit'; +import { BasicSafeInfo, SafeMessage } from '@rabby-wallet/gnosis-sdk'; import { Button } from 'antd'; import { Account } from 'background/service/preference'; import clsx from 'clsx'; diff --git a/src/ui/views/Approval/hooks/useCheckCurrentSafeMessage.ts b/src/ui/views/Approval/hooks/useCheckCurrentSafeMessage.ts index 23386f79226..3c043aae76b 100644 --- a/src/ui/views/Approval/hooks/useCheckCurrentSafeMessage.ts +++ b/src/ui/views/Approval/hooks/useCheckCurrentSafeMessage.ts @@ -1,6 +1,6 @@ import { KEYRING_TYPE } from '@/constant'; import { useWallet } from '@/ui/utils'; -import { SafeMessage } from '@safe-global/api-kit'; +import { SafeMessage } from '@rabby-wallet/gnosis-sdk'; import { useRequest } from 'ahooks'; import type { Options } from 'ahooks/lib/useRequest/src/types'; import { useTranslation } from 'react-i18next'; diff --git a/src/ui/views/GnosisQueue/components/GnosisMessageQueue/GnosisMessageExplain.tsx b/src/ui/views/GnosisQueue/components/GnosisMessageQueue/GnosisMessageExplain.tsx index e23130be9f2..6f5ba9cd1c9 100644 --- a/src/ui/views/GnosisQueue/components/GnosisMessageQueue/GnosisMessageExplain.tsx +++ b/src/ui/views/GnosisQueue/components/GnosisMessageQueue/GnosisMessageExplain.tsx @@ -3,7 +3,7 @@ import { useWallet } from '@/ui/utils'; import { getActionTypeText as getActionTypedDataTypeText } from '@/ui/views/Approval/components/TypedDataActions/utils'; import { getActionTypeText } from '@/ui/views/Approval/components/TextActions/utils'; import { parseAction } from '@rabby-wallet/rabby-action'; -import { SafeMessage } from '@safe-global/api-kit'; +import { SafeMessage } from '@rabby-wallet/gnosis-sdk'; import { useRequest } from 'ahooks'; import { Button, Skeleton } from 'antd'; import { isString } from 'lodash'; diff --git a/src/ui/views/GnosisQueue/components/GnosisMessageQueue/GnosisMessageQueueConfirmations.tsx b/src/ui/views/GnosisQueue/components/GnosisMessageQueue/GnosisMessageQueueConfirmations.tsx index c807aafb16d..d6b48465d58 100644 --- a/src/ui/views/GnosisQueue/components/GnosisMessageQueue/GnosisMessageQueueConfirmations.tsx +++ b/src/ui/views/GnosisQueue/components/GnosisMessageQueue/GnosisMessageQueueConfirmations.tsx @@ -8,7 +8,7 @@ import clsx from 'clsx'; import React, { useEffect, useMemo, useState } from 'react'; import { useTranslation } from 'react-i18next'; -import { SafeMessage } from '@safe-global/api-kit'; +import { SafeMessage } from '@rabby-wallet/gnosis-sdk'; import IconChecked from 'ui/assets/checked.svg'; import IconTagYou from 'ui/assets/tag-you.svg'; import IconUnCheck from 'ui/assets/uncheck.svg'; diff --git a/src/ui/views/GnosisQueue/components/GnosisMessageQueue/GnosisMessageQueueItem.tsx b/src/ui/views/GnosisQueue/components/GnosisMessageQueue/GnosisMessageQueueItem.tsx index 9675e28a2af..774969c8488 100644 --- a/src/ui/views/GnosisQueue/components/GnosisMessageQueue/GnosisMessageQueueItem.tsx +++ b/src/ui/views/GnosisQueue/components/GnosisMessageQueue/GnosisMessageQueueItem.tsx @@ -6,7 +6,7 @@ import React, { useMemo } from 'react'; import { useTranslation } from 'react-i18next'; import { findChain } from '@/utils/chain'; -import { SafeMessage } from '@safe-global/api-kit'; +import { SafeMessage } from '@rabby-wallet/gnosis-sdk'; import { useRequest } from 'ahooks'; import { timeago, useWallet } from 'ui/utils'; import { stringToHex } from 'viem'; diff --git a/src/ui/views/GnosisQueue/components/GnosisMessageQueue/GnosisMessageQueueList.tsx b/src/ui/views/GnosisQueue/components/GnosisMessageQueue/GnosisMessageQueueList.tsx index 1ee202466cd..2e1e7a88d6e 100644 --- a/src/ui/views/GnosisQueue/components/GnosisMessageQueue/GnosisMessageQueueList.tsx +++ b/src/ui/views/GnosisQueue/components/GnosisMessageQueue/GnosisMessageQueueList.tsx @@ -11,7 +11,7 @@ import { useAccount } from '@/ui/store-hooks'; import { findChain } from '@/utils/chain'; import { LoadingOutlined } from '@ant-design/icons'; import { SafeTransactionDataPartial } from '@gnosis.pm/safe-core-sdk-types'; -import { SafeMessage } from '@safe-global/api-kit'; +import { SafeMessage } from '@rabby-wallet/gnosis-sdk'; import { CHAINS_ENUM } from 'consts'; import { Virtuoso } from 'react-virtuoso'; import { isSameAddress, useWallet } from 'ui/utils'; diff --git a/src/ui/views/GnosisQueue/components/GnosisMessageQueue/index.tsx b/src/ui/views/GnosisQueue/components/GnosisMessageQueue/index.tsx index 3fb3395f4b2..1a0abd8fb1f 100644 --- a/src/ui/views/GnosisQueue/components/GnosisMessageQueue/index.tsx +++ b/src/ui/views/GnosisQueue/components/GnosisMessageQueue/index.tsx @@ -2,7 +2,7 @@ import { useGnosisNetworks } from '@/ui/hooks/useGnosisNetworks'; import { useGnosisPendingMessages } from '@/ui/hooks/useGnosisPendingMessages'; import { useAccount } from '@/ui/store-hooks'; import { findChain, findChainByEnum } from '@/utils/chain'; -import { SafeMessage } from '@safe-global/api-kit'; +import { SafeMessage } from '@rabby-wallet/gnosis-sdk'; import clsx from 'clsx'; import { CHAINS_ENUM } from 'consts'; import { sortBy } from 'lodash'; diff --git a/src/ui/views/GnosisQueue/style.less b/src/ui/views/GnosisQueue/style.less index dfedae11843..16221da16a8 100644 --- a/src/ui/views/GnosisQueue/style.less +++ b/src/ui/views/GnosisQueue/style.less @@ -26,7 +26,7 @@ .tabs { display: flex; - gap: 20px 10px; + gap: 10px 10px; flex-wrap: wrap; &-container { background-color: var(--r-neutral-bg-2, #f5f6fa); diff --git a/yarn.lock b/yarn.lock index 173bb7c08b7..0b5b27e3b00 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4274,6 +4274,13 @@ dependencies: "@noble/hashes" "1.5.0" +"@noble/curves@^1.6.0": + version "1.7.0" + resolved "https://registry.yarnpkg.com/@noble/curves/-/curves-1.7.0.tgz#0512360622439256df892f21d25b388f52505e45" + integrity sha512-UTMhXK9SeDhFJVrHeUJ5uZlI6ajXg10O6Ddocf9S6GjbSBVZsJo88HzKwXznNfGpMTRDyJkqMjNDPYgf0qFWnw== + dependencies: + "@noble/hashes" "1.6.0" + "@noble/hashes@1.1.2": version "1.1.2" resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.1.2.tgz#e9e035b9b166ca0af657a7848eb2718f0f22f183" @@ -4304,6 +4311,11 @@ resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.5.0.tgz#abadc5ca20332db2b1b2aa3e496e9af1213570b0" integrity sha512-1j6kQFb7QRru7eKN3ZDvRcP13rugwdxZqCjbiAVZfIJwgj2A65UmT4TgARXGlXgnRkORLTDTrO19ZErt7+QXgA== +"@noble/hashes@1.6.0": + version "1.6.0" + resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.6.0.tgz#d4bfb516ad6e7b5111c216a5cc7075f4cf19e6c5" + integrity sha512-YUULf0Uk4/mAA89w+k3+yUYh6NrEvxZa5T6SY3wlMvE2chHkxFUUIDI8/XW1QSC357iA5pSnqt7XEhvFOqmDyQ== + "@noble/hashes@^1.1.2": version "1.3.0" resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.3.0.tgz#085fd70f6d7d9d109671090ccae1d3bec62554a1" @@ -4548,6 +4560,15 @@ "@parcel/watcher-win32-ia32" "2.4.1" "@parcel/watcher-win32-x64" "2.4.1" +"@peculiar/asn1-schema@^2.3.13": + version "2.3.13" + resolved "https://registry.yarnpkg.com/@peculiar/asn1-schema/-/asn1-schema-2.3.13.tgz#ec8509cdcbc0da3abe73fd7e690556b57a61b8f4" + integrity sha512-3Xq3a01WkHRZL8X04Zsfg//mGaA21xlL4tlVn4v2xGT0JStiztATRkMwa5b+f/HXmY2smsiLXYK46Gwgzvfg3g== + dependencies: + asn1js "^3.0.5" + pvtsutils "^1.3.5" + tslib "^2.6.2" + "@pkgjs/parseargs@^0.11.0": version "0.11.0" resolved "https://registry.yarnpkg.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33" @@ -4709,10 +4730,10 @@ events "^3.3.0" web3-utils "^1.6.0" -"@rabby-wallet/gnosis-sdk@1.3.9": - version "1.3.9" - resolved "https://registry.yarnpkg.com/@rabby-wallet/gnosis-sdk/-/gnosis-sdk-1.3.9.tgz#9e773fa98d69979823594ebdaa3d68a51bbfcc22" - integrity sha512-9hVB6qHHIfCfDnhGVh1GLD0AUVdsJf3kMFiJ66dWfHYukmsTD0GHfMbNURdGYIZv5923NBjdGxxlnZYHKgovFg== +"@rabby-wallet/gnosis-sdk@1.3.10": + version "1.3.10" + resolved "https://registry.yarnpkg.com/@rabby-wallet/gnosis-sdk/-/gnosis-sdk-1.3.10.tgz#8dfe8776e1fad7950b7247ba5b9d5657f78dd268" + integrity sha512-VatAZIwJmZD6VEsct9RX1/9BGYNAJi/CXn+PpUeRe1N8ArLL4Ig+4J3U2iSx6UyovZykT40DWLjkUfMq2T6bfQ== dependencies: "@ethersproject/bignumber" "5.5.0" "@ethersproject/bytes" "5.5.0" @@ -4721,11 +4742,11 @@ "@ethersproject/solidity" "5.5.0" "@gnosis.pm/safe-core-sdk" "1.0.0" "@gnosis.pm/safe-core-sdk-types" "0.1.1" - "@safe-global/api-kit" "2.5.2" + "@safe-global/api-kit" "2.5.6" "@safe-global/protocol-kit" "5.0.2" - "@safe-global/safe-deployments" "1.37.2" - "@safe-global/sdk-starter-kit" "1.0.2" - "@safe-global/types-kit" "1.0.0" + "@safe-global/safe-deployments" "1.37.22" + "@safe-global/sdk-starter-kit" "1.1.1" + "@safe-global/types-kit" "1.0.1" axios "0.24.0" bignumber.js "9.0.2" ethereumjs-util "7.1.3" @@ -4902,23 +4923,13 @@ dependencies: reselect "^4.0.0" -"@safe-global/api-kit@2.5.2": - version "2.5.2" - resolved "https://registry.yarnpkg.com/@safe-global/api-kit/-/api-kit-2.5.2.tgz#53228d66b3118c7f41fdbef21a0b8ed2885260db" - integrity sha512-+3YTBzrZKsXjJ5oW7XyI5j4UR78TLDWSkIGT4Qefq96mX+GYNkfg981toLTEtPm8FKa0RV6ImDhUtnunFzE9Pg== - dependencies: - "@safe-global/protocol-kit" "^5.0.2" - "@safe-global/types-kit" "^1.0.0" - node-fetch "^2.7.0" - viem "^2.21.8" - -"@safe-global/api-kit@2.5.3", "@safe-global/api-kit@^2.5.2": - version "2.5.3" - resolved "https://registry.yarnpkg.com/@safe-global/api-kit/-/api-kit-2.5.3.tgz#8b0e996836a55e1c4cac6609b97a46c48bcb58fc" - integrity sha512-BHKKKohtM6cqtWmu2BIBl5YVMFeIzE1kBe2kfDi0JG9UbzTKYUYU8d/RnteFe5Nj/KiO7F7bJ708Z7ZxQ9Ap0g== +"@safe-global/api-kit@2.5.6", "@safe-global/api-kit@^2.5.6": + version "2.5.6" + resolved "https://registry.yarnpkg.com/@safe-global/api-kit/-/api-kit-2.5.6.tgz#d9c79835330f166ee823fc0622991f579a080fba" + integrity sha512-rT/RXBavmUbFFH4ojIjKRPhatZb1mwDzddSLKYQbTlFyNGsnrPKrAdcEyjxcNT5+aZnDCnbywlDzg55OtJAmUg== dependencies: - "@safe-global/protocol-kit" "^5.0.3" - "@safe-global/types-kit" "^1.0.0" + "@safe-global/protocol-kit" "^5.1.1" + "@safe-global/types-kit" "^1.0.1" node-fetch "^2.7.0" viem "^2.21.8" @@ -4935,7 +4946,7 @@ semver "^7.6.3" viem "^2.21.8" -"@safe-global/protocol-kit@5.0.3", "@safe-global/protocol-kit@^5.0.2", "@safe-global/protocol-kit@^5.0.3": +"@safe-global/protocol-kit@5.0.3": version "5.0.3" resolved "https://registry.yarnpkg.com/@safe-global/protocol-kit/-/protocol-kit-5.0.3.tgz#187cfdeaf892c832265cb356d0ef5e230cb8fc4f" integrity sha512-xVpuj1Ge/XYdLucPe36MXl09yK83f3drPqFK0UPhrONg//SP/K/sgyXnKy5o4zJrjidNV9V0PV7Xw84HOqOxtg== @@ -4948,21 +4959,36 @@ semver "^7.6.3" viem "^2.21.8" -"@safe-global/relay-kit@^3.2.2": - version "3.2.3" - resolved "https://registry.yarnpkg.com/@safe-global/relay-kit/-/relay-kit-3.2.3.tgz#1c3c2749747d90b09b76763e7ef7c8443395a267" - integrity sha512-jA72DaOC8p/jgEK3kmXyYwqsiAvGdEcHy60owVvsWjkJXSaBFPkPAwKlawnhbmE+b5cb11yNJQ22WvVO0I5+PQ== +"@safe-global/protocol-kit@^5.1.1": + version "5.1.1" + resolved "https://registry.yarnpkg.com/@safe-global/protocol-kit/-/protocol-kit-5.1.1.tgz#d4200143f59da4d4a83be52ed1842482020491b2" + integrity sha512-NGtZyIX5IYqQrAZjgHhIN2aTKNn4qjfwfSL/wBjeIqX6KcdYoywLHsDOwXbsYO9TPRFcerGgVQFMEX+2XVCDpQ== + dependencies: + "@safe-global/safe-deployments" "^1.37.22" + "@safe-global/safe-modules-deployments" "^2.2.4" + "@safe-global/types-kit" "^1.0.1" + abitype "^1.0.2" + semver "^7.6.3" + viem "^2.21.8" + optionalDependencies: + "@noble/curves" "^1.6.0" + "@peculiar/asn1-schema" "^2.3.13" + +"@safe-global/relay-kit@^3.3.1": + version "3.3.1" + resolved "https://registry.yarnpkg.com/@safe-global/relay-kit/-/relay-kit-3.3.1.tgz#43ec2d18751f5e1e1a8ed5c67c1073a63855511b" + integrity sha512-qbe/RKk/V+5KQ++SpBjRrcvnOFAFBGk9j+V9Ssy+It4UV05KwV2rab/JkHFitRokR6hpEvibQrnZwqB33Nl7ew== dependencies: "@gelatonetwork/relay-sdk" "^5.5.0" - "@safe-global/protocol-kit" "^5.0.3" + "@safe-global/protocol-kit" "^5.1.1" "@safe-global/safe-modules-deployments" "^2.2.4" - "@safe-global/types-kit" "^1.0.0" + "@safe-global/types-kit" "^1.0.1" viem "^2.21.8" -"@safe-global/safe-deployments@1.37.2": - version "1.37.2" - resolved "https://registry.yarnpkg.com/@safe-global/safe-deployments/-/safe-deployments-1.37.2.tgz#d63947bf631d63f5991f3732fad08b17b7264505" - integrity sha512-kWRim5vY9W/yNKUUehUQDhCHz7NWzXjhkpMDvvnrrkEn9U461zwCcmJmPVnPrjnaY4dPpJsGZSzUuU4+uxH+vg== +"@safe-global/safe-deployments@1.37.22", "@safe-global/safe-deployments@^1.37.22": + version "1.37.22" + resolved "https://registry.yarnpkg.com/@safe-global/safe-deployments/-/safe-deployments-1.37.22.tgz#e26d4837a74ec92eb75cfb2066ccf237085eee6b" + integrity sha512-acUBJ22qqivSjHOwa8laQuHckqpWDjphjdC3zPhUN6G/swHe1WJHN5F2sodtNIjEyRxM73JRRJFsLYfb0EhSAQ== dependencies: semver "^7.6.2" @@ -4978,18 +5004,25 @@ resolved "https://registry.yarnpkg.com/@safe-global/safe-modules-deployments/-/safe-modules-deployments-2.2.4.tgz#6e3b22af3a4eeba8e0a8f0952e575d25c5be216e" integrity sha512-m396ZrBPhZVYkapTTIuizyOOtoZsCKbicl0ztgDFfDbi7KbS6AtDP6cV89AYosQxUQS+v0q4ksQd30/j3L1BtQ== -"@safe-global/sdk-starter-kit@1.0.2": - version "1.0.2" - resolved "https://registry.yarnpkg.com/@safe-global/sdk-starter-kit/-/sdk-starter-kit-1.0.2.tgz#a67f7ceb9c7e1522d30fb69ed1459fd08ce72a7f" - integrity sha512-WdbcaWlkF7uEWWN9OOa4Jp1b0UCyBluoScdmfoFO+Mv9WVH+lbz9qdp0K4+4IMRIpkR1n+MppGMd9xdjAV4XpA== +"@safe-global/sdk-starter-kit@1.1.1": + version "1.1.1" + resolved "https://registry.yarnpkg.com/@safe-global/sdk-starter-kit/-/sdk-starter-kit-1.1.1.tgz#6d27306d3b11f3b928bd8c82175c592d59e116f5" + integrity sha512-aOrfxTecxWwAVrMLbxQ/Usvkc8fQBfvtf1/7kRuA9XVw4nP0DyriZiBvjEqRA0lYv8vuvU71A35JxO7h44PbbQ== dependencies: - "@safe-global/api-kit" "^2.5.2" - "@safe-global/protocol-kit" "^5.0.2" - "@safe-global/relay-kit" "^3.2.2" - "@safe-global/types-kit" "^1.0.0" + "@safe-global/api-kit" "^2.5.6" + "@safe-global/protocol-kit" "^5.1.1" + "@safe-global/relay-kit" "^3.3.1" + "@safe-global/types-kit" "^1.0.1" viem "^2.21.8" -"@safe-global/types-kit@1.0.0", "@safe-global/types-kit@^1.0.0": +"@safe-global/types-kit@1.0.1", "@safe-global/types-kit@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@safe-global/types-kit/-/types-kit-1.0.1.tgz#f725e9f3f7b9ed0a052824348962fe8e16cf924d" + integrity sha512-T1mAgUVjtGehpwcZuROHgCx3DJHnaH0d2pSzYNcsEPvXlffu3lfCRTbrlmyEAVMEKtHaNvl7//v+GJKeLIeKhw== + dependencies: + abitype "^1.0.2" + +"@safe-global/types-kit@^1.0.0": version "1.0.0" resolved "https://registry.yarnpkg.com/@safe-global/types-kit/-/types-kit-1.0.0.tgz#d1f29d65a8ac22f03b0cd3ab54fb518dcf7a85c3" integrity sha512-jZNUeHbWobeVrURbcEvfas4Q1IDasQni5UYm2umUtAR6SBDazp1kGni8IjZPRKq3+8q+fYwu9FmKpX50rUYn3w== @@ -7932,6 +7965,15 @@ asn1.js@^5.2.0: minimalistic-assert "^1.0.0" safer-buffer "^2.1.0" +asn1js@^3.0.5: + version "3.0.5" + resolved "https://registry.yarnpkg.com/asn1js/-/asn1js-3.0.5.tgz#5ea36820443dbefb51cc7f88a2ebb5b462114f38" + integrity sha512-FVnvrKJwpt9LP2lAMl8qZswRNm3T4q9CON+bxldk2iwk3FFpuwhx2FfinyitizWHsVYyaY+y5JzDR0rCMV5yTQ== + dependencies: + pvtsutils "^1.3.2" + pvutils "^1.1.3" + tslib "^2.4.0" + assert@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/assert/-/assert-2.0.0.tgz#95fc1c616d48713510680f2eaf2d10dd22e02d32" @@ -17056,6 +17098,18 @@ pushdata-bitcoin@^1.0.1: dependencies: bitcoin-ops "^1.3.0" +pvtsutils@^1.3.2, pvtsutils@^1.3.5: + version "1.3.6" + resolved "https://registry.yarnpkg.com/pvtsutils/-/pvtsutils-1.3.6.tgz#ec46e34db7422b9e4fdc5490578c1883657d6001" + integrity sha512-PLgQXQ6H2FWCaeRak8vvk1GW462lMxB5s3Jm673N82zI4vqtVUPuZdffdZbPDFRoU8kAhItWFtPCWiPpp4/EDg== + dependencies: + tslib "^2.8.1" + +pvutils@^1.1.3: + version "1.1.3" + resolved "https://registry.yarnpkg.com/pvutils/-/pvutils-1.1.3.tgz#f35fc1d27e7cd3dfbd39c0826d173e806a03f5a3" + integrity sha512-pMpnA0qRdFp32b1sJl1wOJNxZLQ2cbQx+k6tjNtZ8CpvVhNqEPRgivZ2WOUev2YMajecdH7ctUPDvEe87nariQ== + q@^1.1.2: version "1.5.1" resolved "https://registry.yarnpkg.com/q/-/q-1.5.1.tgz#7e32f75b41381291d04611f1bf14109ac00651d7" @@ -19211,8 +19265,7 @@ string-length@^4.0.1: char-regex "^1.0.2" strip-ansi "^6.0.0" -"string-width-cjs@npm:string-width@^4.2.0", string-width@^4.2.3: - name string-width-cjs +"string-width-cjs@npm:string-width@^4.2.0": version "4.2.3" resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== @@ -19239,6 +19292,15 @@ string-width@^4.1.0, string-width@^4.2.0: is-fullwidth-code-point "^3.0.0" strip-ansi "^6.0.0" +string-width@^4.2.3: + version "4.2.3" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" + integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== + dependencies: + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^6.0.1" + string-width@^5.0.1, string-width@^5.1.2: version "5.1.2" resolved "https://registry.yarnpkg.com/string-width/-/string-width-5.1.2.tgz#14f8daec6d81e7221d2a357e668cab73bdbca794" @@ -19291,8 +19353,7 @@ string_decoder@~1.1.1: dependencies: safe-buffer "~5.1.0" -"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.1: - name strip-ansi-cjs +"strip-ansi-cjs@npm:strip-ansi@^6.0.1": version "6.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== @@ -19313,6 +19374,13 @@ strip-ansi@^6.0.0: dependencies: ansi-regex "^5.0.0" +strip-ansi@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" + integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== + dependencies: + ansi-regex "^5.0.1" + strip-ansi@^7.0.0: version "7.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-7.0.1.tgz#61740a08ce36b61e50e65653f07060d000975fb2" @@ -19950,6 +20018,11 @@ tslib@^2.0.3, tslib@^2.1.0: resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.2.0.tgz#fb2c475977e35e241311ede2693cee1ec6698f5c" integrity sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w== +tslib@^2.4.0, tslib@^2.6.2, tslib@^2.8.1: + version "2.8.1" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.8.1.tgz#612efe4ed235d567e8aba5f2a5fab70280ade83f" + integrity sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w== + tslib@^2.4.1: version "2.6.2" resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.2.tgz#703ac29425e7b37cd6fd456e92404d46d1f3e4ae" @@ -21310,8 +21383,7 @@ wildcard@^2.0.0: resolved "https://registry.yarnpkg.com/wildcard/-/wildcard-2.0.0.tgz#a77d20e5200c6faaac979e4b3aadc7b3dd7f8fec" integrity sha512-JcKqAHLPxcdb9KM49dufGXn2x3ssnfjbcaQdLlfZsL9rH9wgDQjUtDxbo8NE0F6SFvydeu1VhZe7hZuHsB2/pw== -"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0: - name wrap-ansi-cjs +"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0": version "7.0.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== @@ -21328,6 +21400,15 @@ wrap-ansi@^2.0.0: string-width "^1.0.1" strip-ansi "^3.0.1" +wrap-ansi@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" + integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== + dependencies: + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + wrap-ansi@^8.1.0: version "8.1.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214"