Releases: 1001-digital/ethereum-names
Releases · 1001-digital/ethereum-names
Release list
v0.3.0
Minor Changes
-
31364f6Thanks @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,detectSystemand the client now route bare labels to a configurablebareLabelsystem.- New
bareLabeloption ('ens' | 'gns' | 'wns'), defaulting to'ens'.detectSystem(input, bareLabel?)takes an optional second argument. - Behavior change: in
0.2.0a bare label resolved as.gwei; it now resolves against ENS by default. Since ENS has no bare-label namespace,resolve('alice')returnsnullunless you setbareLabel: 'gns'or'wns'(or pass an explicitalice.gwei/alice.wei).
- New
v0.2.0
Minor Changes
-
#1
e52b565Thanks @jwahdatehagh! - Add support for the Wei Name Service (WNS) — resolve, reverse-resolve, and read records for.weinames..weinames now route to the newwnssystem (detectSystem/systemreturn'wns').reverseAllreturns{ ens, gns, wns }, andreversePrioritydefaults to['ens', 'gns', 'wns'].- New
wnsContractconfig option and exportedDEFAULT_WNS_CONTRACTconstant. - GNS and WNS now resolve against their immutable mainnet registries via a shared minimal ABI, dropping the
@donnoh/gns-utilsandwns-utilsruntime dependencies (the package now has zero runtime dependencies).
v0.1.0
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.