@ensnode/ensnode-sdk 0.0.0-next-20260601084304 → 0.0.0-next-20260601140021

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.
package/dist/index.cjs CHANGED
@@ -4865,9 +4865,10 @@ function interpretAddressRecordValue(value) {
4865
4865
  if (hasNullByte(value)) return null;
4866
4866
  if (value === "") return null;
4867
4867
  if (value === "0x") return null;
4868
- if (!(0, import_viem10.isAddress)(value, { strict: false })) return value;
4869
- if ((0, import_viem10.isAddressEqual)(value, import_viem10.zeroAddress)) return null;
4870
- return (0, import_enssdk9.toNormalizedAddress)(value);
4868
+ if (!(0, import_viem10.isHex)(value)) return null;
4869
+ const hex = value.toLowerCase();
4870
+ if ((0, import_viem10.isAddress)(hex, { strict: false }) && (0, import_viem10.isAddressEqual)(hex, import_viem10.zeroAddress)) return null;
4871
+ return hex;
4871
4872
  }
4872
4873
  function interpretTextRecordKey(key) {
4873
4874
  if (hasNullByte(key)) return null;