@plasmicapp/cli 0.1.350 → 0.1.351

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/index.js CHANGED
@@ -491887,6 +491887,8 @@ var PlasmicApi = class {
491887
491887
  get codegenHost() {
491888
491888
  if (!this.auth.host || this.auth.host === DEFAULT_HOST) {
491889
491889
  return "https://codegen.plasmic.app";
491890
+ } else if (this.auth.host === "https://studio.dev.plasmic.app") {
491891
+ return "https://codegen.dev.plasmic.app";
491890
491892
  } else {
491891
491893
  return this.auth.host;
491892
491894
  }
package/dist/lib.js CHANGED
@@ -487193,6 +487193,8 @@ var PlasmicApi = class {
487193
487193
  get codegenHost() {
487194
487194
  if (!this.auth.host || this.auth.host === DEFAULT_HOST) {
487195
487195
  return "https://codegen.plasmic.app";
487196
+ } else if (this.auth.host === "https://studio.dev.plasmic.app") {
487197
+ return "https://codegen.dev.plasmic.app";
487196
487198
  } else {
487197
487199
  return this.auth.host;
487198
487200
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plasmicapp/cli",
3
- "version": "0.1.350",
3
+ "version": "0.1.351",
4
4
  "description": "plasmic cli for syncing local code with Plasmic designs",
5
5
  "engines": {
6
6
  "node": ">=12"
@@ -82,5 +82,5 @@
82
82
  "wrap-ansi": "^7.0.0",
83
83
  "yargs": "^15.4.1"
84
84
  },
85
- "gitHead": "1e8a75eb4e5dcf4aa0c74b830234d5a0c3e2eabf"
85
+ "gitHead": "8df0090d06f8565e0a21404cea947d34df23a045"
86
86
  }
package/src/api.ts CHANGED
@@ -585,6 +585,8 @@ export class PlasmicApi {
585
585
  private get codegenHost() {
586
586
  if (!this.auth.host || this.auth.host === DEFAULT_HOST) {
587
587
  return "https://codegen.plasmic.app";
588
+ } else if (this.auth.host === "https://studio.dev.plasmic.app") {
589
+ return "https://codegen.dev.plasmic.app";
588
590
  } else {
589
591
  return this.auth.host;
590
592
  }