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

@genezio/auth

Package Overview
Dependencies
Maintainers
4
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@genezio/auth - npm Package Compare versions

Comparing version 2.0.3 to 2.0.4

17

dist/cjs/authService.sdk.d.ts

@@ -53,5 +53,4 @@ /**

*
* @returns {Promise<UserLoginResponse>} An object containing a boolean property "success" which
* is true if the creation was successful, false otherwise.
*/
* @returns {Promise<UserLoginResponse>} An object containing the user's information.
* */
register(email: string, password: string, name?: string): Promise<UserLoginResponse>;

@@ -64,5 +63,4 @@ /**

* @param {string} password The user's password.
* @returns {Promise<UserLoginResponse>} An object containing a boolean property "success" which
* is true if the login was successful, false otherwise.
*/
* @returns {Promise<UserLoginResponse>} An object containing the user's information and the token.
* */
login(email: string, password: string): Promise<UserLoginResponse>;

@@ -89,3 +87,3 @@ /**

* @param {string} email
* @returns {Promise<ResendEmailConfirmationResponse>} An object with a boolean property "success" indicating success or failure.
* @returns void. If the method did not throw, the operation was successful.
*/

@@ -99,3 +97,3 @@ resendEmailConfirmation(email: string): Promise<void>;

* @param {string} password - The new password.
* @returns {Promise<ResetPasswordConfirmResponse>} An object with a boolean property "success" indicating success or failure.
* @returns void. If the method did not throw, the operation was successful.
*/

@@ -108,4 +106,3 @@ resetPasswordConfirmation(token: string, password: string): Promise<void>;

* @param {string} googleToken The user's Google token.
* @returns {Promise<UserLoginResponse>} An object containing a boolean property "success" which
* is true if the login was successful, false otherwise.
* @returns {Promise<UserLoginResponse>} An object containing the user's information and the token.
*/

@@ -112,0 +109,0 @@ googleRegistration(googleToken: string): Promise<UserLoginResponse>;

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

*
* @returns {Promise<UserLoginResponse>} An object containing a boolean property "success" which
* is true if the creation was successful, false otherwise.
*/
* @returns {Promise<UserLoginResponse>} An object containing the user's information.
* */
async register(email, password, name) {

@@ -102,5 +101,4 @@ if (!this.remote) {

* @param {string} password The user's password.
* @returns {Promise<UserLoginResponse>} An object containing a boolean property "success" which
* is true if the login was successful, false otherwise.
*/
* @returns {Promise<UserLoginResponse>} An object containing the user's information and the token.
* */
async login(email, password) {

@@ -144,3 +142,3 @@ if (!this.remote) {

* @param {string} email
* @returns {Promise<ResendEmailConfirmationResponse>} An object with a boolean property "success" indicating success or failure.
* @returns void. If the method did not throw, the operation was successful.
*/

@@ -159,3 +157,3 @@ async resendEmailConfirmation(email) {

* @param {string} password - The new password.
* @returns {Promise<ResetPasswordConfirmResponse>} An object with a boolean property "success" indicating success or failure.
* @returns void. If the method did not throw, the operation was successful.
*/

@@ -173,4 +171,3 @@ async resetPasswordConfirmation(token, password) {

* @param {string} googleToken The user's Google token.
* @returns {Promise<UserLoginResponse>} An object containing a boolean property "success" which
* is true if the login was successful, false otherwise.
* @returns {Promise<UserLoginResponse>} An object containing the user's information and the token.
*/

@@ -177,0 +174,0 @@ async googleRegistration(googleToken) {

@@ -11,4 +11,2 @@ /**

verified: boolean;
tokenConfirmEmail: string;
tokenReset: string;
name?: string;

@@ -15,0 +13,0 @@ };

@@ -53,5 +53,4 @@ /**

*
* @returns {Promise<UserLoginResponse>} An object containing a boolean property "success" which
* is true if the creation was successful, false otherwise.
*/
* @returns {Promise<UserLoginResponse>} An object containing the user's information.
* */
register(email: string, password: string, name?: string): Promise<UserLoginResponse>;

@@ -64,5 +63,4 @@ /**

* @param {string} password The user's password.
* @returns {Promise<UserLoginResponse>} An object containing a boolean property "success" which
* is true if the login was successful, false otherwise.
*/
* @returns {Promise<UserLoginResponse>} An object containing the user's information and the token.
* */
login(email: string, password: string): Promise<UserLoginResponse>;

@@ -89,3 +87,3 @@ /**

* @param {string} email
* @returns {Promise<ResendEmailConfirmationResponse>} An object with a boolean property "success" indicating success or failure.
* @returns void. If the method did not throw, the operation was successful.
*/

@@ -99,3 +97,3 @@ resendEmailConfirmation(email: string): Promise<void>;

* @param {string} password - The new password.
* @returns {Promise<ResetPasswordConfirmResponse>} An object with a boolean property "success" indicating success or failure.
* @returns void. If the method did not throw, the operation was successful.
*/

@@ -108,4 +106,3 @@ resetPasswordConfirmation(token: string, password: string): Promise<void>;

* @param {string} googleToken The user's Google token.
* @returns {Promise<UserLoginResponse>} An object containing a boolean property "success" which
* is true if the login was successful, false otherwise.
* @returns {Promise<UserLoginResponse>} An object containing the user's information and the token.
*/

@@ -112,0 +109,0 @@ googleRegistration(googleToken: string): Promise<UserLoginResponse>;

@@ -80,5 +80,4 @@ /**

*
* @returns {Promise<UserLoginResponse>} An object containing a boolean property "success" which
* is true if the creation was successful, false otherwise.
*/
* @returns {Promise<UserLoginResponse>} An object containing the user's information.
* */
async register(email, password, name) {

@@ -96,5 +95,4 @@ if (!this.remote) {

* @param {string} password The user's password.
* @returns {Promise<UserLoginResponse>} An object containing a boolean property "success" which
* is true if the login was successful, false otherwise.
*/
* @returns {Promise<UserLoginResponse>} An object containing the user's information and the token.
* */
async login(email, password) {

@@ -138,3 +136,3 @@ if (!this.remote) {

* @param {string} email
* @returns {Promise<ResendEmailConfirmationResponse>} An object with a boolean property "success" indicating success or failure.
* @returns void. If the method did not throw, the operation was successful.
*/

@@ -153,3 +151,3 @@ async resendEmailConfirmation(email) {

* @param {string} password - The new password.
* @returns {Promise<ResetPasswordConfirmResponse>} An object with a boolean property "success" indicating success or failure.
* @returns void. If the method did not throw, the operation was successful.
*/

@@ -167,4 +165,3 @@ async resetPasswordConfirmation(token, password) {

* @param {string} googleToken The user's Google token.
* @returns {Promise<UserLoginResponse>} An object containing a boolean property "success" which
* is true if the login was successful, false otherwise.
* @returns {Promise<UserLoginResponse>} An object containing the user's information and the token.
*/

@@ -171,0 +168,0 @@ async googleRegistration(googleToken) {

@@ -11,4 +11,2 @@ /**

verified: boolean;
tokenConfirmEmail: string;
tokenReset: string;
name?: string;

@@ -15,0 +13,0 @@ };

{
"name": "@genezio/auth",
"version": "2.0.3",
"version": "2.0.4",
"description": "SDK for accessing genezio authentication system.",

@@ -5,0 +5,0 @@ "main": "./dist/cjs/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