New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

authie

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

authie - npm Package Compare versions

Comparing version 0.0.21 to 0.0.22

2

package.json
{
"name": "authie",
"version": "0.0.21",
"version": "0.0.22",
"description": "Authentication.",

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

@@ -217,2 +217,18 @@ 'use strict';

/**
* Update user email address
*/
updateUserEmail(authUserId, email) {
if (!email) return Promise.reject(new Error('Cannot updateUserEmail, no email provided.'));
return p(this).deferrari.deferUntil(CONNECTED)
.then(models => {
return models.AuthUser.update({email}, {
where: {id: authUserId},
individualHooks: true,
returning: true
});
});
}
/**
* Remove user for a given email address.

@@ -219,0 +235,0 @@ */

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