@orth/cli 0.2.18 → 0.2.19

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.
Files changed (2) hide show
  1. package/dist/api.js +1 -1
  2. package/package.json +1 -1
package/dist/api.js CHANGED
@@ -8,7 +8,7 @@ exports.getDetails = getDetails;
8
8
  exports.run = run;
9
9
  exports.integrate = integrate;
10
10
  const config_js_1 = require("./config.js");
11
- const BASE_URL = "https://api.orth.sh/v1";
11
+ const BASE_URL = process.env.ORTH_API_URL || "https://api.orth.sh/v1";
12
12
  async function apiRequest(endpoint, options = {}) {
13
13
  const apiKey = (0, config_js_1.requireApiKey)();
14
14
  const res = await fetch(`${BASE_URL}${endpoint}`, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orth/cli",
3
- "version": "0.2.18",
3
+ "version": "0.2.19",
4
4
  "description": "CLI to access all APIs and skills on the Orthogonal platform",
5
5
  "main": "dist/index.js",
6
6
  "bin": {