ponder 0.8.0 → 0.8.1

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.
@@ -804,7 +804,7 @@ async function buildConfigAndIndexingFunctions({
804
804
  networkName: source.network
805
805
  };
806
806
  const resolvedAddress = source?.address;
807
- if (typeof resolvedAddress === "object") {
807
+ if (typeof resolvedAddress === "object" && !Array.isArray(resolvedAddress)) {
808
808
  const logFactory = buildLogFactory({
809
809
  chainId: network.chainId,
810
810
  ...resolvedAddress
@@ -927,7 +927,7 @@ async function buildConfigAndIndexingFunctions({
927
927
  `Validation failed: Account '${source.name}' must specify an 'address'.`
928
928
  );
929
929
  }
930
- if (typeof resolvedAddress === "object") {
930
+ if (typeof resolvedAddress === "object" && !Array.isArray(resolvedAddress)) {
931
931
  const logFactory = buildLogFactory({
932
932
  chainId: network.chainId,
933
933
  ...resolvedAddress