@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 +4 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -8
- package/dist/index.d.ts +7 -8
- package/dist/index.js +6 -5
- package/dist/index.js.map +1 -1
- package/dist/internal.cjs +6 -5
- 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 +8 -7
- package/dist/internal.js.map +1 -1
- package/dist/{namespace-specific-value-CPvcFpGI.d.cts → namespace-specific-value-BGuLucNQ.d.cts} +5 -6
- package/dist/{namespace-specific-value-CPvcFpGI.d.ts → namespace-specific-value-BGuLucNQ.d.ts} +5 -6
- package/package.json +4 -4
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.
|
|
4869
|
-
|
|
4870
|
-
|
|
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;
|