@azrico/webobject 1.3.24 → 1.3.26

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.
@@ -10,7 +10,7 @@ export declare class ObjectManager<ObjType extends SimpleObject> {
10
10
  __sendEvents: boolean;
11
11
  __currentObject?: ObjType | null;
12
12
  __options?: object;
13
- notifyChanged(type: string, key: PropOf<ObjType>, value?: any, subvalue?: string): Promise<false | any[] | undefined>;
13
+ notifyChanged(type: string, key: PropOf<ObjType> | string, value?: any, subvalue?: string): Promise<false | any[] | undefined>;
14
14
  get obj(): ObjType | undefined;
15
15
  /**
16
16
  * Get the object this manager is managing
@@ -86,22 +86,7 @@ export declare class SimpleObject extends MapableObject {
86
86
  * @returns
87
87
  */
88
88
  pushValue<MKey extends PropOf<this>>(key: MKey, value: any, sendChanges?: sendChangesType): Promise<this[MKey] | false>;
89
- /**
90
- * notify the manager class when a meta value is changed on this object
91
- * @param type
92
- * @param key
93
- * @param value
94
- * @param subvalue
95
- */
96
- notifyChanged<MKey extends PropOf<this>>(type: "meta", key: string, value: any, subvalue?: any): any;
97
- /**
98
- * notify the manager class when a value is changed on this object
99
- * @param type
100
- * @param key
101
- * @param value
102
- * @param subvalue
103
- */
104
- notifyChanged<MKey extends PropOf<this>>(type: string, key: MKey, value: any, subvalue?: any): any;
89
+ notifyChanged<MKey extends PropOf<this>>(type: string, key: MKey | string, value: any, subvalue?: any): Promise<void>;
105
90
  /**
106
91
  * check if a key can be changed on an object
107
92
  * @param object
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azrico/webobject",
3
- "version": "1.3.24",
3
+ "version": "1.3.26",
4
4
  "description": "Stateful object",
5
5
  "author": "Azrideus",
6
6
  "license": "MIT",