@plasmicapp/loader-react 1.0.180 → 1.0.182
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/loader-react.cjs.development.js +8 -3
- 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 +8 -3
- package/dist/loader-react.esm.js.map +1 -1
- package/package.json +3 -3
|
@@ -1457,7 +1457,10 @@ function PlasmicRootProvider(props) {
|
|
|
1457
1457
|
},
|
|
1458
1458
|
variation: variation
|
|
1459
1459
|
});
|
|
1460
|
-
}, [loader, variation]);
|
|
1460
|
+
}, [loader, variation]); // @ts-ignore
|
|
1461
|
+
|
|
1462
|
+
var user = props.user,
|
|
1463
|
+
userAuthToken = props.userAuthToken;
|
|
1461
1464
|
var value = React.useMemo(function () {
|
|
1462
1465
|
return {
|
|
1463
1466
|
globalVariants: mergeGlobalVariantsSpec(globalVariants != null ? globalVariants : [], getGlobalVariantsFromSplits(splits, variation != null ? variation : {})),
|
|
@@ -1465,9 +1468,11 @@ function PlasmicRootProvider(props) {
|
|
|
1465
1468
|
loader: loader,
|
|
1466
1469
|
variation: variation,
|
|
1467
1470
|
translator: translator,
|
|
1468
|
-
Head: Head
|
|
1471
|
+
Head: Head,
|
|
1472
|
+
user: user,
|
|
1473
|
+
userAuthToken: userAuthToken
|
|
1469
1474
|
};
|
|
1470
|
-
}, [globalVariants, variation, globalContextsProps, loader, splits, translator, Head]);
|
|
1475
|
+
}, [globalVariants, variation, globalContextsProps, loader, splits, translator, Head, user, userAuthToken]);
|
|
1471
1476
|
return React.createElement(PlasmicQuery.PlasmicQueryDataProvider, {
|
|
1472
1477
|
prefetchedCache: prefetchedQueryData,
|
|
1473
1478
|
suspense: suspenseForQueryData
|