@plasmicapp/loader-react 1.0.58 → 1.0.62

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.
@@ -1431,7 +1431,7 @@ var InternalPlasmicComponentLoader = /*#__PURE__*/function () {
1431
1431
  }));
1432
1432
  };
1433
1433
 
1434
- _proto.registerContext = function registerContext(context, meta) {
1434
+ _proto.registerGlobalContext = function registerGlobalContext(context, meta) {
1435
1435
  var _meta$importPath2;
1436
1436
 
1437
1437
  this.substituteComponent(context, {
@@ -1439,7 +1439,7 @@ var InternalPlasmicComponentLoader = /*#__PURE__*/function () {
1439
1439
  isCode: true
1440
1440
  }); // Import path is not used as we will use component substitution
1441
1441
 
1442
- host.registerContext(context, _extends({}, meta, {
1442
+ host.registerGlobalContext(context, _extends({}, meta, {
1443
1443
  importPath: (_meta$importPath2 = meta.importPath) != null ? _meta$importPath2 : ''
1444
1444
  }));
1445
1445
  };
@@ -1903,8 +1903,8 @@ var PlasmicComponentLoader = /*#__PURE__*/function () {
1903
1903
  }
1904
1904
  };
1905
1905
 
1906
- _proto2.registerContext = function registerContext(context, meta) {
1907
- this.__internal.registerContext(context, meta);
1906
+ _proto2.registerGlobalContext = function registerGlobalContext(context, meta) {
1907
+ this.__internal.registerGlobalContext(context, meta);
1908
1908
  }
1909
1909
  /**
1910
1910
  * Pre-fetches component data needed to for PlasmicLoader to render