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

aws-user-service

Package Overview
Dependencies
Maintainers
2
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aws-user-service - npm Package Compare versions

Comparing version 1.1.13 to 1.1.14

16

index.js

@@ -1,8 +0,8 @@

const AWS = require('aws-sdk');
AWS.config.update({ region: process.env.REGION });
const AWS = require('aws-sdk')
AWS.config.update({ region: process.env.REGION })
module.exports = class AwsUserService {
constructor(authIntegrationUserPoolId) {
this.authIntegrationUserPoolId = authIntegrationUserPoolId;
this.cognitoidentityserviceprovider = new AWS.CognitoIdentityServiceProvider();
this.authIntegrationUserPoolId = authIntegrationUserPoolId
this.cognitoidentityserviceprovider = new AWS.CognitoIdentityServiceProvider()
}

@@ -93,4 +93,2 @@

console.log(cognitoResponse)
if (cognitoResponse == null)

@@ -107,7 +105,3 @@ return false

senterAdminGroups = cognitoResponse.Groups.filter(x => x.GroupName === "SenterAdmin")
console.log(senterAdminGroups)
return senterAdminGroups.length === 1
return cognitoResponse.Groups.filter(x => x.GroupName === "SenterAdmin").length === 1
}

@@ -114,0 +108,0 @@

{
"name": "aws-user-service",
"version": "1.1.13",
"version": "1.1.14",
"description": "Contain methods to work with asw user",

@@ -5,0 +5,0 @@ "main": "index.js",

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