Skip to content

Commit

Permalink
feat: first marked version, broadcast version
Browse files Browse the repository at this point in the history
  • Loading branch information
vaultec81 committed Feb 28, 2024
1 parent a3f38ed commit 254619e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vaultec/vsc-node",
"version": "1.0.0",
"version": "0.1.0",
"description": "",
"main": "dist/index.js",
"dependencies": {
Expand Down
6 changes: 4 additions & 2 deletions src/services/new/witness/versionManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ import { Collection } from "mongodb";



const VersionConfig = {
index_reset_id: 2
export const VersionConfig = {
index_reset_id: 2,
//Match with package.json and tag
version_id: 'v0.1.0'
}

/**
Expand Down
2 changes: 2 additions & 0 deletions src/services/nodeInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { getCommitHash, HiveClient, ModuleContainer } from "../utils";
import { CoreService, } from "./index";
import moment from "moment";
import { Collection } from "mongodb";
import { VersionConfig } from "./new/witness/versionManager";


export class NodeInfoService {
Expand Down Expand Up @@ -102,6 +103,7 @@ export class NodeInfoService {
ts: new Date().toISOString(),
hive_account: hiveAccount,
git_commit: this.gitCommit,
version_id: VersionConfig.version_id,
witness: {
enabled: witnessEnabled,
disabled_reason: disableReason,
Expand Down

0 comments on commit 254619e

Please sign in to comment.