diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 445aad2b..3b1a9204 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -22,6 +22,7 @@ jobs: env: RPC_PROVIDER_URL_1: ${{ vars.RPC_PROVIDER_URL_1 }} RPC_PROVIDER_URL_5: ${{ vars.RPC_PROVIDER_URL_5 }} + RPC_PROVIDER_URL_17000: ${{ vars.RPC_PROVIDER_URL_17000 }} WALLETCONNECT_PROJECT_ID: ${{ vars.WALLETCONNECT_PROJECT_ID }} - name: Check types run: yarn types diff --git a/.github/workflows/deploy-pages.yml b/.github/workflows/deploy-pages.yml index 07f0e690..9ee4c29f 100644 --- a/.github/workflows/deploy-pages.yml +++ b/.github/workflows/deploy-pages.yml @@ -54,6 +54,7 @@ jobs: env: RPC_PROVIDER_URL_1: ${{ vars.RPC_PROVIDER_URL_1 }} RPC_PROVIDER_URL_5: ${{ vars.RPC_PROVIDER_URL_5 }} + RPC_PROVIDER_URL_17000: ${{ vars.RPC_PROVIDER_URL_17000 }} WALLETCONNECT_PROJECT_ID: ${{ vars.WALLETCONNECT_PROJECT_ID }} BASE_PATH: ${{ steps.config_pages.outputs.base_path }} - name: Export diff --git a/packages/sdk/package.json b/packages/sdk/package.json index 0570e81e..3b8e07a7 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -102,7 +102,7 @@ "dependencies": { "@ethersproject/bytes": "^5.7.0", "tiny-invariant": "^1.3.1", - "viem": "^1.10.9" + "viem": "^1.15.3" }, "devDependencies": { "@types/fs-extra": "^11.0.1", diff --git a/packages/sdk/src/common/constants.ts b/packages/sdk/src/common/constants.ts index 96ad431b..573d919b 100644 --- a/packages/sdk/src/common/constants.ts +++ b/packages/sdk/src/common/constants.ts @@ -1,11 +1,17 @@ -import { type Address } from 'viem'; +import { type Address, type Chain } from 'viem'; +import { goerli, mainnet, holesky } from 'viem/chains'; export enum CHAINS { Goerli = 5, Mainnet = 1, + Holesky = 17000, } -export const SUPPORTED_CHAINS: CHAINS[] = [CHAINS.Goerli, CHAINS.Mainnet]; +export const SUPPORTED_CHAINS: CHAINS[] = [ + CHAINS.Goerli, + CHAINS.Mainnet, + CHAINS.Holesky, +]; export const SUBMIT_EXTRA_GAS_TRANSACTION_RATIO = 1.05; export const ESTIMATE_ACCOUNT = '0x87c0e047F4e4D3e289A56a36570D4CB957A37Ef1'; @@ -15,6 +21,7 @@ export const LIDO_LOCATOR_BY_CHAIN: { } = { [CHAINS.Mainnet]: '0xC1d0b3DE6792Bf6b4b37EccdcC24e45978Cfd2Eb', [CHAINS.Goerli]: '0x1eDf09b5023DC86737b59dE68a8130De878984f5', + [CHAINS.Holesky]: '0x28FAB2059C713A7F9D8c86Db49f9bb0e96Af1ef8', }; export const LIDO_TOKENS = { @@ -73,3 +80,9 @@ export const PERMIT_MESSAGE_TYPES = { ], Permit: EIP2612_TYPE, } as const; + +export const VIEM_CHAINS: { [key in CHAINS]: Chain } = { + [CHAINS.Mainnet]: mainnet, + [CHAINS.Goerli]: goerli, + [CHAINS.Holesky]: holesky, +}; diff --git a/packages/sdk/src/core/core.ts b/packages/sdk/src/core/core.ts index 1f575bcf..a46b8214 100644 --- a/packages/sdk/src/core/core.ts +++ b/packages/sdk/src/core/core.ts @@ -16,7 +16,6 @@ import { maxUint256, Hash, } from 'viem'; -import { goerli, mainnet } from 'viem/chains'; import invariant from 'tiny-invariant'; import { splitSignature } from '@ethersproject/bytes'; @@ -38,6 +37,7 @@ import { CONTRACTS_BY_TOKENS, LIDO_TOKENS, PERMIT_MESSAGE_TYPES, + VIEM_CHAINS, } from '../common/constants.js'; import { LidoLocatorAbi } from './abi/lidoLocator.js'; @@ -91,7 +91,7 @@ export default class LidoSDKCore { throw new Error('rpcUrls or rpcProvider is required'); } - const chain = chainId === 1 ? mainnet : goerli; + const chain = VIEM_CHAINS[chainId]; const currentRpcProvider = rpcProvider ?? this.createRpcProvider(chain, rpcUrls); const currentWeb3Provider = web3Provider; diff --git a/playground/.env.example b/playground/.env.example index 8755ac1d..bb9f099b 100644 --- a/playground/.env.example +++ b/playground/.env.example @@ -2,12 +2,13 @@ # Public rpc urls RPC_PROVIDER_URL_1 = https://rpc.ankr.com/eth RPC_PROVIDER_URL_5 = https://rpc.ankr.com/eth_goerli +RPC_PROVIDER_URL_17000 = # supported networks for connecting wallet -SUPPORTED_CHAINS=1,5 +SUPPORTED_CHAINS=1,5,17000 # this chain uses when a wallet is not connected -DEFAULT_CHAIN=5 +DEFAULT_CHAIN=17000 # WalletConnect project ID WALLETCONNECT_PROJECT_ID= diff --git a/playground/Dockerfile b/playground/Dockerfile index ae8b30c5..b7c87d95 100644 --- a/playground/Dockerfile +++ b/playground/Dockerfile @@ -16,14 +16,7 @@ RUN rm -rf /app/public/runtime && mkdir /app/public/runtime && chown node /app/p # final image FROM node:16-alpine as base -ARG BASE_PATH="" -ARG SUPPORTED_CHAINS="1" -ARG DEFAULT_CHAIN="1" - -ENV NEXT_TELEMETRY_DISABLED=1 \ - BASE_PATH=$BASE_PATH \ - SUPPORTED_CHAINS=$SUPPORTED_CHAINS \ - DEFAULT_CHAIN=$DEFAULT_CHAIN +ENV NEXT_TELEMETRY_DISABLED=1 WORKDIR /app RUN apk add --no-cache curl=7.83.1-r4 diff --git a/playground/config/rpc.ts b/playground/config/rpc.ts index cb54aea5..d311d8ff 100644 --- a/playground/config/rpc.ts +++ b/playground/config/rpc.ts @@ -8,4 +8,5 @@ export const getBackendRPCPath = (chainId: CHAINS) => { export const backendRPC = { [CHAINS.Mainnet]: getBackendRPCPath(CHAINS.Mainnet), [CHAINS.Goerli]: getBackendRPCPath(CHAINS.Goerli), + [CHAINS.Holesky]: getBackendRPCPath(CHAINS.Holesky), }; diff --git a/playground/env-dynamics.mjs b/playground/env-dynamics.mjs index 0c047a2d..4ce7269d 100644 --- a/playground/env-dynamics.mjs +++ b/playground/env-dynamics.mjs @@ -2,11 +2,12 @@ export const rpcProviderUrls = { 1: process.env[`RPC_PROVIDER_URL_1`], 5: process.env[`RPC_PROVIDER_URL_5`], + 17000: process.env[`RPC_PROVIDER_URL_17000`], }; /** @type number */ -export const defaultChain = parseInt(process.env.DEFAULT_CHAIN, 10) || 5; +export const defaultChain = parseInt(process.env.DEFAULT_CHAIN, 10) || 17000; /** @type number[] */ export const supportedChains = process.env?.SUPPORTED_CHAINS?.split(',').map( (chainId) => parseInt(chainId, 10), -) ?? [1, 5]; +) ?? [1, 5, 17000]; export const walletconnectProjectId = process.env.WALLETCONNECT_PROJECT_ID; diff --git a/playground/package.json b/playground/package.json index 80a2a3a9..f5e2aea9 100644 --- a/playground/package.json +++ b/playground/package.json @@ -16,20 +16,21 @@ "@ethersproject/bignumber": "^5.5.0", "@ethersproject/constants": "^5.5.0", "@ethersproject/units": "^5.6.1", - "@lido-sdk/constants": "^1.6.0", - "@lido-sdk/web3-react": "^2.0.0", + "@lido-sdk/constants": "^3.2.1", + "@lido-sdk/providers": "^1.4.14", + "@lido-sdk/react": "^2.0.3", "@lidofinance/lido-ethereum-sdk": "workspace:*", "@lidofinance/lido-ui": "^3.10.1", "@lidofinance/next-cache-files-middleware": "^0.35.0", "@reef-knot/connect-wallet-modal": "1.6.2", - "@reef-knot/core-react": "1.5.1", + "@reef-knot/core-react": "1.6.0", "@reef-knot/ledger-connector": "1.0.1", "@reef-knot/types": "1.3.0", "@reef-knot/ui-react": "1.0.7", "@reef-knot/wallets-helpers": "1.1.5", "@reef-knot/wallets-icons": "1.0.0", - "@reef-knot/wallets-list": "1.4.4", - "@reef-knot/web3-react": "1.4.2", + "@reef-knot/wallets-list": "1.4.5", + "@reef-knot/web3-react": "1.5.0", "copy-to-clipboard": "^3.3.1", "fs-extra": "^10.1.0", "next": "^13.0.5", diff --git a/playground/providers/web3.tsx b/playground/providers/web3.tsx index 489c1645..9e86ac30 100644 --- a/playground/providers/web3.tsx +++ b/playground/providers/web3.tsx @@ -1,14 +1,14 @@ import { FC, PropsWithChildren } from 'react'; import { ProviderWeb3 } from '@reef-knot/web3-react'; -import { getConnectors } from '@reef-knot/core-react'; +import { getConnectors, holesky } from '@reef-knot/core-react'; import { backendRPC, getBackendRPCPath, dynamics } from 'config'; import { WagmiConfig, createClient, configureChains, Chain } from 'wagmi'; import * as wagmiChains from 'wagmi/chains'; import { getStaticRpcBatchProvider } from '@lido-sdk/providers'; -const wagmiChainsArray = Object.values(wagmiChains); -const supportedChains = wagmiChainsArray.filter( - (chain) => dynamics.supportedChains.includes(chain.id), +const wagmiChainsArray = Object.values({ ...wagmiChains, holesky }); +const supportedChains = wagmiChainsArray.filter((chain) => + dynamics.supportedChains.includes(chain.id), ); const defaultChain = wagmiChainsArray.find( (chain) => chain.id === dynamics.defaultChain, diff --git a/yarn.lock b/yarn.lock index fd9625d2..79a28de9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2331,37 +2331,6 @@ __metadata: languageName: node linkType: hard -"@json-rpc-tools/provider@npm:^1.5.5": - version: 1.7.6 - resolution: "@json-rpc-tools/provider@npm:1.7.6" - dependencies: - "@json-rpc-tools/utils": ^1.7.6 - axios: ^0.21.0 - safe-json-utils: ^1.1.1 - ws: ^7.4.0 - checksum: c60d73511db7f743c3844d499df6a7e243d5f5493127c00fbf9aec74c95d2e80a3033eb22369c428c2deec263a47cd1b334cd76c84859e30355a6dace893a589 - languageName: node - linkType: hard - -"@json-rpc-tools/types@npm:^1.7.6": - version: 1.7.6 - resolution: "@json-rpc-tools/types@npm:1.7.6" - dependencies: - keyvaluestorage-interface: ^1.0.0 - checksum: f23ec7d79a78aa4e896d1dff506108bd3da38015028afd997034e6498c1f3c7bedee70618b0d1a73adf13b4d2a6a91146c2e9505487280b3c376e74f5790e77c - languageName: node - linkType: hard - -"@json-rpc-tools/utils@npm:^1.7.6": - version: 1.7.6 - resolution: "@json-rpc-tools/utils@npm:1.7.6" - dependencies: - "@json-rpc-tools/types": ^1.7.6 - "@pedrouid/environment": ^1.0.1 - checksum: 32cac2e8cbf8a15d95415de8ded483c6206e6df392e129ad51acd90a4842511e931156c59cb26036fb9fae8054e8f20b719a35282304f39cd18683a5293cb67d - languageName: node - linkType: hard - "@ledgerhq/connect-kit-loader@npm:^1.0.1": version: 1.1.2 resolution: "@ledgerhq/connect-kit-loader@npm:1.1.2" @@ -2550,109 +2519,63 @@ __metadata: languageName: node linkType: hard -"@lido-sdk/constants@npm:3.1.0, @lido-sdk/constants@npm:^3.1.0": - version: 3.1.0 - resolution: "@lido-sdk/constants@npm:3.1.0" - dependencies: - tiny-invariant: ^1.1.0 - checksum: 0c8cdda2cfe0f70303eabb90768e176692c74f0a6630c7408a688d03915a935c8be5a28f5f150e99d5de14d36ae38cdccc6eaf4e2cb99b48802ede251cc7aec6 - languageName: node - linkType: hard - -"@lido-sdk/constants@npm:^1.6.0": - version: 1.9.0 - resolution: "@lido-sdk/constants@npm:1.9.0" - dependencies: - tiny-invariant: ^1.1.0 - checksum: d2f76cec8a0b801fb881e7f080d483713b554e6f502e61a8efe808f105aa3b8c0efdf0da19ead22b9dee15533aefabb6dfefd1d2bcdb05a8128dfc34eeb7967d - languageName: node - linkType: hard - -"@lido-sdk/contracts@npm:3.0.1": - version: 3.0.1 - resolution: "@lido-sdk/contracts@npm:3.0.1" +"@lido-sdk/constants@npm:3.2.1, @lido-sdk/constants@npm:^3.2.1": + version: 3.2.1 + resolution: "@lido-sdk/constants@npm:3.2.1" dependencies: - "@lido-sdk/constants": 3.1.0 tiny-invariant: ^1.1.0 - peerDependencies: - "@ethersproject/abstract-signer": 5 - "@ethersproject/contracts": 5 - "@ethersproject/providers": 5 - ethers: 5 - checksum: 5a098c5b50d9bcb70c6fb100d3cf9802d267c659e0c50b3f2ed3c2fdfdf0c96b5ba67c95be245ab571560c31728b4a7a1692c58a71f630d6df9e98e64c78a7d4 + checksum: d577c9b670608356722857c1e56f02969fb36adaea3f247fa057a8eb778984cd7edff061f1e788fa08621aa2b8071ebcaffc1b000a213771293ee1704777800f languageName: node linkType: hard -"@lido-sdk/contracts@npm:3.0.2": - version: 3.0.2 - resolution: "@lido-sdk/contracts@npm:3.0.2" +"@lido-sdk/contracts@npm:3.0.4": + version: 3.0.4 + resolution: "@lido-sdk/contracts@npm:3.0.4" dependencies: - "@lido-sdk/constants": 3.1.0 + "@lido-sdk/constants": 3.2.1 tiny-invariant: ^1.1.0 peerDependencies: "@ethersproject/abstract-signer": 5 "@ethersproject/contracts": 5 "@ethersproject/providers": 5 ethers: 5 - checksum: e733e9778b20587b6e61c1e9b03c8b7e9bed56908a791eea6be3f59ef216dd1443af0b448dea80887439fca78b11126f8d6e30dd35bbf0c18e93111f9030e90e + checksum: ec6d6d907fb7adf7ed9ba70611967661b2d8793c8a959394a05950fa704ff58f92d4a341ac29d823f3ca107d8202e832788f3fc41cc8411d9d668564b312a9a0 languageName: node linkType: hard -"@lido-sdk/helpers@npm:1.4.11": - version: 1.4.11 - resolution: "@lido-sdk/helpers@npm:1.4.11" +"@lido-sdk/helpers@npm:1.5.1": + version: 1.5.1 + resolution: "@lido-sdk/helpers@npm:1.5.1" dependencies: - "@lido-sdk/constants": 3.1.0 + "@lido-sdk/constants": 3.2.1 tiny-invariant: ^1.1.0 peerDependencies: "@ethersproject/bignumber": 5 - checksum: 98cb0881b5c1c858278b6d8995e700ed09871ed028c2d7b8d78cfda6af2ab5ba8eea9e6140506023f9996c4f85f1acfa7a3161a917981be11ac19586ecb5d2ce + checksum: 1207e57e3b072fdf87c7f414dffca0099e0a884410079fef7d631082c8734f3e4420b347409cf8c04eda7d01b6532c638b5598b978ddc612931bed33940edb65 languageName: node linkType: hard -"@lido-sdk/providers@npm:1.4.12, @lido-sdk/providers@npm:^1.4.12": - version: 1.4.12 - resolution: "@lido-sdk/providers@npm:1.4.12" +"@lido-sdk/providers@npm:^1.4.14": + version: 1.4.14 + resolution: "@lido-sdk/providers@npm:1.4.14" dependencies: - "@lido-sdk/constants": 3.1.0 + "@lido-sdk/constants": 3.2.1 peerDependencies: "@ethersproject/logger": 5 "@ethersproject/networks": 5 "@ethersproject/properties": 5 "@ethersproject/providers": 5 - checksum: b1e6a6d27b650493dd050ffe612a9a43d7f27f56994e2a9370dc4b6c533c3af709f2ed578ed4f6b9a93e8445559fbb55f099a79fdff935b3904c2d0c76b1939a - languageName: node - linkType: hard - -"@lido-sdk/react@npm:2.0.0": - version: 2.0.0 - resolution: "@lido-sdk/react@npm:2.0.0" - dependencies: - "@lido-sdk/constants": 3.1.0 - "@lido-sdk/contracts": 3.0.1 - "@lido-sdk/helpers": 1.4.11 - swr: ^1.0.1 - tiny-invariant: ^1.1.0 - tiny-warning: ^1.0.3 - peerDependencies: - "@ethersproject/bignumber": 5 - "@ethersproject/bytes": 5 - "@ethersproject/constants": 5 - "@ethersproject/contracts": 5 - "@ethersproject/providers": 5 - react: ">=16" - react-dom: ">=16" - checksum: b5cce8a2fc5f3f162afd558e8cc867ecad22622a797b834037df326f9e56edfa3dd5672f01ca4a5787de572d12fedc0181f3be2f7be8ba3d44f422f113842c85 + checksum: 701646bc5ac5bb82419aafc8499d841f3aa6babbefd8d9979621f985c2f5ea1ea1667210d8ff0a04f010534a16e7e494cce35516ed16caaf9046c4e227f0baf2 languageName: node linkType: hard -"@lido-sdk/react@npm:^2.0.0": - version: 2.0.1 - resolution: "@lido-sdk/react@npm:2.0.1" +"@lido-sdk/react@npm:^2.0.3": + version: 2.0.3 + resolution: "@lido-sdk/react@npm:2.0.3" dependencies: - "@lido-sdk/constants": 3.1.0 - "@lido-sdk/contracts": 3.0.2 - "@lido-sdk/helpers": 1.4.11 + "@lido-sdk/constants": 3.2.1 + "@lido-sdk/contracts": 3.0.4 + "@lido-sdk/helpers": 1.5.1 swr: ^1.0.1 tiny-invariant: ^1.1.0 tiny-warning: ^1.0.3 @@ -2664,35 +2587,7 @@ __metadata: "@ethersproject/providers": 5 react: ">=16" react-dom: ">=16" - checksum: 16a22ffb3ff2a283a88e8952be19546d17c2714bb802f694a8b70e81c1b18a2ba1a8b8333201b3b5364aeb85147ea29e2d0de3ae9724a955de64a8ec2f522864 - languageName: node - linkType: hard - -"@lido-sdk/web3-react@npm:^2.0.0": - version: 2.0.0 - resolution: "@lido-sdk/web3-react@npm:2.0.0" - dependencies: - "@gnosis.pm/safe-apps-web3-react": 0.6.8 - "@ledgerhq/iframe-provider": 0.4.2 - "@lido-sdk/constants": 3.1.0 - "@lido-sdk/helpers": 1.4.11 - "@lido-sdk/providers": 1.4.12 - "@lido-sdk/react": 2.0.0 - "@web3-react/abstract-connector": 6.0.7 - "@web3-react/core": 6.1.9 - "@web3-react/injected-connector": 6.0.7 - "@web3-react/walletconnect-connector": 6.2.13 - "@web3-react/walletlink-connector": 6.2.14 - tiny-invariant: ^1.1.0 - tiny-warning: ^1.0.3 - ua-parser-js: 1.0.33 - web3-ledgerhq-connector: ^1.2.3 - web3-ledgerhq-frame-connector: ^1.0.1 - peerDependencies: - "@ethersproject/providers": 5 - react: ">=16" - react-dom: ">=16" - checksum: 394a11e7caf5554e9cdb01af7f57aa4505ecaf7a749c9d0b5b378ba8a91f418eeae37bd3794ca2fa92abc683e40f5f87374d23fe8cbbee83422625e2898a626d + checksum: 37ff85cb27dea73e4dc24a54471c60fa8a272ea285931596d91862c88fcd43a60a2088c53bd5ee3069b6151722ef4f7f7401c23edf775ce5cc2f84b14bb2ea29 languageName: node linkType: hard @@ -2732,7 +2627,7 @@ __metadata: rimraf: ^5.0.1 tiny-invariant: ^1.3.1 typescript: 5.1.6 - viem: ^1.10.9 + viem: ^1.15.3 languageName: unknown linkType: soft @@ -3355,13 +3250,6 @@ __metadata: languageName: node linkType: hard -"@pedrouid/environment@npm:^1.0.1": - version: 1.0.1 - resolution: "@pedrouid/environment@npm:1.0.1" - checksum: fd88340ad760f26340a2816c3677f0ca913976e315880891c3de3f028fe64abc9704fb904234dce77a1ff15c22d0b6cbf1d4199a76de6695c2aed8353ce20590 - languageName: node - linkType: hard - "@pkgjs/parseargs@npm:^0.11.0": version: 0.11.0 resolution: "@pkgjs/parseargs@npm:0.11.0" @@ -3450,16 +3338,16 @@ __metadata: languageName: node linkType: hard -"@reef-knot/core-react@npm:1.5.1": - version: 1.5.1 - resolution: "@reef-knot/core-react@npm:1.5.1" +"@reef-knot/core-react@npm:1.6.0": + version: 1.6.0 + resolution: "@reef-knot/core-react@npm:1.6.0" peerDependencies: "@reef-knot/types": ^1.2.1 "@reef-knot/ui-react": ^1.0.4 "@reef-knot/wallets-list": ^1.4.1 react: ">=17" wagmi: ^0.12.19 - checksum: aa79d24858e766ac4add92df00afd1ecf4a48c24872d8d9af7cce6496d6af1104e6d6d0c007d6d77b7f0db7f98760da86392dbd5e453ea875b50aa226f1e1fc0 + checksum: 6e43dd4301eedc68051ff7e90d663b49fc0aeb4fed7c8d5948e41e1f1c7381b007a10554f81d9ae289140d70a394bc5844de22b00ef5acb0a36f1e8b8bb4539b languageName: node linkType: hard @@ -3522,13 +3410,13 @@ __metadata: languageName: node linkType: hard -"@reef-knot/wallet-adapter-bitkeep@npm:1.0.1": - version: 1.0.1 - resolution: "@reef-knot/wallet-adapter-bitkeep@npm:1.0.1" +"@reef-knot/wallet-adapter-bitkeep@npm:1.1.0": + version: 1.1.0 + resolution: "@reef-knot/wallet-adapter-bitkeep@npm:1.1.0" peerDependencies: "@reef-knot/types": ^1.2.1 wagmi: ^0.12.19 - checksum: 7fc243ef50aabb1b6a5261f0c1fd2d3dfb238de87df111a04bdb7d252bb34ec8245caa6d7f1c48a1262391322ddfd7c73842c3db001fae0f27c30098f67be38c + checksum: a26c4b4b148b2bc52d6e81509be1ea642f5096a362995a763d9ae0058d2ac9092d2373fd94610a69d3dd2c5381b5651a92f83988fe6b114a42022f2526576e01 languageName: node linkType: hard @@ -3636,12 +3524,12 @@ __metadata: languageName: node linkType: hard -"@reef-knot/wallets-list@npm:1.4.4": - version: 1.4.4 - resolution: "@reef-knot/wallets-list@npm:1.4.4" +"@reef-knot/wallets-list@npm:1.4.5": + version: 1.4.5 + resolution: "@reef-knot/wallets-list@npm:1.4.5" dependencies: "@reef-knot/wallet-adapter-ambire": 1.2.4 - "@reef-knot/wallet-adapter-bitkeep": 1.0.1 + "@reef-knot/wallet-adapter-bitkeep": 1.1.0 "@reef-knot/wallet-adapter-blockchaincom": 1.2.4 "@reef-knot/wallet-adapter-exodus": 1.2.3 "@reef-knot/wallet-adapter-okx": 1.3.0 @@ -3653,19 +3541,16 @@ __metadata: peerDependencies: "@reef-knot/types": ^1.2.1 react: ">=17" - checksum: d19a626c3ae08f2fe927a6ab9fa6d10691658521f8c2af14a7769d81e373a961ef9f17b82511a1ee4cbd8a18832ac8b868bd28f4ae9ffa548d860b9f1efe5ac9 + checksum: ca6143671354a55eae48407dc87c99481191bf93c66c6723ec23b00269def3af5fd51270f7d6947f3b88c84b2a20fb12ab094833c544a237eafff7feed27ea60 languageName: node linkType: hard -"@reef-knot/web3-react@npm:1.4.2": - version: 1.4.2 - resolution: "@reef-knot/web3-react@npm:1.4.2" +"@reef-knot/web3-react@npm:1.5.0": + version: 1.5.0 + resolution: "@reef-knot/web3-react@npm:1.5.0" dependencies: "@gnosis.pm/safe-apps-web3-react": 0.6.8 "@ledgerhq/iframe-provider": 0.4.2 - "@lido-sdk/constants": ^3.1.0 - "@lido-sdk/providers": ^1.4.12 - "@lido-sdk/react": ^2.0.0 "@web3-react/abstract-connector": 6.0.7 "@web3-react/core": 6.1.9 "@web3-react/injected-connector": 6.0.7 @@ -3675,12 +3560,15 @@ __metadata: tiny-warning: ^1.0.3 peerDependencies: "@ethersproject/providers": 5 + "@lido-sdk/constants": ^3.2.0 + "@lido-sdk/providers": ^1.4.13 + "@lido-sdk/react": ^2.0.2 "@reef-knot/core-react": ^1.4.3 "@reef-knot/ledger-connector": ^1.0.0 react: ">=17" ua-parser-js: ^1.0.33 wagmi: ^0.12.19 - checksum: 1fc8507135af31ff0e80052351c370d2be029f8f1709e8a1a0753d8a4afe4fe1a675839a8199a9d9fcf1fc489b54949d7e0051d460ed8d1bc940ca8a604d83ff + checksum: 778a9cead15aefa02faba8989b6a43eb77b26819ae3e6a7db0d7028a1125ea3486609b915644fe712c4d8c0c17d70730ab222e594af267b9a16e92a4835ae799 languageName: node linkType: hard @@ -4865,31 +4753,6 @@ __metadata: languageName: node linkType: hard -"@walletconnect/browser-utils@npm:^1.8.0": - version: 1.8.0 - resolution: "@walletconnect/browser-utils@npm:1.8.0" - dependencies: - "@walletconnect/safe-json": 1.0.0 - "@walletconnect/types": ^1.8.0 - "@walletconnect/window-getters": 1.0.0 - "@walletconnect/window-metadata": 1.0.0 - detect-browser: 5.2.0 - checksum: cf4b55c9e8d53b1ffa99322ebcdfce7ad8df8e3ee90f57252da0b3882d3bfb592414cad09900c20619216c6a42d1184ad03728e6514e95a34467a8821aa5aef8 - languageName: node - linkType: hard - -"@walletconnect/client@npm:^1.8.0": - version: 1.8.0 - resolution: "@walletconnect/client@npm:1.8.0" - dependencies: - "@walletconnect/core": ^1.8.0 - "@walletconnect/iso-crypto": ^1.8.0 - "@walletconnect/types": ^1.8.0 - "@walletconnect/utils": ^1.8.0 - checksum: 48aab7d11eeaaccf6612d335766eb6439f2ce3c446a87b7a974b6fb11076d3bc000f947c0822790fdaa6ba50df073c581750eb5dcda47359bf29c94b76919394 - languageName: node - linkType: hard - "@walletconnect/core@npm:2.9.0": version: 2.9.0 resolution: "@walletconnect/core@npm:2.9.0" @@ -4914,18 +4777,7 @@ __metadata: languageName: node linkType: hard -"@walletconnect/core@npm:^1.8.0": - version: 1.8.0 - resolution: "@walletconnect/core@npm:1.8.0" - dependencies: - "@walletconnect/socket-transport": ^1.8.0 - "@walletconnect/types": ^1.8.0 - "@walletconnect/utils": ^1.8.0 - checksum: 2d703ac417c1f0df33f35893aef24fd4ce7e1d9b274f6937dcdf0880ff46bf266e773e498f374e5f17a1e249c55e7c7af815c63676c5cea5fda737f326a28c14 - languageName: node - linkType: hard - -"@walletconnect/crypto@npm:^1.0.2, @walletconnect/crypto@npm:^1.0.3": +"@walletconnect/crypto@npm:^1.0.3": version: 1.0.3 resolution: "@walletconnect/crypto@npm:1.0.3" dependencies: @@ -4939,7 +4791,7 @@ __metadata: languageName: node linkType: hard -"@walletconnect/encoding@npm:^1.0.1, @walletconnect/encoding@npm:^1.0.2": +"@walletconnect/encoding@npm:^1.0.2": version: 1.0.2 resolution: "@walletconnect/encoding@npm:1.0.2" dependencies: @@ -4981,22 +4833,6 @@ __metadata: languageName: node linkType: hard -"@walletconnect/ethereum-provider@npm:^1.7.1": - version: 1.8.0 - resolution: "@walletconnect/ethereum-provider@npm:1.8.0" - dependencies: - "@walletconnect/client": ^1.8.0 - "@walletconnect/jsonrpc-http-connection": ^1.0.2 - "@walletconnect/jsonrpc-provider": ^1.0.5 - "@walletconnect/signer-connection": ^1.8.0 - "@walletconnect/types": ^1.8.0 - "@walletconnect/utils": ^1.8.0 - eip1193-provider: 1.0.1 - eventemitter3: 4.0.7 - checksum: eaf8a113498673d023fc96bec1248bc9640d0bd78beea906f4d9dc5388db236c1436c00301e30f7b46abec59b22e0bb6d72e5a08837d3d021f096677a89005d6 - languageName: node - linkType: hard - "@walletconnect/events@npm:^1.0.1": version: 1.0.1 resolution: "@walletconnect/events@npm:1.0.1" @@ -5018,18 +4854,7 @@ __metadata: languageName: node linkType: hard -"@walletconnect/iso-crypto@npm:^1.8.0": - version: 1.8.0 - resolution: "@walletconnect/iso-crypto@npm:1.8.0" - dependencies: - "@walletconnect/crypto": ^1.0.2 - "@walletconnect/types": ^1.8.0 - "@walletconnect/utils": ^1.8.0 - checksum: ec1b361831c60b7d91d7be001d2b62266df64cd62710840ebf54193d008b46c70bde3d42d7e0df6107f020d4b0470435bfbb3defb9e918fdcb1b0f3eaf42e52f - languageName: node - linkType: hard - -"@walletconnect/jsonrpc-http-connection@npm:^1.0.2, @walletconnect/jsonrpc-http-connection@npm:^1.0.4, @walletconnect/jsonrpc-http-connection@npm:^1.0.7": +"@walletconnect/jsonrpc-http-connection@npm:^1.0.4, @walletconnect/jsonrpc-http-connection@npm:^1.0.7": version: 1.0.7 resolution: "@walletconnect/jsonrpc-http-connection@npm:1.0.7" dependencies: @@ -5041,7 +4866,7 @@ __metadata: languageName: node linkType: hard -"@walletconnect/jsonrpc-provider@npm:1.0.13, @walletconnect/jsonrpc-provider@npm:^1.0.13, @walletconnect/jsonrpc-provider@npm:^1.0.5, @walletconnect/jsonrpc-provider@npm:^1.0.6": +"@walletconnect/jsonrpc-provider@npm:1.0.13, @walletconnect/jsonrpc-provider@npm:^1.0.13, @walletconnect/jsonrpc-provider@npm:^1.0.6": version: 1.0.13 resolution: "@walletconnect/jsonrpc-provider@npm:1.0.13" dependencies: @@ -5052,7 +4877,7 @@ __metadata: languageName: node linkType: hard -"@walletconnect/jsonrpc-types@npm:1.0.3, @walletconnect/jsonrpc-types@npm:^1.0.1, @walletconnect/jsonrpc-types@npm:^1.0.2, @walletconnect/jsonrpc-types@npm:^1.0.3": +"@walletconnect/jsonrpc-types@npm:1.0.3, @walletconnect/jsonrpc-types@npm:^1.0.2, @walletconnect/jsonrpc-types@npm:^1.0.3": version: 1.0.3 resolution: "@walletconnect/jsonrpc-types@npm:1.0.3" dependencies: @@ -5062,7 +4887,7 @@ __metadata: languageName: node linkType: hard -"@walletconnect/jsonrpc-utils@npm:1.0.8, @walletconnect/jsonrpc-utils@npm:^1.0.3, @walletconnect/jsonrpc-utils@npm:^1.0.4, @walletconnect/jsonrpc-utils@npm:^1.0.6, @walletconnect/jsonrpc-utils@npm:^1.0.7, @walletconnect/jsonrpc-utils@npm:^1.0.8": +"@walletconnect/jsonrpc-utils@npm:1.0.8, @walletconnect/jsonrpc-utils@npm:^1.0.4, @walletconnect/jsonrpc-utils@npm:^1.0.6, @walletconnect/jsonrpc-utils@npm:^1.0.7, @walletconnect/jsonrpc-utils@npm:^1.0.8": version: 1.0.8 resolution: "@walletconnect/jsonrpc-utils@npm:1.0.8" dependencies: @@ -5184,13 +5009,6 @@ __metadata: languageName: node linkType: hard -"@walletconnect/mobile-registry@npm:^1.4.0": - version: 1.4.0 - resolution: "@walletconnect/mobile-registry@npm:1.4.0" - checksum: 06f18842e68f88e71e87f36daea143684afc49551974cf359fb55cc731e9b4fc0bce762d87b79b268e529def889e82fc2fbc2bc12d6a28a04ed0d6a060188020 - languageName: node - linkType: hard - "@walletconnect/modal-core@npm:2.6.1": version: 2.6.1 resolution: "@walletconnect/modal-core@npm:2.6.1" @@ -5222,20 +5040,6 @@ __metadata: languageName: node linkType: hard -"@walletconnect/qrcode-modal@npm:^1.8.0": - version: 1.8.0 - resolution: "@walletconnect/qrcode-modal@npm:1.8.0" - dependencies: - "@walletconnect/browser-utils": ^1.8.0 - "@walletconnect/mobile-registry": ^1.4.0 - "@walletconnect/types": ^1.8.0 - copy-to-clipboard: ^3.3.1 - preact: 10.4.1 - qrcode: 1.4.4 - checksum: 0abae2268579f55da87ed766fee32d428f951f18ab0a4addbfe8cbcbad1ce3a5642cc26ceb80654b158e537000ee5006b14eff43515619bc17af8c5da51adc55 - languageName: node - linkType: hard - "@walletconnect/randombytes@npm:^1.0.3": version: 1.0.3 resolution: "@walletconnect/randombytes@npm:1.0.3" @@ -5272,13 +5076,6 @@ __metadata: languageName: node linkType: hard -"@walletconnect/safe-json@npm:1.0.0": - version: 1.0.0 - resolution: "@walletconnect/safe-json@npm:1.0.0" - checksum: a8ee161cad37242983522d19ace57c2d2725b5b1cf5fd4d61e3e5f4190a2b369acc4cd0fa40774b50cf4aa322f477e31b7841a6b8f0d84a3af12da8c4344e9b7 - languageName: node - linkType: hard - "@walletconnect/safe-json@npm:^1.0.1, @walletconnect/safe-json@npm:^1.0.2": version: 1.0.2 resolution: "@walletconnect/safe-json@npm:1.0.2" @@ -5305,31 +5102,6 @@ __metadata: languageName: node linkType: hard -"@walletconnect/signer-connection@npm:^1.8.0": - version: 1.8.0 - resolution: "@walletconnect/signer-connection@npm:1.8.0" - dependencies: - "@walletconnect/client": ^1.8.0 - "@walletconnect/jsonrpc-types": ^1.0.1 - "@walletconnect/jsonrpc-utils": ^1.0.3 - "@walletconnect/qrcode-modal": ^1.8.0 - "@walletconnect/types": ^1.8.0 - eventemitter3: 4.0.7 - checksum: 249c5a92e80c59181d2da0dda759a6ed576e347de2cd2b2bf21ac5efe6b7b03e08406c2acc25e066cef52ffb6e6eb4124f6c680905dc54757b6f61f3a725b08f - languageName: node - linkType: hard - -"@walletconnect/socket-transport@npm:^1.8.0": - version: 1.8.0 - resolution: "@walletconnect/socket-transport@npm:1.8.0" - dependencies: - "@walletconnect/types": ^1.8.0 - "@walletconnect/utils": ^1.8.0 - ws: 7.5.3 - checksum: 3c494399a3fd8165a8d631a66efd19779278dd6744b1e686a18394afad38a05450b9acb0117373e3376ac4721a2a298695fd550db79c1e456d4446e2b53f8a6d - languageName: node - linkType: hard - "@walletconnect/time@npm:^1.0.2": version: 1.0.2 resolution: "@walletconnect/time@npm:1.0.2" @@ -5353,13 +5125,6 @@ __metadata: languageName: node linkType: hard -"@walletconnect/types@npm:^1.7.1, @walletconnect/types@npm:^1.8.0": - version: 1.8.0 - resolution: "@walletconnect/types@npm:1.8.0" - checksum: 194d615888068030183489222641332987846aa5c6bcf0a62fa60ca7a282b9f94932c49fcd2b293a859e98624fe3e7a2d3c5fb66545fe30d3391e7ac91a99e34 - languageName: node - linkType: hard - "@walletconnect/universal-provider@npm:2.9.0": version: 2.9.0 resolution: "@walletconnect/universal-provider@npm:2.9.0" @@ -5399,29 +5164,7 @@ __metadata: languageName: node linkType: hard -"@walletconnect/utils@npm:^1.8.0": - version: 1.8.0 - resolution: "@walletconnect/utils@npm:1.8.0" - dependencies: - "@walletconnect/browser-utils": ^1.8.0 - "@walletconnect/encoding": ^1.0.1 - "@walletconnect/jsonrpc-utils": ^1.0.3 - "@walletconnect/types": ^1.8.0 - bn.js: 4.11.8 - js-sha3: 0.8.0 - query-string: 6.13.5 - checksum: 41b21fc6cb29c0714579dac8da988c14985fc0fcc0c5f02979e72509f42bf658e3ca8ea22ac4a50a9753d26b630d38a6b5fec84131a9eff0b78318b809b203dd - languageName: node - linkType: hard - -"@walletconnect/window-getters@npm:1.0.0": - version: 1.0.0 - resolution: "@walletconnect/window-getters@npm:1.0.0" - checksum: 192af7acb2051d304addb2e5a3f121fedd8c83ba6750018e3b0da5757bad525336bc5d9cb571f63b09828658764151da181337ec0e898811ad7f506910bd3b5f - languageName: node - linkType: hard - -"@walletconnect/window-getters@npm:^1.0.0, @walletconnect/window-getters@npm:^1.0.1": +"@walletconnect/window-getters@npm:^1.0.1": version: 1.0.1 resolution: "@walletconnect/window-getters@npm:1.0.1" dependencies: @@ -5430,15 +5173,6 @@ __metadata: languageName: node linkType: hard -"@walletconnect/window-metadata@npm:1.0.0": - version: 1.0.0 - resolution: "@walletconnect/window-metadata@npm:1.0.0" - dependencies: - "@walletconnect/window-getters": ^1.0.0 - checksum: eec506ff6d35ae6e88db1e38b6f514f6cbf1a45b979878e5e50819d229b616fc645a2b0816145b61acda2701042160a4e0685f080927b87461853a62a887a9e9 - languageName: node - linkType: hard - "@walletconnect/window-metadata@npm:^1.0.1": version: 1.0.1 resolution: "@walletconnect/window-metadata@npm:1.0.1" @@ -5449,7 +5183,7 @@ __metadata: languageName: node linkType: hard -"@web3-react/abstract-connector@npm:6, @web3-react/abstract-connector@npm:6.0.7, @web3-react/abstract-connector@npm:^6.0.7": +"@web3-react/abstract-connector@npm:6.0.7, @web3-react/abstract-connector@npm:^6.0.7": version: 6.0.7 resolution: "@web3-react/abstract-connector@npm:6.0.7" dependencies: @@ -5484,26 +5218,13 @@ __metadata: languageName: node linkType: hard -"@web3-react/types@npm:6, @web3-react/types@npm:^6.0.7": +"@web3-react/types@npm:^6.0.7": version: 6.0.7 resolution: "@web3-react/types@npm:6.0.7" checksum: 29ae264ae4a126e520a64a4b466ea712ee09b934f3fe13b957e09269249ffc882712cf11fff12c1c19dd66e38503075b4adf5e9d5f588ea0dd31bbedf6fa9a42 languageName: node linkType: hard -"@web3-react/walletconnect-connector@npm:6.2.13": - version: 6.2.13 - resolution: "@web3-react/walletconnect-connector@npm:6.2.13" - dependencies: - "@walletconnect/ethereum-provider": ^1.7.1 - "@walletconnect/types": ^1.7.1 - "@web3-react/abstract-connector": ^6.0.7 - "@web3-react/types": ^6.0.7 - tiny-invariant: ^1.0.6 - checksum: 2d0299ce5c733689a967179ef268df6f588c0783ab18182d7e38c6bc913ee2ce313b0afed1c54e104e3849461a558385ff8f30803343108c5788e27cdc1a3445 - languageName: node - linkType: hard - "@web3-react/walletlink-connector@npm:6.2.14": version: 6.2.14 resolution: "@web3-react/walletlink-connector@npm:6.2.14" @@ -5689,13 +5410,6 @@ __metadata: languageName: node linkType: hard -"ansi-regex@npm:^4.1.0": - version: 4.1.1 - resolution: "ansi-regex@npm:4.1.1" - checksum: b1a6ee44cb6ecdabaa770b2ed500542714d4395d71c7e5c25baa631f680fb2ad322eb9ba697548d498a6fd366949fc8b5bfcf48d49a32803611f648005b01888 - languageName: node - linkType: hard - "ansi-regex@npm:^5.0.1": version: 5.0.1 resolution: "ansi-regex@npm:5.0.1" @@ -5710,7 +5424,7 @@ __metadata: languageName: node linkType: hard -"ansi-styles@npm:^3.2.0, ansi-styles@npm:^3.2.1": +"ansi-styles@npm:^3.2.1": version: 3.2.1 resolution: "ansi-styles@npm:3.2.1" dependencies: @@ -5973,15 +5687,6 @@ __metadata: languageName: node linkType: hard -"axios@npm:^0.21.0": - version: 0.21.4 - resolution: "axios@npm:0.21.4" - dependencies: - follow-redirects: ^1.14.0 - checksum: 44245f24ac971e7458f3120c92f9d66d1fc695e8b97019139de5b0cc65d9b8104647db01e5f46917728edfc0cfd88eb30fc4c55e6053eef4ace76768ce95ff3c - languageName: node - linkType: hard - "axios@npm:^1.3.4": version: 1.4.0 resolution: "axios@npm:1.4.0" @@ -6165,13 +5870,6 @@ __metadata: languageName: node linkType: hard -"bn.js@npm:4.11.8": - version: 4.11.8 - resolution: "bn.js@npm:4.11.8" - checksum: 80d4709cd58a21f0be8201e9e5859fea5ef133318e9800c8454cd334625c6e1caea593ca21f9b9a085fb560fbc12fb2fb3514363f8604258db924237fd039139 - languageName: node - linkType: hard - "bn.js@npm:^4.11.9": version: 4.12.0 resolution: "bn.js@npm:4.12.0" @@ -6269,37 +5967,6 @@ __metadata: languageName: node linkType: hard -"buffer-alloc-unsafe@npm:^1.1.0": - version: 1.1.0 - resolution: "buffer-alloc-unsafe@npm:1.1.0" - checksum: c5e18bf51f67754ec843c9af3d4c005051aac5008a3992938dda1344e5cfec77c4b02b4ca303644d1e9a6e281765155ce6356d85c6f5ccc5cd21afc868def396 - languageName: node - linkType: hard - -"buffer-alloc@npm:^1.2.0": - version: 1.2.0 - resolution: "buffer-alloc@npm:1.2.0" - dependencies: - buffer-alloc-unsafe: ^1.1.0 - buffer-fill: ^1.0.0 - checksum: 560cd27f3cbe73c614867da373407d4506309c62fe18de45a1ce191f3785ec6ca2488d802ff82065798542422980ca25f903db078c57822218182c37c3576df5 - languageName: node - linkType: hard - -"buffer-fill@npm:^1.0.0": - version: 1.0.0 - resolution: "buffer-fill@npm:1.0.0" - checksum: c29b4723ddeab01e74b5d3b982a0c6828f2ded49cef049ddca3dac661c874ecdbcecb5dd8380cf0f4adbeb8cff90a7de724126750a1f1e5ebd4eb6c59a1315b1 - languageName: node - linkType: hard - -"buffer-from@npm:^1.1.1": - version: 1.1.2 - resolution: "buffer-from@npm:1.1.2" - checksum: 0448524a562b37d4d7ed9efd91685a5b77a50672c556ea254ac9a6d30e3403a517d8981f10e565db24e8339413b43c97ca2951f10e399c6125a0d8911f5679bb - languageName: node - linkType: hard - "buffer@npm:6.0.3, buffer@npm:^6.0.3, buffer@npm:~6.0.3": version: 6.0.3 resolution: "buffer@npm:6.0.3" @@ -6310,16 +5977,6 @@ __metadata: languageName: node linkType: hard -"buffer@npm:^5.4.3": - version: 5.7.1 - resolution: "buffer@npm:5.7.1" - dependencies: - base64-js: ^1.3.1 - ieee754: ^1.1.13 - checksum: e2cf8429e1c4c7b8cbd30834ac09bd61da46ce35f5c22a78e6c2f04497d6d25541b16881e30a019c6fd3154150650ccee27a308eff3e26229d788bbdeb08ab84 - languageName: node - linkType: hard - "bufferutil@npm:^4.0.1": version: 4.0.7 resolution: "bufferutil@npm:4.0.7" @@ -6578,17 +6235,6 @@ __metadata: languageName: node linkType: hard -"cliui@npm:^5.0.0": - version: 5.0.0 - resolution: "cliui@npm:5.0.0" - dependencies: - string-width: ^3.1.0 - strip-ansi: ^5.2.0 - wrap-ansi: ^5.1.0 - checksum: 0bb8779efe299b8f3002a73619eaa8add4081eb8d1c17bc4fedc6240557fb4eacdc08fe87c39b002eacb6cfc117ce736b362dbfd8bf28d90da800e010ee97df4 - languageName: node - linkType: hard - "cliui@npm:^6.0.0": version: 6.0.0 resolution: "cliui@npm:6.0.0" @@ -7201,13 +6847,6 @@ __metadata: languageName: node linkType: hard -"detect-browser@npm:5.2.0": - version: 5.2.0 - resolution: "detect-browser@npm:5.2.0" - checksum: 63b5c38fecc657ff12de01a41e6c8c97b3d610dffa37aef1983ec5bfb4314687d588c0c44c5ee03bd45ef15b7fe465bce9349c373369e6a7405f318e0aae56f9 - languageName: node - linkType: hard - "detect-browser@npm:5.3.0, detect-browser@npm:^5.3.0": version: 5.3.0 resolution: "detect-browser@npm:5.3.0" @@ -7379,15 +7018,6 @@ __metadata: languageName: node linkType: hard -"eip1193-provider@npm:1.0.1": - version: 1.0.1 - resolution: "eip1193-provider@npm:1.0.1" - dependencies: - "@json-rpc-tools/provider": ^1.5.5 - checksum: a56d6a874786b788c1f09f96d329b118ca6b3d381055865bb1ec1bde17da8d433a4141200baa2922108d67ac0d83813841940d2813814e56ea923fc9fafb369a - languageName: node - linkType: hard - "eip55@npm:^2.1.1": version: 2.1.1 resolution: "eip55@npm:2.1.1" @@ -7419,13 +7049,6 @@ __metadata: languageName: node linkType: hard -"emoji-regex@npm:^7.0.1": - version: 7.0.3 - resolution: "emoji-regex@npm:7.0.3" - checksum: 9159b2228b1511f2870ac5920f394c7e041715429a68459ebe531601555f11ea782a8e1718f969df2711d38c66268174407cbca57ce36485544f695c2dfdc96e - languageName: node - linkType: hard - "emoji-regex@npm:^8.0.0": version: 8.0.0 resolution: "emoji-regex@npm:8.0.0" @@ -8128,7 +7751,7 @@ __metadata: languageName: node linkType: hard -"eventemitter3@npm:4.0.7, eventemitter3@npm:^4.0.0, eventemitter3@npm:^4.0.7": +"eventemitter3@npm:^4.0.0, eventemitter3@npm:^4.0.7": version: 4.0.7 resolution: "eventemitter3@npm:4.0.7" checksum: 1875311c42fcfe9c707b2712c32664a245629b42bb0a5a84439762dd0fd637fc54d078155ea83c2af9e0323c9ac13687e03cfba79b03af9f40c89b4960099374 @@ -8327,15 +7950,6 @@ __metadata: languageName: node linkType: hard -"find-up@npm:^3.0.0": - version: 3.0.0 - resolution: "find-up@npm:3.0.0" - dependencies: - locate-path: ^3.0.0 - checksum: 38eba3fe7a66e4bc7f0f5a1366dc25508b7cfc349f852640e3678d26ad9a6d7e2c43eff0a472287de4a9753ef58f066a0ea892a256fa3636ad51b3fe1e17fae9 - languageName: node - linkType: hard - "find-up@npm:^4.1.0": version: 4.1.0 resolution: "find-up@npm:4.1.0" @@ -8382,7 +7996,7 @@ __metadata: languageName: node linkType: hard -"follow-redirects@npm:^1.14.0, follow-redirects@npm:^1.14.8, follow-redirects@npm:^1.15.0": +"follow-redirects@npm:^1.14.8, follow-redirects@npm:^1.15.0": version: 1.15.2 resolution: "follow-redirects@npm:1.15.2" peerDependenciesMeta: @@ -9015,7 +8629,7 @@ __metadata: languageName: node linkType: hard -"ieee754@npm:^1.1.13, ieee754@npm:^1.2.1": +"ieee754@npm:^1.2.1": version: 1.2.1 resolution: "ieee754@npm:1.2.1" checksum: 5144c0c9815e54ada181d80a0b810221a253562422e7c6c3a60b1901154184f49326ec239d618c416c1c5945a2e197107aee8d986a3dd836b53dffefd99b5e7e @@ -9288,13 +8902,6 @@ __metadata: languageName: node linkType: hard -"is-fullwidth-code-point@npm:^2.0.0": - version: 2.0.0 - resolution: "is-fullwidth-code-point@npm:2.0.0" - checksum: eef9c6e15f68085fec19ff6a978a6f1b8f48018fd1265035552078ee945573594933b09bbd6f562553e2a241561439f1ef5339276eba68d272001343084cfab8 - languageName: node - linkType: hard - "is-fullwidth-code-point@npm:^3.0.0": version: 3.0.0 resolution: "is-fullwidth-code-point@npm:3.0.0" @@ -9501,7 +9108,7 @@ __metadata: languageName: node linkType: hard -"isarray@npm:^2.0.1, isarray@npm:^2.0.5": +"isarray@npm:^2.0.5": version: 2.0.5 resolution: "isarray@npm:2.0.5" checksum: bd5bbe4104438c4196ba58a54650116007fa0262eccef13a4c55b2e09a5b36b59f1e75b9fcc49883dd9d4953892e6fc007eef9e9155648ceea036e184b0f930a @@ -10025,21 +9632,22 @@ __metadata: "@ethersproject/bignumber": ^5.5.0 "@ethersproject/constants": ^5.5.0 "@ethersproject/units": ^5.6.1 - "@lido-sdk/constants": ^1.6.0 - "@lido-sdk/web3-react": ^2.0.0 + "@lido-sdk/constants": ^3.2.1 + "@lido-sdk/providers": ^1.4.14 + "@lido-sdk/react": ^2.0.3 "@lidofinance/lido-ethereum-sdk": "workspace:*" "@lidofinance/lido-ui": ^3.10.1 "@lidofinance/next-cache-files-middleware": ^0.35.0 "@next/bundle-analyzer": ^13.4.19 "@reef-knot/connect-wallet-modal": 1.6.2 - "@reef-knot/core-react": 1.5.1 + "@reef-knot/core-react": 1.6.0 "@reef-knot/ledger-connector": 1.0.1 "@reef-knot/types": 1.3.0 "@reef-knot/ui-react": 1.0.7 "@reef-knot/wallets-helpers": 1.1.5 "@reef-knot/wallets-icons": 1.0.0 - "@reef-knot/wallets-list": 1.4.4 - "@reef-knot/web3-react": 1.4.2 + "@reef-knot/wallets-list": 1.4.5 + "@reef-knot/web3-react": 1.5.0 "@svgr/webpack": ^6.5.1 "@types/node": ^18.11.9 "@types/react": ^18.0.25 @@ -10133,16 +9741,6 @@ __metadata: languageName: node linkType: hard -"locate-path@npm:^3.0.0": - version: 3.0.0 - resolution: "locate-path@npm:3.0.0" - dependencies: - p-locate: ^3.0.0 - path-exists: ^3.0.0 - checksum: 53db3996672f21f8b0bf2a2c645ae2c13ffdae1eeecfcd399a583bce8516c0b88dcb4222ca6efbbbeb6949df7e46860895be2c02e8d3219abd373ace3bfb4e11 - languageName: node - linkType: hard - "locate-path@npm:^5.0.0": version: 5.0.0 resolution: "locate-path@npm:5.0.0" @@ -11461,7 +11059,7 @@ __metadata: languageName: node linkType: hard -"p-limit@npm:^2.0.0, p-limit@npm:^2.2.0": +"p-limit@npm:^2.2.0": version: 2.3.0 resolution: "p-limit@npm:2.3.0" dependencies: @@ -11488,15 +11086,6 @@ __metadata: languageName: node linkType: hard -"p-locate@npm:^3.0.0": - version: 3.0.0 - resolution: "p-locate@npm:3.0.0" - dependencies: - p-limit: ^2.0.0 - checksum: 83991734a9854a05fe9dbb29f707ea8a0599391f52daac32b86f08e21415e857ffa60f0e120bfe7ce0cc4faf9274a50239c7895fc0d0579d08411e513b83a4ae - languageName: node - linkType: hard - "p-locate@npm:^4.1.0": version: 4.1.0 resolution: "p-locate@npm:4.1.0" @@ -11812,13 +11401,6 @@ __metadata: languageName: node linkType: hard -"pngjs@npm:^3.3.0": - version: 3.4.0 - resolution: "pngjs@npm:3.4.0" - checksum: 8bd40bd698abd16b72c97b85cb858c80894fbedc76277ce72a784aa441e14795d45d9856e97333ca469b34b67528860ffc8a7317ca6beea349b645366df00bcd - languageName: node - linkType: hard - "pngjs@npm:^5.0.0": version: 5.0.0 resolution: "pngjs@npm:5.0.0" @@ -11854,13 +11436,6 @@ __metadata: languageName: node linkType: hard -"preact@npm:10.4.1": - version: 10.4.1 - resolution: "preact@npm:10.4.1" - checksum: e8c5eae6dca469226177394cf49994d6beab5b9b10d31e000d8b16d9b00bfa52cdd10b41331759d68646e7b8f601430d78eb025f9026263adc90150699800ed3 - languageName: node - linkType: hard - "preact@npm:^10.12.0, preact@npm:^10.5.9": version: 10.17.1 resolution: "preact@npm:10.17.1" @@ -12039,23 +11614,6 @@ __metadata: languageName: node linkType: hard -"qrcode@npm:1.4.4": - version: 1.4.4 - resolution: "qrcode@npm:1.4.4" - dependencies: - buffer: ^5.4.3 - buffer-alloc: ^1.2.0 - buffer-from: ^1.1.1 - dijkstrajs: ^1.0.1 - isarray: ^2.0.1 - pngjs: ^3.3.0 - yargs: ^13.2.4 - bin: - qrcode: ./bin/qrcode - checksum: 8c1a7ee3092c0ed60f0413594af879ac6dffb897d4921144a8e7ae3dce40c04ba6457ab21664ca43934ba3fe19cced85abaf0b87b07916239d7254d4bb4fcf13 - languageName: node - linkType: hard - "qrcode@npm:1.5.3, qrcode@npm:^1.5.1": version: 1.5.3 resolution: "qrcode@npm:1.5.3" @@ -12079,17 +11637,6 @@ __metadata: languageName: node linkType: hard -"query-string@npm:6.13.5": - version: 6.13.5 - resolution: "query-string@npm:6.13.5" - dependencies: - decode-uri-component: ^0.2.0 - split-on-first: ^1.0.0 - strict-uri-encode: ^2.0.0 - checksum: 1019dea0ab277bdf606bcc022ec223a9ab9947608d2696114ef9198f72ae553be039705d6c52e16af43d9b79bac67385f63fb7fe9241cd2f7b703dd23c7ab8d3 - languageName: node - linkType: hard - "query-string@npm:7.1.3": version: 7.1.3 resolution: "query-string@npm:7.1.3" @@ -13246,17 +12793,6 @@ __metadata: languageName: node linkType: hard -"string-width@npm:^3.0.0, string-width@npm:^3.1.0": - version: 3.1.0 - resolution: "string-width@npm:3.1.0" - dependencies: - emoji-regex: ^7.0.1 - is-fullwidth-code-point: ^2.0.0 - strip-ansi: ^5.1.0 - checksum: 57f7ca73d201682816d573dc68bd4bb8e1dff8dc9fcf10470fdfc3474135c97175fec12ea6a159e67339b41e86963112355b64529489af6e7e70f94a7caf08b2 - languageName: node - linkType: hard - "string-width@npm:^5.0.1, string-width@npm:^5.1.2": version: 5.1.2 resolution: "string-width@npm:5.1.2" @@ -13344,15 +12880,6 @@ __metadata: languageName: node linkType: hard -"strip-ansi@npm:^5.0.0, strip-ansi@npm:^5.1.0, strip-ansi@npm:^5.2.0": - version: 5.2.0 - resolution: "strip-ansi@npm:5.2.0" - dependencies: - ansi-regex: ^4.1.0 - checksum: bdb5f76ade97062bd88e7723aa019adbfacdcba42223b19ccb528ffb9fb0b89a5be442c663c4a3fb25268eaa3f6ea19c7c3fbae830bd1562d55adccae1fcec46 - languageName: node - linkType: hard - "strip-ansi@npm:^7.0.1": version: 7.1.0 resolution: "strip-ansi@npm:7.1.0" @@ -13671,7 +13198,7 @@ __metadata: languageName: node linkType: hard -"tiny-invariant@npm:1, tiny-invariant@npm:^1.0.6, tiny-invariant@npm:^1.1.0, tiny-invariant@npm:^1.2.0, tiny-invariant@npm:^1.3.1": +"tiny-invariant@npm:^1.0.6, tiny-invariant@npm:^1.1.0, tiny-invariant@npm:^1.2.0, tiny-invariant@npm:^1.3.1": version: 1.3.1 resolution: "tiny-invariant@npm:1.3.1" checksum: 872dbd1ff20a21303a2fd20ce3a15602cfa7fcf9b228bd694a52e2938224313b5385a1078cb667ed7375d1612194feaca81c4ecbe93121ca1baebe344de4f84c @@ -14013,13 +13540,6 @@ __metadata: languageName: node linkType: hard -"ua-parser-js@npm:1.0.33": - version: 1.0.33 - resolution: "ua-parser-js@npm:1.0.33" - checksum: 460adef51235267345b221842979b6b167543725d03f7c9c4f9ca6af4da835a71d016390da139d2b32828063c4730dcfae6e53b9dce815f4000be4e1fe1c7737 - languageName: node - linkType: hard - "ua-parser-js@npm:^1.0.35": version: 1.0.35 resolution: "ua-parser-js@npm:1.0.35" @@ -14303,7 +13823,7 @@ __metadata: languageName: node linkType: hard -"viem@npm:^1.10.3, viem@npm:^1.10.9": +"viem@npm:^1.10.3": version: 1.10.9 resolution: "viem@npm:1.10.9" dependencies: @@ -14325,6 +13845,28 @@ __metadata: languageName: node linkType: hard +"viem@npm:^1.15.3": + version: 1.15.3 + resolution: "viem@npm:1.15.3" + dependencies: + "@adraffy/ens-normalize": 1.9.4 + "@noble/curves": 1.2.0 + "@noble/hashes": 1.3.2 + "@scure/bip32": 1.3.2 + "@scure/bip39": 1.2.1 + "@types/ws": ^8.5.5 + abitype: 0.9.8 + isomorphic-ws: 5.0.0 + ws: 8.13.0 + peerDependencies: + typescript: ">=5.0.4" + peerDependenciesMeta: + typescript: + optional: true + checksum: 61d573158de32896f9f7957ae2ff943953838385f9b04414a55e6041f0e070827e4c5cfc6196485e0b0101c3dcbfdfd262fb54040817b257b38216a7f50e3384 + languageName: node + linkType: hard + "wagmi@npm:^0.12.19": version: 0.12.19 resolution: "wagmi@npm:0.12.19" @@ -14372,39 +13914,6 @@ __metadata: languageName: node linkType: hard -"web3-ledgerhq-connector@npm:^1.2.3": - version: 1.3.1 - resolution: "web3-ledgerhq-connector@npm:1.3.1" - dependencies: - "@ethersproject/abstract-signer": ^5.5.0 - "@ethersproject/bignumber": ^5.5.0 - "@ethersproject/bytes": ^5.5.0 - "@ethersproject/properties": ^5.5.0 - "@ethersproject/providers": ^5.5.2 - "@ethersproject/strings": ^5.5.0 - "@ethersproject/transactions": ^5.5.0 - "@ledgerhq/hw-app-eth": ^6.33.1 - "@ledgerhq/hw-transport": ^6.28.2 - "@ledgerhq/hw-transport-webhid": ^6.27.13 - "@web3-react/abstract-connector": ^6.0.7 - "@web3-react/types": ^6.0.7 - tiny-invariant: ^1.2.0 - checksum: e223e768f16d8bdbaa6dc06c86808a6982becfcb8a4a15141fb73c9893baf7a5245613abcfd1c5baed519ada30df887ca64e5847c9c7d45f06c7012ebfd7cf67 - languageName: node - linkType: hard - -"web3-ledgerhq-frame-connector@npm:^1.0.1": - version: 1.1.0 - resolution: "web3-ledgerhq-frame-connector@npm:1.1.0" - dependencies: - "@ledgerhq/iframe-provider": 0 - "@web3-react/abstract-connector": 6 - "@web3-react/types": 6 - tiny-invariant: 1 - checksum: a3e27c68011dc9f39aac85cc1376954e4fce035c4741c01f8ba6b4827f8726b5e4189a78cf0f198ef9c8d489ae2cccc9669c98be93657d310903e187a1a026ed - languageName: node - linkType: hard - "webidl-conversions@npm:^3.0.0": version: 3.0.1 resolution: "webidl-conversions@npm:3.0.1" @@ -14544,17 +14053,6 @@ __metadata: languageName: node linkType: hard -"wrap-ansi@npm:^5.1.0": - version: 5.1.0 - resolution: "wrap-ansi@npm:5.1.0" - dependencies: - ansi-styles: ^3.2.0 - string-width: ^3.0.0 - strip-ansi: ^5.0.0 - checksum: 9b48c862220e541eb0daa22661b38b947973fc57054e91be5b0f2dcc77741a6875ccab4ebe970a394b4682c8dfc17e888266a105fb8b0a9b23c19245e781ceae - languageName: node - linkType: hard - "wrap-ansi@npm:^6.2.0": version: 6.2.0 resolution: "wrap-ansi@npm:6.2.0" @@ -14609,21 +14107,6 @@ __metadata: languageName: node linkType: hard -"ws@npm:7.5.3": - version: 7.5.3 - resolution: "ws@npm:7.5.3" - peerDependencies: - bufferutil: ^4.0.1 - utf-8-validate: ^5.0.2 - peerDependenciesMeta: - bufferutil: - optional: true - utf-8-validate: - optional: true - checksum: 423dc0d859fa74020f5555140905b862470a60ea1567bb9ad55a087263d7718b9c94f69678be1cee9868925c570f1e6fc79d09f90c39057bc63fa2edbb2c547b - languageName: node - linkType: hard - "ws@npm:8.13.0, ws@npm:^8.5.0": version: 8.13.0 resolution: "ws@npm:8.13.0" @@ -14639,7 +14122,7 @@ __metadata: languageName: node linkType: hard -"ws@npm:^7.3.1, ws@npm:^7.4.0, ws@npm:^7.4.5, ws@npm:^7.5.1": +"ws@npm:^7.3.1, ws@npm:^7.4.5, ws@npm:^7.5.1": version: 7.5.9 resolution: "ws@npm:7.5.9" peerDependencies: @@ -14696,16 +14179,6 @@ __metadata: languageName: node linkType: hard -"yargs-parser@npm:^13.1.2": - version: 13.1.2 - resolution: "yargs-parser@npm:13.1.2" - dependencies: - camelcase: ^5.0.0 - decamelize: ^1.2.0 - checksum: c8bb6f44d39a4acd94462e96d4e85469df865de6f4326e0ab1ac23ae4a835e5dd2ddfe588317ebf80c3a7e37e741bd5cb0dc8d92bcc5812baefb7df7c885e86b - languageName: node - linkType: hard - "yargs-parser@npm:^18.1.2": version: 18.1.3 resolution: "yargs-parser@npm:18.1.3" @@ -14730,24 +14203,6 @@ __metadata: languageName: node linkType: hard -"yargs@npm:^13.2.4": - version: 13.3.2 - resolution: "yargs@npm:13.3.2" - dependencies: - cliui: ^5.0.0 - find-up: ^3.0.0 - get-caller-file: ^2.0.1 - require-directory: ^2.1.1 - require-main-filename: ^2.0.0 - set-blocking: ^2.0.0 - string-width: ^3.0.0 - which-module: ^2.0.0 - y18n: ^4.0.0 - yargs-parser: ^13.1.2 - checksum: 75c13e837eb2bb25717957ba58d277e864efc0cca7f945c98bdf6477e6ec2f9be6afa9ed8a876b251a21423500c148d7b91e88dee7adea6029bdec97af1ef3e8 - languageName: node - linkType: hard - "yargs@npm:^15.3.1": version: 15.4.1 resolution: "yargs@npm:15.4.1"