Update SDK and enable deploy button

This commit is contained in:
Nacho Iacovino
2022-03-28 12:03:10 +02:00
parent 5b30e2a4f0
commit 968e3630c6
3 changed files with 5 additions and 6 deletions
+1 -1
View File
@@ -26,7 +26,7 @@
"@n8tb1t/use-scroll-position": "^2.0.3",
"@thirdweb-dev/chain-icons": "^1.0.2",
"@thirdweb-dev/react": "^2.0.3",
"@thirdweb-dev/sdk": "^2.0.16",
"@thirdweb-dev/sdk": "^2.0.17",
"color": "^4.0.1",
"date-fns": "^2.28.0",
"emotion-theming": "^11.0.0",
@@ -709,7 +709,6 @@ const ContractDeployForm = <TContract extends ValidContractClass>({
transactionCount={1}
isDisabled={
!Object.keys(formState.touchedFields).length ||
!BigNumber.from(balance?.data?.value || 0)?.gt(0) ||
TYPE_CONTRACT_MAP[type as keyof typeof TYPE_CONTRACT_MAP].find(
(c) => c.contractType === contractType,
)?.comingSoon
+4 -4
View File
@@ -1685,10 +1685,10 @@
tiny-invariant "^1.2.0"
wagmi "0.2.21"
"@thirdweb-dev/sdk@^2.0.16":
version "2.0.16"
resolved "https://registry.yarnpkg.com/@thirdweb-dev/sdk/-/sdk-2.0.16.tgz#22509fbef3c52e585fa35b2a8062efb7b4fb6e51"
integrity sha512-ICNw0/a4o5uHjI8ZeZp852l908bqwL9shr4dj3beB4TQFVviwUorWVKJgZork4teibm/i03vNYXo0kzmj3Nvww==
"@thirdweb-dev/sdk@^2.0.17":
version "2.0.17"
resolved "https://registry.yarnpkg.com/@thirdweb-dev/sdk/-/sdk-2.0.17.tgz#1d98bae880253f12f3b736b9321bbbf0cd367a56"
integrity sha512-oj2juzOFDk/sLZobv2pVvAuAvpHase+OqPRXPkH0+t1E1/zinYkTPLxp3Z+e87GfP2iZ7Lhb8HtgW69TND1w+A==
dependencies:
"@ethersproject/bignumber" "^5.5.0"
"@ethersproject/bytes" "^5.4.0"