@adastradev/user-management-sdk
Advanced tools
Comparing version 4.0.0-beta.1676064253218 to 4.0.0-beta.1676309874898
@@ -8,5 +8,5 @@ import { ICognitoUserPoolApiModel } from './ICognitoUserPoolApiModel'; | ||
export declare class CognitoUserPoolLocatorUserManagementByTenantId implements ICognitoUserPoolLocatorByTenantId { | ||
private region; | ||
constructor(region: string); | ||
getPoolForTenantId(tenatnId: string): Promise<ICognitoUserPoolApiModel>; | ||
private tenantId; | ||
constructor(tenantId: string | undefined); | ||
getPoolForTenantId(tenantId: string): Promise<ICognitoUserPoolApiModel>; | ||
} |
@@ -46,6 +46,6 @@ "use strict"; | ||
var CognitoUserPoolLocatorUserManagementByTenantId = /** @class */ (function () { | ||
function CognitoUserPoolLocatorUserManagementByTenantId(region) { | ||
this.region = region; | ||
function CognitoUserPoolLocatorUserManagementByTenantId(tenantId) { | ||
this.tenantId = tenantId; | ||
} | ||
CognitoUserPoolLocatorUserManagementByTenantId.prototype.getPoolForTenantId = function (tenatnId) { | ||
CognitoUserPoolLocatorUserManagementByTenantId.prototype.getPoolForTenantId = function (tenantId) { | ||
return new Promise( | ||
@@ -63,3 +63,3 @@ // tslint:disable-next-line:ter-prefer-arrow-callback | ||
_a.trys.push([1, 3, , 4]); | ||
return [4 /*yield*/, api.getUserPool(tenatnId)]; | ||
return [4 /*yield*/, api.getUserPool(tenantId)]; | ||
case 2: | ||
@@ -66,0 +66,0 @@ response = _a.sent(); |
export * from './AuthManager'; | ||
export * from './CognitoUserPoolLocatorStatic'; | ||
export * from './CognitoUserPoolLocatorUserManagement'; | ||
export * from './CognitoUserPoolLocatorUserManagementByTenantId'; | ||
export * from './ICognitoUserPoolApiModel'; | ||
export * from './ICognitoUserPoolLocator'; | ||
export * from './UserManagementApi'; |
@@ -16,2 +16,3 @@ "use strict"; | ||
__exportStar(require("./CognitoUserPoolLocatorUserManagement"), exports); | ||
__exportStar(require("./CognitoUserPoolLocatorUserManagementByTenantId"), exports); | ||
__exportStar(require("./ICognitoUserPoolApiModel"), exports); | ||
@@ -18,0 +19,0 @@ __exportStar(require("./ICognitoUserPoolLocator"), exports); |
{ | ||
"name": "@adastradev/user-management-sdk", | ||
"version": "4.0.0-beta.1676064253218", | ||
"version": "4.0.0-beta.1676309874898", | ||
"description": "Astra user management SDK for JavaScript in the browser and Node.js", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
53838
702