@frontegg/client
Advanced tools
Comparing version 4.2.0-alpha.1 to 4.2.0-alpha.2
@@ -6,1 +6,2 @@ import { FronteggAuthenticator } from './src/authenticator'; | ||
export { AuditsClient, FronteggContext, FronteggAuthenticator, withAuthentication, HttpClient, IdentityClient }; | ||
export * from './src/clients/hosted-login'; |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -14,2 +28,3 @@ exports.IdentityClient = exports.HttpClient = exports.withAuthentication = exports.FronteggAuthenticator = exports.FronteggContext = exports.AuditsClient = void 0; | ||
Object.defineProperty(exports, "IdentityClient", { enumerable: true, get: function () { return clients_1.IdentityClient; } }); | ||
__exportStar(require("./src/clients/hosted-login"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -6,3 +6,3 @@ import { SortDirection } from '../../types'; | ||
email?: string; | ||
actions?: string; | ||
action?: string; | ||
description?: string; | ||
@@ -17,6 +17,3 @@ userAgent?: string; | ||
export declare type AuditSeverity = 'Info' | 'Medium' | 'High' | 'Critical' | 'Error'; | ||
export interface SendAuditParams { | ||
tenantId: string; | ||
severity: AuditSeverity; | ||
} | ||
export declare type SendAuditParams = Pick<Audit, 'tenantId' | 'severity'> & Record<string, unknown>; | ||
export declare type AuditSortField = keyof Audit; | ||
@@ -23,0 +20,0 @@ export interface AuditRequestParams { |
export * from './audits'; | ||
export * from './http'; | ||
export * from './identity'; | ||
export * from './hosted-login'; |
@@ -20,2 +20,3 @@ "use strict"; | ||
__exportStar(require("./identity"), exports); | ||
__exportStar(require("./hosted-login"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -9,3 +9,5 @@ export declare let baseUrl: string; | ||
static identityService: string; | ||
static vendorsService: string; | ||
static oauthService: string; | ||
} | ||
} |
@@ -20,2 +20,4 @@ "use strict"; | ||
urls.identityService = process.env.FRONTEGG_IDENTITY_SERVICE_URL || "".concat(exports.baseUrl, "/identity"); | ||
urls.vendorsService = process.env.FRONTEGG_VENDORS_SERVICE_URL || "".concat(exports.baseUrl, "/vendors"); | ||
urls.oauthService = process.env.FRONTEGG_OAUTH_SERVICE_URL || "".concat(exports.baseUrl, "/oauth"); | ||
return urls; | ||
@@ -22,0 +24,0 @@ }()); |
@@ -0,1 +1,8 @@ | ||
# [4.2.0-alpha.2](https://github.com/frontegg/nodejs-sdk/compare/4.2.0-alpha.1...4.2.0-alpha.2) (2023-01-22) | ||
### Features | ||
* **clients:** add hosted login client ([#134](https://github.com/frontegg/nodejs-sdk/issues/134)) ([9ebd32a](https://github.com/frontegg/nodejs-sdk/commit/9ebd32a81d78a3ff3a5979275439aa799dab428e)) | ||
# [4.2.0-alpha.1](https://github.com/frontegg/nodejs-sdk/compare/4.1.1...4.2.0-alpha.1) (2023-01-15) | ||
@@ -2,0 +9,0 @@ |
@@ -7,1 +7,2 @@ import { FronteggAuthenticator } from './src/authenticator'; | ||
export { AuditsClient, FronteggContext, FronteggAuthenticator, withAuthentication, HttpClient, IdentityClient }; | ||
export * from './src/clients/hosted-login'; |
{ | ||
"name": "@frontegg/client", | ||
"version": "4.2.0-alpha.1", | ||
"version": "4.2.0-alpha.2", | ||
"description": "Frontegg Javascript Library for backend", | ||
@@ -32,2 +32,3 @@ "main": "dist/index.js", | ||
"@semantic-release/git": "^10.0.1", | ||
"@types/axios-mock-adapter": "^1.10.0", | ||
"@types/express": "^4.17.14", | ||
@@ -34,0 +35,0 @@ "@types/jest": "^29.2.0", |
@@ -36,3 +36,3 @@ <br /> | ||
### As of version 3.0.0 and 4.0.0, we will no longer provide proxy middlewares | ||
To see an example implementation, head over to our | ||
To see an example implementation of a proxy, head over to our | ||
<a href="https://github.com/frontegg-samples/nodejs-proxy-sample">sample proxy project</a> | ||
@@ -39,0 +39,0 @@ |
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
Sorry, the diff of this file is not supported yet
114347
71
1566
20
8