authscape 1.0.442 → 1.0.444

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 CHANGED
@@ -307,6 +307,7 @@ function AuthScapeApp(_ref) {
307
307
  });
308
308
  }
309
309
  };
310
+ var setSnackBarMessage = function setSnackBarMessage(message) {};
310
311
  var useStore = (0, _zustand.create)(function (set) {
311
312
  return store;
312
313
  });
@@ -325,13 +326,15 @@ function AuthScapeApp(_ref) {
325
326
  setIsLoading: setIsLoading,
326
327
  logEvent: logEvent,
327
328
  logPurchase: logPurchase,
328
- store: useStore
329
+ store: useStore,
330
+ setSnackBarMessage: setSnackBarMessage
329
331
  })),
330
332
  currentUser: signedInUser.current,
331
333
  logEvent: logEvent,
332
334
  setIsLoading: setIsLoading,
333
335
  toast: _reactToastify.toast,
334
- store: useStore
336
+ store: useStore,
337
+ setSnackBarMessage: setSnackBarMessage
335
338
  }), layout == null && /*#__PURE__*/_react["default"].createElement(Component, _extends({}, pageProps, {
336
339
  currentUser: signedInUser.current,
337
340
  toast: _reactToastify.toast,
@@ -339,7 +342,8 @@ function AuthScapeApp(_ref) {
339
342
  setIsLoading: setIsLoading,
340
343
  logEvent: logEvent,
341
344
  logPurchase: logPurchase,
342
- store: useStore
345
+ store: useStore,
346
+ setSnackBarMessage: setSnackBarMessage
343
347
  }))), /*#__PURE__*/_react["default"].createElement(_reactToastify.ToastContainer, null)), loadingLayout && /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, loadingLayout(isLoadingShow)), frontEndLoaded.current && process.env.microsoftClarityTrackingCode != null && process.env.staging == "production" && /*#__PURE__*/_react["default"].createElement("script", {
344
348
  dangerouslySetInnerHTML: {
345
349
  __html: "\n (function(c,l,a,r,i,t,y){\n c[a] = c[a] || function () { (c[a].q = c[a].q || []).push(arguments) };\n t=l.createElement(r);\n t.async=1;\n t.src=\"https://www.clarity.ms/tag/\"+i;\n y=l.getElementsByTagName(r)[0];\n y.parentNode.insertBefore(t,y);\n })(window, document, \"clarity\", \"script\", \"" + process.env.microsoftClarityTrackingCode + "\");"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "authscape",
3
- "version": "1.0.442",
3
+ "version": "1.0.444",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -274,6 +274,10 @@ export function AuthScapeApp ({Component, layout, loadingLayout, pageProps, muiT
274
274
  }
275
275
  }
276
276
 
277
+ const setSnackBarMessage = (message) => {
278
+
279
+ }
280
+
277
281
  const useStore = create((set) => (store));
278
282
 
279
283
  return (
@@ -292,16 +296,17 @@ export function AuthScapeApp ({Component, layout, loadingLayout, pageProps, muiT
292
296
  {frontEndLoadedState != null && frontEndLoadedState && pathname != "/signin-oidc" &&
293
297
  <>
294
298
  {layout != null && layout({
295
- children: <Component {...pageProps} currentUser={signedInUser.current} toast={toast} setIsLoading={setIsLoading} logEvent={logEvent} logPurchase={logPurchase} store={useStore} />,
299
+ children: <Component {...pageProps} currentUser={signedInUser.current} toast={toast} setIsLoading={setIsLoading} logEvent={logEvent} logPurchase={logPurchase} store={useStore} setSnackBarMessage={setSnackBarMessage} />,
296
300
  currentUser: signedInUser.current,
297
301
  logEvent: logEvent,
298
302
  setIsLoading: setIsLoading,
299
303
  toast: toast,
300
- store: useStore
304
+ store: useStore,
305
+ setSnackBarMessage: setSnackBarMessage
301
306
  })}
302
307
 
303
308
  {layout == null &&
304
- <Component {...pageProps} currentUser={signedInUser.current} toast={toast} loadedUser={frontEndLoadedState} setIsLoading={setIsLoading} logEvent={logEvent} logPurchase={logPurchase} store={useStore} />
309
+ <Component {...pageProps} currentUser={signedInUser.current} toast={toast} loadedUser={frontEndLoadedState} setIsLoading={setIsLoading} logEvent={logEvent} logPurchase={logPurchase} store={useStore} setSnackBarMessage={setSnackBarMessage} />
305
310
  }
306
311
  </>
307
312
  }