be-hive 0.0.138 → 0.0.139

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.
Files changed (2) hide show
  1. package/be-hive.js +3 -3
  2. package/package.json +4 -4
package/be-hive.js CHANGED
@@ -100,7 +100,7 @@ export class BeHive extends HTMLElement {
100
100
  path: '',
101
101
  context: 'BuiltIn'
102
102
  }],
103
- hasBase: localName,
103
+ hasBase: `be-${ifWantsToBe}`,
104
104
  hasBranchIn: aspects
105
105
  }
106
106
  // attribMatches: allAspects.map(x => ({
@@ -109,11 +109,11 @@ export class BeHive extends HTMLElement {
109
109
  });
110
110
  mo.addEventListener('mount', e => {
111
111
  const { beEnhanced } = e.mountedElement;
112
- const namespacedName = beEnhanced.getFQName(localName);
112
+ const namespacedName = beEnhanced.getFQName(localName, ifWantsToBe);
113
113
  if (namespacedName === undefined)
114
114
  return;
115
115
  //console.log({namespacedName});
116
- beEnhanced.whenAttached(namespacedName);
116
+ beEnhanced.whenAttached(localName);
117
117
  });
118
118
  const rn = this.getRootNode();
119
119
  mo.observe(rn);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "be-hive",
3
- "version": "0.0.138",
3
+ "version": "0.0.139",
4
4
  "keywords": [
5
5
  "web-components",
6
6
  "web-component",
@@ -28,9 +28,9 @@
28
28
  "update": "ncu -u && npm install"
29
29
  },
30
30
  "dependencies": {
31
- "be-enhanced": "0.0.69",
32
- "mount-observer": "0.0.14",
33
- "trans-render": "0.0.741"
31
+ "be-enhanced": "0.0.71",
32
+ "mount-observer": "0.0.15",
33
+ "trans-render": "0.0.746"
34
34
  },
35
35
  "devDependencies": {
36
36
  "may-it-serve": "0.0.6"