@nocobase/plugin-workflow-delay 1.9.0-beta.4 → 1.9.0-beta.5

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.
@@ -11,8 +11,8 @@ module.exports = {
11
11
  "react": "18.2.0",
12
12
  "antd": "5.24.2",
13
13
  "@ant-design/icons": "5.6.1",
14
- "@nocobase/plugin-workflow": "1.9.0-beta.4",
15
- "@nocobase/client": "1.9.0-beta.4",
14
+ "@nocobase/plugin-workflow": "1.9.0-beta.5",
15
+ "@nocobase/client": "1.9.0-beta.5",
16
16
  "react-i18next": "11.18.6",
17
- "@nocobase/server": "1.9.0-beta.4"
17
+ "@nocobase/server": "1.9.0-beta.5"
18
18
  };
@@ -97,7 +97,7 @@ class DelayInstruction_default extends import_plugin_workflow.Instruction {
97
97
  }
98
98
  async run(node, prevJob, processor) {
99
99
  const duration = processor.getParsedValue(node.config.duration || 1, node.id) * (node.config.unit || 1e3);
100
- const job = await processor.saveJob({
100
+ const job = processor.saveJob({
101
101
  status: import_plugin_workflow.JOB_STATUS.PENDING,
102
102
  result: duration,
103
103
  nodeId: node.id,
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "displayName.zh-CN": "工作流:延时节点",
5
5
  "description": "Could be used in workflow parallel branch for waiting other branches.",
6
6
  "description.zh-CN": "可用于工作流并行分支中等待其他分支执行完成。",
7
- "version": "1.9.0-beta.4",
7
+ "version": "1.9.0-beta.5",
8
8
  "license": "AGPL-3.0",
9
9
  "main": "./dist/server/index.js",
10
10
  "homepage": "https://docs.nocobase.com/handbook/workflow-delay",
@@ -21,7 +21,7 @@
21
21
  "@nocobase/server": "1.x",
22
22
  "@nocobase/test": "1.x"
23
23
  },
24
- "gitHead": "0276aa12d87f82c73d62a9712134fe363e2c772a",
24
+ "gitHead": "9a61c60dd3db5af64244e82447309b0cb17aabb6",
25
25
  "keywords": [
26
26
  "Workflow"
27
27
  ]