From d8726a34dcb7411299bf0899f5df3a0f4716ba4c Mon Sep 17 00:00:00 2001 From: Hodor Date: Tue, 30 Jul 2024 20:42:36 +0800 Subject: [PATCH] feat: add safe support for linea and scroll chain --- package.json | 2 +- src/constant/index.ts | 2 ++ yarn.lock | 25 +++++++++++++++---------- 3 files changed, 18 insertions(+), 11 deletions(-) diff --git a/package.json b/package.json index ff01b7bae3b..72e8114d435 100644 --- a/package.json +++ b/package.json @@ -58,7 +58,7 @@ "@rabby-wallet/eth-trezor-keyring": "2.5.1", "@rabby-wallet/eth-walletconnect-keyring": "2.1.3", "@rabby-wallet/eth-watch-keyring": "1.0.0", - "@rabby-wallet/gnosis-sdk": "1.3.6", + "@rabby-wallet/gnosis-sdk": "1.3.7", "@rabby-wallet/page-provider": "0.4.0", "@rabby-wallet/rabby-api": "0.7.23", "@rabby-wallet/rabby-security-engine": "2.0.4", diff --git a/src/constant/index.ts b/src/constant/index.ts index 42c1d9c1322..3cc0e067eb7 100644 --- a/src/constant/index.ts +++ b/src/constant/index.ts @@ -1357,6 +1357,8 @@ export const GNOSIS_SUPPORT_CHAINS = ensureChainListValid([ CHAINS_ENUM.CELO, CHAINS_ENUM.PZE, CHAINS_ENUM.ERA, + CHAINS_ENUM.SCRL, + CHAINS_ENUM.LINEA, ]); export const COBO_ARGUS_SUPPORT_CHAINS = ensureChainListValid([ diff --git a/yarn.lock b/yarn.lock index 4fa3f554c9d..167da32bbca 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4681,10 +4681,10 @@ events "^3.3.0" web3-utils "^1.6.0" -"@rabby-wallet/gnosis-sdk@1.3.6": - version "1.3.6" - resolved "https://registry.yarnpkg.com/@rabby-wallet/gnosis-sdk/-/gnosis-sdk-1.3.6.tgz#d7aa6430ad2cfd5e838ed5b4d809cee23e3afd03" - integrity sha512-mhhx0/yfGLXs2014oo0epEYowyb2QLx964iB2UdqELnDZ0M/NlimqK60+X4sf4FecO3hGHidnFtxgQrMb/f/mg== +"@rabby-wallet/gnosis-sdk@1.3.7": + version "1.3.7" + resolved "https://registry.yarnpkg.com/@rabby-wallet/gnosis-sdk/-/gnosis-sdk-1.3.7.tgz#310fdf75e7042b7ad3466a6ca47505915858a41e" + integrity sha512-+P2oBOSViZxERwbnakaBmqbuwa6Wbi+9thLb6E8wxneVsDmdVlBcVgAovSe8Bpre+I6AntV3jm+Q/uIjd3yhNQ== dependencies: "@ethersproject/bignumber" "^5.5.0" "@ethersproject/bytes" "^5.5.0" @@ -4693,7 +4693,7 @@ "@ethersproject/solidity" "^5.5.0" "@gnosis.pm/safe-core-sdk" "^1.0.0" "@gnosis.pm/safe-core-sdk-types" "^0.1.1" - "@safe-global/safe-deployments" "^1.25.0" + "@safe-global/safe-deployments" "^1.37.2" axios "^0.24.0" bignumber.js "^9.0.2" ethereumjs-util "^7.1.3" @@ -4866,12 +4866,12 @@ dependencies: reselect "^4.0.0" -"@safe-global/safe-deployments@^1.25.0": - version "1.25.0" - resolved "https://registry.yarnpkg.com/@safe-global/safe-deployments/-/safe-deployments-1.25.0.tgz#882f0703cd4dd86cc19238319d77459ded09ec88" - integrity sha512-j7Ml1MVZw73XMTLbyIjo+Gvohwg5HYi8WM6b3vo+AkYEO/X4TNY8eJ0T0Awip5PO9MNyZymF3QY065uccQP53A== +"@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== dependencies: - semver "^7.3.7" + semver "^7.6.2" "@scure/base@^1.1.3": version "1.1.3" @@ -16735,6 +16735,11 @@ semver@^7.3.8, semver@^7.5.3, semver@^7.5.4: dependencies: lru-cache "^6.0.0" +semver@^7.6.2: + version "7.6.3" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.6.3.tgz#980f7b5550bc175fb4dc09403085627f9eb33143" + integrity sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A== + send@0.18.0: version "0.18.0" resolved "https://registry.yarnpkg.com/send/-/send-0.18.0.tgz#670167cc654b05f5aa4a767f9113bb371bc706be"