@replicated/portal-components 0.0.24 → 0.0.25

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/dist/esm/index.js CHANGED
@@ -121,7 +121,7 @@ var init_tracer = __esm({
121
121
 
122
122
  // package.json
123
123
  var package_default = {
124
- version: "0.0.24"};
124
+ version: "0.0.25"};
125
125
 
126
126
  // src/tokens/index.ts
127
127
  var baseTokens = {
@@ -549,11 +549,6 @@ async function validateSession(token) {
549
549
  }
550
550
  return true;
551
551
  }
552
- async function deleteSessionCookie() {
553
- const { cookies: cookies2 } = await import('next/headers');
554
- const cookieStore = await cookies2();
555
- cookieStore.delete("portal_session");
556
- }
557
552
 
558
553
  // src/utils/format.ts
559
554
  function formatBytes(bytes, decimals = 1) {
@@ -2741,6 +2736,6 @@ async function handleSamlAcs(request) {
2741
2736
  // src/index.ts
2742
2737
  var portalComponentsVersion = package_default.version;
2743
2738
 
2744
- export { Button, DEFAULT_FAVICON, DEFAULT_PRIMARY_COLOR, DEFAULT_SECONDARY_COLOR, LicenseDetails, SupportCard, TeamSettingsCard, TopNav, UnauthorizedError, UpdateLayout, UpdatesCard, UserSettings, UserSettingsCard, authenticatedFetch, convertToReleaseEntry, createPortalTheme, decodeBranding, decodeJwtPayload, defaultTopNavLinks, defineServerAction, deleteSessionCookie, deleteSupportBundle, downloadSecuritySBOM, downloadSupportBundle, fetchCurrentUser, fetchCustomBranding, fetchDashboardComposite, fetchLicense, fetchNotifications, formatBytes, formatDate, formatDateShort, formatDateTime, formatDateTimeLocal, getCustomerIdFromToken, getSecurityInfo, getSecurityInfoDiff, getSecurityInfoSBOM, getSupportBundleUploadUrl, handleSamlAcs, initiateLogin, isHttpApiOrigin, isRedirectError, listReleases, listSupportBundles, normalizeColor, portalComponentsVersion, portalThemeTokens, sanitizeUrlForCss, setSamlSessionImpl, updateNotifications, updateUser, uploadSupportBundle, validateSession, verifyMagicLink };
2739
+ export { Button, DEFAULT_FAVICON, DEFAULT_PRIMARY_COLOR, DEFAULT_SECONDARY_COLOR, LicenseDetails, SupportCard, TeamSettingsCard, TopNav, UnauthorizedError, UpdateLayout, UpdatesCard, UserSettings, UserSettingsCard, authenticatedFetch, convertToReleaseEntry, createPortalTheme, decodeBranding, decodeJwtPayload, defaultTopNavLinks, defineServerAction, deleteSupportBundle, downloadSecuritySBOM, downloadSupportBundle, fetchCurrentUser, fetchCustomBranding, fetchDashboardComposite, fetchLicense, fetchNotifications, formatBytes, formatDate, formatDateShort, formatDateTime, formatDateTimeLocal, getCustomerIdFromToken, getSecurityInfo, getSecurityInfoDiff, getSecurityInfoSBOM, getSupportBundleUploadUrl, handleSamlAcs, initiateLogin, isHttpApiOrigin, isRedirectError, listReleases, listSupportBundles, normalizeColor, portalComponentsVersion, portalThemeTokens, sanitizeUrlForCss, setSamlSessionImpl, updateNotifications, updateUser, uploadSupportBundle, validateSession, verifyMagicLink };
2745
2740
  //# sourceMappingURL=index.js.map
2746
2741
  //# sourceMappingURL=index.js.map