Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@influenceth/sdk",
"version": "2.3.8",
"version": "2.3.9",
"description": "Influence SDK",
"type": "module",
"module": "./build/index.js",
Expand Down
3 changes: 0 additions & 3 deletions src/lib/building.js
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,6 @@ const CONSTRUCTION_STATUS_LABELS = {
[CONSTRUCTION_STATUSES.OPERATIONAL]: 'Operational'
};

const CONSTRUCTION_GRACE_PERIOD = 86400 * 2; // 2 days in IRL time
const DECONSTRUCTION_PENALTY = 0.10;

const getType = (type) => TYPES[type] ? { ...TYPES[type] } : null;
Expand All @@ -290,8 +289,6 @@ export default {
CONSTRUCTION_STATUSES,
CONSTRUCTION_STATUS_LABELS,
DECONSTRUCTION_PENALTY,
GRACE_PERIOD: CONSTRUCTION_GRACE_PERIOD, // legacy
CONSTRUCTION_GRACE_PERIOD,
IDS,

getConstructionTime,
Expand Down
Loading