@lifeready/core 6.0.3 → 6.0.4

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.
@@ -637,10 +637,7 @@
637
637
  case 2:
638
638
  error_1 = _a.sent();
639
639
  // The error thrown by Cognito is of type string.
640
- if (error_1 == 'No current user') {
641
- return [2 /*return*/, ''];
642
- }
643
- throw error_1;
640
+ return [2 /*return*/, ''];
644
641
  case 3: return [2 /*return*/];
645
642
  }
646
643
  });