@vnejs/plugins.text.wall 0.2.1 → 0.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.
@@ -5,7 +5,7 @@ import type { TextWallPluginConstants, TextWallPluginEvents, TextWallPluginParam
5
5
  export declare class TextWall extends ModuleCore<TextWallPluginEvents, TextWallPluginConstants, TextWallPluginSettings, TextWallPluginParams, ModuleGlobalStateTextWall> {
6
6
  name: string;
7
7
  subscribe: () => void;
8
- init: () => void;
8
+ postinject: () => void;
9
9
  onStateUpdate: (payload: Partial<ModuleGlobalStateTextWall>) => void;
10
10
  onStateSet: (payload: ModuleGlobalStateRegistry) => Promise<void>;
11
11
  onStateClear: () => Promise<unknown[] | undefined>;
@@ -6,7 +6,7 @@ export class TextWall extends ModuleCore {
6
6
  this.on(this.EVENTS.STATE.CLEAR, this.onStateClear);
7
7
  this.on(this.EVENTS.STATE.SET, this.onStateSet);
8
8
  };
9
- init = () => {
9
+ postinject = () => {
10
10
  this.shared.isTextWallSetStateInProcess = false;
11
11
  };
12
12
  onStateUpdate = (payload) => this.updateState(payload);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vnejs/plugins.text.wall",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -21,7 +21,7 @@ export class TextWall extends ModuleCore<
21
21
  this.on(this.EVENTS.STATE.SET, this.onStateSet);
22
22
  };
23
23
 
24
- init = () => {
24
+ postinject = () => {
25
25
  this.shared.isTextWallSetStateInProcess = false;
26
26
  };
27
27