@frontegg/rest-api
Advanced tools
Comparing version 3.1.63 to 3.1.64
export * from "./secutiry-poilicy"; | ||
export * from "./enums"; | ||
export { setTabTenantInSessionStorage, getTabTenantFromSessionStorage, getCurrentUserTenantsFunction } from './utils'; | ||
export { setTabTenantInSessionStorage, getTabTenantFromSessionStorage, getCurrentUserTenantsFunction, removeTabTenantFromSessionStorage } from './utils'; | ||
import { ISamlRolesGroup } from "../teams/interfaces"; | ||
@@ -5,0 +5,0 @@ import { IAcceptInvitation, IActivateAccount, IAllowedToRememberMfaDevice, ICreateSamlGroup, IDeleteApiToken, IDisableMfa, IEnrollMfaResponse, IForgotPassword, IGetActivateAccountStrategy, IGetActivateAccountStrategyResponse, IGetUserById, IGetUserPasswordConfig, ILogin, ILoginResponse, ILoginViaSocialLogin, ILoginViaSocialLoginResponse, ILoginWithMfa, IOidcPostLogin, IOidcConfiguration, IPostLogin, IPreLogin, IRecoverMFAToken, IResendActivationEmail, IResetPassword, ISamlConfiguration, ISamlVendorConfigResponse, ISignUpResponse, ISignUpUser, ISocialLoginProviderConfiguration, ITenantApiTokensData, IUpdateSamlConfiguration, IUpdateSamlGroup, IUpdateSamlRoles, IUpdateSamlVendorMetadata, IUpdateTenantApiTokensData, IUpdateUserApiTokensData, IUserApiTokensData, IUserIdResponse, IVendorConfig, IVerifyMfa, IVerifyMfaResponse, TestConfig, ISSOPublicConfiguration, IPreLoginWithIdpTypeResponse, IPasswordlessPreLogin, IPasswordlessPostLogin, ICreateSSODomain, IVerifyInviteToken, ISSODomain, ISSOConfigurationDefaultRoles, ISSOConfiguration, IUpdateSSOConfiguration, IOidcPostLoginV2, IExchangeOAuthTokens, IOAuthTokenResponse, ISocialLoginProviderConfigurationV2, ILoginResponseV2, IResetPhoneNumber, IVerifyResetPhoneNumber, IChangePhoneNumber, IVerifyResetPhoneNumberResponse, IResetPhoneNumberResponse, IWebAuthnPreLogin, IWebAuthnPostLogin, IVerifyNewWebAuthnDevice, IWebAuthnPreLoginResponse, ICreateNewDeviceSessionResponse, IAuthStrategiesConfig, ISessionResponse, IChangePhoneNumberWithVerification, IChangePhoneNumberWithVerificationResponse, IVerifyChangePhoneNumber, ISessionConfigurations, IResendInvitationEmail, IPreEnrollMFA, IEnrollMFAAuthenticatorApp, IPreEnrollMFASMS, IEnrollMFASMS, IEnrollMFAWebAuthn, IPreEnrollMFAAuthenticatorAppResponse, IPreEnrollMFAWebAuthnResponse, IVerifyMFAAuthenticatorApp, IPreVerifyMFA, IPreVerifyMFASMSResponse, IVerifyMFASMS, IPreVerifyMFAWebAuthnResponse, IVerifyMFAWebAuthn, IPreEnrollMFASMSResponse, IPreDisableMFASMSResponse, IDisableMFASMS, IDisableMFAWebAuthn, IPreDisableMFAWebAuthnResponse, UserMFADevicesResponse, WithoutMFAToken, IMFAStrategiesResponse, IOAuthLogout, IGetUserAccessTokens, IGetTenantAccessTokens, IDeleteAccessToken, ICreateTenantAccessTokenData, ICreateUserAccessTokenData, IWebAuthnDevices, ICustomSocialLoginProviderConfigurationV1, ILoginResponseV3, IPreVerifyMFAEmailCodeResponse, IVerifyMFAEmailCode, ICreateOrUpdateSSOConfigurationByMetadataUrl, GenerateStepUpRequest, GenerateStepUpResponse } from './interfaces'; |
@@ -9,3 +9,3 @@ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; | ||
export * from "./enums"; | ||
export { setTabTenantInSessionStorage, getTabTenantFromSessionStorage, getCurrentUserTenantsFunction } from './utils'; | ||
export { setTabTenantInSessionStorage, getTabTenantFromSessionStorage, getCurrentUserTenantsFunction, removeTabTenantFromSessionStorage } from './utils'; | ||
import { urls } from "../constants"; | ||
@@ -12,0 +12,0 @@ import { ContextHolder } from "../ContextHolder"; |
@@ -8,3 +8,4 @@ import { GetCurrentUserTenantsResponse } from '../users/interfaces'; | ||
export declare function setTabTenantInSessionStorage(tenantId: string): void; | ||
export declare function removeTabTenantFromSessionStorage(): void; | ||
export declare function getTabTenantFromSessionStorage(): string | null; | ||
export declare function getCurrentUserTenantsFunction(): () => Promise<GetCurrentUserTenantsResponse>; |
@@ -21,2 +21,5 @@ import { ContextHolder } from '../ContextHolder'; | ||
} | ||
export function removeTabTenantFromSessionStorage() { | ||
sessionStorage.removeItem(FRONTEGG_SEPARATE_TABS_BY_TENANT); | ||
} | ||
export function getTabTenantFromSessionStorage() { | ||
@@ -23,0 +26,0 @@ if (!ContextHolder.isSessionPerTenantEnabled()) { |
@@ -1,2 +0,2 @@ | ||
/** @license Frontegg v3.1.63 | ||
/** @license Frontegg v3.1.64 | ||
* | ||
@@ -3,0 +3,0 @@ * This source code is licensed under the MIT license found in the |
@@ -160,3 +160,4 @@ "use strict"; | ||
getTabTenantFromSessionStorage: true, | ||
getCurrentUserTenantsFunction: true | ||
getCurrentUserTenantsFunction: true, | ||
removeTabTenantFromSessionStorage: true | ||
}; | ||
@@ -287,2 +288,8 @@ exports.OAuthLogout = OAuthLogout; | ||
exports.refreshTokenV3 = refreshTokenV3; | ||
Object.defineProperty(exports, "removeTabTenantFromSessionStorage", { | ||
enumerable: true, | ||
get: function () { | ||
return _utils.removeTabTenantFromSessionStorage; | ||
} | ||
}); | ||
exports.resendActivationEmail = resendActivationEmail; | ||
@@ -289,0 +296,0 @@ exports.resendInvitationEmail = resendInvitationEmail; |
@@ -9,2 +9,3 @@ "use strict"; | ||
exports.getTabTenantFromSessionStorage = getTabTenantFromSessionStorage; | ||
exports.removeTabTenantFromSessionStorage = removeTabTenantFromSessionStorage; | ||
exports.setTabTenantInSessionStorage = setTabTenantInSessionStorage; | ||
@@ -38,2 +39,6 @@ | ||
function removeTabTenantFromSessionStorage() { | ||
sessionStorage.removeItem(_constants.FRONTEGG_SEPARATE_TABS_BY_TENANT); | ||
} | ||
function getTabTenantFromSessionStorage() { | ||
@@ -40,0 +45,0 @@ if (!_ContextHolder.ContextHolder.isSessionPerTenantEnabled()) { |
@@ -1,2 +0,2 @@ | ||
/** @license Frontegg v3.1.63 | ||
/** @license Frontegg v3.1.64 | ||
* | ||
@@ -3,0 +3,0 @@ * This source code is licensed under the MIT license found in the |
{ | ||
"name": "@frontegg/rest-api", | ||
"version": "3.1.63", | ||
"version": "3.1.64", | ||
"main": "./node/index.js", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
412889
11245