@paladen/auth
Advanced tools
Comparing version 0.0.79 to 0.0.80
@@ -5,1 +5,4 @@ import { BaseError, BaseErrorProps } from "@paladen/errors"; | ||
} | ||
export declare class UserAlreadyExistsError extends BaseError { | ||
constructor(props?: BaseErrorProps); | ||
} |
@@ -350,3 +350,18 @@ 'use strict'; | ||
}(dist_1$1); | ||
var UserAlreadyExistsError = /*#__PURE__*/function (_BaseError2) { | ||
_inherits(UserAlreadyExistsError, _BaseError2); | ||
function UserAlreadyExistsError(props) { | ||
var _this2; | ||
_classCallCheck(this, UserAlreadyExistsError); | ||
_this2 = _possibleConstructorReturn(this, _getPrototypeOf(UserAlreadyExistsError).call(this, props)); | ||
_this2.name = "UserAlreadyExistsError"; | ||
return _this2; | ||
} | ||
return UserAlreadyExistsError; | ||
}(dist_1$1); | ||
var buildSessionCookieString = function buildSessionCookieString(name, value, expiryDate) { | ||
@@ -391,2 +406,3 @@ return ["".concat(name, "=").concat(value), "path=/", "SameSite=Lax", "expires=".concat(expiryDate), "HttpOnly", process.env.NODE_ENV === "production" ? "Secure;" : null].join(";"); | ||
exports.AuthContextProvider = AuthContextProvider; | ||
exports.UserAlreadyExistsError = UserAlreadyExistsError; | ||
exports.buildSessionCookieString = buildSessionCookieString; | ||
@@ -393,0 +409,0 @@ exports.combineCookieStrings = combineCookieStrings; |
{ | ||
"name": "@paladen/auth", | ||
"version": "0.0.79", | ||
"version": "0.0.80", | ||
"repository": "https://github.com/samstr/paladen", | ||
@@ -18,4 +18,4 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@paladen/config": "^0.0.79", | ||
"@paladen/errors": "^0.0.79", | ||
"@paladen/config": "^0.0.80", | ||
"@paladen/errors": "^0.0.80", | ||
"react": "^16.13.0", | ||
@@ -34,3 +34,3 @@ "react-dom": "^16.13.0" | ||
}, | ||
"gitHead": "c719a8d4cedc1361f47319447e53246b1f1127c6" | ||
"gitHead": "edfad7736f2823d59a75fb2824a4243bd87b5aa8" | ||
} |
15209
380
+ Added@paladen/config@0.0.80(transitive)
+ Added@paladen/errors@0.0.80(transitive)
- Removed@paladen/config@0.0.79(transitive)
- Removed@paladen/errors@0.0.79(transitive)
Updated@paladen/config@^0.0.80
Updated@paladen/errors@^0.0.80