diff --git a/libs/abis/package.json b/libs/abis/package.json index ef32e26e..4ea81384 100644 --- a/libs/abis/package.json +++ b/libs/abis/package.json @@ -1,5 +1,9 @@ { "name": "@daohaus/abis", - "version": "0.4.2", - "type": "commonjs" + "version": "0.4.3", + "type": "commonjs", + "repository": { + "type": "git", + "url": "https://github.com/HausDAO/monorepo" + } } diff --git a/libs/connect-context/package.json b/libs/connect-context/package.json index a641c688..5846b544 100644 --- a/libs/connect-context/package.json +++ b/libs/connect-context/package.json @@ -1,4 +1,8 @@ { "name": "@daohaus/connect-context", - "version": "0.4.2" + "version": "0.4.3", + "repository": { + "type": "git", + "url": "https://github.com/HausDAO/monorepo" + } } diff --git a/libs/connect/package.json b/libs/connect/package.json index 8b5adefc..8994226e 100644 --- a/libs/connect/package.json +++ b/libs/connect/package.json @@ -1,7 +1,11 @@ { "name": "@daohaus/connect", - "version": "0.4.2", + "version": "0.4.3", "peerDependencies": { "react-router-dom": "^6.4.3" + }, + "repository": { + "type": "git", + "url": "https://github.com/HausDAO/monorepo" } } diff --git a/libs/contract-utils/package.json b/libs/contract-utils/package.json index 4148f839..78857900 100644 --- a/libs/contract-utils/package.json +++ b/libs/contract-utils/package.json @@ -1,5 +1,9 @@ { "name": "@daohaus/contract-utils", - "version": "0.4.2", - "type": "commonjs" + "version": "0.4.3", + "type": "commonjs", + "repository": { + "type": "git", + "url": "https://github.com/HausDAO/monorepo" + } } diff --git a/libs/data-fetch-utils/package.json b/libs/data-fetch-utils/package.json index d6801a4c..9b3e7427 100644 --- a/libs/data-fetch-utils/package.json +++ b/libs/data-fetch-utils/package.json @@ -1,5 +1,9 @@ { "name": "@daohaus/data-fetch-utils", - "version": "0.4.2", - "type": "commonjs" + "version": "0.4.3", + "type": "commonjs", + "repository": { + "type": "git", + "url": "https://github.com/HausDAO/monorepo" + } } diff --git a/libs/form-builder-base/package.json b/libs/form-builder-base/package.json index d3a5e33c..6d56f190 100644 --- a/libs/form-builder-base/package.json +++ b/libs/form-builder-base/package.json @@ -1,4 +1,8 @@ { "name": "@daohaus/form-builder-base", - "version": "0.4.2" + "version": "0.4.3", + "repository": { + "type": "git", + "url": "https://github.com/HausDAO/monorepo" + } } diff --git a/libs/form-builder/package.json b/libs/form-builder/package.json index 1d54ff50..9bb1b1db 100644 --- a/libs/form-builder/package.json +++ b/libs/form-builder/package.json @@ -1,4 +1,8 @@ { "name": "@daohaus/form-builder", - "version": "0.4.2" + "version": "0.4.3", + "repository": { + "type": "git", + "url": "https://github.com/HausDAO/monorepo" + } } diff --git a/libs/keychain-utils/package.json b/libs/keychain-utils/package.json index 5f6232d4..d8c913b1 100644 --- a/libs/keychain-utils/package.json +++ b/libs/keychain-utils/package.json @@ -1,4 +1,8 @@ { "name": "@daohaus/keychain-utils", - "version": "0.4.2" + "version": "0.4.3", + "repository": { + "type": "git", + "url": "https://github.com/HausDAO/monorepo" + } } diff --git a/libs/moloch-v3-data/package.json b/libs/moloch-v3-data/package.json index ebcb6a2c..0203f381 100644 --- a/libs/moloch-v3-data/package.json +++ b/libs/moloch-v3-data/package.json @@ -1,5 +1,9 @@ { "name": "@daohaus/moloch-v3-data", - "version": "0.4.2", - "type": "commonjs" + "version": "0.4.3", + "type": "commonjs", + "repository": { + "type": "git", + "url": "https://github.com/HausDAO/monorepo" + } } diff --git a/libs/moloch-v3-fields/package.json b/libs/moloch-v3-fields/package.json index ae68e29c..23e4f0ad 100644 --- a/libs/moloch-v3-fields/package.json +++ b/libs/moloch-v3-fields/package.json @@ -1,4 +1,8 @@ { "name": "@daohaus/moloch-v3-fields", - "version": "0.4.2" + "version": "0.4.3", + "repository": { + "type": "git", + "url": "https://github.com/HausDAO/monorepo" + } } diff --git a/libs/moloch-v3-fields/src/fields/MultisendActions.tsx b/libs/moloch-v3-fields/src/fields/MultisendActions.tsx index d9ce3a38..8055be58 100644 --- a/libs/moloch-v3-fields/src/fields/MultisendActions.tsx +++ b/libs/moloch-v3-fields/src/fields/MultisendActions.tsx @@ -296,6 +296,17 @@ const Action = ({ 'Contract not verified. You can manually paste the ABI but proceed with extreme caution!', }); } + // allow ABI to be overridden by the user + if ( + contractAbi && + contractAbi !== '' && + contractAbi !== JSON.stringify(fetchedAbi) + ) { + setValue(abiFieldId, contractAbi); + extractContractMethods(JSON.parse(contractAbi)); + setLoading(false); + return; + } if (!fetchedAbi && fallbackAbi) { cacheABI({ address, @@ -313,6 +324,7 @@ const Action = ({ }, [ abiFieldId, + contractAbi, contractMethodFieldId, daoChain, extractContractMethods, diff --git a/libs/moloch-v3-hooks/package.json b/libs/moloch-v3-hooks/package.json index f561a6cb..a61c3539 100644 --- a/libs/moloch-v3-hooks/package.json +++ b/libs/moloch-v3-hooks/package.json @@ -1,7 +1,11 @@ { "name": "@daohaus/moloch-v3-hooks", - "version": "0.4.2", + "version": "0.4.3", "peerDependencies": { "react-query": "^3.39.3" + }, + "repository": { + "type": "git", + "url": "https://github.com/HausDAO/monorepo" } } diff --git a/libs/moloch-v3-legos/package.json b/libs/moloch-v3-legos/package.json index 36bbbb48..8715725f 100644 --- a/libs/moloch-v3-legos/package.json +++ b/libs/moloch-v3-legos/package.json @@ -1,5 +1,9 @@ { "name": "@daohaus/moloch-v3-legos", - "version": "0.4.2", - "type": "commonjs" + "version": "0.4.3", + "type": "commonjs", + "repository": { + "type": "git", + "url": "https://github.com/HausDAO/monorepo" + } } diff --git a/libs/moloch-v3-macro-ui/package.json b/libs/moloch-v3-macro-ui/package.json index 54feb974..989c4b3c 100644 --- a/libs/moloch-v3-macro-ui/package.json +++ b/libs/moloch-v3-macro-ui/package.json @@ -1,7 +1,11 @@ { "name": "@daohaus/moloch-v3-macro-ui", - "version": "0.4.2", + "version": "0.4.3", "peerDependencies": { "react-router-dom": "^6.4.3" + }, + "repository": { + "type": "git", + "url": "https://github.com/HausDAO/monorepo" } } diff --git a/libs/profile-data/package.json b/libs/profile-data/package.json index 936caad7..94712313 100644 --- a/libs/profile-data/package.json +++ b/libs/profile-data/package.json @@ -1,5 +1,9 @@ { "name": "@daohaus/profile-data", - "version": "0.4.2", - "type": "commonjs" + "version": "0.4.3", + "type": "commonjs", + "repository": { + "type": "git", + "url": "https://github.com/HausDAO/monorepo" + } } diff --git a/libs/tx-builder/package.json b/libs/tx-builder/package.json index 932e12d3..9c6c81dc 100644 --- a/libs/tx-builder/package.json +++ b/libs/tx-builder/package.json @@ -1,4 +1,8 @@ { "name": "@daohaus/tx-builder", - "version": "0.4.2" + "version": "0.4.3", + "repository": { + "type": "git", + "url": "https://github.com/HausDAO/monorepo" + } } diff --git a/libs/ui/package.json b/libs/ui/package.json index caa84f3a..1b0ed608 100644 --- a/libs/ui/package.json +++ b/libs/ui/package.json @@ -1,4 +1,8 @@ { "name": "@daohaus/ui", - "version": "0.4.2" + "version": "0.4.3", + "repository": { + "type": "git", + "url": "https://github.com/HausDAO/monorepo" + } } diff --git a/libs/utils/package.json b/libs/utils/package.json index dabc3932..c302b462 100644 --- a/libs/utils/package.json +++ b/libs/utils/package.json @@ -1,4 +1,8 @@ { "name": "@daohaus/utils", - "version": "0.4.2" + "version": "0.4.3", + "repository": { + "type": "git", + "url": "https://github.com/HausDAO/monorepo" + } } diff --git a/libs/wizard-form-builder/package.json b/libs/wizard-form-builder/package.json index f5737d9d..182b6c58 100644 --- a/libs/wizard-form-builder/package.json +++ b/libs/wizard-form-builder/package.json @@ -1,4 +1,8 @@ { "name": "@daohaus/wizard-form-builder", - "version": "0.1.2" + "version": "0.1.3", + "repository": { + "type": "git", + "url": "https://github.com/HausDAO/monorepo" + } } diff --git a/package.json b/package.json index fbd7b54f..02a57459 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,10 @@ "name": "daohaus", "version": "0.0.0", "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/HausDAO/monorepo" + }, "scripts": { "postinstall": "husky install", "bumpversion": "node tools/scripts/incrementVersion.js",