@routr/simpledata 2.0.8-alpha.33 → 2.0.8-alpha.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/envs.d.ts CHANGED
@@ -1,3 +1,2 @@
1
- export declare const CONFIG_PATH: string;
2
1
  export declare const BIND_ADDR: string;
3
2
  export declare const PATH_TO_RESOURCES: string;
package/dist/envs.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  var _a;
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.PATH_TO_RESOURCES = exports.BIND_ADDR = exports.CONFIG_PATH = void 0;
4
+ exports.PATH_TO_RESOURCES = exports.BIND_ADDR = void 0;
5
5
  /*
6
6
  * Copyright (C) 2023 by Fonoster Inc (https://fonoster.com)
7
7
  * http://github.com/fonoster
@@ -21,7 +21,6 @@ exports.PATH_TO_RESOURCES = exports.BIND_ADDR = exports.CONFIG_PATH = void 0;
21
21
  * limitations under the License.
22
22
  */
23
23
  const common_1 = require("@routr/common");
24
- common_1.Assertions.assertEnvsAreSet(["CONFIG_PATH"]);
25
- exports.CONFIG_PATH = process.env.CONFIG_PATH;
24
+ common_1.Assertions.assertEnvsAreSet(["PATH_TO_RESOURCES"]);
26
25
  exports.BIND_ADDR = (_a = process.env.BIND_ADDR) !== null && _a !== void 0 ? _a : "0.0.0.0:51907";
27
26
  exports.PATH_TO_RESOURCES = process.env.PATH_TO_RESOURCES;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@routr/simpledata",
3
- "version": "2.0.8-alpha.33",
3
+ "version": "2.0.8-alpha.34",
4
4
  "description": "Files-based API Server for Routr Connect",
5
5
  "author": "Pedro Sanders <psanders@fonoster.com>",
6
6
  "homepage": "https://github.com/fonoster/routr#readme",
@@ -53,5 +53,5 @@
53
53
  "@types/google-protobuf": "^3.15.6",
54
54
  "@types/jsonpath": "^0.2.0"
55
55
  },
56
- "gitHead": "ba083087c734dcc29b190bacd12b41c480d11563"
56
+ "gitHead": "a17bd6599d870ce740cd764b572164f93b04f62b"
57
57
  }