@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/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: { chains: [ETHEREUM, BASE] }) {
2459
+ primaryNames(where: { chainNames: [ETHEREUM, BASE] }) {
2460
2460
  coinType
2461
- chain
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.isAddress)(value, { strict: false })) return value;
3175
- if ((0, import_viem9.isAddressEqual)(value, import_viem9.zeroAddress)) return null;
3176
- return (0, import_enssdk9.toNormalizedAddress)(value);
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;