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

@adastradev/user-management-sdk

Package Overview
Dependencies
Maintainers
39
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@adastradev/user-management-sdk - npm Package Compare versions

Comparing version 2.4.16-beta.1632921063434 to 2.4.16-beta.1633372918391

2

dist/UserManagementApi.d.ts

@@ -9,3 +9,3 @@ import { ApiCredentials } from '@adastradev/serverless-discovery-sdk';

getUserPools(): any;
createUser(tenantId: string, userName: string, password: string, firstName: string, lastName: string, suppressInviteEmail?: boolean, role?: string): any;
createUser(tenantId: string, userName: string, password: string, firstName: string, lastName: string, suppressInviteEmail?: boolean, role?: string, canPublish?: boolean): any;
registerTenant(tenantName: string, userName: string, firstName: string, lastName: string): any;

@@ -12,0 +12,0 @@ deleteUser(userName: string): any;

@@ -88,4 +88,5 @@ "use strict";

};
UserManagementApi.prototype.createUser = function (tenantId, userName, password, firstName, lastName, suppressInviteEmail, role) {
UserManagementApi.prototype.createUser = function (tenantId, userName, password, firstName, lastName, suppressInviteEmail, role, canPublish) {
if (suppressInviteEmail === void 0) { suppressInviteEmail = false; }
if (canPublish === void 0) { canPublish = false; }
var params = {};

@@ -95,3 +96,3 @@ var pathTemplate = '/admin/users';

var additionalParams = {};
var body = { userName: userName, password: password, firstName: firstName, lastName: lastName, suppressInviteEmail: suppressInviteEmail, role: role, tenant_id: tenantId };
var body = { userName: userName, password: password, firstName: firstName, lastName: lastName, suppressInviteEmail: suppressInviteEmail, role: role, tenant_id: tenantId, canPublish: canPublish };
return this.apigClient.invokeApi(params, pathTemplate, method, additionalParams, body);

@@ -98,0 +99,0 @@ };

{
"name": "@adastradev/user-management-sdk",
"version": "2.4.16-beta.1632921063434",
"version": "2.4.16-beta.1633372918391",
"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

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