@ensnode/ensnode-sdk 0.0.0-next-20260601182305 → 0.0.0-next-20260601204645

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
@@ -4862,13 +4862,11 @@ function interpretNameRecordValue(value) {
4862
4862
  return value;
4863
4863
  }
4864
4864
  function interpretAddressRecordValue(value) {
4865
- if (hasNullByte(value)) return null;
4866
- if (value === "") return null;
4867
4865
  if (value === "0x") return null;
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;
4866
+ if (!(0, import_viem10.isHex)(value, { strict: true })) return null;
4867
+ const normalized = value.toLowerCase();
4868
+ if (normalized === import_viem10.zeroAddress) return null;
4869
+ return normalized;
4872
4870
  }
4873
4871
  function interpretTextRecordKey(key) {
4874
4872
  if (hasNullByte(key)) return null;