be-hive 0.0.260 → 0.0.261

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/be-hive.js CHANGED
@@ -84,6 +84,8 @@ export class BeHive extends Synthesizer {
84
84
  const { mountedElement } = e;
85
85
  const { beEnhanced } = mountedElement;
86
86
  const enhancementConstructor = await importEnh();
87
+ if (enhancementConstructor === undefined)
88
+ throw 404;
87
89
  const { enhPropKey, base } = mergeWithDefaults;
88
90
  if (base !== undefined) {
89
91
  //TODO: check for data- and enh- and data-enh-
package/be-hive.ts CHANGED
@@ -111,6 +111,7 @@ export class BeHive extends Synthesizer {
111
111
  const {mountedElement} = (e as MountEvent);
112
112
  const {beEnhanced} : {beEnhanced: BeEnhanced} = (<any>mountedElement);
113
113
  const enhancementConstructor = await importEnh!();
114
+ if(enhancementConstructor === undefined) throw 404;
114
115
  const {enhPropKey, base} = mergeWithDefaults;
115
116
  if(base !== undefined){
116
117
  //TODO: check for data- and enh- and data-enh-
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "be-hive",
3
- "version": "0.0.260",
3
+ "version": "0.0.261",
4
4
  "keywords": [
5
5
  "web-components",
6
6
  "web-component",
@@ -45,9 +45,9 @@
45
45
  "update": "ncu -u && npm install"
46
46
  },
47
47
  "dependencies": {
48
- "be-enhanced": "0.0.179",
49
- "mount-observer": "0.0.68",
50
- "trans-render": "0.0.905"
48
+ "be-enhanced": "0.0.181",
49
+ "mount-observer": "0.0.76",
50
+ "trans-render": "0.0.908"
51
51
  },
52
52
  "devDependencies": {
53
53
  "ssi-server": "0.0.1"