Skip to main content
v2.0.0
  • Added:
    • checkName: Returns whether a name is free and whether an address may mint it, with the chain taken from the listing. Compares the API result with the ENS registry. The previous methods could not do that on a gated listing.
    • prepareMint: Builds the mint transaction from a checkName result or a bare name.
    • maxValue: Caps price + fee in wei, so a price that moves between the quote and the signature throws PRICE_EXCEEDS_MAX instead of being charged.
    • MintManagerError: Every failure now carries a stable code, plus details and often docsUrl.
    • Normalization helpers: normalizeName, normalizeLabel, and normalizeSubname are exported, alongside MAX_NAME_BYTES and MAX_LABEL_BYTES.
    • customRpcUrls: Correctly spelled RPC map. cursomRpcUrls is still honored as a deprecated alias.
    • Signed parameter verification: The API’s signed mint parameters are checked against the request before they reach a wallet, throwing MINT_PARAMS_MISMATCH or SIGNATURE_EXPIRED.
    • logger and timeoutMilliseconds configuration options.
  • Changed:
    • Availability checks throw on RPC failure instead of returning false. An outage was previously indistinguishable from a taken name. Add a try/catch if you call these directly.
    • Names are normalized per ENSIP-15 before hashing. A name that cannot be normalized now throws INVALID_NAME rather than producing an arbitrary namehash.
    • Unknown chain names in records.addresses throw rather than being skipped silently.
    • isTestnet on MintDetailsRequest is ignored. The network comes from the client, so a quote cannot disagree with the transaction it precedes.
  • Fixed:
    • ContenthashType.Ipfs writes the ipfs-ns codec. It previously wrote p2p (0xa503), which ENS clients do not read as IPFS. Swarm, Arweave, and Skynet previously threw multicodec not recognized and now work.
    • Nested parent names resolve correctly in L2 availability checks. The parent of a.sub.example.eth is sub.example.eth, not example.eth.
  • Deprecated:
    • isL1SubnameAvailable and isL2SubnameAvailable, in favor of checkName. Both continue to work.
v1.1.1
  • Added:
    • Default EVM chain configuration for address records: ChainName.Default with coin type 2147483648.
  • Fixed:
    • Corrected Scroll coin type from 34352 to 534352.
v1.1.0
  • Changed:
    • Package Scope Rename: Renamed package scope in docs from @namespacesdk/mint-manager to @thenamespace/mint-manager
    • Client Creation Update: createMintClient() now derives environment internally. Use { isTestnet: true } to target testnet; no explicit environment needed
  • Fixed:
    • Testnet Behavior: When isTestnet: true, SDK now consistently uses Sepolia listings and staging API endpoints
  • Misc:
    • Documentation: Minor documentation cleanups and examples clarified
v1.0.1
  • Fixed:
    • Ownership Method: Fixed ownership in the method getMintTransactionParameters
v1.0.0
  • Changed:
    • Package Migration: Package has been moved from @namespacesdk/mint-manager to @thenamespace/mint-manager for consistency