Skip to content

Commit

Permalink
release 4.0.2 (#231)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bernardo Vieira authored Jul 18, 2023
1 parent 0094adb commit 3f57c06
Show file tree
Hide file tree
Showing 8 changed files with 273 additions and 210 deletions.
8 changes: 4 additions & 4 deletions example-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@
"dependencies": {
"@impact-market/utils": "link:..",
"@sentry/nextjs": "7.36.0",
"@wagmi/core": "1.3.3",
"@wagmi/core": "1.3.7",
"@walletconnect/client": "1.8.0",
"@web3modal/ethereum": "2.6.2",
"@web3modal/react": "2.6.2",
"ethers": "5.7.2",
"next": "12.3.1",
"react": "18.2.0",
"react-dom": "18.2.0",
"viem": "1.2.5",
"wagmi": "1.3.3",
"viem": "1.2.12",
"wagmi": "1.3.8",
"@walletconnect/encoding": "1.0.2"
},
"devDependencies": {
Expand All @@ -32,6 +32,6 @@
"@types/react-dom": "18.0.6",
"eslint": "8.25.0",
"eslint-config-next": "12.3.1",
"typescript": "4.9.5"
"typescript": "5.1.6"
}
}
27 changes: 8 additions & 19 deletions example-web/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const { chains, publicClient } = configureChains(

const wagmiConfig = createConfig({
autoConnect: true,
connectors: w3mConnectors({ projectId, version: 2, chains }),
connectors: w3mConnectors({ projectId, chains }),
publicClient,
});

Expand All @@ -29,25 +29,14 @@ function MyApp({ Component, pageProps }: AppProps) {
<Web3Modal
projectId={projectId}
ethereumClient={ethereumClient}
// explorerRecommendedWalletIds={[
// // metamask
// 'c57ca95b47569778a828d19178114f4db188b89b763c899ba0be274e97267d96',
// // valora
// 'd01c7758d741b363e637a817a09bcf579feae4db9f5bb16f599fdd1f66e2f974'
// ]}
mobileWallets={[
{
id: 'libera',
name: 'Libera',
links: {
native: 'libera://',
universal: 'https://liberawallet.com'
}
}
explorerRecommendedWalletIds={[
// libera
'b7cd38c9393f14b8031bc10bc0613895d0d092c33d836547faf8a9b782f6cbcc',
// valora
'd01c7758d741b363e637a817a09bcf579feae4db9f5bb16f599fdd1f66e2f974',
// metamask
'c57ca95b47569778a828d19178114f4db188b89b763c899ba0be274e97267d96'
]}
walletImages={{
libera: 'https://imagedelivery.net/_aTEfDRm7z3tKgu9JhfeKA/9485d17f-c413-47fe-ebee-a876a9dc9100/lg'
}}
/>
</>
);
Expand Down
165 changes: 83 additions & 82 deletions example-web/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1171,33 +1171,34 @@
resolved "https://registry.yarnpkg.com/@wagmi/chains/-/chains-1.2.0.tgz#d59eaa70ec51a5fdcd113975926992acfb17ab12"
integrity sha512-dmDRipsE54JfyudOBkuhEexqQWcrZqxn/qiujG8SBzMh/az/AH5xlJSA+j1CPWTx9+QofSMF3B7A4gb6XRmSaQ==

"@wagmi/chains@1.3.0":
version "1.3.0"
resolved "https://registry.yarnpkg.com/@wagmi/chains/-/chains-1.3.0.tgz#a17438d44abe98fdf1ec3a91df115c6bfaed39c0"
integrity sha512-7tyr1irTZQpA4/4HoIiJP3XYZuJIZuWiZ1V1j5WEG3cjm8TXIlMEzO0N+hT/cZKw4/UtF2EukvB8GkDWa2S77w==
"@wagmi/chains@1.5.0":
version "1.5.0"
resolved "https://registry.yarnpkg.com/@wagmi/chains/-/chains-1.5.0.tgz#0b23a1505704b4b07a46f41e1ec65a486aceb16b"
integrity sha512-JO5iqh7Km4GW/6XKKDYMq3YQ9wlOSGzzaTUQhALQ58KANxEZ70tZWhfTZAPD3fdgv4wheai7kyHDNgTW6X7fnw==

"@wagmi/connectors@2.6.2":
version "2.6.2"
resolved "https://registry.yarnpkg.com/@wagmi/connectors/-/connectors-2.6.2.tgz#91d48fbf9d06bc29f324e65681c1b4b989acbd5e"
integrity sha512-S6ieyh3jUmECOk70tl6ZDsknRF1zUB3jtj3LaOYc+GQmjynR24xQaG9HigjgLuHFINNsd6JEEWQ3pO+lD56c3Q==
"@wagmi/connectors@2.6.6":
version "2.6.6"
resolved "https://registry.yarnpkg.com/@wagmi/connectors/-/connectors-2.6.6.tgz#98f0f90831ed8d76295f44b1b85439ce0118bf70"
integrity sha512-/o1c/TCivQs8DOAUOcQvY2UIt3p2mWOAHi39D0LC74+ncpXzLC5/gyaWU38qnTxPM8s/PmTmaWDgz+VhICXrag==
dependencies:
"@coinbase/wallet-sdk" "^3.6.6"
"@ledgerhq/connect-kit-loader" "^1.1.0"
"@safe-global/safe-apps-provider" "^0.17.1"
"@safe-global/safe-apps-sdk" "^8.0.0"
"@walletconnect/ethereum-provider" "2.8.4"
"@walletconnect/ethereum-provider" "2.9.0"
"@walletconnect/legacy-provider" "^2.0.0"
"@walletconnect/modal" "2.5.4"
"@walletconnect/modal" "2.5.9"
"@walletconnect/utils" "2.9.0"
abitype "0.8.7"
eventemitter3 "^4.0.7"

"@wagmi/core@1.3.3":
version "1.3.3"
resolved "https://registry.yarnpkg.com/@wagmi/core/-/core-1.3.3.tgz#5ba058d92bd843d209242532363af623acc9fb93"
integrity sha512-zjFWnPPcPKHY9t4j4aIyq4WlMTw/ucxYmmpwszK5ylHPnTbK1bWrGCtsrF0tIGWRTzEFVhJ/s3L4+qGLmoyu3A==
"@wagmi/core@1.3.7":
version "1.3.7"
resolved "https://registry.yarnpkg.com/@wagmi/core/-/core-1.3.7.tgz#7bc00d172d206ffa171df0d5a813c3559d8824e3"
integrity sha512-ens31RwICdrbRanNYwlJs0DAw/LOqUPQm6qXsmEciOENT4w+7pC959LXU9xfaOADWVMekeLDmRqAGCszTNIXAg==
dependencies:
"@wagmi/chains" "1.3.0"
"@wagmi/connectors" "2.6.2"
"@wagmi/chains" "1.5.0"
"@wagmi/connectors" "2.6.6"
abitype "0.8.7"
eventemitter3 "^4.0.7"
zustand "^4.3.1"
Expand All @@ -1223,24 +1224,24 @@
"@walletconnect/types" "^1.8.0"
"@walletconnect/utils" "^1.8.0"

"@walletconnect/core@2.8.4":
version "2.8.4"
resolved "https://registry.yarnpkg.com/@walletconnect/core/-/core-2.8.4.tgz#fc207c8fa35a53e30012b0c85b6ca933cec7d955"
integrity sha512-3CQHud4As0kPRvlW1w/wSWS2F3yXlAo5kSEJyRWLRPqXG+aSCVWM8cVM8ch5yoeyNIfOHhEINdsYMuJG1+yIJQ==
"@walletconnect/core@2.9.0":
version "2.9.0"
resolved "https://registry.yarnpkg.com/@walletconnect/core/-/core-2.9.0.tgz#7837a5d015a22b48d35b987bcde2aa9ccdf300d8"
integrity sha512-MZYJghS9YCvGe32UOgDj0mCasaOoGHQaYXWeQblXE/xb8HuaM6kAWhjIQN9P+MNp5QP134BHP5olQostcCotXQ==
dependencies:
"@walletconnect/heartbeat" "1.2.1"
"@walletconnect/jsonrpc-provider" "1.0.13"
"@walletconnect/jsonrpc-types" "1.0.3"
"@walletconnect/jsonrpc-utils" "1.0.8"
"@walletconnect/jsonrpc-ws-connection" "^1.0.11"
"@walletconnect/jsonrpc-ws-connection" "1.0.12"
"@walletconnect/keyvaluestorage" "^1.0.2"
"@walletconnect/logger" "^2.0.1"
"@walletconnect/relay-api" "^1.0.9"
"@walletconnect/relay-auth" "^1.0.4"
"@walletconnect/safe-json" "^1.0.2"
"@walletconnect/time" "^1.0.2"
"@walletconnect/types" "2.8.4"
"@walletconnect/utils" "2.8.4"
"@walletconnect/types" "2.9.0"
"@walletconnect/utils" "2.9.0"
events "^3.3.0"
lodash.isequal "4.5.0"
uint8arrays "^3.1.0"
Expand Down Expand Up @@ -1282,19 +1283,19 @@
dependencies:
tslib "1.14.1"

"@walletconnect/ethereum-provider@2.8.4":
version "2.8.4"
resolved "https://registry.yarnpkg.com/@walletconnect/ethereum-provider/-/ethereum-provider-2.8.4.tgz#c627c237b479194efc542b8475596bae12fde52d"
integrity sha512-z7Yz4w8t3eEFv8vQ8DLCgDWPah2aIIyC0iQdwhXgJenQTVuz7JJZRrJUUntzudipHK/owA394c1qTPF0rsMSeQ==
"@walletconnect/ethereum-provider@2.9.0":
version "2.9.0"
resolved "https://registry.yarnpkg.com/@walletconnect/ethereum-provider/-/ethereum-provider-2.9.0.tgz#aa6e9e441678c824af8f744c50dafd604f19d69e"
integrity sha512-rSXkC0SXMigJRdIi/M2RMuEuATY1AwtlTWQBnqyxoht7xbO2bQNPCXn0XL4s/GRNrSUtoKSY4aPMHXV4W4yLBA==
dependencies:
"@walletconnect/jsonrpc-http-connection" "^1.0.7"
"@walletconnect/jsonrpc-provider" "^1.0.13"
"@walletconnect/jsonrpc-types" "^1.0.3"
"@walletconnect/jsonrpc-utils" "^1.0.8"
"@walletconnect/sign-client" "2.8.4"
"@walletconnect/types" "2.8.4"
"@walletconnect/universal-provider" "2.8.4"
"@walletconnect/utils" "2.8.4"
"@walletconnect/sign-client" "2.9.0"
"@walletconnect/types" "2.9.0"
"@walletconnect/universal-provider" "2.9.0"
"@walletconnect/utils" "2.9.0"
events "^3.3.0"

"@walletconnect/events@^1.0.1":
Expand Down Expand Up @@ -1395,10 +1396,10 @@
"@walletconnect/jsonrpc-types" "^1.0.2"
tslib "1.14.1"

"@walletconnect/jsonrpc-ws-connection@^1.0.11":
version "1.0.11"
resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-ws-connection/-/jsonrpc-ws-connection-1.0.11.tgz#1ce59d86f273d576ca73385961303ebd44dd923f"
integrity sha512-TiFJ6saasKXD+PwGkm5ZGSw0837nc6EeFmurSPgIT/NofnOV4Tv7CVJqGQN0rQYoJUSYu21cwHNYaFkzNpUN+w==
"@walletconnect/jsonrpc-ws-connection@1.0.12":
version "1.0.12"
resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-ws-connection/-/jsonrpc-ws-connection-1.0.12.tgz#2192314884fabdda6d0a9d22e157e5b352025ed8"
integrity sha512-HAcadga3Qjt1Cqy+qXEW6zjaCs8uJGdGQrqltzl3OjiK4epGZRdvSzTe63P+t/3z+D2wG+ffEPn0GVcDozmN1w==
dependencies:
"@walletconnect/jsonrpc-utils" "^1.0.6"
"@walletconnect/safe-json" "^1.0.2"
Expand Down Expand Up @@ -1482,31 +1483,31 @@
pino "7.11.0"
tslib "1.14.1"

"@walletconnect/modal-core@2.5.4":
version "2.5.4"
resolved "https://registry.yarnpkg.com/@walletconnect/modal-core/-/modal-core-2.5.4.tgz#7d739a90a9cf103067eea46507ea649e8dada436"
integrity sha512-ISe4LqmEDFU7b6rLgonqaEtMXzG6ko13HA7S8Ty3d7GgfAEe29LM1dq3zo8ehEOghhofhj1PiiNfvaogZKzT1g==
"@walletconnect/modal-core@2.5.9":
version "2.5.9"
resolved "https://registry.yarnpkg.com/@walletconnect/modal-core/-/modal-core-2.5.9.tgz#45e0c25320d42855aaac39e6ba256a84f972b871"
integrity sha512-isIebwF9hOknGouhS/Ob4YJ9Sa/tqNYG2v6Ua9EkCqIoLimepkG5eC53tslUWW29SLSfQ9qqBNG2+iE7yQXqgw==
dependencies:
buffer "6.0.3"
valtio "1.10.6"

"@walletconnect/modal-ui@2.5.4":
version "2.5.4"
resolved "https://registry.yarnpkg.com/@walletconnect/modal-ui/-/modal-ui-2.5.4.tgz#0433fb0226dd47e17fede620c5a5ff332baed155"
integrity sha512-5qLLjwbE3YC4AsCVhf8J87otklkApcQ5DCMykOcS0APPv8lKQ46JxpQhfWwRYaUkuIiHonI9h1YxFARDkoaI9g==
"@walletconnect/modal-ui@2.5.9":
version "2.5.9"
resolved "https://registry.yarnpkg.com/@walletconnect/modal-ui/-/modal-ui-2.5.9.tgz#4d07f1697147ec9f75d85d93f564cadae05a5e59"
integrity sha512-nfBaAT9Ls7RZTBBgAq+Nt/3AoUcinIJ9bcq5UHXTV3lOPu/qCKmUC/0HY3GvUK8ykabUAsjr0OAGmcqkB91qug==
dependencies:
"@walletconnect/modal-core" "2.5.4"
"@walletconnect/modal-core" "2.5.9"
lit "2.7.5"
motion "10.16.2"
qrcode "1.5.3"

"@walletconnect/modal@2.5.4":
version "2.5.4"
resolved "https://registry.yarnpkg.com/@walletconnect/modal/-/modal-2.5.4.tgz#66659051f9c0f35c151d3a8d940f8c64d42fab74"
integrity sha512-JAKMcCd4JQvSEr7pNitg3OBke4DN1JyaQ7bdi3x4T7oLgOr9Y88qdkeOXko/0aJonDHJsM88hZ10POQWmKfEMA==
"@walletconnect/modal@2.5.9":
version "2.5.9"
resolved "https://registry.yarnpkg.com/@walletconnect/modal/-/modal-2.5.9.tgz#28840f2a46bcd0a47c5fda60d18a5f1607a92a72"
integrity sha512-Zs2RvPwbBNRdBhb50FuJCxi3FJltt1KSpI7odjU/x9GTpTOcSOkmR66PBCy2JvNA0+ztnS1Xs0LVEr3lu7/Jzw==
dependencies:
"@walletconnect/modal-core" "2.5.4"
"@walletconnect/modal-ui" "2.5.4"
"@walletconnect/modal-core" "2.5.9"
"@walletconnect/modal-ui" "2.5.9"

"@walletconnect/randombytes@^1.0.3":
version "1.0.3"
Expand Down Expand Up @@ -1550,19 +1551,19 @@
dependencies:
tslib "1.14.1"

"@walletconnect/sign-client@2.8.4":
version "2.8.4"
resolved "https://registry.yarnpkg.com/@walletconnect/sign-client/-/sign-client-2.8.4.tgz#35e7cfe9442c65d7f667a7c20f1a5ee7e2a6e576"
integrity sha512-eRvWtKBAgzo/rbIkw+rkKco2ulSW8Wor/58UsOBsl9DKr1rIazZd4ZcUdaTjg9q8AT1476IQakCAIuv+1FvJwQ==
"@walletconnect/sign-client@2.9.0":
version "2.9.0"
resolved "https://registry.yarnpkg.com/@walletconnect/sign-client/-/sign-client-2.9.0.tgz#fd3b0acb68bc8d56350f01ed70f8c6326e6e89fa"
integrity sha512-mEKc4LlLMebCe45qzqh+MX4ilQK4kOEBzLY6YJpG8EhyT45eX4JMNA7qQoYa9MRMaaVb/7USJcc4e3ZrjZvQmA==
dependencies:
"@walletconnect/core" "2.8.4"
"@walletconnect/core" "2.9.0"
"@walletconnect/events" "^1.0.1"
"@walletconnect/heartbeat" "1.2.1"
"@walletconnect/jsonrpc-utils" "1.0.8"
"@walletconnect/logger" "^2.0.1"
"@walletconnect/time" "^1.0.2"
"@walletconnect/types" "2.8.4"
"@walletconnect/utils" "2.8.4"
"@walletconnect/types" "2.9.0"
"@walletconnect/utils" "2.9.0"
events "^3.3.0"

"@walletconnect/socket-transport@^1.8.0":
Expand All @@ -1581,10 +1582,10 @@
dependencies:
tslib "1.14.1"

"@walletconnect/types@2.8.4":
version "2.8.4"
resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.8.4.tgz#23fad8593b094c7564d72f179e33b1cac9324a88"
integrity sha512-Fgqe87R7rjMOGSvx28YPLTtXM6jj+oUOorx8cE+jEw2PfpWp5myF21aCdaMBR39h0QHij5H1Z0/W9e7gm4oC1Q==
"@walletconnect/types@2.9.0":
version "2.9.0"
resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.9.0.tgz#6e5dfdc7212c1ec4ab49a1ec409c743e16093f72"
integrity sha512-ORopsMfSRvUYqtjKKd6scfg8o4/aGebipLxx92AuuUgMTERSU6cGmIrK6rdLu7W6FBJkmngPLEGc9mRqAb9Lug==
dependencies:
"@walletconnect/events" "^1.0.1"
"@walletconnect/heartbeat" "1.2.1"
Expand All @@ -1598,25 +1599,25 @@
resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-1.8.0.tgz#3f5e85b2d6b149337f727ab8a71b8471d8d9a195"
integrity sha512-Cn+3I0V0vT9ghMuzh1KzZvCkiAxTq+1TR2eSqw5E5AVWfmCtECFkVZBP6uUJZ8YjwLqXheI+rnjqPy7sVM4Fyg==

"@walletconnect/universal-provider@2.8.4":
version "2.8.4"
resolved "https://registry.yarnpkg.com/@walletconnect/universal-provider/-/universal-provider-2.8.4.tgz#7b62a76a7d99ea41c67374da54aaa4f1b4bc1d03"
integrity sha512-JRpOXKIciRMzd03zZxM1WDsYHo/ZS86zZrZ1aCHW1d45ZLP7SbGPRHzZgBY3xrST26yTvWIlRfTUEYn50fzB1g==
"@walletconnect/universal-provider@2.9.0":
version "2.9.0"
resolved "https://registry.yarnpkg.com/@walletconnect/universal-provider/-/universal-provider-2.9.0.tgz#a6b4a1f099262536e17b5c25bf7b3c89db9945a8"
integrity sha512-k3nkSBkF69sJJVoe17IVoPtnhp/sgaa2t+x7BvA/BKeMxE0DGdtRJdEXotTc8DBmI7o2tkq6l8+HyFBGjQ/CjQ==
dependencies:
"@walletconnect/jsonrpc-http-connection" "^1.0.7"
"@walletconnect/jsonrpc-provider" "1.0.13"
"@walletconnect/jsonrpc-types" "^1.0.2"
"@walletconnect/jsonrpc-utils" "^1.0.7"
"@walletconnect/logger" "^2.0.1"
"@walletconnect/sign-client" "2.8.4"
"@walletconnect/types" "2.8.4"
"@walletconnect/utils" "2.8.4"
"@walletconnect/sign-client" "2.9.0"
"@walletconnect/types" "2.9.0"
"@walletconnect/utils" "2.9.0"
events "^3.3.0"

"@walletconnect/utils@2.8.4":
version "2.8.4"
resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-2.8.4.tgz#8dbd3beaef39388be2398145a5f9a061a0317518"
integrity sha512-NGw6BINYNeT9JrQrnxldAPheO2ymRrwGrgfExZMyrkb1MShnIX4nzo4KirKInM4LtrY6AA/v0Lu3ooUdfO+xIg==
"@walletconnect/utils@2.9.0":
version "2.9.0"
resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-2.9.0.tgz#c73925edb9fefe79021bcf028e957028f986b728"
integrity sha512-7Tu3m6dZL84KofrNBcblsgpSqU2vdo9ImLD7zWimLXERVGNQ8smXG+gmhQYblebIBhsPzjy9N38YMC3nPlfQNw==
dependencies:
"@stablelib/chacha20poly1305" "1.0.1"
"@stablelib/hkdf" "1.0.1"
Expand All @@ -1626,7 +1627,7 @@
"@walletconnect/relay-api" "^1.0.9"
"@walletconnect/safe-json" "^1.0.2"
"@walletconnect/time" "^1.0.2"
"@walletconnect/types" "2.8.4"
"@walletconnect/types" "2.9.0"
"@walletconnect/window-getters" "^1.0.1"
"@walletconnect/window-metadata" "^1.0.1"
detect-browser "5.3.0"
Expand Down Expand Up @@ -4462,10 +4463,10 @@ valtio@1.10.6:
proxy-compare "2.5.1"
use-sync-external-store "1.2.0"

viem@1.2.5:
version "1.2.5"
resolved "https://registry.yarnpkg.com/viem/-/viem-1.2.5.tgz#e9f80a57b80d8749624b4b31a98041549a25c5ad"
integrity sha512-AeQ1hiyPKXnWb/KTsxRLt7KZUmLgd6NTCe/GyQf+8TZO7ndXmSZf88swE+60v1bLT+FDUWXufKGJ2oNT129wXw==
viem@1.2.10:
version "1.2.10"
resolved "https://registry.yarnpkg.com/viem/-/viem-1.2.10.tgz#2fec517f73b0e205ab866a3ec451127845a8162c"
integrity sha512-1WWhgb+WoQyPIt4zuSTaWsbXJ2q+rslohtg0g+kbo4Z9IGfXNLsp/wAjUhgUgArScCL6oALhjnnZ1O91I+gFrA==
dependencies:
"@adraffy/ens-normalize" "1.9.0"
"@noble/curves" "1.0.0"
Expand All @@ -4492,15 +4493,15 @@ viem@^1.0.0:
isomorphic-ws "5.0.0"
ws "8.12.0"

wagmi@1.3.3:
version "1.3.3"
resolved "https://registry.yarnpkg.com/wagmi/-/wagmi-1.3.3.tgz#7c97e44422b1a87d4b7fe4004044b0cc30cebcdb"
integrity sha512-9xZxyH2eg4dTxgPBD1FYCLbJUL9W0SKHoIhTE8pd89fArx1D2nbuFH6kalpSi57CfH00BO0RPF2lx/5dVF93cA==
wagmi@1.3.8:
version "1.3.8"
resolved "https://registry.yarnpkg.com/wagmi/-/wagmi-1.3.8.tgz#544554fdab35ee32d93f107eb75b9d1924e22880"
integrity sha512-RCfcE+Q+yhyfq7j5u7KQRz2KXUMAMexu0Y2kr8z81t4fmDlU5C+OEVQ6NFoUzAzEsJpznpQjZgsfpHKeFm17hQ==
dependencies:
"@tanstack/query-sync-storage-persister" "^4.27.1"
"@tanstack/react-query" "^4.28.0"
"@tanstack/react-query-persist-client" "^4.28.0"
"@wagmi/core" "1.3.3"
"@wagmi/core" "1.3.7"
abitype "0.8.7"
use-sync-external-store "^1.2.0"

Expand Down
2 changes: 1 addition & 1 deletion jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { Config } from '@jest/types';
// Sync object
const config: Config.InitialOptions = {
preset: 'ts-jest',
testEnvironment: 'jsdom',
testEnvironment: 'node',
transform: {
'^.+\\.tsx?$': 'ts-jest'
},
Expand Down
Loading

0 comments on commit 3f57c06

Please sign in to comment.