ddan-js 3.2.1 → 3.2.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.
@@ -13,6 +13,6 @@ export default class DHooker extends DHooker_base {
13
13
  lock(id: string, func: Ddan.PFunction): Promise<[any, undefined] | [null, any]> | undefined;
14
14
  unlock(id: string): void;
15
15
  exec(func: Ddan.PFunction, taskId: string): Ddan.PSafeResult;
16
- pipeRunAsync(func: Ddan.Function): Promise<unknown>;
16
+ pipeAsync(func: Ddan.Function): Ddan.PSafeResult;
17
17
  }
18
18
  export {};
@@ -25,7 +25,7 @@ declare const _default: {
25
25
  pipe: (func: Ddan.Function, callback?: ((result: Ddan.SafeResult<any>) => void) | undefined) => DPipeline;
26
26
  pipeline: (max?: number) => DPipeline;
27
27
  safeTask: (func: Ddan.Function, callback?: ((result: Ddan.SafeResult<any>) => void) | undefined) => DSafeTask;
28
- pipeRunAsync: (func: Ddan.Function) => Promise<unknown>;
28
+ pipeAsync: (func: Ddan.Function) => Ddan.PSafeResult<any>;
29
29
  bezier1: (p0: Ddan.IPoint, p1: Ddan.IPoint, t: number) => Ddan.IPoint;
30
30
  bezier2: (p0: Ddan.IPoint, p1: Ddan.IPoint, p2: Ddan.IPoint, t: number) => Ddan.IPoint;
31
31
  bezier3: (p0: Ddan.IPoint, p1: Ddan.IPoint, p2: Ddan.IPoint, p3: Ddan.IPoint, t: number) => Ddan.IPoint;
@@ -112,7 +112,7 @@ declare const dHook: {
112
112
  pipe: (func: import("..").Ddan.Function, callback?: ((result: import("..").Ddan.SafeResult<any>) => void) | undefined) => import("../modules/hook/modules/pipeline").default;
113
113
  pipeline: (max?: number) => import("../modules/hook/modules/pipeline").default;
114
114
  safeTask: (func: import("..").Ddan.Function, callback?: ((result: import("..").Ddan.SafeResult<any>) => void) | undefined) => import("../modules/hook/modules/safeTask").default;
115
- pipeRunAsync: (func: import("..").Ddan.Function) => Promise<unknown>;
115
+ pipeAsync: (func: import("..").Ddan.Function) => import("..").Ddan.PSafeResult<any>;
116
116
  bezier1: (p0: import("..").Ddan.IPoint, p1: import("..").Ddan.IPoint, t: number) => import("..").Ddan.IPoint;
117
117
  bezier2: (p0: import("..").Ddan.IPoint, p1: import("..").Ddan.IPoint, p2: import("..").Ddan.IPoint, t: number) => import("..").Ddan.IPoint;
118
118
  bezier3: (p0: import("..").Ddan.IPoint, p1: import("..").Ddan.IPoint, p2: import("..").Ddan.IPoint, p3: import("..").Ddan.IPoint, t: number) => import("..").Ddan.IPoint;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ddan-js",
3
- "version": "3.2.1",
3
+ "version": "3.2.2",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "ddan-js",