Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@frontegg/rest-api

Package Overview
Dependencies
Maintainers
1
Versions
621
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@frontegg/rest-api - npm Package Compare versions

Comparing version 1.10.0 to 1.10.1

4

auth/index.d.ts

@@ -69,2 +69,6 @@ import { IActivateAccount, IDisableMfa, IEnrollMfaResponse, IForgotPassword, ILogin, ILoginResponse, ILoginWithMfa, IPreLogin, IPostLogin, IRecoverMFAToken, IResetPassword, ISamlConfiguration, ISamlVendorConfigResponse, IUpdateSamlConfiguration, IUpdateSamlVendorMetadata, IVerifyMfa, IVerifyMfaResponse, IAcceptInvitation, ISocialLoginProviderConfiguration, ILoginViaSocialLogin } from './interfaces';

/**
* load password configuration for vendor.
*/
export declare function loadPasswordConfig(): Promise<void>;
/**
* recover Multi-Factor authentication by providing the recoveryCode

@@ -71,0 +75,0 @@ * that has been received when activated it

export declare const AUTH_SERVICE_URL_V1 = "/identity/resources/auth/v1";
export declare const USERS_SERVICE_URL_V1 = "/identity/resources/users/v1";
export declare const USERS_SERVICE_URL_V2 = "/identity/resources/users/v2";
export declare const IDENTITY_CONFIGURATION_SERVICE_URL_V1 = "/identity/resources/configurations/v1";
export declare const REPORTS_SERVICE_URL_V2 = "/reports/resources/reports/v2";

@@ -5,0 +6,0 @@ export declare const REPORTS_ENGINE_TRIGGER_SERVICE_URL_V1 = "/reports/engine/resources/triggers/v1";

@@ -315,2 +315,3 @@ import { __awaiter, __generator, __assign, __rest } from 'tslib';

var USERS_SERVICE_URL_V2 = '/identity/resources/users/v2';
var IDENTITY_CONFIGURATION_SERVICE_URL_V1 = '/identity/resources/configurations/v1';
var SSO_SERVICE_URL_V1 = '/team/resources/sso/v1';

@@ -536,2 +537,13 @@ var CONNECTIVITY_SERVICE_URL_V1 = '/integrations/resources/configurations/v1';

/**
* load password configuration for vendor.
*/
function loadPasswordConfig() {
return __awaiter(this, void 0, void 0, function () {
return __generator(this, function (_a) {
console.debug('loadPasswordConfig()');
return [2 /*return*/, Get(IDENTITY_CONFIGURATION_SERVICE_URL_V1 + "/password")];
});
});
}
/**
* recover Multi-Factor authentication by providing the recoveryCode

@@ -707,2 +719,3 @@ * that has been received when activated it

resetPassword: resetPassword,
loadPasswordConfig: loadPasswordConfig,
recoverMfaToken: recoverMfaToken,

@@ -709,0 +722,0 @@ enrollMfa: enrollMfa,

@@ -224,2 +224,3 @@ import { __awaiter, __rest } from 'tslib';

const USERS_SERVICE_URL_V2 = '/identity/resources/users/v2';
const IDENTITY_CONFIGURATION_SERVICE_URL_V1 = '/identity/resources/configurations/v1';
const SSO_SERVICE_URL_V1 = '/team/resources/sso/v1';

@@ -385,2 +386,11 @@ const CONNECTIVITY_SERVICE_URL_V1 = '/integrations/resources/configurations/v1';

/**
* load password configuration for vendor.
*/
function loadPasswordConfig() {
return __awaiter(this, void 0, void 0, function* () {
console.debug('loadPasswordConfig()');
return Get(`${IDENTITY_CONFIGURATION_SERVICE_URL_V1}/password`);
});
}
/**
* recover Multi-Factor authentication by providing the recoveryCode

@@ -533,2 +543,3 @@ * that has been received when activated it

resetPassword: resetPassword,
loadPasswordConfig: loadPasswordConfig,
recoverMfaToken: recoverMfaToken,

@@ -535,0 +546,0 @@ enrollMfa: enrollMfa,

@@ -321,2 +321,3 @@ 'use strict';

var USERS_SERVICE_URL_V2 = '/identity/resources/users/v2';
var IDENTITY_CONFIGURATION_SERVICE_URL_V1 = '/identity/resources/configurations/v1';
var SSO_SERVICE_URL_V1 = '/team/resources/sso/v1';

@@ -542,2 +543,13 @@ var CONNECTIVITY_SERVICE_URL_V1 = '/integrations/resources/configurations/v1';

/**
* load password configuration for vendor.
*/
function loadPasswordConfig() {
return tslib.__awaiter(this, void 0, void 0, function () {
return tslib.__generator(this, function (_a) {
console.debug('loadPasswordConfig()');
return [2 /*return*/, Get(IDENTITY_CONFIGURATION_SERVICE_URL_V1 + "/password")];
});
});
}
/**
* recover Multi-Factor authentication by providing the recoveryCode

@@ -713,2 +725,3 @@ * that has been received when activated it

resetPassword: resetPassword,
loadPasswordConfig: loadPasswordConfig,
recoverMfaToken: recoverMfaToken,

@@ -715,0 +728,0 @@ enrollMfa: enrollMfa,

4

package.json
{
"name": "@frontegg/rest-api",
"libName": "FronteggRestApi",
"version": "1.10.0",
"version": "1.10.1",
"author": "Frontegg LTD",

@@ -12,5 +12,5 @@ "module": "index.esm.js",

},
"gitHead": "3685e1c324a86aba902c240d21d57bd8948fdf27",
"gitHead": "692275cb954216b379548de5d31c5b9f171e0c3f",
"main": "index.js",
"peerDependencies": {}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc