Browse Source

expose version

ansuz 3 years ago
parent
commit
9113faa999
2 changed files with 3 additions and 1 deletions
  1. 2 0
      index.js
  2. 1 1
      package.json

+ 2 - 0
index.js

@@ -1,4 +1,6 @@
 var Fs = require("fs"),
+    Package = require("./package.json"),
+    version = module.exports.version = Package.version,
     Path = require("path"),
     DIRNAME = __dirname,
     read = function (p) {

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "hyperboria-peers",
-  "version": "1.0.11",
+  "version": "1.0.12",
   "description": "A geographically sorted list of public peering credentials for joining Hyperboria",
   "main": "index.js",
   "scripts": {