@syncbridge/common 0.13.1 → 0.13.2
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
CHANGED
|
@@ -33,7 +33,7 @@ export function Component(options) {
|
|
|
33
33
|
throw new TypeError('Class name is required');
|
|
34
34
|
/** Determine uri */
|
|
35
35
|
Reflect.defineMetadata(CLASS_TYPE, 'component', target);
|
|
36
|
-
const packageName = pkgjson.
|
|
36
|
+
const packageName = pkgjson.name;
|
|
37
37
|
const uri = packageName + ':' + className;
|
|
38
38
|
const metadata = defineOwnMetadata(target, CLASS_METADATA, {
|
|
39
39
|
classType: 'component',
|