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

@steffesgroup/steffes-auth

Package Overview
Dependencies
Maintainers
3
Versions
104
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@steffesgroup/steffes-auth - npm Package Compare versions

Comparing version

to
0.0.4

9

dist/api.d.ts

@@ -175,2 +175,3 @@ import { AxiosInstance, AxiosRequestConfig, AxiosResponse, CancelToken } from 'axios';

address?: Address | undefined;
registrationState?: RegistrationState;
roles?: string[] | undefined;

@@ -192,4 +193,12 @@ constructor(data?: IUserDTO);

address?: Address | undefined;
registrationState?: RegistrationState;
roles?: string[] | undefined;
}
export declare enum RegistrationState {
Started = 0,
AddMobile = 1,
AddAddress = 2,
AwaitingEmailConfirmation = 3,
Completed = 4
}
export declare class CreateUserDTO implements ICreateUserDTO {

@@ -196,0 +205,0 @@ firstName?: string | undefined;

12

dist/api.js

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.IConfig = exports.ApiException = exports.CreateUserDTO = exports.UserDTO = exports.Address = exports.RegisterUserDTO = exports.RefreshTokenDTO = exports.LoginDTO = exports.TokenDTO = exports.UserClient = exports.RegisterClient = exports.AuthClient = exports.AuthorizedApiBase = void 0;
exports.IConfig = exports.ApiException = exports.CreateUserDTO = exports.RegistrationState = exports.UserDTO = exports.Address = exports.RegisterUserDTO = exports.RefreshTokenDTO = exports.LoginDTO = exports.TokenDTO = exports.UserClient = exports.RegisterClient = exports.AuthClient = exports.AuthorizedApiBase = void 0;
const axios_1 = require("axios");

@@ -1052,2 +1052,3 @@ class AuthorizedApiBase {

this.address = _data["address"] ? Address.fromJS(_data["address"]) : undefined;
this.registrationState = _data["registrationState"];
if (Array.isArray(_data["roles"])) {

@@ -1077,2 +1078,3 @@ this.roles = [];

data["address"] = this.address ? this.address.toJSON() : undefined;
data["registrationState"] = this.registrationState;
if (Array.isArray(this.roles)) {

@@ -1087,2 +1089,10 @@ data["roles"] = [];

exports.UserDTO = UserDTO;
var RegistrationState;
(function (RegistrationState) {
RegistrationState[RegistrationState["Started"] = 0] = "Started";
RegistrationState[RegistrationState["AddMobile"] = 1] = "AddMobile";
RegistrationState[RegistrationState["AddAddress"] = 2] = "AddAddress";
RegistrationState[RegistrationState["AwaitingEmailConfirmation"] = 3] = "AwaitingEmailConfirmation";
RegistrationState[RegistrationState["Completed"] = 4] = "Completed";
})(RegistrationState = exports.RegistrationState || (exports.RegistrationState = {}));
class CreateUserDTO {

@@ -1089,0 +1099,0 @@ constructor(data) {

2

package.json
{
"name": "@steffesgroup/steffes-auth",
"version": "0.0.3",
"version": "0.0.4",
"description": "Steffes Auth",

@@ -5,0 +5,0 @@ "main": "dist/api.js",