@thenamespace/ens-components 0.10.0 → 0.11.0
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.ts +6 -2
- package/dist/index.js +39546 -38785
- package/dist/index.js.map +1 -1
- package/dist/types/components/subname-onchain-registrar-modal/SubnameOnChainRegistrarModal.d.ts +2 -1
- package/dist/types/components/subname-onchain-registrar-modal/sub-components/InitialStep.d.ts +2 -1
- package/dist/types/components/subname-onchain-registrar-modal/sub-components/RegistrationStep.d.ts +9 -4
- package/dist/types/context/profile-filter.context.d.ts +19 -0
- package/dist/types/utils/index.d.ts +1 -0
- package/dist/types/utils/numbers.d.ts +2 -0
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -86,6 +86,7 @@ declare const NavbarProfileCard: React__default.FC<NavbarProfileCardProps>;
|
|
|
86
86
|
interface SubnameOnChainRegistrarModalProps {
|
|
87
87
|
step?: number;
|
|
88
88
|
name?: string;
|
|
89
|
+
parentName?: string;
|
|
89
90
|
profileComplete?: boolean;
|
|
90
91
|
domainSuffix?: string;
|
|
91
92
|
owner?: string;
|
|
@@ -111,7 +112,7 @@ interface SubnameOnChainRegistrarModalProps {
|
|
|
111
112
|
onViewName?: () => void;
|
|
112
113
|
onFinish?: () => void;
|
|
113
114
|
}
|
|
114
|
-
declare function SubnameOnChainRegistrarModal({ step: initialStep, name: initialName, profileComplete, domainSuffix, owner: initialOwner, duration: initialDuration,
|
|
115
|
+
declare function SubnameOnChainRegistrarModal({ step: initialStep, name: initialName, parentName: initialParentName, profileComplete, domainSuffix, owner: initialOwner, duration: initialDuration, useAsPrimary: initialUseAsPrimary, profileImageUrl, onStepChange, onNameChange, onProfileCompleteChange, onOwnerChange, onDurationChange, onUseAsPrimaryChange, onRegister, onCancel, onClose, onCompleteProfile, onOpenWallet, onCompleteRegistration, onRegisterAnother, onViewName, onFinish, }: SubnameOnChainRegistrarModalProps): react_jsx_runtime.JSX.Element;
|
|
115
116
|
|
|
116
117
|
interface SubnameOffChainRegistrarModalProps {
|
|
117
118
|
step?: number;
|
|
@@ -26551,6 +26552,9 @@ interface EnsRecordsDiff {
|
|
|
26551
26552
|
}
|
|
26552
26553
|
declare const getEnsRecordsDiff: (oldRecords: EnsRecords$2, newRecords: EnsRecords$2) => EnsRecordsDiff;
|
|
26553
26554
|
|
|
26555
|
+
declare const ensureFloatInput: (value: string) => string;
|
|
26556
|
+
declare const formatFloat: (value: string | number, decimals?: number) => number;
|
|
26557
|
+
|
|
26554
26558
|
declare const SET_TEXT_FUNC = "function setText(bytes32 node, string key, string value)";
|
|
26555
26559
|
declare const SET_ADDRESS_FUNC = "function setAddr(bytes32 node, uint256 coin, bytes value)";
|
|
26556
26560
|
declare const SET_CONTENTHASH_FUNC = "function setContenthash(bytes32 node, bytes value)";
|
|
@@ -26939,5 +26943,5 @@ interface ThemeProviderProps {
|
|
|
26939
26943
|
declare const ThemeProvider: React__default.FC<ThemeProviderProps>;
|
|
26940
26944
|
declare const useTheme: () => ThemeContextValue;
|
|
26941
26945
|
|
|
26942
|
-
export { Abis, Alert, Button, Card, ChainIcon, ContenthashIcon, ContenthashProtocol, DeadlineType, Dropdown, ENSNameCard, ENSNamesRegistrarComponent, ENS_RESOLVER_ABI, Icon, Input, L2ExpirableType, L2ListingType, ListingCurrencyType, ListingMetadataDTO, ListingTokenType, ListingType, ListingVersionType, MULTICALL, MintDeniedMessage, Modal, NavbarProfileCard, ParentControl, PendingTransaction, ProfileCard, ProfileHeader, SET_ADDRESS_FUNC, SET_CONTENTHASH_FUNC, SET_TEXT_FUNC, SelectRecordsForm, SubnameOffChainRegistrarModal, SubnameOnChainRegistrarModal, SupportedNetwork, SupportedTexts, Text, TextRecordCategory, Textarea, ThemeProvider, Tooltip, TransactionState, WalletConnectProvider, WhitelistType, addL1SubnameToGenericName, addL2SubnameToGenericNames, allSupportedChains, capitalize, convertEVMChainIdToCoinType, convertRecordsToResolverData, deepCopy, equalsIgnoreCase, getChain, getChainById, getChainForListing, getChainForListingV2, getChainName, getEnsContracts, getEnsRecordsDiff, getL1NamespaceContracts, getL2NamespaceContracts, getListingNetwork, getListingNetworkId, getProvider, getSupportedAddressByCoin, getSupportedAddressByName, getSupportedAddressMap, getSupportedChashByProtocol, getSupportedText, isContenthashValid, isL2Chain, isSupportedTestnet, isTestnet, showErrorModal, showTxPopup, supportedAddresses, supportedContenthashRecords, supportedTexts, toListingNetwork, useAlchemySDK, useBlockExplorer, useBurnL2Subname, useEFP, useENS, useEnsContractAddresses, useEnsFullNameProfile, useErrorModal, useEthRegistrarController, useHybridResolver, useL1NameMinter, useL2Controller, useListingManager, useListingSuggestions, useMainChain, useMainPublicClient, useMintClient, useNameResolver, useNameWrapper, useNamespaceAccount, useNamespaceIndexer, useTheme, useWaitForTransaction, useWeb3Client, useWeb3Clients };
|
|
26946
|
+
export { Abis, Alert, Button, Card, ChainIcon, ContenthashIcon, ContenthashProtocol, DeadlineType, Dropdown, ENSNameCard, ENSNamesRegistrarComponent, ENS_RESOLVER_ABI, Icon, Input, L2ExpirableType, L2ListingType, ListingCurrencyType, ListingMetadataDTO, ListingTokenType, ListingType, ListingVersionType, MULTICALL, MintDeniedMessage, Modal, NavbarProfileCard, ParentControl, PendingTransaction, ProfileCard, ProfileHeader, SET_ADDRESS_FUNC, SET_CONTENTHASH_FUNC, SET_TEXT_FUNC, SelectRecordsForm, SubnameOffChainRegistrarModal, SubnameOnChainRegistrarModal, SupportedNetwork, SupportedTexts, Text, TextRecordCategory, Textarea, ThemeProvider, Tooltip, TransactionState, WalletConnectProvider, WhitelistType, addL1SubnameToGenericName, addL2SubnameToGenericNames, allSupportedChains, capitalize, convertEVMChainIdToCoinType, convertRecordsToResolverData, deepCopy, ensureFloatInput, equalsIgnoreCase, formatFloat, getChain, getChainById, getChainForListing, getChainForListingV2, getChainName, getEnsContracts, getEnsRecordsDiff, getL1NamespaceContracts, getL2NamespaceContracts, getListingNetwork, getListingNetworkId, getProvider, getSupportedAddressByCoin, getSupportedAddressByName, getSupportedAddressMap, getSupportedChashByProtocol, getSupportedText, isContenthashValid, isL2Chain, isSupportedTestnet, isTestnet, showErrorModal, showTxPopup, supportedAddresses, supportedContenthashRecords, supportedTexts, toListingNetwork, useAlchemySDK, useBlockExplorer, useBurnL2Subname, useEFP, useENS, useEnsContractAddresses, useEnsFullNameProfile, useErrorModal, useEthRegistrarController, useHybridResolver, useL1NameMinter, useL2Controller, useListingManager, useListingSuggestions, useMainChain, useMainPublicClient, useMintClient, useNameResolver, useNameWrapper, useNamespaceAccount, useNamespaceIndexer, useTheme, useWaitForTransaction, useWeb3Client, useWeb3Clients };
|
|
26943
26947
|
export type { AccountEFPState, AccountNamesState, AlertProps, AlertVariant, AuthMessage, ButtonProps, ButtonSize, ButtonVariant, ChainName, ContractExecutionError, CreateListingRequest, DeadlineDTO, DropdownProps, EFPState, EnsAddressRecord, EnsContenthashRecord, EnsContenthashRecordDecoded, EnsName, EnsNameMintStats, EnsNameOwner, EnsRecords, EnsRecordsDecoded, EnsRecordsDiff, EnsRegistrationContext, EnsTextRecord, FullListingDTO, GenericMintedName, GetMintableListingsParams, HybridResolverConfig, IEnsNameFullProfile, IGetMintableListingsParams, IL2Node, ILabelPrice, IListingStats, IMintableListing, INameListing, INamespaceAccount, IReservedSubname, ISpecialLabelRules, ITokenGatedAccess, IconName, IconProps, InputProps, InputSize, InputType, L2IndexedSubname, L2MintParameters, L2MintParametersRequest, L2MintParametersResponse, L2NameMetadata, L2NameRegistryDTO, L2Registry, L2TokenCreateRequest, L2TokenParameters, LabelPriceDTO, Layer2Network, ListingDTO, ListingPricesDTO, MintDeniedReason, MintParameters, MintParametersRequest, MintParametersResponse, MintableListing, MintedL1SubnameEvent, ModalProps, ModalSize, PrimaryNameState, ProfileHeaderProps, ReservedLabelDTO, SimulateMintRequest, SimulateMintResponse, SpecialPriceDTO, SupportedChainName, SupportedContenthashRecord, SupportedEnsAddress, SupportedNetworkType, SupportedText, SupportedTextRecord, TextCategory, TextColor, TextProps, TextSize, TextWeight, TextareaProps, TextareaSize, ThemeContextValue, ThemeName, ThemeProviderProps, TokenGatedAccessDTO, TokenGatedType, TooltipPosition, TooltipProps, UpdateListingRequestDTO, Web3Network, WhitelistDTO };
|