ddan-js 3.2.0 → 3.2.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.
@@ -13,5 +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
17
  }
17
18
  export {};
@@ -25,6 +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
29
  bezier1: (p0: Ddan.IPoint, p1: Ddan.IPoint, t: number) => Ddan.IPoint;
29
30
  bezier2: (p0: Ddan.IPoint, p1: Ddan.IPoint, p2: Ddan.IPoint, t: number) => Ddan.IPoint;
30
31
  bezier3: (p0: Ddan.IPoint, p1: Ddan.IPoint, p2: Ddan.IPoint, p3: Ddan.IPoint, t: number) => Ddan.IPoint;
@@ -3,5 +3,9 @@ declare const _default: {
3
3
  oneHour: number;
4
4
  oneMinute: number;
5
5
  oneSecond: number;
6
+ DAY_MS: number;
7
+ HOUR_MS: number;
8
+ MINUTE_MS: number;
9
+ SECOND_MS: number;
6
10
  };
7
11
  export default _default;
@@ -35,5 +35,9 @@ declare const _default: {
35
35
  oneHour: number;
36
36
  oneMinute: number;
37
37
  oneSecond: number;
38
+ DAY_MS: number;
39
+ HOUR_MS: number;
40
+ MINUTE_MS: number;
41
+ SECOND_MS: number;
38
42
  };
39
43
  export default _default;
@@ -112,6 +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
116
  bezier1: (p0: import("..").Ddan.IPoint, p1: import("..").Ddan.IPoint, t: number) => import("..").Ddan.IPoint;
116
117
  bezier2: (p0: import("..").Ddan.IPoint, p1: import("..").Ddan.IPoint, p2: import("..").Ddan.IPoint, t: number) => import("..").Ddan.IPoint;
117
118
  bezier3: (p0: import("..").Ddan.IPoint, p1: import("..").Ddan.IPoint, p2: import("..").Ddan.IPoint, p3: import("..").Ddan.IPoint, t: number) => import("..").Ddan.IPoint;
@@ -188,6 +188,10 @@ declare const dUtil: {
188
188
  oneHour: number;
189
189
  oneMinute: number;
190
190
  oneSecond: number;
191
+ DAY_MS: number;
192
+ HOUR_MS: number;
193
+ MINUTE_MS: number;
194
+ SECOND_MS: number;
191
195
  };
192
196
  obj: {
193
197
  copy: (source: any, options?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ddan-js",
3
- "version": "3.2.0",
3
+ "version": "3.2.1",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "ddan-js",