windmill-client 1.450.0-beta.1 → 1.450.0-beta.2

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/dist/client.js +2 -0
  2. package/package.json +1 -1
package/dist/client.js CHANGED
@@ -353,6 +353,7 @@ function setResource(value, path, initializeToTypeIfNotExist) {
353
353
  const mockedApi = yield getMockedApi();
354
354
  if (mockedApi) {
355
355
  mockedApi.resources[path] = value;
356
+ return;
356
357
  }
357
358
  const workspace = getWorkspace();
358
359
  if (yield index_1.ResourceService.existsResource({ workspace, path })) {
@@ -565,6 +566,7 @@ function setVariable(path, value, isSecretIfNotExist, descriptionIfNotExist) {
565
566
  const mockedApi = yield getMockedApi();
566
567
  if (mockedApi) {
567
568
  mockedApi.variables[path] = value;
569
+ return;
568
570
  }
569
571
  const workspace = getWorkspace();
570
572
  if (yield index_1.VariableService.existsVariable({ workspace, path })) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "windmill-client",
3
3
  "description": "Windmill SDK client for browsers and Node.js",
4
- "version": "1.450.0-beta.1",
4
+ "version": "1.450.0-beta.2",
5
5
  "author": "Ruben Fiszel",
6
6
  "license": "Apache 2.0",
7
7
  "devDependencies": {