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

@accounts/password

Package Overview
Dependencies
Maintainers
6
Versions
139
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@accounts/password - npm Package Compare versions

Comparing version 0.7.0 to 0.8.0

2

lib/accounts-password.d.ts

@@ -81,3 +81,3 @@ import { User, TokenRecord, DatabaseInterface, AuthenticationService, HashAlgorithm, ConnectionInformations, LoginResult } from '@accounts/types';

* @param {string} newPassword - A new password for the user.
* @returns {Promise<LoginResult>} - Session tokens and user object.
* @returns {Promise<LoginResult | null>} - If `returnTokensAfterResetPassword` option is true return the session tokens and user object, otherwise return null.
*/

@@ -84,0 +84,0 @@ resetPassword(token: string, newPassword: PasswordType, infos: ConnectionInformations): Promise<LoginResult | null>;

@@ -196,3 +196,3 @@ "use strict";

* @param {string} newPassword - A new password for the user.
* @returns {Promise<LoginResult>} - Session tokens and user object.
* @returns {Promise<LoginResult | null>} - If `returnTokensAfterResetPassword` option is true return the session tokens and user object, otherwise return null.
*/

@@ -199,0 +199,0 @@ AccountsPassword.prototype.resetPassword = function (token, newPassword, infos) {

{
"name": "@accounts/password",
"version": "0.7.0",
"version": "0.8.0",
"license": "MIT",

@@ -42,4 +42,4 @@ "main": "lib/index.js",

"peerDependencies": {
"@accounts/server": "^0.4.0-alpha.1"
"@accounts/server": "^0.7.0"
}
}

@@ -192,3 +192,3 @@ import { trim, isEmpty, pick, isString, isPlainObject, find, includes, defer } from 'lodash';

* @param {string} newPassword - A new password for the user.
* @returns {Promise<LoginResult>} - Session tokens and user object.
* @returns {Promise<LoginResult | null>} - If `returnTokensAfterResetPassword` option is true return the session tokens and user object, otherwise return null.
*/

@@ -195,0 +195,0 @@ public async resetPassword(

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