aws-user-service
Advanced tools
Comparing version 1.1.14 to 1.1.15
17
index.js
@@ -107,11 +107,14 @@ const AWS = require('aws-sdk') | ||
async updateUserAttributes(userId, attributeName, attributeValue) { | ||
async updateUserAttribute(userId, attributeName, attributeValue) { | ||
return await updateUserAttributes(userId, [ | ||
{ | ||
"Name": attributeName, | ||
"Value": attributeValue | ||
} | ||
]) | ||
} | ||
async updateUserAttributes(userId, attributes) { | ||
var params = { | ||
"UserAttributes": [ | ||
{ | ||
"Name": attributeName, | ||
"Value": attributeValue | ||
} | ||
], | ||
"UserAttributes": attributes, | ||
"Username": userId, | ||
@@ -118,0 +121,0 @@ "UserPoolId": this.authIntegrationUserPoolId |
{ | ||
"name": "aws-user-service", | ||
"version": "1.1.14", | ||
"version": "1.1.15", | ||
"description": "Contain methods to work with asw user", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4275
100