@syncbridge/common 0.6.2 → 0.6.3
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/constants.js +1 -1
- package/package.json +1 -1
- package/processor-factory.js +3 -1
package/constants.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export const version = '0.6.
|
|
1
|
+
export const version = '0.6.3';
|
|
2
2
|
export const OWN_ELEMENT_METADATA = Symbol.for('OWN_ELEMENT_METADATA');
|
|
3
3
|
export const COMPONENT_OPTIONS = Symbol.for('COMPONENT_OPTIONS');
|
|
4
4
|
export const PROCESSOR_OPTIONS = Symbol.for('PROCESSOR_OPTIONS');
|
package/package.json
CHANGED
package/processor-factory.js
CHANGED
|
@@ -128,9 +128,11 @@ export var ProcessorFactory;
|
|
|
128
128
|
}
|
|
129
129
|
async function _configureComponent(ctx, key, childMetadata) {
|
|
130
130
|
const { newProfile, oldMetadata, oldProfile, curPath, owner, processor } = ctx;
|
|
131
|
+
const childProfile = newProfile.components[key];
|
|
132
|
+
if (!childProfile?.className)
|
|
133
|
+
return;
|
|
131
134
|
const oldChildMetadata = oldMetadata?.components?.[key];
|
|
132
135
|
const oldChildProfile = oldProfile?.components?.[key];
|
|
133
|
-
const childProfile = newProfile.components[key];
|
|
134
136
|
const componentPath = curPath ? curPath + '/' + key : key;
|
|
135
137
|
let componentInstance = owner.components?.[key];
|
|
136
138
|
/** Create the component only if the owner stopped */ // todo implement hotplug components
|