@opendatalabs/vana-sdk 3.7.1 → 3.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -29011,7 +29011,16 @@ var ContractFactory = class {
29011
29011
  getAvailableContracts() {
29012
29012
  const chainAddresses = CONTRACT_ADDRESSES[this.chainId];
29013
29013
  if (!chainAddresses) return [];
29014
- return Object.keys(chainAddresses);
29014
+ return Object.keys(chainAddresses).filter(
29015
+ (contract) => {
29016
+ try {
29017
+ getAbi(contract);
29018
+ return true;
29019
+ } catch {
29020
+ return false;
29021
+ }
29022
+ }
29023
+ );
29015
29024
  }
29016
29025
  };
29017
29026
  function clearContractCache(contract, chainId) {