@skyvexsoftware/stratos-sdk 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -59,7 +59,10 @@ export function stratosDevServer(options) {
59
59
  function getDevUrl() {
60
60
  const addr = server.httpServer?.address();
61
61
  if (addr && typeof addr === "object") {
62
- const host = addr.address === "::" || addr.address === "0.0.0.0"
62
+ const host = addr.address === "::" ||
63
+ addr.address === "::1" ||
64
+ addr.address === "0.0.0.0" ||
65
+ addr.address === "127.0.0.1"
63
66
  ? "localhost"
64
67
  : addr.address;
65
68
  return `http://${host}:${addr.port}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyvexsoftware/stratos-sdk",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Plugin SDK for Stratos — types, hooks, and UI components",
5
5
  "author": {
6
6
  "name": "Skyvex Software",