@memberjunction/react-runtime 2.128.0 → 2.130.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/.turbo/turbo-build.log +13 -13
- package/CHANGELOG.md +34 -0
- package/dist/registry/component-registry-service.js +1 -1
- package/dist/registry/component-registry-service.js.map +1 -1
- package/dist/registry/component-resolver.d.ts.map +1 -1
- package/dist/registry/component-resolver.js +0 -3
- package/dist/registry/component-resolver.js.map +1 -1
- package/dist/runtime.umd.js +138 -47
- package/package.json +6 -6
- package/src/registry/component-registry-service.ts +1 -1
- package/src/registry/component-resolver.ts +0 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memberjunction/react-runtime",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.130.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
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -27,11 +27,11 @@
|
|
|
27
27
|
},
|
|
28
28
|
"homepage": "https://github.com/MemberJunction/MJ#readme",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@memberjunction/core": "2.
|
|
31
|
-
"@memberjunction/global": "2.
|
|
32
|
-
"@memberjunction/interactive-component-types": "2.
|
|
33
|
-
"@memberjunction/core-entities": "2.
|
|
34
|
-
"@memberjunction/graphql-dataprovider": "2.
|
|
30
|
+
"@memberjunction/core": "2.130.0",
|
|
31
|
+
"@memberjunction/global": "2.130.0",
|
|
32
|
+
"@memberjunction/interactive-component-types": "2.130.0",
|
|
33
|
+
"@memberjunction/core-entities": "2.130.0",
|
|
34
|
+
"@memberjunction/graphql-dataprovider": "2.130.0",
|
|
35
35
|
"@babel/standalone": "^7.23.5",
|
|
36
36
|
"rxjs": "^7.8.1"
|
|
37
37
|
},
|
|
@@ -654,7 +654,7 @@ export class ComponentRegistryService {
|
|
|
654
654
|
// Save back to database
|
|
655
655
|
const result = await componentEntity.Save();
|
|
656
656
|
if (!result) {
|
|
657
|
-
throw new Error(`Failed to save cached component: ${componentEntity.Name}\n${componentEntity.LatestResult
|
|
657
|
+
throw new Error(`Failed to save cached component: ${componentEntity.Name}\n${componentEntity.LatestResult?.CompleteMessage || 'Unknown error'}`);
|
|
658
658
|
}
|
|
659
659
|
|
|
660
660
|
if (this.debug) {
|
|
@@ -100,10 +100,7 @@ export class ComponentResolver {
|
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
// Resolve the component hierarchy
|
|
103
|
-
console.log(`🔄 [ComponentResolver] About to call resolveComponentHierarchy for root: ${spec.name}`);
|
|
104
103
|
await this.resolveComponentHierarchy(spec, resolved, namespace, new Set(), contextUser);
|
|
105
|
-
console.log(`✅ [ComponentResolver] Returned from resolveComponentHierarchy`);
|
|
106
|
-
console.log(`🔍 [ComponentResolver] Looking for root component '${spec.name}' in resolved:`, !!resolved[spec.name]);
|
|
107
104
|
|
|
108
105
|
if (!resolved[spec.name]) {
|
|
109
106
|
console.error(`❌ [ComponentResolver] Root component '${spec.name}' was NOT added to resolved map!`);
|