windmill-cli 1.762.2 → 1.763.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.
Files changed (2) hide show
  1. package/esm/main.js +14 -6
  2. package/package.json +1 -1
package/esm/main.js CHANGED
@@ -16784,7 +16784,7 @@ var init_OpenAPI = __esm(() => {
16784
16784
  PASSWORD: undefined,
16785
16785
  TOKEN: getEnv3("WM_TOKEN"),
16786
16786
  USERNAME: undefined,
16787
- VERSION: "1.762.2",
16787
+ VERSION: "1.763.0",
16788
16788
  WITH_CREDENTIALS: true,
16789
16789
  interceptors: {
16790
16790
  request: new Interceptors,
@@ -26667,7 +26667,7 @@ var init_auth = __esm(async () => {
26667
26667
  });
26668
26668
 
26669
26669
  // src/core/constants.ts
26670
- var WM_FORK_PREFIX = "wm-fork", VERSION = "1.762.2";
26670
+ var WM_FORK_PREFIX = "wm-fork", VERSION = "1.763.0";
26671
26671
 
26672
26672
  // src/utils/git.ts
26673
26673
  var exports_git = {};
@@ -68409,7 +68409,9 @@ function ZipFSElement(zip, useYaml, defaultTs, resourceTypeToFormatExtension, re
68409
68409
  };
68410
68410
  }
68411
68411
  if (stripOnBehalfOf) {
68412
- flow.has_on_behalf_of = !!flow.on_behalf_of_email;
68412
+ if (flow.on_behalf_of_email) {
68413
+ flow.has_on_behalf_of = true;
68414
+ }
68413
68415
  delete flow.on_behalf_of_email;
68414
68416
  }
68415
68417
  yield {
@@ -68616,7 +68618,9 @@ function ZipFSElement(zip, useYaml, defaultTs, resourceTypeToFormatExtension, re
68616
68618
  parsed["codebase"] = undefined;
68617
68619
  }
68618
68620
  if (stripOnBehalfOf) {
68619
- parsed["has_on_behalf_of"] = !!parsed["on_behalf_of_email"];
68621
+ if (parsed["on_behalf_of_email"]) {
68622
+ parsed["has_on_behalf_of"] = true;
68623
+ }
68620
68624
  delete parsed["on_behalf_of_email"];
68621
68625
  }
68622
68626
  delete parsed["modules"];
@@ -68648,12 +68652,16 @@ function ZipFSElement(zip, useYaml, defaultTs, resourceTypeToFormatExtension, re
68648
68652
  const isSchedule = p.endsWith(".schedule.json");
68649
68653
  const isTrigger = p.endsWith("_trigger.json");
68650
68654
  if (isSchedule) {
68651
- parsed["has_permissioned_as"] = !!parsed["permissioned_as"];
68655
+ if (parsed["permissioned_as"]) {
68656
+ parsed["has_permissioned_as"] = true;
68657
+ }
68652
68658
  delete parsed["permissioned_as"];
68653
68659
  delete parsed["email"];
68654
68660
  delete parsed["edited_by"];
68655
68661
  } else if (isTrigger) {
68656
- parsed["has_permissioned_as"] = !!parsed["permissioned_as"];
68662
+ if (parsed["permissioned_as"]) {
68663
+ parsed["has_permissioned_as"] = true;
68664
+ }
68657
68665
  delete parsed["permissioned_as"];
68658
68666
  delete parsed["edited_by"];
68659
68667
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "windmill-cli",
3
- "version": "1.762.2",
3
+ "version": "1.763.0",
4
4
  "description": "CLI for Windmill",
5
5
  "license": "Apache 2.0",
6
6
  "type": "module",