@namehash/namehash-ui 1.15.1 → 1.15.2

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.d.cts CHANGED
@@ -928,102 +928,6 @@ declare const SUPPORTED_CHAINS: ({
928
928
  }] | undefined;
929
929
  readonly serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
930
930
  readonly verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
931
- } | {
932
- blockExplorers: {
933
- readonly default: {
934
- readonly name: "Etherscan";
935
- readonly url: "https://sepolia.etherscan.io";
936
- readonly apiUrl: "https://api-sepolia.etherscan.io/api";
937
- };
938
- };
939
- blockTime?: number | undefined | undefined;
940
- contracts: {
941
- readonly multicall3: {
942
- readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
943
- readonly blockCreated: 751532;
944
- };
945
- readonly ensUniversalResolver: {
946
- readonly address: "0xeeeeeeee14d718c2b47d9923deab1335e144eeee";
947
- readonly blockCreated: 8928790;
948
- };
949
- };
950
- ensTlds?: readonly string[] | undefined;
951
- id: 11155111;
952
- name: "Sepolia";
953
- nativeCurrency: {
954
- readonly name: "Sepolia Ether";
955
- readonly symbol: "ETH";
956
- readonly decimals: 18;
957
- };
958
- experimental_preconfirmationTime?: number | undefined | undefined;
959
- rpcUrls: {
960
- readonly default: {
961
- readonly http: readonly ["https://11155111.rpc.thirdweb.com"];
962
- };
963
- };
964
- sourceId?: number | undefined | undefined;
965
- testnet: true;
966
- custom?: Record<string, unknown> | undefined;
967
- extendSchema?: Record<string, unknown> | undefined;
968
- fees?: viem.ChainFees<undefined> | undefined;
969
- formatters?: undefined;
970
- prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
971
- phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
972
- }) => Promise<viem.PrepareTransactionRequestParameters>) | [fn: ((args: viem.PrepareTransactionRequestParameters, options: {
973
- phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
974
- }) => Promise<viem.PrepareTransactionRequestParameters>) | undefined, options: {
975
- runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
976
- }] | undefined;
977
- serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
978
- verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
979
- } | {
980
- readonly id: 99911155111;
981
- readonly name: "Sepolia V2 (Virtual)";
982
- readonly blockExplorers: {
983
- readonly default: {
984
- readonly name: "Etherscan";
985
- readonly url: "https://sepolia.etherscan.io";
986
- readonly apiUrl: "https://api-sepolia.etherscan.io/api";
987
- };
988
- };
989
- readonly blockTime?: number | undefined | undefined;
990
- readonly contracts: {
991
- readonly multicall3: {
992
- readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
993
- readonly blockCreated: 751532;
994
- };
995
- readonly ensUniversalResolver: {
996
- readonly address: "0xeeeeeeee14d718c2b47d9923deab1335e144eeee";
997
- readonly blockCreated: 8928790;
998
- };
999
- };
1000
- readonly ensTlds?: readonly string[] | undefined;
1001
- readonly nativeCurrency: {
1002
- readonly name: "Sepolia Ether";
1003
- readonly symbol: "ETH";
1004
- readonly decimals: 18;
1005
- };
1006
- readonly experimental_preconfirmationTime?: number | undefined | undefined;
1007
- readonly rpcUrls: {
1008
- readonly default: {
1009
- readonly http: readonly ["https://11155111.rpc.thirdweb.com"];
1010
- };
1011
- };
1012
- readonly sourceId?: number | undefined | undefined;
1013
- readonly testnet: true;
1014
- readonly custom?: Record<string, unknown> | undefined;
1015
- readonly extendSchema?: Record<string, unknown> | undefined;
1016
- readonly fees?: viem.ChainFees<undefined> | undefined;
1017
- readonly formatters?: undefined;
1018
- readonly prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
1019
- phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
1020
- }) => Promise<viem.PrepareTransactionRequestParameters>) | [fn: ((args: viem.PrepareTransactionRequestParameters, options: {
1021
- phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
1022
- }) => Promise<viem.PrepareTransactionRequestParameters>) | undefined, options: {
1023
- runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
1024
- }] | undefined;
1025
- readonly serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
1026
- readonly verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
1027
931
  } | {
1028
932
  blockExplorers: {
1029
933
  readonly default: {
@@ -1861,6 +1765,54 @@ declare const SUPPORTED_CHAINS: ({
1861
1765
  }] | undefined;
1862
1766
  serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
1863
1767
  verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
1768
+ } | {
1769
+ blockExplorers: {
1770
+ readonly default: {
1771
+ readonly name: "Etherscan";
1772
+ readonly url: "https://sepolia.etherscan.io";
1773
+ readonly apiUrl: "https://api-sepolia.etherscan.io/api";
1774
+ };
1775
+ };
1776
+ blockTime?: number | undefined | undefined;
1777
+ contracts: {
1778
+ readonly multicall3: {
1779
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
1780
+ readonly blockCreated: 751532;
1781
+ };
1782
+ readonly ensUniversalResolver: {
1783
+ readonly address: "0xeeeeeeee14d718c2b47d9923deab1335e144eeee";
1784
+ readonly blockCreated: 8928790;
1785
+ };
1786
+ };
1787
+ ensTlds?: readonly string[] | undefined;
1788
+ id: 11155111;
1789
+ name: "Sepolia";
1790
+ nativeCurrency: {
1791
+ readonly name: "Sepolia Ether";
1792
+ readonly symbol: "ETH";
1793
+ readonly decimals: 18;
1794
+ };
1795
+ experimental_preconfirmationTime?: number | undefined | undefined;
1796
+ rpcUrls: {
1797
+ readonly default: {
1798
+ readonly http: readonly ["https://11155111.rpc.thirdweb.com"];
1799
+ };
1800
+ };
1801
+ sourceId?: number | undefined | undefined;
1802
+ testnet: true;
1803
+ custom?: Record<string, unknown> | undefined;
1804
+ extendSchema?: Record<string, unknown> | undefined;
1805
+ fees?: viem.ChainFees<undefined> | undefined;
1806
+ formatters?: undefined;
1807
+ prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
1808
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
1809
+ }) => Promise<viem.PrepareTransactionRequestParameters>) | [fn: ((args: viem.PrepareTransactionRequestParameters, options: {
1810
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
1811
+ }) => Promise<viem.PrepareTransactionRequestParameters>) | undefined, options: {
1812
+ runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
1813
+ }] | undefined;
1814
+ serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
1815
+ verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
1864
1816
  } | {
1865
1817
  blockExplorers: {
1866
1818
  readonly default: {
@@ -2679,20 +2631,4 @@ declare function getEnsManagerNameDetailsUrl(name: Name, namespaceId: ENSNamespa
2679
2631
  */
2680
2632
  declare function getEnsManagerAddressDetailsUrl(address: Address, namespaceId: ENSNamespaceId): URL | null;
2681
2633
 
2682
- /**
2683
- * Build the avatar image URL for a name on the given ENS Namespace that (once fetched) would
2684
- * load the avatar image for the given name from the ENS Metadata Service
2685
- * (https://metadata.ens.domains/docs).
2686
- *
2687
- * The returned URL is dynamically built based on the provided ENS namespace. Not all ENS
2688
- * namespaces are supported by the ENS Metadata Service. Therefore, the returned URL may
2689
- * be null.
2690
- *
2691
- * @param {Name} name - ENS name to build the avatar image URL for
2692
- * @param {ENSNamespaceId} namespaceId - ENS Namespace identifier
2693
- * @returns avatar image URL for the name on the given ENS Namespace, or null if the given
2694
- * ENS namespace is not supported by the ENS Metadata Service
2695
- */
2696
- declare function getEnsMetadataServiceAvatarUrl(name: Name, namespaceId: ENSNamespaceId): URL | null;
2697
-
2698
- export { ASSUME_IMMUTABLE_QUERY, AbsoluteTime, AddressDisplay, ChainExplorerIcon, ChainIcon, type ChainIconProps, ChainName, type ChainNameProps, CopyButton, type CopyButtonProps, DISABLED_QUERY, DisplayDuration, DisplayIdentity, EfpIcon, EmailIcon, EnsAvatar, EnsIcon, EnsNodeContext, EnsNodeProvider, type EnsNodeProviderOptions, type EnsNodeProviderProps, EnsServiceProviderIcon, FarcasterIcon, Footer, GitHubIcon, IdentityLink, type IdentityLinkDetails, IdentityTooltip, type IdentityTooltipProps, InfoIcon, LabeledField, NameDisplay, type QueryParameter, type ReferrerLinkData, RegistrarActionCard, RegistrarActionCardLoading, type RegistrarActionCardLoadingProps, RegistrarActionCardMemo, type RegistrarActionCardProps, RelativeTime, ResolveAndDisplayIdentity, type ResolveAndDisplayIdentityProps, SUPPORTED_CHAINS, TelegramIcon, TwitterIcon, type UsePrimaryNameParameters, type UsePrimaryNamesParameters, type UseRecordsParameters, type UseResolvedIdentityParameters, type WithEnsNodeProviderOptions, createEnsNodeProviderOptions, createIndexingStatusQueryOptions, createNameTokensQueryOptions, createPrimaryNameQueryOptions, createPrimaryNamesQueryOptions, createRecordsQueryOptions, createRegistrarActionsQueryOptions, formatRelativeTime, getBlockExplorerAddressDetailsUrl, getBlockExplorerBlockUrl, getBlockExplorerTransactionDetailsUrl, getBlockExplorerUrl, getChainName, getEnsManagerAddressDetailsUrl, getEnsManagerNameDetailsUrl, getEnsManagerUrl, getEnsMetadataServiceAvatarUrl, queryKeys, useEnsNodeProviderOptions, useIndexingStatus, useIsMobile, useNameTokens, useNow, usePrimaryName, usePrimaryNames, useRecords, useRegistrarActions, useResolvedIdentity, useSwrQuery };
2634
+ export { ASSUME_IMMUTABLE_QUERY, AbsoluteTime, AddressDisplay, ChainExplorerIcon, ChainIcon, type ChainIconProps, ChainName, type ChainNameProps, CopyButton, type CopyButtonProps, DISABLED_QUERY, DisplayDuration, DisplayIdentity, EfpIcon, EmailIcon, EnsAvatar, EnsIcon, EnsNodeContext, EnsNodeProvider, type EnsNodeProviderOptions, type EnsNodeProviderProps, EnsServiceProviderIcon, FarcasterIcon, Footer, GitHubIcon, IdentityLink, type IdentityLinkDetails, IdentityTooltip, type IdentityTooltipProps, InfoIcon, LabeledField, NameDisplay, type QueryParameter, type ReferrerLinkData, RegistrarActionCard, RegistrarActionCardLoading, type RegistrarActionCardLoadingProps, RegistrarActionCardMemo, type RegistrarActionCardProps, RelativeTime, ResolveAndDisplayIdentity, type ResolveAndDisplayIdentityProps, SUPPORTED_CHAINS, TelegramIcon, TwitterIcon, type UsePrimaryNameParameters, type UsePrimaryNamesParameters, type UseRecordsParameters, type UseResolvedIdentityParameters, type WithEnsNodeProviderOptions, createEnsNodeProviderOptions, createIndexingStatusQueryOptions, createNameTokensQueryOptions, createPrimaryNameQueryOptions, createPrimaryNamesQueryOptions, createRecordsQueryOptions, createRegistrarActionsQueryOptions, formatRelativeTime, getBlockExplorerAddressDetailsUrl, getBlockExplorerBlockUrl, getBlockExplorerTransactionDetailsUrl, getBlockExplorerUrl, getChainName, getEnsManagerAddressDetailsUrl, getEnsManagerNameDetailsUrl, getEnsManagerUrl, queryKeys, useEnsNodeProviderOptions, useIndexingStatus, useIsMobile, useNameTokens, useNow, usePrimaryName, usePrimaryNames, useRecords, useRegistrarActions, useResolvedIdentity, useSwrQuery };
package/dist/index.d.ts CHANGED
@@ -928,102 +928,6 @@ declare const SUPPORTED_CHAINS: ({
928
928
  }] | undefined;
929
929
  readonly serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
930
930
  readonly verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
931
- } | {
932
- blockExplorers: {
933
- readonly default: {
934
- readonly name: "Etherscan";
935
- readonly url: "https://sepolia.etherscan.io";
936
- readonly apiUrl: "https://api-sepolia.etherscan.io/api";
937
- };
938
- };
939
- blockTime?: number | undefined | undefined;
940
- contracts: {
941
- readonly multicall3: {
942
- readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
943
- readonly blockCreated: 751532;
944
- };
945
- readonly ensUniversalResolver: {
946
- readonly address: "0xeeeeeeee14d718c2b47d9923deab1335e144eeee";
947
- readonly blockCreated: 8928790;
948
- };
949
- };
950
- ensTlds?: readonly string[] | undefined;
951
- id: 11155111;
952
- name: "Sepolia";
953
- nativeCurrency: {
954
- readonly name: "Sepolia Ether";
955
- readonly symbol: "ETH";
956
- readonly decimals: 18;
957
- };
958
- experimental_preconfirmationTime?: number | undefined | undefined;
959
- rpcUrls: {
960
- readonly default: {
961
- readonly http: readonly ["https://11155111.rpc.thirdweb.com"];
962
- };
963
- };
964
- sourceId?: number | undefined | undefined;
965
- testnet: true;
966
- custom?: Record<string, unknown> | undefined;
967
- extendSchema?: Record<string, unknown> | undefined;
968
- fees?: viem.ChainFees<undefined> | undefined;
969
- formatters?: undefined;
970
- prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
971
- phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
972
- }) => Promise<viem.PrepareTransactionRequestParameters>) | [fn: ((args: viem.PrepareTransactionRequestParameters, options: {
973
- phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
974
- }) => Promise<viem.PrepareTransactionRequestParameters>) | undefined, options: {
975
- runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
976
- }] | undefined;
977
- serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
978
- verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
979
- } | {
980
- readonly id: 99911155111;
981
- readonly name: "Sepolia V2 (Virtual)";
982
- readonly blockExplorers: {
983
- readonly default: {
984
- readonly name: "Etherscan";
985
- readonly url: "https://sepolia.etherscan.io";
986
- readonly apiUrl: "https://api-sepolia.etherscan.io/api";
987
- };
988
- };
989
- readonly blockTime?: number | undefined | undefined;
990
- readonly contracts: {
991
- readonly multicall3: {
992
- readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
993
- readonly blockCreated: 751532;
994
- };
995
- readonly ensUniversalResolver: {
996
- readonly address: "0xeeeeeeee14d718c2b47d9923deab1335e144eeee";
997
- readonly blockCreated: 8928790;
998
- };
999
- };
1000
- readonly ensTlds?: readonly string[] | undefined;
1001
- readonly nativeCurrency: {
1002
- readonly name: "Sepolia Ether";
1003
- readonly symbol: "ETH";
1004
- readonly decimals: 18;
1005
- };
1006
- readonly experimental_preconfirmationTime?: number | undefined | undefined;
1007
- readonly rpcUrls: {
1008
- readonly default: {
1009
- readonly http: readonly ["https://11155111.rpc.thirdweb.com"];
1010
- };
1011
- };
1012
- readonly sourceId?: number | undefined | undefined;
1013
- readonly testnet: true;
1014
- readonly custom?: Record<string, unknown> | undefined;
1015
- readonly extendSchema?: Record<string, unknown> | undefined;
1016
- readonly fees?: viem.ChainFees<undefined> | undefined;
1017
- readonly formatters?: undefined;
1018
- readonly prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
1019
- phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
1020
- }) => Promise<viem.PrepareTransactionRequestParameters>) | [fn: ((args: viem.PrepareTransactionRequestParameters, options: {
1021
- phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
1022
- }) => Promise<viem.PrepareTransactionRequestParameters>) | undefined, options: {
1023
- runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
1024
- }] | undefined;
1025
- readonly serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
1026
- readonly verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
1027
931
  } | {
1028
932
  blockExplorers: {
1029
933
  readonly default: {
@@ -1861,6 +1765,54 @@ declare const SUPPORTED_CHAINS: ({
1861
1765
  }] | undefined;
1862
1766
  serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
1863
1767
  verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
1768
+ } | {
1769
+ blockExplorers: {
1770
+ readonly default: {
1771
+ readonly name: "Etherscan";
1772
+ readonly url: "https://sepolia.etherscan.io";
1773
+ readonly apiUrl: "https://api-sepolia.etherscan.io/api";
1774
+ };
1775
+ };
1776
+ blockTime?: number | undefined | undefined;
1777
+ contracts: {
1778
+ readonly multicall3: {
1779
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
1780
+ readonly blockCreated: 751532;
1781
+ };
1782
+ readonly ensUniversalResolver: {
1783
+ readonly address: "0xeeeeeeee14d718c2b47d9923deab1335e144eeee";
1784
+ readonly blockCreated: 8928790;
1785
+ };
1786
+ };
1787
+ ensTlds?: readonly string[] | undefined;
1788
+ id: 11155111;
1789
+ name: "Sepolia";
1790
+ nativeCurrency: {
1791
+ readonly name: "Sepolia Ether";
1792
+ readonly symbol: "ETH";
1793
+ readonly decimals: 18;
1794
+ };
1795
+ experimental_preconfirmationTime?: number | undefined | undefined;
1796
+ rpcUrls: {
1797
+ readonly default: {
1798
+ readonly http: readonly ["https://11155111.rpc.thirdweb.com"];
1799
+ };
1800
+ };
1801
+ sourceId?: number | undefined | undefined;
1802
+ testnet: true;
1803
+ custom?: Record<string, unknown> | undefined;
1804
+ extendSchema?: Record<string, unknown> | undefined;
1805
+ fees?: viem.ChainFees<undefined> | undefined;
1806
+ formatters?: undefined;
1807
+ prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
1808
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
1809
+ }) => Promise<viem.PrepareTransactionRequestParameters>) | [fn: ((args: viem.PrepareTransactionRequestParameters, options: {
1810
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
1811
+ }) => Promise<viem.PrepareTransactionRequestParameters>) | undefined, options: {
1812
+ runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
1813
+ }] | undefined;
1814
+ serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
1815
+ verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
1864
1816
  } | {
1865
1817
  blockExplorers: {
1866
1818
  readonly default: {
@@ -2679,20 +2631,4 @@ declare function getEnsManagerNameDetailsUrl(name: Name, namespaceId: ENSNamespa
2679
2631
  */
2680
2632
  declare function getEnsManagerAddressDetailsUrl(address: Address, namespaceId: ENSNamespaceId): URL | null;
2681
2633
 
2682
- /**
2683
- * Build the avatar image URL for a name on the given ENS Namespace that (once fetched) would
2684
- * load the avatar image for the given name from the ENS Metadata Service
2685
- * (https://metadata.ens.domains/docs).
2686
- *
2687
- * The returned URL is dynamically built based on the provided ENS namespace. Not all ENS
2688
- * namespaces are supported by the ENS Metadata Service. Therefore, the returned URL may
2689
- * be null.
2690
- *
2691
- * @param {Name} name - ENS name to build the avatar image URL for
2692
- * @param {ENSNamespaceId} namespaceId - ENS Namespace identifier
2693
- * @returns avatar image URL for the name on the given ENS Namespace, or null if the given
2694
- * ENS namespace is not supported by the ENS Metadata Service
2695
- */
2696
- declare function getEnsMetadataServiceAvatarUrl(name: Name, namespaceId: ENSNamespaceId): URL | null;
2697
-
2698
- export { ASSUME_IMMUTABLE_QUERY, AbsoluteTime, AddressDisplay, ChainExplorerIcon, ChainIcon, type ChainIconProps, ChainName, type ChainNameProps, CopyButton, type CopyButtonProps, DISABLED_QUERY, DisplayDuration, DisplayIdentity, EfpIcon, EmailIcon, EnsAvatar, EnsIcon, EnsNodeContext, EnsNodeProvider, type EnsNodeProviderOptions, type EnsNodeProviderProps, EnsServiceProviderIcon, FarcasterIcon, Footer, GitHubIcon, IdentityLink, type IdentityLinkDetails, IdentityTooltip, type IdentityTooltipProps, InfoIcon, LabeledField, NameDisplay, type QueryParameter, type ReferrerLinkData, RegistrarActionCard, RegistrarActionCardLoading, type RegistrarActionCardLoadingProps, RegistrarActionCardMemo, type RegistrarActionCardProps, RelativeTime, ResolveAndDisplayIdentity, type ResolveAndDisplayIdentityProps, SUPPORTED_CHAINS, TelegramIcon, TwitterIcon, type UsePrimaryNameParameters, type UsePrimaryNamesParameters, type UseRecordsParameters, type UseResolvedIdentityParameters, type WithEnsNodeProviderOptions, createEnsNodeProviderOptions, createIndexingStatusQueryOptions, createNameTokensQueryOptions, createPrimaryNameQueryOptions, createPrimaryNamesQueryOptions, createRecordsQueryOptions, createRegistrarActionsQueryOptions, formatRelativeTime, getBlockExplorerAddressDetailsUrl, getBlockExplorerBlockUrl, getBlockExplorerTransactionDetailsUrl, getBlockExplorerUrl, getChainName, getEnsManagerAddressDetailsUrl, getEnsManagerNameDetailsUrl, getEnsManagerUrl, getEnsMetadataServiceAvatarUrl, queryKeys, useEnsNodeProviderOptions, useIndexingStatus, useIsMobile, useNameTokens, useNow, usePrimaryName, usePrimaryNames, useRecords, useRegistrarActions, useResolvedIdentity, useSwrQuery };
2634
+ export { ASSUME_IMMUTABLE_QUERY, AbsoluteTime, AddressDisplay, ChainExplorerIcon, ChainIcon, type ChainIconProps, ChainName, type ChainNameProps, CopyButton, type CopyButtonProps, DISABLED_QUERY, DisplayDuration, DisplayIdentity, EfpIcon, EmailIcon, EnsAvatar, EnsIcon, EnsNodeContext, EnsNodeProvider, type EnsNodeProviderOptions, type EnsNodeProviderProps, EnsServiceProviderIcon, FarcasterIcon, Footer, GitHubIcon, IdentityLink, type IdentityLinkDetails, IdentityTooltip, type IdentityTooltipProps, InfoIcon, LabeledField, NameDisplay, type QueryParameter, type ReferrerLinkData, RegistrarActionCard, RegistrarActionCardLoading, type RegistrarActionCardLoadingProps, RegistrarActionCardMemo, type RegistrarActionCardProps, RelativeTime, ResolveAndDisplayIdentity, type ResolveAndDisplayIdentityProps, SUPPORTED_CHAINS, TelegramIcon, TwitterIcon, type UsePrimaryNameParameters, type UsePrimaryNamesParameters, type UseRecordsParameters, type UseResolvedIdentityParameters, type WithEnsNodeProviderOptions, createEnsNodeProviderOptions, createIndexingStatusQueryOptions, createNameTokensQueryOptions, createPrimaryNameQueryOptions, createPrimaryNamesQueryOptions, createRecordsQueryOptions, createRegistrarActionsQueryOptions, formatRelativeTime, getBlockExplorerAddressDetailsUrl, getBlockExplorerBlockUrl, getBlockExplorerTransactionDetailsUrl, getBlockExplorerUrl, getChainName, getEnsManagerAddressDetailsUrl, getEnsManagerNameDetailsUrl, getEnsManagerUrl, queryKeys, useEnsNodeProviderOptions, useIndexingStatus, useIsMobile, useNameTokens, useNow, usePrimaryName, usePrimaryNames, useRecords, useRegistrarActions, useResolvedIdentity, useSwrQuery };
package/dist/index.js CHANGED
@@ -4215,12 +4215,11 @@ function ChainIcon({ chainId, width = 20, height = 20 }) {
4215
4215
  }
4216
4216
 
4217
4217
  // src/utils/chains.ts
4218
- import { ensTestEnvChain as ensTestEnvChain2, sepoliaV2Chain } from "@ensnode/datasources";
4218
+ import { ensTestEnvChain as ensTestEnvChain2 } from "@ensnode/datasources";
4219
4219
  var SUPPORTED_CHAINS = [
4220
4220
  ensTestEnvChain2,
4221
4221
  mainnet,
4222
4222
  sepolia,
4223
- sepoliaV2Chain,
4224
4223
  base,
4225
4224
  baseSepolia,
4226
4225
  linea,
@@ -4234,7 +4233,6 @@ var SUPPORTED_CHAINS = [
4234
4233
  ];
4235
4234
  var CUSTOM_CHAIN_NAMES = /* @__PURE__ */ new Map([
4236
4235
  [ensTestEnvChain2.id, "Ethereum Local (ens-test-env)"],
4237
- [sepoliaV2Chain.id, "Sepolia V2 (virtual)"],
4238
4236
  [mainnet.id, "Mainnet"],
4239
4237
  [sepolia.id, "Ethereum Sepolia"],
4240
4238
  [base.id, "Base"],
@@ -5158,23 +5156,9 @@ function AddressDisplay({ address, className }) {
5158
5156
 
5159
5157
  // src/components/identity/EnsAvatar.tsx
5160
5158
  import BoringAvatar from "boring-avatars";
5159
+ import { getEnsMetadataServiceImageUrl } from "enssdk";
5161
5160
  import * as React3 from "react";
5162
5161
 
5163
- // src/utils/ensMetadata.ts
5164
- import { ENSNamespaceIds } from "@ensnode/ensnode-sdk";
5165
- function getEnsMetadataServiceAvatarUrl(name, namespaceId) {
5166
- switch (namespaceId) {
5167
- case ENSNamespaceIds.Mainnet:
5168
- return new URL(name, `https://metadata.ens.domains/mainnet/avatar/`);
5169
- case ENSNamespaceIds.Sepolia:
5170
- return new URL(name, `https://metadata.ens.domains/sepolia/avatar/`);
5171
- case ENSNamespaceIds.SepoliaV2:
5172
- return null;
5173
- case ENSNamespaceIds.EnsTestEnv:
5174
- return null;
5175
- }
5176
- }
5177
-
5178
5162
  // src/components/ui/avatar.tsx
5179
5163
  import * as AvatarPrimitive from "@radix-ui/react-avatar";
5180
5164
  import { jsx as jsx33 } from "react/jsx-runtime";
@@ -5206,7 +5190,7 @@ function AvatarImage({ className, ...props }) {
5206
5190
  import { jsx as jsx34, jsxs as jsxs24 } from "react/jsx-runtime";
5207
5191
  var EnsAvatar = ({ name, namespaceId, className, isSquare = false }) => {
5208
5192
  const [loadingStatus, setLoadingStatus] = React3.useState("idle");
5209
- const avatarUrl = getEnsMetadataServiceAvatarUrl(name, namespaceId);
5193
+ const avatarUrl = getEnsMetadataServiceImageUrl(name, namespaceId, "avatar");
5210
5194
  if (avatarUrl === null) {
5211
5195
  return /* @__PURE__ */ jsx34(Avatar, { className, children: /* @__PURE__ */ jsx34(EnsAvatarFallback, { name, isSquare }) });
5212
5196
  }
@@ -5279,16 +5263,16 @@ var getBlockExplorerBlockUrl = (chainId, blockNumber) => {
5279
5263
  };
5280
5264
 
5281
5265
  // src/utils/ensManager.ts
5282
- import { ENSNamespaceIds as ENSNamespaceIds2 } from "@ensnode/ensnode-sdk";
5266
+ import { ENSNamespaceIds } from "@ensnode/ensnode-sdk";
5283
5267
  function getEnsManagerUrl(namespaceId) {
5284
5268
  switch (namespaceId) {
5285
- case ENSNamespaceIds2.Mainnet:
5269
+ case ENSNamespaceIds.Mainnet:
5286
5270
  return new URL(`https://app.ens.domains/`);
5287
- case ENSNamespaceIds2.Sepolia:
5271
+ case ENSNamespaceIds.Sepolia:
5288
5272
  return new URL(`https://sepolia.app.ens.domains/`);
5289
- case ENSNamespaceIds2.SepoliaV2:
5273
+ case ENSNamespaceIds.SepoliaV2:
5290
5274
  return null;
5291
- case ENSNamespaceIds2.EnsTestEnv:
5275
+ case ENSNamespaceIds.EnsTestEnv:
5292
5276
  return null;
5293
5277
  }
5294
5278
  }
@@ -5730,7 +5714,7 @@ function useRegistrarActions(parameters = {}) {
5730
5714
 
5731
5715
  // src/ensnode/hooks/useResolvedIdentity.ts
5732
5716
  import {
5733
- ENSNamespaceIds as ENSNamespaceIds3,
5717
+ ENSNamespaceIds as ENSNamespaceIds2,
5734
5718
  getResolvePrimaryNameChainIdParam,
5735
5719
  ResolutionStatusIds as ResolutionStatusIds2
5736
5720
  } from "@ensnode/ensnode-sdk";
@@ -5745,7 +5729,7 @@ function useResolvedIdentity(parameters) {
5745
5729
  chainId: getResolvePrimaryNameChainIdParam(
5746
5730
  identity.chainId,
5747
5731
  // NOTE: defaulting here for typechecking, but enabled prevents fetching before namespace is known
5748
- namespace ?? ENSNamespaceIds3.Mainnet
5732
+ namespace ?? ENSNamespaceIds2.Mainnet
5749
5733
  ),
5750
5734
  accelerate,
5751
5735
  // NOTE: Overriding `gcTime` to prevent unbounded memory growth
@@ -6464,7 +6448,6 @@ export {
6464
6448
  getEnsManagerAddressDetailsUrl,
6465
6449
  getEnsManagerNameDetailsUrl,
6466
6450
  getEnsManagerUrl,
6467
- getEnsMetadataServiceAvatarUrl,
6468
6451
  queryKeys,
6469
6452
  useEnsNodeProviderOptions,
6470
6453
  useIndexingStatus,