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 +1 -1
- package/dist/client.js +1 -1
- package/dist/core/OpenAPI.js +1 -1
- package/package.json +1 -1
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<
|
|
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,
|
package/dist/core/OpenAPI.js
CHANGED