bdy 1.22.82-dev → 1.22.83-dev

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,7 +1,7 @@
1
1
  {
2
2
  "name": "bdy",
3
3
  "preferGlobal": false,
4
- "version": "1.22.82-dev",
4
+ "version": "1.22.83-dev",
5
5
  "type": "commonjs",
6
6
  "license": "MIT",
7
7
  "homepage": "https://buddy.works/docs/cli",
@@ -351,7 +351,7 @@ class Input {
351
351
  }
352
352
  static routeType(type) {
353
353
  if (!type)
354
- return distro_1.ROUTE_TYPE.PROXY;
354
+ return distro_1.ROUTE_TYPE.DIRECT_PROXY;
355
355
  if (Object.values(distro_1.ROUTE_TYPE).includes(type)) {
356
356
  return type;
357
357
  }
@@ -903,7 +903,7 @@ exports.DESC_COMMAND_ROUTE = 'Manage distribution routes';
903
903
  exports.OPT_COMMAND_SCOPE = 'Force scope (WORKSPACE, PROJECT). By default calculated by provided options and environmental variables (--project, BUDDY_PROJECT, linked project)';
904
904
  exports.OPT_COMMAND_DISTRO_IDENTIFIER = 'Human-readable ID of the distribution';
905
905
  exports.OPT_COMMAND_ROUTE_ID = 'ID of the route (find via "bdy distro route ls")';
906
- exports.OPT_COMMAND_ROUTE_TYPE = 'Type of the route. Allowed: PROXY, PROXY_NO_CACHE, REDIRECT, CLOAKING';
906
+ exports.OPT_COMMAND_ROUTE_TYPE = 'Type of the route. Allowed: DIRECT_PROXY (default), CACHED_PROXY, REDIRECT, CLOAKING';
907
907
  exports.OPT_COMMAND_ROUTE_SUBDOMAIN = 'Optional sub-name prepended to --domain (e.g. --subdomain=api --domain=example.com → api.example.com). Omit to route the zone itself. Do NOT use this to peel a label off a multi-level zone — the zone always goes whole into --domain';
908
908
  exports.OPT_COMMAND_ROUTE_DOMAIN = 'Zone for the route — pass the WHOLE string from `bdy domain ls` (e.g. "example.com" or "my-app.example.dev"). Do NOT split a multi-level zone into subdomain+domain; the entire bought/claimed string is one zone and goes here as-is. Use --subdomain only to route a sub-name within this zone';
909
909
  exports.OPT_COMMAND_ROUTE_PATH = 'Path of the route';
@@ -935,7 +935,7 @@ exports.TXT_COMMAND_DISTRO_DELETED = 'Distribution deleted successfully';
935
935
  exports.TXT_COMMAND_ROUTE_DELETED = 'Distribution route deleted successfully';
936
936
  exports.TXT_COMMAND_DISTROS_NOT_FOUND = 'No distributions found';
937
937
  exports.TXT_COMMAND_ROUTES_NOT_FOUND = 'No routes found';
938
- exports.ERR_COMMAND_ROUTE_TYPE = 'Wrong route type. Allowed: PROXY, REDIRECT, CLOAKING, PROXY_NO_CACHE';
938
+ exports.ERR_COMMAND_ROUTE_TYPE = 'Wrong route type. Allowed: DIRECT_PROXY, CACHED_PROXY, REDIRECT, CLOAKING';
939
939
  exports.ERR_COMMAND_ROUTE_NO_TARGET = 'At least one target must be provided';
940
940
  const ERR_WRONG_ROUTE_TARGET = (v, msg) => `Target has wrong format: ${v}. ${msg}`;
941
941
  exports.ERR_WRONG_ROUTE_TARGET = ERR_WRONG_ROUTE_TARGET;
@@ -8,10 +8,10 @@ var SCOPE;
8
8
  })(SCOPE || (exports.SCOPE = SCOPE = {}));
9
9
  var ROUTE_TYPE;
10
10
  (function (ROUTE_TYPE) {
11
- ROUTE_TYPE["PROXY"] = "PROXY";
11
+ ROUTE_TYPE["CACHED_PROXY"] = "CACHED_PROXY";
12
12
  ROUTE_TYPE["REDIRECT"] = "REDIRECT";
13
13
  ROUTE_TYPE["CLOAKING"] = "CLOAKING";
14
- ROUTE_TYPE["PROXY_NO_CACHE"] = "PROXY_NO_CACHE";
14
+ ROUTE_TYPE["DIRECT_PROXY"] = "DIRECT_PROXY";
15
15
  })(ROUTE_TYPE || (exports.ROUTE_TYPE = ROUTE_TYPE = {}));
16
16
  var ROUTE_TARGET_TYPE;
17
17
  (function (ROUTE_TARGET_TYPE) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bdy",
3
3
  "preferGlobal": false,
4
- "version": "1.22.82-dev",
4
+ "version": "1.22.83-dev",
5
5
  "type": "commonjs",
6
6
  "license": "MIT",
7
7
  "homepage": "https://buddy.works/docs/cli",