@ensnode/ensnode-sdk 0.0.0-next-20260601140021 → 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/internal.cjs CHANGED
@@ -3168,13 +3168,11 @@ function interpretNameRecordValue(value) {
3168
3168
  return value;
3169
3169
  }
3170
3170
  function interpretAddressRecordValue(value) {
3171
- if (hasNullByte(value)) return null;
3172
- if (value === "") return null;
3173
3171
  if (value === "0x") return null;
3174
- if (!(0, import_viem9.isHex)(value)) return null;
3175
- const hex = value.toLowerCase();
3176
- if ((0, import_viem9.isAddress)(hex, { strict: false }) && (0, import_viem9.isAddressEqual)(hex, import_viem9.zeroAddress)) return null;
3177
- return hex;
3172
+ if (!(0, import_viem9.isHex)(value, { strict: true })) return null;
3173
+ const normalized = value.toLowerCase();
3174
+ if (normalized === import_viem9.zeroAddress) return null;
3175
+ return normalized;
3178
3176
  }
3179
3177
  function interpretTextRecordKey(key) {
3180
3178
  if (hasNullByte(key)) return null;