@veripass/react-sdk 1.0.17 → 1.0.18

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.
@@ -577,7 +577,7 @@ var AuthProvider = function AuthProvider(_ref) {
577
577
  var extractPublicPaths = function extractPublicPaths(child) {
578
578
  var parentPath = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
579
579
  if (/*#__PURE__*/React__default.isValidElement(child)) {
580
- var currentPath = "".concat(parentPath).concat(child.props.path || '');
580
+ var currentPath = "".concat(parentPath).concat(child.props.path ? "/".concat(child.props.path) : '').replace(/\/+/g, '/');
581
581
  if (child.props.isPublic) {
582
582
  publicPaths.add(currentPath);
583
583
  }