Skip to content

Commit

Permalink
refactor: centralize version number
Browse files Browse the repository at this point in the history
  • Loading branch information
tuliomir committed Nov 22, 2024
1 parent f3d42bb commit 324c04a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import { version } from '../package.json';

export const BASE_URL =
process.env.REACT_APP_BASE_URL || 'https://node.explorer.hathor.network/v1a/';
Expand Down Expand Up @@ -57,7 +58,7 @@ export const TESTNET_GENESIS_TX = [
'00975897028ceb037307327c953f5e7ad4d3f42402d71bd3d11ecb63ac39f01a',
];

export const VERSION = '0.20.6';
export const VERSION = version;

export const MIN_API_VERSION = '0.33.0';

Expand Down

0 comments on commit 324c04a

Please sign in to comment.