authscape 1.0.436 → 1.0.438
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/index.js +2 -1
- package/package.json +1 -1
- package/src/components/AuthScapeApp.js +2 -1
package/index.js
CHANGED
|
@@ -320,7 +320,8 @@ function AuthScapeApp(_ref) {
|
|
|
320
320
|
logEvent: logEvent,
|
|
321
321
|
logPurchase: logPurchase
|
|
322
322
|
})),
|
|
323
|
-
currentUser: signedInUser.current
|
|
323
|
+
currentUser: signedInUser.current,
|
|
324
|
+
logEvent: logEvent
|
|
324
325
|
}), layout == null && /*#__PURE__*/_react["default"].createElement(Component, _extends({}, pageProps, {
|
|
325
326
|
currentUser: signedInUser.current,
|
|
326
327
|
toast: _reactToastify.toast,
|
package/package.json
CHANGED
|
@@ -290,7 +290,8 @@ export function AuthScapeApp ({Component, layout, loadingLayout, pageProps, muiT
|
|
|
290
290
|
<>
|
|
291
291
|
{layout != null && layout({
|
|
292
292
|
children: <Component {...pageProps} currentUser={signedInUser.current} toast={toast} setIsLoading={setIsLoading} logEvent={logEvent} logPurchase={logPurchase} />,
|
|
293
|
-
currentUser: signedInUser.current
|
|
293
|
+
currentUser: signedInUser.current,
|
|
294
|
+
logEvent: logEvent
|
|
294
295
|
})}
|
|
295
296
|
|
|
296
297
|
{layout == null &&
|