@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.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as EnsIndexerPublicConfig, r as CurrencyId, i as PriceEth, I as RegistrarActionPricingAvailable, J as RegistrarActionPricingUnknown, p as SerializedPriceEth, N as NamespaceSpecificValue, T as TheGraphFallback, g as PriceDai, h as PriceEnsTokens, j as PriceUsdc } from './namespace-specific-value-
|
|
2
|
-
export { a4 as TheGraphCannotFallbackReason, a5 as TheGraphCannotFallbackReasonSchema, a6 as TheGraphFallbackSchema, ad as interpretAddress, ae as interpretAddressRecordValue, af as interpretContenthashValue, ag as interpretDnszonehashValue, ah as interpretNameRecordValue, ai as interpretPubkeyValue, aj as interpretTextRecordKey, ak as interpretTextRecordValue, ap as makeENSApiPublicConfigSchema, aq as makeEnsApiPublicConfigSchema, m as makeErrorResponseSchema, ar as makeSerializedEnsApiPublicConfigSchema } from './namespace-specific-value-
|
|
1
|
+
import { a as EnsIndexerPublicConfig, r as CurrencyId, i as PriceEth, I as RegistrarActionPricingAvailable, J as RegistrarActionPricingUnknown, p as SerializedPriceEth, N as NamespaceSpecificValue, T as TheGraphFallback, g as PriceDai, h as PriceEnsTokens, j as PriceUsdc } from './namespace-specific-value-BBZET9O0.cjs';
|
|
2
|
+
export { a4 as TheGraphCannotFallbackReason, a5 as TheGraphCannotFallbackReasonSchema, a6 as TheGraphFallbackSchema, ad as interpretAddress, ae as interpretAddressRecordValue, af as interpretContenthashValue, ag as interpretDnszonehashValue, ah as interpretNameRecordValue, ai as interpretPubkeyValue, aj as interpretTextRecordKey, ak as interpretTextRecordValue, ap as makeENSApiPublicConfigSchema, aq as makeEnsApiPublicConfigSchema, m as makeErrorResponseSchema, ar as makeSerializedEnsApiPublicConfigSchema } from './namespace-specific-value-BBZET9O0.cjs';
|
|
3
3
|
import { z } from 'zod/v4';
|
|
4
4
|
import * as enssdk from 'enssdk';
|
|
5
5
|
import { InterpretedName, InterfaceId, Address, ChainId, ChainIdString, AccountId, DomainId, RegistryId } from 'enssdk';
|
package/dist/internal.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as EnsIndexerPublicConfig, r as CurrencyId, i as PriceEth, I as RegistrarActionPricingAvailable, J as RegistrarActionPricingUnknown, p as SerializedPriceEth, N as NamespaceSpecificValue, T as TheGraphFallback, g as PriceDai, h as PriceEnsTokens, j as PriceUsdc } from './namespace-specific-value-
|
|
2
|
-
export { a4 as TheGraphCannotFallbackReason, a5 as TheGraphCannotFallbackReasonSchema, a6 as TheGraphFallbackSchema, ad as interpretAddress, ae as interpretAddressRecordValue, af as interpretContenthashValue, ag as interpretDnszonehashValue, ah as interpretNameRecordValue, ai as interpretPubkeyValue, aj as interpretTextRecordKey, ak as interpretTextRecordValue, ap as makeENSApiPublicConfigSchema, aq as makeEnsApiPublicConfigSchema, m as makeErrorResponseSchema, ar as makeSerializedEnsApiPublicConfigSchema } from './namespace-specific-value-
|
|
1
|
+
import { a as EnsIndexerPublicConfig, r as CurrencyId, i as PriceEth, I as RegistrarActionPricingAvailable, J as RegistrarActionPricingUnknown, p as SerializedPriceEth, N as NamespaceSpecificValue, T as TheGraphFallback, g as PriceDai, h as PriceEnsTokens, j as PriceUsdc } from './namespace-specific-value-BBZET9O0.js';
|
|
2
|
+
export { a4 as TheGraphCannotFallbackReason, a5 as TheGraphCannotFallbackReasonSchema, a6 as TheGraphFallbackSchema, ad as interpretAddress, ae as interpretAddressRecordValue, af as interpretContenthashValue, ag as interpretDnszonehashValue, ah as interpretNameRecordValue, ai as interpretPubkeyValue, aj as interpretTextRecordKey, ak as interpretTextRecordValue, ap as makeENSApiPublicConfigSchema, aq as makeEnsApiPublicConfigSchema, m as makeErrorResponseSchema, ar as makeSerializedEnsApiPublicConfigSchema } from './namespace-specific-value-BBZET9O0.js';
|
|
3
3
|
import { z } from 'zod/v4';
|
|
4
4
|
import * as enssdk from 'enssdk';
|
|
5
5
|
import { InterpretedName, InterfaceId, Address, ChainId, ChainIdString, AccountId, DomainId, RegistryId } from 'enssdk';
|
package/dist/internal.js
CHANGED
|
@@ -2993,7 +2993,7 @@ var interpretAddress = (owner) => isAddressEqual4(zeroAddress5, owner) ? null :
|
|
|
2993
2993
|
|
|
2994
2994
|
// src/shared/interpretation/interpret-record-values.ts
|
|
2995
2995
|
import { isInterpretedName } from "enssdk";
|
|
2996
|
-
import {
|
|
2996
|
+
import { isHex as isHex2, zeroAddress as zeroAddress6 } from "viem";
|
|
2997
2997
|
|
|
2998
2998
|
// src/shared/null-bytes.ts
|
|
2999
2999
|
var hasNullByte = (value) => value.indexOf("\0") !== -1;
|
|
@@ -3005,13 +3005,11 @@ function interpretNameRecordValue(value) {
|
|
|
3005
3005
|
return value;
|
|
3006
3006
|
}
|
|
3007
3007
|
function interpretAddressRecordValue(value) {
|
|
3008
|
-
if (hasNullByte(value)) return null;
|
|
3009
|
-
if (value === "") return null;
|
|
3010
3008
|
if (value === "0x") return null;
|
|
3011
|
-
if (!isHex2(value)) return null;
|
|
3012
|
-
const
|
|
3013
|
-
if (
|
|
3014
|
-
return
|
|
3009
|
+
if (!isHex2(value, { strict: true })) return null;
|
|
3010
|
+
const normalized = value.toLowerCase();
|
|
3011
|
+
if (normalized === zeroAddress6) return null;
|
|
3012
|
+
return normalized;
|
|
3015
3013
|
}
|
|
3016
3014
|
function interpretTextRecordKey(key) {
|
|
3017
3015
|
if (hasNullByte(key)) return null;
|