be-hive 0.0.219 → 0.0.222

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/aggEvt.ts CHANGED
@@ -6,9 +6,9 @@ export abstract class AggEvent extends Event {
6
6
  r: any = rguid;
7
7
  args: Array<any>;
8
8
  f: {[key: string]: any};
9
- target: Element;
9
+ target: EventTarget;
10
10
 
11
- constructor(type: string, args: Array<any>, f: {[key: string]: any}, target: Element){
11
+ constructor(type: string, args: Array<any>, f: {[key: string]: any}, target: EventTarget){
12
12
  super(type);
13
13
  this.args = args;
14
14
  this.f = f;
package/be-hive.js CHANGED
@@ -83,6 +83,7 @@ export class BeHive extends Synthesizer {
83
83
  super.activate(mose);
84
84
  const mo = mose.observer;
85
85
  mo.addEventListener('mount', async (e) => {
86
+ const observedAttrs = await mo.observedAttrs();
86
87
  const { mountedElement } = e;
87
88
  const { beEnhanced } = mountedElement;
88
89
  const enhancementConstructor = await importEnh();
@@ -138,7 +139,8 @@ export class BeHive extends Synthesizer {
138
139
  initialAttrInfo,
139
140
  initialPropValues,
140
141
  mountCnfg: mergeWithDefaults,
141
- synConfig
142
+ synConfig,
143
+ observedAttrs
142
144
  });
143
145
  });
144
146
  }
package/be-hive.ts CHANGED
@@ -103,6 +103,7 @@ export class BeHive extends Synthesizer {
103
103
  super.activate(mose);
104
104
  const mo = mose.observer;
105
105
  (mo as any as AddMountEventListener).addEventListener('mount', async e => {
106
+ const observedAttrs = await mo.observedAttrs();
106
107
  const {mountedElement} = (e as MountEvent);
107
108
  const {beEnhanced} : {beEnhanced: BeEnhanced} = (<any>mountedElement);
108
109
  const enhancementConstructor = await importEnh!();
@@ -153,7 +154,8 @@ export class BeHive extends Synthesizer {
153
154
  initialAttrInfo,
154
155
  initialPropValues,
155
156
  mountCnfg: mergeWithDefaults,
156
- synConfig
157
+ synConfig,
158
+ observedAttrs
157
159
  });
158
160
  });
159
161
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "be-hive",
3
- "version": "0.0.219",
3
+ "version": "0.0.222",
4
4
  "keywords": [
5
5
  "web-components",
6
6
  "web-component",
@@ -41,9 +41,9 @@
41
41
  "update": "ncu -u && npm install"
42
42
  },
43
43
  "dependencies": {
44
- "be-enhanced": "0.0.142",
45
- "mount-observer": "0.0.36",
46
- "trans-render": "0.0.838"
44
+ "be-enhanced": "0.0.146",
45
+ "mount-observer": "0.0.38",
46
+ "trans-render": "0.0.847"
47
47
  },
48
48
  "devDependencies": {
49
49
  "may-it-serve": "0.0.8"