@veripass/react-sdk 1.0.14 → 1.0.15

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.
@@ -543,7 +543,7 @@ var useLocalStorage = function useLocalStorage(keyName, defaultValue) {
543
543
  return [storedValue, setValue];
544
544
  };
545
545
 
546
- var defaulPublicUrlList = ['/auth/login', '/auth/signup'];
546
+ var defaultPublicUrlList = ['/auth/login', '/auth/signup'];
547
547
 
548
548
  /**
549
549
  * Authentication context used to provide user authentication data and functions.
@@ -562,7 +562,7 @@ var AuthProvider = function AuthProvider(_ref) {
562
562
  var children = _ref.children,
563
563
  _ref$publicUrls = _ref.publicUrls,
564
564
  publicUrls = _ref$publicUrls === void 0 ? [] : _ref$publicUrls;
565
- var _useState = useState(defaulPublicUrlList),
565
+ var _useState = useState(defaultPublicUrlList),
566
566
  _useState2 = _slicedToArray(_useState, 2),
567
567
  publicUrlsList = _useState2[0],
568
568
  setPublicUrlsList = _useState2[1];
@@ -629,7 +629,7 @@ var AuthProvider = function AuthProvider(_ref) {
629
629
 
630
630
  // Effect to update public URLs whenever publicUrls prop changes
631
631
  useEffect(function () {
632
- setPublicUrlsList([].concat(_toConsumableArray(defaultPublicUrlList), _toConsumableArray(publicUrls)));
632
+ setPublicUrlsList([].concat(defaultPublicUrlList, _toConsumableArray(publicUrls)));
633
633
  }, [publicUrls]);
634
634
 
635
635
  // Effect to redirect if user is null