@memberjunction/react-runtime 5.1.0 → 5.2.0
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memberjunction/react-runtime",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.2.0",
|
|
4
4
|
"description": "Platform-agnostic React component runtime for MemberJunction. Provides core compilation, registry, and execution capabilities for React components in any JavaScript environment.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -29,11 +29,11 @@
|
|
|
29
29
|
},
|
|
30
30
|
"homepage": "https://github.com/MemberJunction/MJ#readme",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@memberjunction/core": "5.
|
|
33
|
-
"@memberjunction/global": "5.
|
|
34
|
-
"@memberjunction/interactive-component-types": "5.
|
|
35
|
-
"@memberjunction/core-entities": "5.
|
|
36
|
-
"@memberjunction/graphql-dataprovider": "5.
|
|
32
|
+
"@memberjunction/core": "5.2.0",
|
|
33
|
+
"@memberjunction/global": "5.2.0",
|
|
34
|
+
"@memberjunction/interactive-component-types": "5.2.0",
|
|
35
|
+
"@memberjunction/core-entities": "5.2.0",
|
|
36
|
+
"@memberjunction/graphql-dataprovider": "5.2.0",
|
|
37
37
|
"@babel/standalone": "^7.29.1",
|
|
38
38
|
"rxjs": "^7.8.2"
|
|
39
39
|
},
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
import { ComponentSpec, ComponentLibraryDependency } from '@memberjunction/interactive-component-types';
|
|
7
7
|
import { UserInfo, Metadata, LogError } from '@memberjunction/core';
|
|
8
|
-
import { ComponentMetadataEngine, MJComponentLibraryEntity,
|
|
8
|
+
import { ComponentMetadataEngine, MJComponentLibraryEntity, MJComponentEntityExtended } from '@memberjunction/core-entities';
|
|
9
9
|
|
|
10
10
|
import { ComponentCompiler } from '../compiler';
|
|
11
11
|
import { ComponentRegistry } from '../registry';
|
|
@@ -497,7 +497,7 @@ export class ComponentManager {
|
|
|
497
497
|
|
|
498
498
|
// Find component in local ComponentMetadataEngine
|
|
499
499
|
const localComponent = this.componentEngine.Components?.find(
|
|
500
|
-
(c:
|
|
500
|
+
(c: MJComponentEntityExtended) => {
|
|
501
501
|
// Match by name (case-insensitive for better compatibility)
|
|
502
502
|
const nameMatch = c.Name?.toLowerCase() === spec.name?.toLowerCase();
|
|
503
503
|
|