@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/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/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
|
|
3176
|
-
if (
|
|
3177
|
-
return
|
|
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;
|