@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/index.d.mts CHANGED
@@ -9,7 +9,7 @@ export { UserSettings, UserSettingsCustomer, UserSettingsNotification, UserSetti
9
9
  export { UserSettingsCard } from './user-settings-card.mjs';
10
10
  export { a as TeamSettingsCard, T as TeamSettingsCardProps } from './team-settings-card-Dq1d9b5c.mjs';
11
11
  export { UpdateLayout } from './update-layout.mjs';
12
- export { ConvertToReleaseEntryOptions, DEFAULT_FAVICON, DEFAULT_PRIMARY_COLOR, DEFAULT_SECONDARY_COLOR, ReleaseNotesMode, UnauthorizedError, authenticatedFetch, convertToReleaseEntry, deleteSessionCookie, formatBytes, formatDate, formatDateShort, formatDateTime, formatDateTimeLocal, isHttpApiOrigin, isRedirectError, validateSession } from './utils/index.mjs';
12
+ export { ConvertToReleaseEntryOptions, DEFAULT_FAVICON, DEFAULT_PRIMARY_COLOR, DEFAULT_SECONDARY_COLOR, ReleaseNotesMode, UnauthorizedError, authenticatedFetch, convertToReleaseEntry, formatBytes, formatDate, formatDateShort, formatDateTime, formatDateTimeLocal, isHttpApiOrigin, isRedirectError, validateSession } from './utils/index.mjs';
13
13
  export { d as decodeBranding, n as normalizeColor, s as sanitizeUrlForCss } from './branding-BsMSywts.mjs';
14
14
  export { SetSamlSessionResult, handleSamlAcs, setSamlSessionImpl } from './saml-handlers.mjs';
15
15
  export { C as ChannelRelease, Z as CustomBrandingResponse, ad as DeleteSupportBundleInput, ae as DeleteSupportBundleResult, a1 as DownloadPortalRelease, ar as DownloadSBOMInput, ab as DownloadSupportBundleInput, ac as DownloadSupportBundleResult, F as FetchChannelReleasesResult, as as FetchCurrentUserInput, at as FetchCurrentUserResult, _ as FetchLicenseInput, $ as FetchLicenseResult, ay as FetchNotificationsInput, az as FetchNotificationsResult, an as GetSecurityInfoDiffInput, G as GetSecurityInfoDiffResult, ak as GetSecurityInfoInput, al as GetSecurityInfoResult, ap as GetSecurityInfoSBOMInput, aq as GetSecurityInfoSBOMResult, a3 as InitiateLoginInput, a4 as InitiateLoginResult, a2 as ListReleasesResult, a8 as ListSupportBundlesInput, a9 as ListSupportBundlesResult, ax as NotificationSetting, W as PortalActionContext, X as PortalActionVisibility, Y as PortalServerActionDefinition, a0 as ReleaseHelmChart, ao as SBOMMetadata, am as SecurityInfoDiff, ah as SecurityInstallType, S as SecurityReleaseImage, ai as SecurityScanSummary, aj as SecurityScanWrapper, aa as SupportBundleInsight, q as SupportBundleSummary, aA as UpdateNotificationsInput, aB as UpdateNotificationsResult, av as UpdateUserInput, aw as UpdateUserResult, af as UploadSupportBundleCompleteInput, ag as UploadSupportBundleCompleteResult, au as UserProfile, a7 as VerifyMagicLinkError, a5 as VerifyMagicLinkInput, a6 as VerifyMagicLinkResult, B as decodeJwtPayload, r as defineServerAction, y as deleteSupportBundle, O as downloadSecuritySBOM, x as downloadSupportBundle, Q as fetchCurrentUser, s as fetchCustomBranding, J as fetchDashboardComposite, T as fetchNotifications, E as getCustomerIdFromToken, K as getSecurityInfo, L as getSecurityInfoDiff, M as getSecurityInfoSBOM, A as getSupportBundleUploadUrl, v as initiateLogin, t as listReleases, w as listSupportBundles, V as updateNotifications, R as updateUser, z as uploadSupportBundle, H as verifyMagicLink } from './index-JX9-CIMA.mjs';
package/dist/index.d.ts CHANGED
@@ -9,7 +9,7 @@ export { UserSettings, UserSettingsCustomer, UserSettingsNotification, UserSetti
9
9
  export { UserSettingsCard } from './user-settings-card.js';
10
10
  export { a as TeamSettingsCard, T as TeamSettingsCardProps } from './team-settings-card-Dq1d9b5c.js';
11
11
  export { UpdateLayout } from './update-layout.js';
12
- export { ConvertToReleaseEntryOptions, DEFAULT_FAVICON, DEFAULT_PRIMARY_COLOR, DEFAULT_SECONDARY_COLOR, ReleaseNotesMode, UnauthorizedError, authenticatedFetch, convertToReleaseEntry, deleteSessionCookie, formatBytes, formatDate, formatDateShort, formatDateTime, formatDateTimeLocal, isHttpApiOrigin, isRedirectError, validateSession } from './utils/index.js';
12
+ export { ConvertToReleaseEntryOptions, DEFAULT_FAVICON, DEFAULT_PRIMARY_COLOR, DEFAULT_SECONDARY_COLOR, ReleaseNotesMode, UnauthorizedError, authenticatedFetch, convertToReleaseEntry, formatBytes, formatDate, formatDateShort, formatDateTime, formatDateTimeLocal, isHttpApiOrigin, isRedirectError, validateSession } from './utils/index.js';
13
13
  export { d as decodeBranding, n as normalizeColor, s as sanitizeUrlForCss } from './branding-BsMSywts.js';
14
14
  export { SetSamlSessionResult, handleSamlAcs, setSamlSessionImpl } from './saml-handlers.js';
15
15
  export { C as ChannelRelease, Z as CustomBrandingResponse, ad as DeleteSupportBundleInput, ae as DeleteSupportBundleResult, a1 as DownloadPortalRelease, ar as DownloadSBOMInput, ab as DownloadSupportBundleInput, ac as DownloadSupportBundleResult, F as FetchChannelReleasesResult, as as FetchCurrentUserInput, at as FetchCurrentUserResult, _ as FetchLicenseInput, $ as FetchLicenseResult, ay as FetchNotificationsInput, az as FetchNotificationsResult, an as GetSecurityInfoDiffInput, G as GetSecurityInfoDiffResult, ak as GetSecurityInfoInput, al as GetSecurityInfoResult, ap as GetSecurityInfoSBOMInput, aq as GetSecurityInfoSBOMResult, a3 as InitiateLoginInput, a4 as InitiateLoginResult, a2 as ListReleasesResult, a8 as ListSupportBundlesInput, a9 as ListSupportBundlesResult, ax as NotificationSetting, W as PortalActionContext, X as PortalActionVisibility, Y as PortalServerActionDefinition, a0 as ReleaseHelmChart, ao as SBOMMetadata, am as SecurityInfoDiff, ah as SecurityInstallType, S as SecurityReleaseImage, ai as SecurityScanSummary, aj as SecurityScanWrapper, aa as SupportBundleInsight, q as SupportBundleSummary, aA as UpdateNotificationsInput, aB as UpdateNotificationsResult, av as UpdateUserInput, aw as UpdateUserResult, af as UploadSupportBundleCompleteInput, ag as UploadSupportBundleCompleteResult, au as UserProfile, a7 as VerifyMagicLinkError, a5 as VerifyMagicLinkInput, a6 as VerifyMagicLinkResult, B as decodeJwtPayload, r as defineServerAction, y as deleteSupportBundle, O as downloadSecuritySBOM, x as downloadSupportBundle, Q as fetchCurrentUser, s as fetchCustomBranding, J as fetchDashboardComposite, T as fetchNotifications, E as getCustomerIdFromToken, K as getSecurityInfo, L as getSecurityInfoDiff, M as getSecurityInfoSBOM, A as getSupportBundleUploadUrl, v as initiateLogin, t as listReleases, w as listSupportBundles, V as updateNotifications, R as updateUser, z as uploadSupportBundle, H as verifyMagicLink } from './index-DXy7RxOX.js';
package/dist/index.js CHANGED
@@ -127,7 +127,7 @@ var init_tracer = __esm({
127
127
 
128
128
  // package.json
129
129
  var package_default = {
130
- version: "0.0.24"};
130
+ version: "0.0.25"};
131
131
 
132
132
  // src/tokens/index.ts
133
133
  var baseTokens = {
@@ -555,11 +555,6 @@ async function validateSession(token) {
555
555
  }
556
556
  return true;
557
557
  }
558
- async function deleteSessionCookie() {
559
- const { cookies: cookies2 } = await import('next/headers');
560
- const cookieStore = await cookies2();
561
- cookieStore.delete("portal_session");
562
- }
563
558
 
564
559
  // src/utils/format.ts
565
560
  function formatBytes(bytes, decimals = 1) {
@@ -2767,7 +2762,6 @@ exports.decodeBranding = decodeBranding;
2767
2762
  exports.decodeJwtPayload = decodeJwtPayload;
2768
2763
  exports.defaultTopNavLinks = defaultTopNavLinks;
2769
2764
  exports.defineServerAction = defineServerAction;
2770
- exports.deleteSessionCookie = deleteSessionCookie;
2771
2765
  exports.deleteSupportBundle = deleteSupportBundle;
2772
2766
  exports.downloadSecuritySBOM = downloadSecuritySBOM;
2773
2767
  exports.downloadSupportBundle = downloadSupportBundle;