@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 +4 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +5 -7
- package/dist/index.js.map +1 -1
- package/dist/internal.cjs +4 -6
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +2 -2
- package/dist/internal.d.ts +2 -2
- package/dist/internal.js +5 -7
- package/dist/internal.js.map +1 -1
- package/dist/{namespace-specific-value-BGuLucNQ.d.cts → namespace-specific-value-BBZET9O0.d.cts} +4 -6
- package/dist/{namespace-specific-value-BGuLucNQ.d.ts → namespace-specific-value-BBZET9O0.d.ts} +4 -6
- package/package.json +4 -4
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
|
|
4870
|
-
if (
|
|
4871
|
-
return
|
|
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;
|