@paladen/auth
Advanced tools
Comparing version 1.0.26 to 1.0.34
@@ -1,1 +0,15 @@ | ||
export * from "./errors"; | ||
import { BaseError, BaseErrorProps } from "@paladen/errors"; | ||
export declare class AuthError extends BaseError { | ||
} | ||
export declare class AlreadyAuthenticatedError extends AuthError { | ||
constructor(props?: BaseErrorProps); | ||
} | ||
export declare class UserAlreadyExistsError extends AuthError { | ||
constructor(props?: BaseErrorProps); | ||
} | ||
export declare class AuthenticationFailedError extends AuthError { | ||
constructor(props?: BaseErrorProps); | ||
} | ||
export declare class NotAuthenticatedError extends AuthError { | ||
constructor(props?: BaseErrorProps); | ||
} |
@@ -91,10 +91,6 @@ 'use strict'; | ||
function AuthError(props) { | ||
var _this; | ||
function AuthError() { | ||
_classCallCheck(this, AuthError); | ||
_this = _possibleConstructorReturn(this, _getPrototypeOf(AuthError).call(this, props)); | ||
_this.isAuthError = true; | ||
return _this; | ||
return _possibleConstructorReturn(this, _getPrototypeOf(AuthError).apply(this, arguments)); | ||
} | ||
@@ -108,9 +104,9 @@ | ||
function AlreadyAuthenticatedError(props) { | ||
var _this2; | ||
var _this; | ||
_classCallCheck(this, AlreadyAuthenticatedError); | ||
_this2 = _possibleConstructorReturn(this, _getPrototypeOf(AlreadyAuthenticatedError).call(this, props)); | ||
_this2.name = "AlreadyAuthenticatedError"; | ||
return _this2; | ||
_this = _possibleConstructorReturn(this, _getPrototypeOf(AlreadyAuthenticatedError).call(this, props)); | ||
_this.name = "AlreadyAuthenticatedError"; | ||
return _this; | ||
} | ||
@@ -124,9 +120,9 @@ | ||
function UserAlreadyExistsError(props) { | ||
var _this3; | ||
var _this2; | ||
_classCallCheck(this, UserAlreadyExistsError); | ||
_this3 = _possibleConstructorReturn(this, _getPrototypeOf(UserAlreadyExistsError).call(this, props)); | ||
_this3.name = "UserAlreadyExistsError"; | ||
return _this3; | ||
_this2 = _possibleConstructorReturn(this, _getPrototypeOf(UserAlreadyExistsError).call(this, props)); | ||
_this2.name = "UserAlreadyExistsError"; | ||
return _this2; | ||
} | ||
@@ -140,9 +136,9 @@ | ||
function AuthenticationFailedError(props) { | ||
var _this4; | ||
var _this3; | ||
_classCallCheck(this, AuthenticationFailedError); | ||
_this4 = _possibleConstructorReturn(this, _getPrototypeOf(AuthenticationFailedError).call(this, props)); | ||
_this4.name = "AuthenticationFailedError"; | ||
return _this4; | ||
_this3 = _possibleConstructorReturn(this, _getPrototypeOf(AuthenticationFailedError).call(this, props)); | ||
_this3.name = "AuthenticationFailedError"; | ||
return _this3; | ||
} | ||
@@ -156,9 +152,9 @@ | ||
function NotAuthenticatedError(props) { | ||
var _this5; | ||
var _this4; | ||
_classCallCheck(this, NotAuthenticatedError); | ||
_this5 = _possibleConstructorReturn(this, _getPrototypeOf(NotAuthenticatedError).call(this, props)); | ||
_this5.name = "NotAuthenticatedError"; | ||
return _this5; | ||
_this4 = _possibleConstructorReturn(this, _getPrototypeOf(NotAuthenticatedError).call(this, props)); | ||
_this4.name = "NotAuthenticatedError"; | ||
return _this4; | ||
} | ||
@@ -165,0 +161,0 @@ |
{ | ||
"name": "@paladen/auth", | ||
"version": "1.0.26", | ||
"version": "1.0.34", | ||
"repository": "https://github.com/samstr/paladen", | ||
@@ -18,3 +18,3 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@paladen/errors": "^1.0.26" | ||
"@paladen/errors": "^1.0.34" | ||
}, | ||
@@ -24,3 +24,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "7fff235e4f53ffbc80337fba7ada83b869dfa826" | ||
"gitHead": "78a117033b6755e46b7268e03fb2370ff06c7643" | ||
} |
5727
4
142
Updated@paladen/errors@^1.0.34