public-ip v4.0.0 Release Notes

Release Date: 2019-11-22 // over 2 years ago
  • 💥 Breaking

    • 📇 Rename the http option to onlyHttps.
      0️⃣ Previously, the default behavior was to use DNS, and if that failed, the request would fail. What's changed is that by default it will now try DNS, and if that fails, it will fall back to HTTPS. The option was renamed to better reflect that HTTPS is used even when {onlyHttps: false}.

    ✨ Enhancements

    v3.2.0...v4.0.0