@plasmicapp/loader-react 1.0.200 → 1.0.201
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/dist/PlasmicRootProvider.d.ts +2 -1
- package/dist/loader-react.cjs.development.js +3 -2
- package/dist/loader-react.cjs.development.js.map +1 -1
- package/dist/loader-react.cjs.production.min.js +1 -1
- package/dist/loader-react.cjs.production.min.js.map +1 -1
- package/dist/loader-react.esm.js +3 -2
- package/dist/loader-react.esm.js.map +1 -1
- package/package.json +2 -2
package/dist/loader-react.esm.js
CHANGED
|
@@ -2540,7 +2540,7 @@ function usePlasmicComponent(spec, opts) {
|
|
|
2540
2540
|
return component;
|
|
2541
2541
|
}
|
|
2542
2542
|
|
|
2543
|
-
var _excluded = ["loader", "globalContextsProps", "variation"];
|
|
2543
|
+
var _excluded = ["loader", "globalContextsProps", "variation", "userAuthToken"];
|
|
2544
2544
|
var PlasmicComponentContext = /*#__PURE__*/createContext(false);
|
|
2545
2545
|
function PlasmicComponent(props) {
|
|
2546
2546
|
var component = props.component,
|
|
@@ -2558,6 +2558,7 @@ function PlasmicComponent(props) {
|
|
|
2558
2558
|
var loader = rootContext.loader,
|
|
2559
2559
|
globalContextsProps = rootContext.globalContextsProps,
|
|
2560
2560
|
variation = rootContext.variation,
|
|
2561
|
+
userAuthToken = rootContext.userAuthToken,
|
|
2561
2562
|
rest = _objectWithoutPropertiesLoose(rootContext, _excluded);
|
|
2562
2563
|
|
|
2563
2564
|
var Component = usePlasmicComponent({
|
|
@@ -2621,7 +2622,7 @@ function PlasmicComponent(props) {
|
|
|
2621
2622
|
}
|
|
2622
2623
|
|
|
2623
2624
|
return element;
|
|
2624
|
-
}, [Component, componentProps, loader, isRootLoader, component, projectId, globalContextsProps]);
|
|
2625
|
+
}, [Component, componentProps, loader, isRootLoader, component, projectId, globalContextsProps, userAuthToken]);
|
|
2625
2626
|
return element;
|
|
2626
2627
|
}
|
|
2627
2628
|
|