windmill-client 1.296.0 → 1.296.1

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/client.d.ts CHANGED
@@ -67,7 +67,7 @@ export declare function setFlowUserState(key: string, value: any, errorIfNotPoss
67
67
  * @param path path of the variable
68
68
 
69
69
  */
70
- export declare function getFlowUserState(key: string, errorIfNotPossible?: boolean): Promise<void>;
70
+ export declare function getFlowUserState(key: string, errorIfNotPossible?: boolean): Promise<any>;
71
71
  /**
72
72
  * Get the internal state
73
73
  * @deprecated use getState instead
package/dist/client.js CHANGED
@@ -352,7 +352,7 @@ function getFlowUserState(key, errorIfNotPossible) {
352
352
  !clientSet && setClient();
353
353
  const workspace = getWorkspace();
354
354
  try {
355
- yield index_1.JobService.getFlowUserState({
355
+ return yield index_1.JobService.getFlowUserState({
356
356
  workspace,
357
357
  id: yield getRootJobId(),
358
358
  key,
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.OpenAPI = void 0;
4
4
  exports.OpenAPI = {
5
5
  BASE: '/api',
6
- VERSION: '1.296.0',
6
+ VERSION: '1.296.1',
7
7
  WITH_CREDENTIALS: false,
8
8
  CREDENTIALS: 'include',
9
9
  TOKEN: undefined,
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.296.0",
4
+ "version": "1.296.1",
5
5
  "author": "Ruben Fiszel",
6
6
  "license": "Apache 2.0",
7
7
  "devDependencies": {