@redocly/theme 0.9.4 → 0.9.5

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.
@@ -88,7 +88,7 @@ function DevOnboardingTryItSecurity(props) {
88
88
  React.useEffect(() => {
89
89
  sessionStorage.setItem('redocly_onboarding:prevAppId', appId || '');
90
90
  }, [appId]);
91
- if (!apiId) {
91
+ if (!apiId || !(userData === null || userData === void 0 ? void 0 : userData.isAuthenticated)) {
92
92
  return null;
93
93
  }
94
94
  const loadAppCredentials = (appId) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redocly/theme",
3
- "version": "0.9.4",
3
+ "version": "0.9.5",
4
4
  "description": "Shared UI components lib",
5
5
  "author": "team@redocly.com",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -69,7 +69,7 @@ export function DevOnboardingTryItSecurity(props: TryItSecurityAppsProps) {
69
69
  sessionStorage.setItem('redocly_onboarding:prevAppId', appId || '');
70
70
  }, [appId]);
71
71
 
72
- if (!apiId) {
72
+ if (!apiId || !userData?.isAuthenticated) {
73
73
  return null;
74
74
  }
75
75