@faable/faable 1.19.0 → 1.20.0

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.
@@ -1,6 +1,11 @@
1
1
  import axios from 'axios';
2
2
 
3
- const BASE_URL = process.env.BASE_URL || "https://api.faable.com";
3
+ // FAABLE_API_URL: point the CLI at another Deploy API frontend (e.g.
4
+ // https://deploy.staging.faable.com for staging-gated testing). BASE_URL is
5
+ // the legacy name, kept for compatibility.
6
+ const BASE_URL = process.env.FAABLE_API_URL ||
7
+ process.env.BASE_URL ||
8
+ "https://api.faable.com";
4
9
  const create_base_client = () => {
5
10
  return axios.create({
6
11
  baseURL: BASE_URL,
@@ -54,6 +54,7 @@ class Configuration {
54
54
  startCommand: this.config.startCommand,
55
55
  buildCommand: this.config.buildCommand,
56
56
  buildpack: this.config.buildpack,
57
+ next: this.config.next,
57
58
  };
58
59
  }
59
60
  get app_slug() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faable/faable",
3
- "version": "1.19.0",
3
+ "version": "1.20.0",
4
4
  "main": "dist/index.js",
5
5
  "license": "MIT",
6
6
  "author": "Marc Pomar <marc@faable.com>",