@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/internal.cjs
CHANGED
|
@@ -2456,9 +2456,9 @@ query AccountPrimaryNames($address: Address!) {
|
|
|
2456
2456
|
account(by: { address: $address }) {
|
|
2457
2457
|
address
|
|
2458
2458
|
resolve {
|
|
2459
|
-
primaryNames(where: {
|
|
2459
|
+
primaryNames(where: { chainNames: [ETHEREUM, BASE] }) {
|
|
2460
2460
|
coinType
|
|
2461
|
-
|
|
2461
|
+
chainName
|
|
2462
2462
|
name { interpreted beautified }
|
|
2463
2463
|
resolve {
|
|
2464
2464
|
records {
|
|
@@ -3171,9 +3171,10 @@ function interpretAddressRecordValue(value) {
|
|
|
3171
3171
|
if (hasNullByte(value)) return null;
|
|
3172
3172
|
if (value === "") return null;
|
|
3173
3173
|
if (value === "0x") return null;
|
|
3174
|
-
if (!(0, import_viem9.
|
|
3175
|
-
|
|
3176
|
-
|
|
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;
|
|
3177
3178
|
}
|
|
3178
3179
|
function interpretTextRecordKey(key) {
|
|
3179
3180
|
if (hasNullByte(key)) return null;
|