Skip to content

Releases: 1001-digital/ethereum-names

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 06 Jul 07:09
4b28212

Minor Changes

  • 31364f6 Thanks @jwahdatehagh! - Make bare-label resolution configurable and default it to ENS.

    Bare labels (no dot, e.g. alice) are ambiguous now that both GNS (.gwei) and WNS (.wei) accept them — and they can point to different owners. Rather than silently guess, detectSystem and the client now route bare labels to a configurable bareLabel system.

    • New bareLabel option ('ens' | 'gns' | 'wns'), defaulting to 'ens'. detectSystem(input, bareLabel?) takes an optional second argument.
    • Behavior change: in 0.2.0 a bare label resolved as .gwei; it now resolves against ENS by default. Since ENS has no bare-label namespace, resolve('alice') returns null unless you set bareLabel: 'gns' or 'wns' (or pass an explicit alice.gwei / alice.wei).

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 06 Jul 06:55
b5111ea

Minor Changes

  • #1 e52b565 Thanks @jwahdatehagh! - Add support for the Wei Name Service (WNS) — resolve, reverse-resolve, and read records for .wei names.

    • .wei names now route to the new wns system (detectSystem/system return 'wns').
    • reverseAll returns { ens, gns, wns }, and reversePriority defaults to ['ens', 'gns', 'wns'].
    • New wnsContract config option and exported DEFAULT_WNS_CONTRACT constant.
    • GNS and WNS now resolve against their immutable mainnet registries via a shared minimal ABI, dropping the @donnoh/gns-utils and wns-utils runtime dependencies (the package now has zero runtime dependencies).

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 30 Jun 23:50

Minor Changes

  • Initial release. One clean, viem-powered API to resolve Ethereum names across ENS and the Gwei Name Service (GNS): resolve, reverse, reverseAll, lookup, getAvatar, getText, with forward-verified reverse lookups and per-system routing.