windmill-cli 1.810.0 → 1.811.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 +12 -4
  2. package/package.json +1 -1
package/esm/main.js CHANGED
@@ -16766,7 +16766,7 @@ var init_OpenAPI = __esm(() => {
16766
16766
  PASSWORD: undefined,
16767
16767
  TOKEN: getEnv3("WM_TOKEN"),
16768
16768
  USERNAME: undefined,
16769
- VERSION: "1.810.0",
16769
+ VERSION: "1.811.0",
16770
16770
  WITH_CREDENTIALS: true,
16771
16771
  interceptors: {
16772
16772
  request: new Interceptors,
@@ -19971,7 +19971,7 @@ var init_auth = __esm(async () => {
19971
19971
  });
19972
19972
 
19973
19973
  // src/core/constants.ts
19974
- var WM_FORK_PREFIX = "wm-fork", VERSION = "1.810.0";
19974
+ var WM_FORK_PREFIX = "wm-fork", VERSION = "1.811.0";
19975
19975
 
19976
19976
  // src/utils/git.ts
19977
19977
  import { execSync, spawnSync } from "node:child_process";
@@ -21648,10 +21648,18 @@ async function deployItem(provider, kind, path, workspaceFrom, workspaceTo, onBe
21648
21648
  }
21649
21649
  });
21650
21650
  } else if (kind === "app" || kind === "raw_app") {
21651
- const app = await provider.getAppByPath({
21651
+ const rawApp = await provider.getAppByPath({
21652
21652
  workspace: workspaceFrom,
21653
21653
  path
21654
21654
  });
21655
+ const app = {
21656
+ ...rawApp,
21657
+ policy: {
21658
+ ...rawApp.policy,
21659
+ on_behalf_of: undefined,
21660
+ on_behalf_of_email: onBehalfOf
21661
+ }
21662
+ };
21655
21663
  if (alreadyExists) {
21656
21664
  if (app.raw_app) {
21657
21665
  const secret = await provider.getPublicSecretOfLatestVersionOfApp({
@@ -56373,7 +56381,7 @@ var init_openflow = __esm(() => {
56373
56381
  openflow_default = {
56374
56382
  openapi: "3.0.3",
56375
56383
  info: {
56376
- version: "1.810.0",
56384
+ version: "1.811.0",
56377
56385
  title: "OpenFlow Spec",
56378
56386
  contact: {
56379
56387
  name: "Ruben Fiszel",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "windmill-cli",
3
- "version": "1.810.0",
3
+ "version": "1.811.0",
4
4
  "description": "CLI for Windmill",
5
5
  "license": "Apache 2.0",
6
6
  "type": "module",