Releases: sindresorhus/public-ip
Releases · sindresorhus/public-ip
v6.0.0
Breaking
- Use named exports instead of methods on a default export (#63) 4e1d895
import publicIp from 'public-ip'; publicIp.v6();
→ import {publicIpv6} from 'public-ip'; publicIpv6();
- Allow getting either IPv6 or IPv4 (#63) 4e1d895
v5.0.0...v6.0.0
v5.0.0
Breaking
Improvements
- Throw a special error subclass when the public IP address could not be found d353d7c
v4.0.4...v5.0.0