@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/components/metadata/registry.json +2 -2
- package/components/metadata/registry.md +2 -2
- package/dist/actions/index.js +0 -3
- package/dist/actions/index.js.map +1 -1
- package/dist/esm/actions/index.js +0 -3
- package/dist/esm/actions/index.js.map +1 -1
- package/dist/esm/index.js +2 -7
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/logout-action.js +1 -1
- package/dist/esm/logout-action.js.map +1 -1
- package/dist/esm/logout-button.js +5 -7
- package/dist/esm/logout-button.js.map +1 -1
- package/dist/esm/utils/index.js +1 -6
- package/dist/esm/utils/index.js.map +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -7
- package/dist/index.js.map +1 -1
- package/dist/logout-action.d.mts +1 -1
- package/dist/logout-action.d.ts +1 -1
- package/dist/logout-action.js +1 -1
- package/dist/logout-action.js.map +1 -1
- package/dist/logout-button.d.mts +1 -1
- package/dist/logout-button.d.ts +1 -1
- package/dist/logout-button.js +5 -7
- package/dist/logout-button.js.map +1 -1
- package/dist/utils/index.d.mts +1 -16
- package/dist/utils/index.d.ts +1 -16
- package/dist/utils/index.js +0 -6
- package/dist/utils/index.js.map +1 -1
- package/package.json +7 -2
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.
|
|
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,
|
|
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
|