phecda-core 4.5.0 → 4.5.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/index.d.mts CHANGED
@@ -115,8 +115,8 @@ declare abstract class Base {
115
115
  abstract emitter: any;
116
116
  constructor();
117
117
  get tag(): PropertyKey;
118
- init(): void;
119
- then(cb: () => void, reject?: (e: any) => void): Promise<void>;
118
+ protected init(): void;
119
+ protected then(cb: () => void, reject?: (e: any) => void): Promise<void>;
120
120
  on<Key extends keyof Events>(type: Key, handler: (arg: Events[Key]) => void): void;
121
121
  emit<Key extends keyof Events>(type: Key, param: Events[Key]): void;
122
122
  off<Key extends keyof Events>(type: Key, handler?: (arg: Events[Key]) => void): void;
package/dist/index.d.ts CHANGED
@@ -115,8 +115,8 @@ declare abstract class Base {
115
115
  abstract emitter: any;
116
116
  constructor();
117
117
  get tag(): PropertyKey;
118
- init(): void;
119
- then(cb: () => void, reject?: (e: any) => void): Promise<void>;
118
+ protected init(): void;
119
+ protected then(cb: () => void, reject?: (e: any) => void): Promise<void>;
120
120
  on<Key extends keyof Events>(type: Key, handler: (arg: Events[Key]) => void): void;
121
121
  emit<Key extends keyof Events>(type: Key, param: Events[Key]): void;
122
122
  off<Key extends keyof Events>(type: Key, handler?: (arg: Events[Key]) => void): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "phecda-core",
3
- "version": "4.5.0",
3
+ "version": "4.5.1",
4
4
  "description": "provide base function and abstract limit to other phecda module ",
5
5
  "author": "fgsreally",
6
6
  "license": "MIT",