diff --git a/CHANGELOG.md b/CHANGELOG.md index 5d8b5ae..6ff25f3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +### [0.0.1-alpha.155](https://github.com/DIG-Network/dig-chia-sdk/compare/v0.0.1-alpha.154...v0.0.1-alpha.155) (2024-10-06) + + +### Features + +* support hostnames in publicip env ([27418ef](https://github.com/DIG-Network/dig-chia-sdk/commit/27418efdb0b90d61648b2da6ef89606caf1e9431)) + ### [0.0.1-alpha.154](https://github.com/DIG-Network/dig-chia-sdk/compare/v0.0.1-alpha.153...v0.0.1-alpha.154) (2024-10-06) diff --git a/package-lock.json b/package-lock.json index ef2c64a..94a8d19 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@dignetwork/dig-sdk", - "version": "0.0.1-alpha.154", + "version": "0.0.1-alpha.155", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@dignetwork/dig-sdk", - "version": "0.0.1-alpha.154", + "version": "0.0.1-alpha.155", "license": "ISC", "dependencies": { "@dignetwork/datalayer-driver": "^0.1.29", diff --git a/package.json b/package.json index 2bd6bfd..f27d34b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@dignetwork/dig-sdk", - "version": "0.0.1-alpha.154", + "version": "0.0.1-alpha.155", "description": "", "type": "commonjs", "main": "./dist/index.js", diff --git a/src/utils/network.ts b/src/utils/network.ts index 29ac227..35dd9be 100644 --- a/src/utils/network.ts +++ b/src/utils/network.ts @@ -19,7 +19,7 @@ const isValidHost = (host: string): boolean => { }; export const getPublicHost = async (): Promise => { - const publicHost = Environment.PUBLIC_IP; + const publicHost = process.env.PUBLIC_IP; if (publicHost) { console.log("Public IP/Hostname from env:", publicHost);