chayns-api 1.0.25-0 → 1.0.25-1

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.
@@ -27,7 +27,11 @@ function loadComponent(scope, module, url, skipCompatMode = false, preventSingle
27
27
  p[k] = v;
28
28
  return p;
29
29
  }, {});
30
- await container.init(shareScopes);
30
+ try {
31
+ await container.init(shareScopes);
32
+ } catch {
33
+ // ignore
34
+ }
31
35
  const factory = await container.get(module);
32
36
  _useDynamicScript.semaphore[scope].release();
33
37
  let ModuleMap = instances[`${scope}__${module}`];
@@ -26,7 +26,11 @@ export default function loadComponent(scope, module, url) {
26
26
  p[k] = v;
27
27
  return p;
28
28
  }, {});
29
- await container.init(shareScopes);
29
+ try {
30
+ await container.init(shareScopes);
31
+ } catch {
32
+ // ignore
33
+ }
30
34
  const factory = await container.get(module);
31
35
  semaphore[scope].release();
32
36
  let ModuleMap = instances[`${scope}__${module}`];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chayns-api",
3
- "version": "1.0.25-0",
3
+ "version": "1.0.25-1",
4
4
  "description": "new chayns api",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",