@memberjunction/react-runtime 6.1.0-edge.5 → 6.1.0-edge.7

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": "6.1.0-edge.5",
3
+ "version": "6.1.0-edge.7",
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",
@@ -19,11 +19,11 @@
19
19
  },
20
20
  "homepage": "https://github.com/MemberJunction/MJ#readme",
21
21
  "dependencies": {
22
- "@memberjunction/core": "6.1.0-edge.5",
23
- "@memberjunction/global": "6.1.0-edge.5",
24
- "@memberjunction/interactive-component-types": "6.1.0-edge.5",
25
- "@memberjunction/core-entities": "6.1.0-edge.5",
26
- "@memberjunction/graphql-dataprovider": "6.1.0-edge.5",
22
+ "@memberjunction/core": "6.1.0-edge.7",
23
+ "@memberjunction/global": "6.1.0-edge.7",
24
+ "@memberjunction/interactive-component-types": "6.1.0-edge.7",
25
+ "@memberjunction/core-entities": "6.1.0-edge.7",
26
+ "@memberjunction/graphql-dataprovider": "6.1.0-edge.7",
27
27
  "@babel/standalone": "^7.29.1",
28
28
  "rxjs": "^7.8.2"
29
29
  },
@@ -580,8 +580,9 @@ export class ComponentRegistryService {
580
580
  }
581
581
 
582
582
  const response = await fetch(url, { headers });
583
-
583
+
584
584
  if (!response.ok) {
585
+ await response.body?.cancel().catch(() => { /* nothing to drain */ });
585
586
  throw new Error(`Registry fetch failed: ${response.status} ${response.statusText}`);
586
587
  }
587
588