bdy 1.22.81 → 1.22.82-stage

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.81",
4
+ "version": "1.22.82-stage",
5
5
  "type": "commonjs",
6
6
  "license": "MIT",
7
7
  "homepage": "https://buddy.works/docs/cli",
@@ -483,7 +483,7 @@ class ApiClient {
483
483
  if (project)
484
484
  query.project_name = project;
485
485
  return await this.request({
486
- method: 'PATCH',
486
+ method: 'PUT',
487
487
  path: `/workspaces/${encodeURIComponent(workspace)}/distributions/${encodeURIComponent(distributionId)}/routes/${encodeURIComponent(routeId)}`,
488
488
  query,
489
489
  body,
@@ -1093,12 +1093,8 @@ exports.EXAMPLE_ROUTE_DELETE = `
1093
1093
  ### delete route (find by "bdy distro route ls distro-identifier")
1094
1094
  bdy distro route rm distro-identifier route-id`;
1095
1095
  exports.EXAMPLE_ROUTE_UPDATE = `
1096
- ### update route path
1097
- bdy distro route update distro-identifier route-id --path="/public/*.js"
1098
- ### update route subdomain & domain
1099
- bdy distro route update distro-identifier route-id --subdomain=new --domain=test.com
1100
- ### update route target
1101
- bdy distro route update distro-identifier route-id --target url=https://example.com`;
1096
+ ### route update requires full param set (it's not partial)
1097
+ bdy distro route update distro-identifier route-id --subdomain=new --domain=test.com --target url=https://example.com`;
1102
1098
  exports.EXAMPLE_ROUTE_LIST = `
1103
1099
  ### list routes
1104
1100
  bdy distro route ls distro-identifier`;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bdy",
3
3
  "preferGlobal": false,
4
- "version": "1.22.81",
4
+ "version": "1.22.82-stage",
5
5
  "type": "commonjs",
6
6
  "license": "MIT",
7
7
  "homepage": "https://buddy.works/docs/cli",